Class SwitchboardIntegrationCreateBody
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.SwitchboardIntegrationCreateBody
-
public class SwitchboardIntegrationCreateBody extends java.lang.ObjectSwitchboardIntegrationCreateBody
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_DELIVER_STANDBY_EVENTSstatic 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 SwitchboardIntegrationCreateBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SwitchboardIntegrationCreateBodydeliverStandbyEvents(java.lang.Boolean deliverStandbyEvents)booleanequals(java.lang.Object o)java.lang.BooleangetDeliverStandbyEvents()Get deliverStandbyEventsjava.lang.StringgetIntegrationId()The id of the integration to link to the switchboard integration.java.lang.StringgetIntegrationType()The type of the integration to link to the switchboard integration.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()Get nextSwitchboardIntegrationIdorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>getNextSwitchboardIntegrationId_JsonNullable()inthashCode()SwitchboardIntegrationCreateBodyintegrationId(java.lang.String integrationId)SwitchboardIntegrationCreateBodyintegrationType(java.lang.String integrationType)SwitchboardIntegrationCreateBodymessageHistoryCount(java.lang.Integer messageHistoryCount)SwitchboardIntegrationCreateBodyname(java.lang.String name)SwitchboardIntegrationCreateBodynextSwitchboardIntegrationId(java.lang.String nextSwitchboardIntegrationId)voidsetDeliverStandbyEvents(java.lang.Boolean deliverStandbyEvents)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)voidsetNextSwitchboardIntegrationId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> nextSwitchboardIntegrationId)java.lang.StringtoString()
-
-
-
Field Detail
-
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
-
name
public SwitchboardIntegrationCreateBody 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 SwitchboardIntegrationCreateBody integrationId(java.lang.String integrationId)
-
getIntegrationId
@Nullable public java.lang.String getIntegrationId()
The id of the integration to link to the switchboard integration. Must be used when linking a custom integration. One of `integrationId` or `integrationType` must be provided.- Returns:
- integrationId
-
setIntegrationId
public void setIntegrationId(java.lang.String integrationId)
-
integrationType
public SwitchboardIntegrationCreateBody integrationType(java.lang.String integrationType)
-
getIntegrationType
@Nullable public java.lang.String getIntegrationType()
The type of the integration to link to the switchboard integration. Must be used when linking an OAuth integration. One of `integrationId` or `integrationType` must be provided.- Returns:
- integrationType
-
setIntegrationType
public void setIntegrationType(java.lang.String integrationType)
-
deliverStandbyEvents
public SwitchboardIntegrationCreateBody deliverStandbyEvents(java.lang.Boolean deliverStandbyEvents)
-
getDeliverStandbyEvents
@Nullable public java.lang.Boolean getDeliverStandbyEvents()
Get deliverStandbyEvents- Returns:
- deliverStandbyEvents
-
setDeliverStandbyEvents
public void setDeliverStandbyEvents(java.lang.Boolean deliverStandbyEvents)
-
nextSwitchboardIntegrationId
public SwitchboardIntegrationCreateBody nextSwitchboardIntegrationId(java.lang.String nextSwitchboardIntegrationId)
-
getNextSwitchboardIntegrationId
@Nullable public java.lang.String getNextSwitchboardIntegrationId()
Get nextSwitchboardIntegrationId- Returns:
- nextSwitchboardIntegrationId
-
getNextSwitchboardIntegrationId_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getNextSwitchboardIntegrationId_JsonNullable()
-
setNextSwitchboardIntegrationId_JsonNullable
public void setNextSwitchboardIntegrationId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> nextSwitchboardIntegrationId)
-
setNextSwitchboardIntegrationId
public void setNextSwitchboardIntegrationId(java.lang.String nextSwitchboardIntegrationId)
-
messageHistoryCount
public SwitchboardIntegrationCreateBody 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
-
-