Class GetWebhookResponse
java.lang.Object
com.google.genai.gaos.models.operations.async.GetWebhookResponse
- All Implemented Interfaces:
AsyncResponse
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionGetWebhookResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse) GetWebhookResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Webhook webhook) -
Method Summary
Modifier and TypeMethodDescriptionstatic GetWebhookResponse.Builderbuilder()HTTP response content type for this operationbooleaninthashCode()Raw HTTP response; suitable for custom response parsingintHTTP response status code for this operationtoString()webhook()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 operationwithWebhook(Webhook webhook) Successful operation
-
Constructor Details
-
GetWebhookResponse
public GetWebhookResponse(@Nonnull String contentType, int statusCode, @Nonnull HttpResponse<InputStream> rawResponse, @Nullable Webhook webhook) -
GetWebhookResponse
public GetWebhookResponse(@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
-
webhook
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 -
withWebhook
Successful operation -
equals
-
hashCode
public int hashCode() -
toString
-