Class CreateAgentResponse
java.lang.Object
com.google.genai.gaos.models.operations.CreateAgentResponse
- All Implemented Interfaces:
Response
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreateAgentResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse) CreateAgentResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Agent agent) -
Method Summary
Modifier and TypeMethodDescriptionagent()Successful operationstatic CreateAgentResponse.Builderbuilder()HTTP response content type for this operationbooleaninthashCode()Raw HTTP response; suitable for custom response parsingintHTTP response status code for this operationtoString()Successful operationwithContentType(String contentType) HTTP response content type for this operationwithRawResponse(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsingwithStatusCode(int statusCode) HTTP response status code for this operation
-
Constructor Details
-
CreateAgentResponse
public CreateAgentResponse(@Nonnull String contentType, int statusCode, @Nonnull HttpResponse<InputStream> rawResponse, @Nullable Agent agent) -
CreateAgentResponse
public CreateAgentResponse(@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
-
agent
Successful operation -
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 -
withAgent
Successful operation -
equals
-
hashCode
public int hashCode() -
toString
-