Class GetInteractionByIdResponse
java.lang.Object
com.google.genai.gaos.models.operations.async.GetInteractionByIdResponse
- All Implemented Interfaces:
AsyncResponse
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionGetInteractionByIdResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse) GetInteractionByIdResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Interaction interaction) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()HTTP response content type for this operationbooleaninthashCode()Successful retrieval of the interaction.Raw 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 retrieval of the interaction.withRawResponse(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsingwithStatusCode(int statusCode) HTTP response status code for this operation
-
Constructor Details
-
GetInteractionByIdResponse
public GetInteractionByIdResponse(@Nonnull String contentType, int statusCode, @Nonnull HttpResponse<InputStream> rawResponse, @Nullable Interaction interaction) -
GetInteractionByIdResponse
public GetInteractionByIdResponse(@Nonnull String contentType, int statusCode, @Nonnull HttpResponse<InputStream> rawResponse)
-
-
Method Details
-
contentType
HTTP response content type for this operation- Specified by:
contentTypein interfaceAsyncResponse
-
statusCode
public int statusCode()HTTP response status code for this operation- Specified by:
statusCodein interfaceAsyncResponse
-
rawResponse
Raw HTTP response; suitable for custom response parsing- Specified by:
rawResponsein interfaceAsyncResponse
-
interaction
Successful retrieval of the interaction. -
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 retrieval of the interaction. -
equals
-
hashCode
public int hashCode() -
toString
-