@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class WebhookTestResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebhookTestResult.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_MESSAGE |
static String |
SERIALIZED_NAME_REQUEST |
static String |
SERIALIZED_NAME_RESPONSE |
Constructor and Description |
---|
WebhookTestResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static WebhookTestResult |
fromJson(String jsonString)
Create an instance of WebhookTestResult given an JSON string
|
String |
getMessage()
Get message
|
WebhookTestRequest |
getRequest()
Get request
|
WebhookTestResponse |
getResponse()
Get response
|
int |
hashCode() |
WebhookTestResult |
message(String message) |
WebhookTestResult |
request(WebhookTestRequest request) |
WebhookTestResult |
response(WebhookTestResponse response) |
void |
setMessage(String message) |
void |
setRequest(WebhookTestRequest request) |
void |
setResponse(WebhookTestResponse response) |
String |
toJson()
Convert an instance of WebhookTestResult 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_MESSAGE
public static final String SERIALIZED_NAME_RESPONSE
public static final String SERIALIZED_NAME_REQUEST
public WebhookTestResult message(String message)
public void setMessage(String message)
public WebhookTestResult response(WebhookTestResponse response)
@Nonnull public WebhookTestResponse getResponse()
public void setResponse(WebhookTestResponse response)
public WebhookTestResult request(WebhookTestRequest request)
@Nonnull public WebhookTestRequest getRequest()
public void setRequest(WebhookTestRequest request)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to WebhookTestResultpublic static WebhookTestResult fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to WebhookTestResultpublic String toJson()
Copyright © 2023. All rights reserved.