@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class WebhookTestResponse extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebhookTestResponse.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_MESSAGE |
static String |
SERIALIZED_NAME_STATUS_CODE |
Constructor and Description |
---|
WebhookTestResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static WebhookTestResponse |
fromJson(String jsonString)
Create an instance of WebhookTestResponse given an JSON string
|
String |
getMessage()
Get message
|
Integer |
getStatusCode()
Get statusCode
|
int |
hashCode() |
WebhookTestResponse |
message(String message) |
void |
setMessage(String message) |
void |
setStatusCode(Integer statusCode) |
WebhookTestResponse |
statusCode(Integer statusCode) |
String |
toJson()
Convert an instance of WebhookTestResponse to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_STATUS_CODE
public static final String SERIALIZED_NAME_MESSAGE
public WebhookTestResponse statusCode(Integer statusCode)
public void setStatusCode(Integer statusCode)
public WebhookTestResponse message(String message)
public void setMessage(String message)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to WebhookTestResponsepublic static WebhookTestResponse fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to WebhookTestResponsepublic String toJson()
Copyright © 2023. All rights reserved.