Package com.boldsign.model
Class WebhookEventMetadata
- java.lang.Object
-
- com.boldsign.model.WebhookEventMetadata
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class WebhookEventMetadata extends Object
WebhookEventMetadata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebhookEventMetadata.CustomTypeAdapterFactorystatic classWebhookEventMetadata.EnvironmentEnumGets or Sets environmentstatic classWebhookEventMetadata.EventTypeEnumGets or Sets eventType
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CLIENT_IDstatic StringSERIALIZED_NAME_CREATEDstatic StringSERIALIZED_NAME_ENVIRONMENTstatic StringSERIALIZED_NAME_EVENT_TYPEstatic StringSERIALIZED_NAME_ID
-
Constructor Summary
Constructors Constructor Description WebhookEventMetadata()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED
public static final String SERIALIZED_NAME_CREATED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EVENT_TYPE
public static final String SERIALIZED_NAME_EVENT_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CLIENT_ID
public static final String SERIALIZED_NAME_CLIENT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENVIRONMENT
public static final String SERIALIZED_NAME_ENVIRONMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public WebhookEventMetadata id(String id)
-
setId
public void setId(String id)
-
created
public WebhookEventMetadata created(OffsetDateTime created)
-
getCreated
@Nullable public OffsetDateTime getCreated()
Get created- Returns:
- created
-
setCreated
public void setCreated(OffsetDateTime created)
-
eventType
public WebhookEventMetadata eventType(WebhookEventMetadata.EventTypeEnum eventType)
-
getEventType
@Nullable public WebhookEventMetadata.EventTypeEnum getEventType()
Get eventType- Returns:
- eventType
-
setEventType
public void setEventType(WebhookEventMetadata.EventTypeEnum eventType)
-
clientId
public WebhookEventMetadata clientId(String clientId)
-
setClientId
public void setClientId(String clientId)
-
environment
public WebhookEventMetadata environment(WebhookEventMetadata.EnvironmentEnum environment)
-
getEnvironment
@Nullable public WebhookEventMetadata.EnvironmentEnum getEnvironment()
Get environment- Returns:
- environment
-
setEnvironment
public void setEnvironment(WebhookEventMetadata.EnvironmentEnum environment)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to WebhookEventMetadata
-
fromJson
public static WebhookEventMetadata fromJson(String jsonString) throws IOException
Create an instance of WebhookEventMetadata given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WebhookEventMetadata
- Throws:
IOException- if the JSON string is invalid with respect to WebhookEventMetadata
-
toJson
public String toJson()
Convert an instance of WebhookEventMetadata to an JSON string- Returns:
- JSON string
-
-