Class CreateInteractionResponse
java.lang.Object
com.google.genai.gaos.models.operations.CreateInteractionResponse
- All Implemented Interfaces:
Response
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreateInteractionResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse) CreateInteractionResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Interaction interaction) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()HTTP response content type for this operationbooleanevents()inthashCode()Successful operationRaw HTTP response; suitable for custom response parsingintHTTP response status code for this operationtoString()withContentType(String contentType) HTTP response content type for this operationwithInteraction(Interaction interaction) Successful operationwithRawResponse(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsingwithStatusCode(int statusCode) HTTP response status code for this operation
-
Constructor Details
-
CreateInteractionResponse
public CreateInteractionResponse(@Nonnull String contentType, int statusCode, @Nonnull HttpResponse<InputStream> rawResponse, @Nullable Interaction interaction) -
CreateInteractionResponse
public CreateInteractionResponse(@Nonnull String contentType, int statusCode, @Nonnull HttpResponse<InputStream> rawResponse)
-
-
Method Details
-
contentType
HTTP response content type for this operation- Specified by:
contentTypein interfaceResponse
-
statusCode
public int statusCode()HTTP response status code for this operation- Specified by:
statusCodein interfaceResponse
-
rawResponse
Raw HTTP response; suitable for custom response parsing- Specified by:
rawResponsein interfaceResponse
-
interaction
Successful operation -
events
-
builder
-
withContentType
HTTP response content type for this operation -
withStatusCode
HTTP response status code for this operation -
withRawResponse
Raw HTTP response; suitable for custom response parsing -
withInteraction
Successful operation -
equals
-
hashCode
public int hashCode() -
toString
-