Class SwitchboardIntegration
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.SwitchboardIntegration
-
public class SwitchboardIntegration extends java.lang.ObjectSwitchboardIntegration
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_DELIVER_STANDBY_EVENTSstatic java.lang.StringJSON_PROPERTY_IDstatic java.lang.StringJSON_PROPERTY_INTEGRATION_IDstatic java.lang.StringJSON_PROPERTY_INTEGRATION_TYPEstatic java.lang.StringJSON_PROPERTY_MESSAGE_HISTORY_COUNTstatic java.lang.StringJSON_PROPERTY_NAMEstatic java.lang.StringJSON_PROPERTY_NEXT_SWITCHBOARD_INTEGRATION_ID
-
Constructor Summary
Constructors Constructor Description SwitchboardIntegration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SwitchboardIntegrationdeliverStandbyEvents(java.lang.Boolean deliverStandbyEvents)booleanequals(java.lang.Object o)java.lang.BooleangetDeliverStandbyEvents()Setting to determine if webhooks should be sent when the switchboard integration is not in control of a conversation (standby status)java.lang.StringgetId()The unique ID of the switchboard integration.java.lang.StringgetIntegrationId()Id of the integration that should deliver events routed by the switchboard.java.lang.StringgetIntegrationType()Type of integration that should deliver events routed by the switchboard.java.lang.IntegergetMessageHistoryCount()Number of messages to include in the message history context.org.openapitools.jackson.nullable.JsonNullable<java.lang.Integer>getMessageHistoryCount_JsonNullable()java.lang.StringgetName()Identifier for use in control transfer protocols.java.lang.StringgetNextSwitchboardIntegrationId()The switchboard integration id to which control of a conversation is passed / offered by default.inthashCode()SwitchboardIntegrationid(java.lang.String id)SwitchboardIntegrationintegrationId(java.lang.String integrationId)SwitchboardIntegrationintegrationType(java.lang.String integrationType)SwitchboardIntegrationmessageHistoryCount(java.lang.Integer messageHistoryCount)SwitchboardIntegrationname(java.lang.String name)SwitchboardIntegrationnextSwitchboardIntegrationId(java.lang.String nextSwitchboardIntegrationId)voidsetDeliverStandbyEvents(java.lang.Boolean deliverStandbyEvents)voidsetId(java.lang.String id)voidsetIntegrationId(java.lang.String integrationId)voidsetIntegrationType(java.lang.String integrationType)voidsetMessageHistoryCount(java.lang.Integer messageHistoryCount)voidsetMessageHistoryCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.Integer> messageHistoryCount)voidsetName(java.lang.String name)voidsetNextSwitchboardIntegrationId(java.lang.String nextSwitchboardIntegrationId)java.lang.StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final java.lang.String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final java.lang.String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTEGRATION_ID
public static final java.lang.String JSON_PROPERTY_INTEGRATION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTEGRATION_TYPE
public static final java.lang.String JSON_PROPERTY_INTEGRATION_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DELIVER_STANDBY_EVENTS
public static final java.lang.String JSON_PROPERTY_DELIVER_STANDBY_EVENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NEXT_SWITCHBOARD_INTEGRATION_ID
public static final java.lang.String JSON_PROPERTY_NEXT_SWITCHBOARD_INTEGRATION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE_HISTORY_COUNT
public static final java.lang.String JSON_PROPERTY_MESSAGE_HISTORY_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public SwitchboardIntegration id(java.lang.String id)
-
getId
public java.lang.String getId()
The unique ID of the switchboard integration.- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
name
public SwitchboardIntegration name(java.lang.String name)
-
getName
public java.lang.String getName()
Identifier for use in control transfer protocols. Restricted to alphanumeric characters, `-` and `_`.- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
integrationId
public SwitchboardIntegration integrationId(java.lang.String integrationId)
-
getIntegrationId
public java.lang.String getIntegrationId()
Id of the integration that should deliver events routed by the switchboard.- Returns:
- integrationId
-
setIntegrationId
public void setIntegrationId(java.lang.String integrationId)
-
integrationType
public SwitchboardIntegration integrationType(java.lang.String integrationType)
-
getIntegrationType
public java.lang.String getIntegrationType()
Type of integration that should deliver events routed by the switchboard. If referencing an OAuth integration, the clientId issued by Sunshine Conversations during the OAuth partnership process will be the value of integrationType.- Returns:
- integrationType
-
setIntegrationType
public void setIntegrationType(java.lang.String integrationType)
-
deliverStandbyEvents
public SwitchboardIntegration deliverStandbyEvents(java.lang.Boolean deliverStandbyEvents)
-
getDeliverStandbyEvents
public java.lang.Boolean getDeliverStandbyEvents()
Setting to determine if webhooks should be sent when the switchboard integration is not in control of a conversation (standby status)- Returns:
- deliverStandbyEvents
-
setDeliverStandbyEvents
public void setDeliverStandbyEvents(java.lang.Boolean deliverStandbyEvents)
-
nextSwitchboardIntegrationId
public SwitchboardIntegration nextSwitchboardIntegrationId(java.lang.String nextSwitchboardIntegrationId)
-
getNextSwitchboardIntegrationId
@Nullable public java.lang.String getNextSwitchboardIntegrationId()
The switchboard integration id to which control of a conversation is passed / offered by default.- Returns:
- nextSwitchboardIntegrationId
-
setNextSwitchboardIntegrationId
public void setNextSwitchboardIntegrationId(java.lang.String nextSwitchboardIntegrationId)
-
messageHistoryCount
public SwitchboardIntegration messageHistoryCount(java.lang.Integer messageHistoryCount)
-
getMessageHistoryCount
@Nullable public java.lang.Integer getMessageHistoryCount()
Number of messages to include in the message history context. minimum: 1 maximum: 10- Returns:
- messageHistoryCount
-
getMessageHistoryCount_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.Integer> getMessageHistoryCount_JsonNullable()
-
setMessageHistoryCount_JsonNullable
public void setMessageHistoryCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.Integer> messageHistoryCount)
-
setMessageHistoryCount
public void setMessageHistoryCount(java.lang.Integer messageHistoryCount)
-
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
-
-