@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-10T12:39:37.024419310Z[Etc/UTC]",
comments="Generator version: 7.7.0")
public class WebhookSigningKeysModel
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WebhookSigningKeysModel.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashSet<java.lang.String> |
openapiFields |
static java.util.HashSet<java.lang.String> |
openapiRequiredFields |
static java.lang.String |
SERIALIZED_NAME_KEY1 |
static java.lang.String |
SERIALIZED_NAME_KEY2 |
| Constructor and Description |
|---|
WebhookSigningKeysModel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static WebhookSigningKeysModel |
fromJson(java.lang.String jsonString)
Create an instance of WebhookSigningKeysModel given an JSON string
|
java.lang.String |
getKey1()
The first signing key.
|
java.lang.String |
getKey2()
The second signing key.
|
int |
hashCode() |
WebhookSigningKeysModel |
key1(java.lang.String key1) |
WebhookSigningKeysModel |
key2(java.lang.String key2) |
void |
setKey1(java.lang.String key1) |
void |
setKey2(java.lang.String key2) |
java.lang.String |
toJson()
Convert an instance of WebhookSigningKeysModel to an JSON string
|
java.lang.String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final java.lang.String SERIALIZED_NAME_KEY1
public static final java.lang.String SERIALIZED_NAME_KEY2
public static java.util.HashSet<java.lang.String> openapiFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
public WebhookSigningKeysModel key1(java.lang.String key1)
@Nullable public java.lang.String getKey1()
public void setKey1(java.lang.String key1)
public WebhookSigningKeysModel key2(java.lang.String key2)
@Nullable public java.lang.String getKey2()
public void setKey2(java.lang.String key2)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws java.io.IOException
jsonElement - JSON Elementjava.io.IOException - if the JSON Element is invalid with respect to WebhookSigningKeysModelpublic static WebhookSigningKeysModel fromJson(java.lang.String jsonString) throws java.io.IOException
jsonString - JSON stringjava.io.IOException - if the JSON string is invalid with respect to WebhookSigningKeysModelpublic java.lang.String toJson()