@Generated(value="OracleSDKGenerator", comments="API Version: 20240531") public class ChatResponse extends BmcResponse
Modifier and Type | Class and Description |
---|---|
static class |
ChatResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static ChatResponse.Builder |
builder()
Return a new builder for this response object.
|
boolean |
equals(Object o) |
ChatResult |
getChatResult()
The returned
ChatResult instance. |
InputStream |
getEventStream()
Returns the event-stream for operations that support ‘text/event-stream’ media type.
|
String |
getOpcRequestId()
Unique Oracle-assigned identifier for the request.
|
int |
hashCode() |
String |
toString() |
canEqual, get__httpStatusCode__, getHeaders
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
public ChatResult getChatResult()
The returned ChatResult
instance.
public InputStream getEventStream()
Returns the event-stream for operations that support ‘text/event-stream’ media type. The value can be null in-case a non-streamed response is returned by the server. NOTE : Use try-with-resources or explicitly call getEventStream().close() to close the stream. This is important to avoid the issue mentioned in the link below https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdktroubleshooting.htm#javasdktroubleshooting_topic_program_hangs_for_an_indefinite_time
public static ChatResponse.Builder builder()
Return a new builder for this response object.
public boolean equals(Object o)
equals
in class BmcResponse
public int hashCode()
hashCode
in class BmcResponse
Copyright © 2016–2024. All rights reserved.