Class CustomAllOf
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.CustomAllOf
-
public class CustomAllOf extends java.lang.ObjectCustomAllOf
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_TYPEstatic java.lang.StringJSON_PROPERTY_WEBHOOKS
-
Constructor Summary
Constructors Constructor Description CustomAllOf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomAllOfaddWebhooksItem(Webhook webhooksItem)booleanequals(java.lang.Object o)java.lang.StringgetType()To configure a custom integration you need to setup a webhook with a set of triggers and target.java.util.List<Webhook>getWebhooks()An array of webhooks associated with the custom integration.inthashCode()voidsetType(java.lang.String type)voidsetWebhooks(java.util.List<Webhook> webhooks)java.lang.StringtoString()CustomAllOftype(java.lang.String type)CustomAllOfwebhooks(java.util.List<Webhook> webhooks)
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WEBHOOKS
public static final java.lang.String JSON_PROPERTY_WEBHOOKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public CustomAllOf type(java.lang.String type)
-
getType
@Nullable public java.lang.String getType()
To configure a custom integration you need to setup a webhook with a set of triggers and target.- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
webhooks
public CustomAllOf webhooks(java.util.List<Webhook> webhooks)
-
addWebhooksItem
public CustomAllOf addWebhooksItem(Webhook webhooksItem)
-
getWebhooks
public java.util.List<Webhook> getWebhooks()
An array of webhooks associated with the custom integration.- Returns:
- webhooks
-
setWebhooks
public void setWebhooks(java.util.List<Webhook> webhooks)
-
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
-
-