Class Unity
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.Integration
-
- com.zendesk.sunshine_conversations_client.model.Unity
-
public class Unity extends Integration
Unity
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_ATTACHMENTS_ENABLEDstatic java.lang.StringJSON_PROPERTY_CAN_USER_CREATE_MORE_CONVERSATIONSstatic java.lang.StringJSON_PROPERTY_TYPEprotected 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 Unity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnitycanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)booleanequals(java.lang.Object o)java.lang.BooleangetAttachmentsEnabled()Allows users to send attachments.java.lang.BooleangetCanUserCreateMoreConversations()Allows users to create more than one conversation on the Unity integration.java.lang.StringgetType()To configure a Unity integration, create an integration with type 'unity' by calling the Create Integration endpoint.inthashCode()voidsetCanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)voidsetType(java.lang.String type)java.lang.StringtoString()Unitytype(java.lang.String type)-
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_CAN_USER_CREATE_MORE_CONVERSATIONS
public static final java.lang.String JSON_PROPERTY_CAN_USER_CREATE_MORE_CONVERSATIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ATTACHMENTS_ENABLED
public static final java.lang.String JSON_PROPERTY_ATTACHMENTS_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public Unity type(java.lang.String type)
- Overrides:
typein classIntegration
-
getType
@Nullable public java.lang.String getType()
To configure a Unity integration, create an integration with type 'unity' by calling the Create Integration endpoint.- Overrides:
getTypein classIntegration- Returns:
- type
-
setType
public void setType(java.lang.String type)
- Overrides:
setTypein classIntegration
-
canUserCreateMoreConversations
public Unity canUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)
-
getCanUserCreateMoreConversations
@Nullable public java.lang.Boolean getCanUserCreateMoreConversations()
Allows users to create more than one conversation on the Unity integration.- Returns:
- canUserCreateMoreConversations
-
setCanUserCreateMoreConversations
public void setCanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)
-
getAttachmentsEnabled
@Nullable public java.lang.Boolean getAttachmentsEnabled()
Allows users to send attachments. By default, the setting is set to true. This setting can only be configured in Zendesk Admin Center.- Returns:
- attachmentsEnabled
-
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
-
-