Class WebhookSubSchema
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.WebhookSubSchema
-
public class WebhookSubSchema extends java.lang.ObjectThe webhook that generated the payload.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_IDstatic java.lang.StringJSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description WebhookSubSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetId()The unique ID of the webhook.java.lang.StringgetVersion()Schema version of the payload delivered to this webhook (v2).inthashCode()WebhookSubSchemaid(java.lang.String id)voidsetId(java.lang.String id)voidsetVersion(java.lang.String version)java.lang.StringtoString()WebhookSubSchemaversion(java.lang.String version)
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final java.lang.String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final java.lang.String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public WebhookSubSchema id(java.lang.String id)
-
getId
@Nullable public java.lang.String getId()
The unique ID of the webhook.- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
version
public WebhookSubSchema version(java.lang.String version)
-
getVersion
@Nullable public java.lang.String getVersion()
Schema version of the payload delivered to this webhook (v2).- Returns:
- version
-
setVersion
public void setVersion(java.lang.String version)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-