Class GetEnvironmentResponse
java.lang.Object
com.google.genai.gaos.models.operations.GetEnvironmentResponse
- All Implemented Interfaces:
Response
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionGetEnvironmentResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse) GetEnvironmentResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Environment environment) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()HTTP response content type for this operationSuccessful operationbooleaninthashCode()Raw HTTP response; suitable for custom response parsingintHTTP response status code for this operationtoString()withContentType(String contentType) HTTP response content type for this operationwithEnvironment(Environment environment) Successful operationwithRawResponse(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsingwithStatusCode(int statusCode) HTTP response status code for this operation
-
Constructor Details
-
GetEnvironmentResponse
public GetEnvironmentResponse(@Nonnull String contentType, int statusCode, @Nonnull HttpResponse<InputStream> rawResponse, @Nullable Environment environment) -
GetEnvironmentResponse
public GetEnvironmentResponse(@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
-
environment
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 -
withEnvironment
Successful operation -
equals
-
hashCode
public int hashCode() -
toString
-