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_DEFAULT_RESPONDERstatic java.lang.StringJSON_PROPERTY_DEFAULT_RESPONDER_IDstatic 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)UnitydefaultResponder(DefaultResponderDefaultResponder defaultResponder)UnitydefaultResponderId(java.lang.String defaultResponderId)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.DefaultResponderDefaultRespondergetDefaultResponder()Get defaultResponderjava.lang.StringgetDefaultResponderId()The default responder ID for the integration.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>getDefaultResponderId_JsonNullable()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)voidsetDefaultResponder(DefaultResponderDefaultResponder defaultResponder)voidsetDefaultResponderId(java.lang.String defaultResponderId)voidsetDefaultResponderId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> defaultResponderId)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
-
JSON_PROPERTY_DEFAULT_RESPONDER_ID
public static final java.lang.String JSON_PROPERTY_DEFAULT_RESPONDER_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEFAULT_RESPONDER
public static final java.lang.String JSON_PROPERTY_DEFAULT_RESPONDER
- 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
-
defaultResponderId
public Unity defaultResponderId(java.lang.String defaultResponderId)
-
getDefaultResponderId
@Nullable public java.lang.String getDefaultResponderId()
The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide.- Returns:
- defaultResponderId
-
getDefaultResponderId_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getDefaultResponderId_JsonNullable()
-
setDefaultResponderId_JsonNullable
public void setDefaultResponderId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> defaultResponderId)
-
setDefaultResponderId
public void setDefaultResponderId(java.lang.String defaultResponderId)
-
defaultResponder
public Unity defaultResponder(DefaultResponderDefaultResponder defaultResponder)
-
getDefaultResponder
@Nullable public DefaultResponderDefaultResponder getDefaultResponder()
Get defaultResponder- Returns:
- defaultResponder
-
setDefaultResponder
public void setDefaultResponder(DefaultResponderDefaultResponder defaultResponder)
-
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
-
-