Class ConversationTruncated
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.ConversationTruncated
-
public class ConversationTruncated extends java.lang.ObjectConversationTruncated
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_ACTIVE_SWITCHBOARD_INTEGRATIONstatic java.lang.StringJSON_PROPERTY_IDstatic java.lang.StringJSON_PROPERTY_METADATAstatic java.lang.StringJSON_PROPERTY_PENDING_SWITCHBOARD_INTEGRATIONstatic java.lang.StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description ConversationTruncated()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationTruncatedactiveSwitchboardIntegration(SwitchboardIntegrationWebhook activeSwitchboardIntegration)booleanequals(java.lang.Object o)SwitchboardIntegrationWebhookgetActiveSwitchboardIntegration()The current switchboard integration that is in control of the conversation.org.openapitools.jackson.nullable.JsonNullable<SwitchboardIntegrationWebhook>getActiveSwitchboardIntegration_JsonNullable()java.lang.StringgetId()The unique ID of the conversation.java.lang.ObjectgetMetadata()Flat object containing custom properties.org.openapitools.jackson.nullable.JsonNullable<java.lang.Object>getMetadata_JsonNullable()SwitchboardIntegrationWebhookgetPendingSwitchboardIntegration()The switchboard integration that is awaiting control.org.openapitools.jackson.nullable.JsonNullable<SwitchboardIntegrationWebhook>getPendingSwitchboardIntegration_JsonNullable()ConversationTypegetType()Get typeinthashCode()ConversationTruncatedid(java.lang.String id)ConversationTruncatedmetadata(java.lang.Object metadata)ConversationTruncatedpendingSwitchboardIntegration(SwitchboardIntegrationWebhook pendingSwitchboardIntegration)voidsetActiveSwitchboardIntegration(SwitchboardIntegrationWebhook activeSwitchboardIntegration)voidsetActiveSwitchboardIntegration_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SwitchboardIntegrationWebhook> activeSwitchboardIntegration)voidsetId(java.lang.String id)voidsetMetadata(java.lang.Object metadata)voidsetMetadata_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.Object> metadata)voidsetPendingSwitchboardIntegration(SwitchboardIntegrationWebhook pendingSwitchboardIntegration)voidsetPendingSwitchboardIntegration_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SwitchboardIntegrationWebhook> pendingSwitchboardIntegration)voidsetType(ConversationType type)java.lang.StringtoString()ConversationTruncatedtype(ConversationType type)
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final java.lang.String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final java.lang.String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACTIVE_SWITCHBOARD_INTEGRATION
public static final java.lang.String JSON_PROPERTY_ACTIVE_SWITCHBOARD_INTEGRATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PENDING_SWITCHBOARD_INTEGRATION
public static final java.lang.String JSON_PROPERTY_PENDING_SWITCHBOARD_INTEGRATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public ConversationTruncated id(java.lang.String id)
-
getId
@Nullable public java.lang.String getId()
The unique ID of the conversation.- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
type
public ConversationTruncated type(ConversationType type)
-
getType
@Nullable public ConversationType getType()
Get type- Returns:
- type
-
setType
public void setType(ConversationType type)
-
metadata
public ConversationTruncated metadata(java.lang.Object metadata)
-
getMetadata
@Nullable public java.lang.Object getMetadata()
Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size.- Returns:
- metadata
-
getMetadata_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.Object> getMetadata_JsonNullable()
-
setMetadata_JsonNullable
public void setMetadata_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.Object> metadata)
-
setMetadata
public void setMetadata(java.lang.Object metadata)
-
activeSwitchboardIntegration
public ConversationTruncated activeSwitchboardIntegration(SwitchboardIntegrationWebhook activeSwitchboardIntegration)
-
getActiveSwitchboardIntegration
@Nullable public SwitchboardIntegrationWebhook getActiveSwitchboardIntegration()
The current switchboard integration that is in control of the conversation. This field is omitted if no `activeSwitchboardIntegration` exists for the conversation.- Returns:
- activeSwitchboardIntegration
-
getActiveSwitchboardIntegration_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<SwitchboardIntegrationWebhook> getActiveSwitchboardIntegration_JsonNullable()
-
setActiveSwitchboardIntegration_JsonNullable
public void setActiveSwitchboardIntegration_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SwitchboardIntegrationWebhook> activeSwitchboardIntegration)
-
setActiveSwitchboardIntegration
public void setActiveSwitchboardIntegration(SwitchboardIntegrationWebhook activeSwitchboardIntegration)
-
pendingSwitchboardIntegration
public ConversationTruncated pendingSwitchboardIntegration(SwitchboardIntegrationWebhook pendingSwitchboardIntegration)
-
getPendingSwitchboardIntegration
@Nullable public SwitchboardIntegrationWebhook getPendingSwitchboardIntegration()
The switchboard integration that is awaiting control. This field is omitted if no switchboard integration has been previously offered control.- Returns:
- pendingSwitchboardIntegration
-
getPendingSwitchboardIntegration_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<SwitchboardIntegrationWebhook> getPendingSwitchboardIntegration_JsonNullable()
-
setPendingSwitchboardIntegration_JsonNullable
public void setPendingSwitchboardIntegration_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SwitchboardIntegrationWebhook> pendingSwitchboardIntegration)
-
setPendingSwitchboardIntegration
public void setPendingSwitchboardIntegration(SwitchboardIntegrationWebhook pendingSwitchboardIntegration)
-
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
-
-