Class Custom
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.Integration
-
- com.zendesk.sunshine_conversations_client.model.Custom
-
public class Custom extends Integration
Custom
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_TYPEstatic java.lang.StringJSON_PROPERTY_WEBHOOKSprotected java.lang.Stringtype-
Fields inherited from class com.zendesk.sunshine_conversations_client.model.Integration
JSON_PROPERTY_DISPLAY_NAME, JSON_PROPERTY_ID, JSON_PROPERTY_STATUS
-
-
Constructor Summary
Constructors Constructor Description Custom()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomaddWebhooksItem(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()Customtype(java.lang.String type)Customwebhooks(java.util.List<Webhook> webhooks)-
Methods inherited from class com.zendesk.sunshine_conversations_client.model.Integration
displayName, getDisplayName, getDisplayName_JsonNullable, getId, getStatus, setDisplayName, setDisplayName_JsonNullable, setStatus, status
-
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
type
protected java.lang.String type
-
JSON_PROPERTY_WEBHOOKS
public static final java.lang.String JSON_PROPERTY_WEBHOOKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public Custom type(java.lang.String type)
- Overrides:
typein classIntegration
-
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.- Overrides:
getTypein classIntegration- Returns:
- type
-
setType
public void setType(java.lang.String type)
- Overrides:
setTypein classIntegration
-
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 classIntegration
-
hashCode
public int hashCode()
- Overrides:
hashCodein classIntegration
-
toString
public java.lang.String toString()
- Overrides:
toStringin classIntegration
-
-