@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class WebhookHeaderNameValue extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebhookHeaderNameValue.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_VALUE |
Constructor and Description |
---|
WebhookHeaderNameValue() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static WebhookHeaderNameValue |
fromJson(String jsonString)
Create an instance of WebhookHeaderNameValue given an JSON string
|
String |
getName()
Name of header
|
String |
getValue()
Value of header
|
int |
hashCode() |
WebhookHeaderNameValue |
name(String name) |
void |
setName(String name) |
void |
setValue(String value) |
String |
toJson()
Convert an instance of WebhookHeaderNameValue 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
|
WebhookHeaderNameValue |
value(String value) |
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_VALUE
public WebhookHeaderNameValue name(String name)
public void setName(String name)
public WebhookHeaderNameValue value(String value)
public void setValue(String value)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to WebhookHeaderNameValuepublic static WebhookHeaderNameValue fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to WebhookHeaderNameValuepublic String toJson()
Copyright © 2023. All rights reserved.