Class SwitchboardUpdateBody
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.SwitchboardUpdateBody
-
public class SwitchboardUpdateBody extends java.lang.ObjectSwitchboardUpdateBody
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_DEFAULT_SWITCHBOARD_INTEGRATION_IDstatic java.lang.StringJSON_PROPERTY_ENABLED
-
Constructor Summary
Constructors Constructor Description SwitchboardUpdateBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SwitchboardUpdateBodydefaultSwitchboardIntegrationId(java.lang.String defaultSwitchboardIntegrationId)SwitchboardUpdateBodyenabled(java.lang.Boolean enabled)booleanequals(java.lang.Object o)java.lang.StringgetDefaultSwitchboardIntegrationId()The id of the switchboard integration that will be given control when a new conversation begins.java.lang.BooleangetEnabled()Whether the switchboard is enabled.inthashCode()voidsetDefaultSwitchboardIntegrationId(java.lang.String defaultSwitchboardIntegrationId)voidsetEnabled(java.lang.Boolean enabled)java.lang.StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ENABLED
public static final java.lang.String JSON_PROPERTY_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEFAULT_SWITCHBOARD_INTEGRATION_ID
public static final java.lang.String JSON_PROPERTY_DEFAULT_SWITCHBOARD_INTEGRATION_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
enabled
public SwitchboardUpdateBody enabled(java.lang.Boolean enabled)
-
getEnabled
@Nullable public java.lang.Boolean getEnabled()
Whether the switchboard is enabled. Allows creating the switchboard in a disabled state so that messages don't get lost or misrouted during switchboard configuration. When a switchboard is disabled, integrations linked to the switchboard will receive all events.- Returns:
- enabled
-
setEnabled
public void setEnabled(java.lang.Boolean enabled)
-
defaultSwitchboardIntegrationId
public SwitchboardUpdateBody defaultSwitchboardIntegrationId(java.lang.String defaultSwitchboardIntegrationId)
-
getDefaultSwitchboardIntegrationId
@Nullable public java.lang.String getDefaultSwitchboardIntegrationId()
The id of the switchboard integration that will be given control when a new conversation begins. It will also be used for conversations that existed before the switchboard was enabled.- Returns:
- defaultSwitchboardIntegrationId
-
setDefaultSwitchboardIntegrationId
public void setDefaultSwitchboardIntegrationId(java.lang.String defaultSwitchboardIntegrationId)
-
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
-
-