@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class WebhookHeaders extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebhookHeaders.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_HEADERS |
Constructor and Description |
---|
WebhookHeaders() |
Modifier and Type | Method and Description |
---|---|
WebhookHeaders |
addHeadersItem(WebhookHeaderNameValue headersItem) |
boolean |
equals(Object o) |
static WebhookHeaders |
fromJson(String jsonString)
Create an instance of WebhookHeaders given an JSON string
|
List<WebhookHeaderNameValue> |
getHeaders()
List of header name value pairs to include with webhook requests
|
int |
hashCode() |
WebhookHeaders |
headers(List<WebhookHeaderNameValue> headers) |
void |
setHeaders(List<WebhookHeaderNameValue> headers) |
String |
toJson()
Convert an instance of WebhookHeaders 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_HEADERS
public WebhookHeaders headers(List<WebhookHeaderNameValue> headers)
public WebhookHeaders addHeadersItem(WebhookHeaderNameValue headersItem)
@Nonnull public List<WebhookHeaderNameValue> getHeaders()
public void setHeaders(List<WebhookHeaderNameValue> headers)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to WebhookHeaderspublic static WebhookHeaders fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to WebhookHeaderspublic String toJson()
Copyright © 2023. All rights reserved.