Class ConversationAllOf
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.ConversationAllOf
-
public class ConversationAllOf extends java.lang.ObjectConversationAllOf
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_BUSINESS_LAST_READstatic java.lang.StringJSON_PROPERTY_CREATED_ATstatic java.lang.StringJSON_PROPERTY_DESCRIPTIONstatic java.lang.StringJSON_PROPERTY_DISPLAY_NAMEstatic java.lang.StringJSON_PROPERTY_ICON_URLstatic java.lang.StringJSON_PROPERTY_IS_DEFAULTstatic java.lang.StringJSON_PROPERTY_LAST_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description ConversationAllOf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationAllOfbusinessLastRead(java.lang.String businessLastRead)ConversationAllOfcreatedAt(java.lang.String createdAt)ConversationAllOfdescription(java.lang.String description)ConversationAllOfdisplayName(java.lang.String displayName)booleanequals(java.lang.Object o)java.lang.StringgetBusinessLastRead()A datetime string with the format YYYY-MM-DDThh:mm:ss.SSSZ representing the moment the conversation was last marked as read with role business.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>getBusinessLastRead_JsonNullable()java.lang.StringgetCreatedAt()A datetime string with the format YYYY-MM-DDThh:mm:ss.SSSZ representing the creation time of the conversation.java.lang.StringgetDescription()A short text describing the conversation.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>getDescription_JsonNullable()java.lang.StringgetDisplayName()A friendly name for the conversation, may be displayed to the business or the user.java.net.URIgetIconUrl()A custom conversation icon url.org.openapitools.jackson.nullable.JsonNullable<java.net.URI>getIconUrl_JsonNullable()java.lang.BooleangetIsDefault()Whether the conversation is the default conversation for the user.java.lang.StringgetLastUpdatedAt()A datetime string with the format YYYY-MM-DDThh:mm:ss.SSSZ representing the moment the last message was received in the conversation, or the creation time if no messages have been received yet.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>getLastUpdatedAt_JsonNullable()inthashCode()ConversationAllOficonUrl(java.net.URI iconUrl)ConversationAllOfisDefault(java.lang.Boolean isDefault)ConversationAllOflastUpdatedAt(java.lang.String lastUpdatedAt)voidsetBusinessLastRead(java.lang.String businessLastRead)voidsetBusinessLastRead_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> businessLastRead)voidsetCreatedAt(java.lang.String createdAt)voidsetDescription(java.lang.String description)voidsetDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)voidsetDisplayName(java.lang.String displayName)voidsetIconUrl(java.net.URI iconUrl)voidsetIconUrl_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.net.URI> iconUrl)voidsetIsDefault(java.lang.Boolean isDefault)voidsetLastUpdatedAt(java.lang.String lastUpdatedAt)voidsetLastUpdatedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastUpdatedAt)java.lang.StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_IS_DEFAULT
public static final java.lang.String JSON_PROPERTY_IS_DEFAULT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISPLAY_NAME
public static final java.lang.String JSON_PROPERTY_DISPLAY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final java.lang.String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ICON_URL
public static final java.lang.String JSON_PROPERTY_ICON_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUSINESS_LAST_READ
public static final java.lang.String JSON_PROPERTY_BUSINESS_LAST_READ
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_UPDATED_AT
public static final java.lang.String JSON_PROPERTY_LAST_UPDATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final java.lang.String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
isDefault
public ConversationAllOf isDefault(java.lang.Boolean isDefault)
-
getIsDefault
@Nullable public java.lang.Boolean getIsDefault()
Whether the conversation is the default conversation for the user. Will be true for the first personal conversation created for the user, and false in all other cases.- Returns:
- isDefault
-
setIsDefault
public void setIsDefault(java.lang.Boolean isDefault)
-
displayName
public ConversationAllOf displayName(java.lang.String displayName)
-
getDisplayName
@Nullable public java.lang.String getDisplayName()
A friendly name for the conversation, may be displayed to the business or the user.- Returns:
- displayName
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
-
description
public ConversationAllOf description(java.lang.String description)
-
getDescription
@Nullable public java.lang.String getDescription()
A short text describing the conversation.- Returns:
- description
-
getDescription_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getDescription_JsonNullable()
-
setDescription_JsonNullable
public void setDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)
-
setDescription
public void setDescription(java.lang.String description)
-
iconUrl
public ConversationAllOf iconUrl(java.net.URI iconUrl)
-
getIconUrl
@Nullable public java.net.URI getIconUrl()
A custom conversation icon url. The image must be in either JPG, PNG, or GIF format- Returns:
- iconUrl
-
getIconUrl_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.net.URI> getIconUrl_JsonNullable()
-
setIconUrl_JsonNullable
public void setIconUrl_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.net.URI> iconUrl)
-
setIconUrl
public void setIconUrl(java.net.URI iconUrl)
-
businessLastRead
public ConversationAllOf businessLastRead(java.lang.String businessLastRead)
-
getBusinessLastRead
@Nullable public java.lang.String getBusinessLastRead()
A datetime string with the format YYYY-MM-DDThh:mm:ss.SSSZ representing the moment the conversation was last marked as read with role business.- Returns:
- businessLastRead
-
getBusinessLastRead_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getBusinessLastRead_JsonNullable()
-
setBusinessLastRead_JsonNullable
public void setBusinessLastRead_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> businessLastRead)
-
setBusinessLastRead
public void setBusinessLastRead(java.lang.String businessLastRead)
-
lastUpdatedAt
public ConversationAllOf lastUpdatedAt(java.lang.String lastUpdatedAt)
-
getLastUpdatedAt
@Nullable public java.lang.String getLastUpdatedAt()
A datetime string with the format YYYY-MM-DDThh:mm:ss.SSSZ representing the moment the last message was received in the conversation, or the creation time if no messages have been received yet.- Returns:
- lastUpdatedAt
-
getLastUpdatedAt_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getLastUpdatedAt_JsonNullable()
-
setLastUpdatedAt_JsonNullable
public void setLastUpdatedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastUpdatedAt)
-
setLastUpdatedAt
public void setLastUpdatedAt(java.lang.String lastUpdatedAt)
-
createdAt
public ConversationAllOf createdAt(java.lang.String createdAt)
-
getCreatedAt
@Nullable public java.lang.String getCreatedAt()
A datetime string with the format YYYY-MM-DDThh:mm:ss.SSSZ representing the creation time of the conversation.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(java.lang.String createdAt)
-
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
-
-