Class WebAllOf
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.WebAllOf
-
public class WebAllOf extends java.lang.ObjectWebAllOf
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_ACTION_COLORstatic java.lang.StringJSON_PROPERTY_BACKGROUND_IMAGE_URLstatic java.lang.StringJSON_PROPERTY_BRAND_COLORstatic java.lang.StringJSON_PROPERTY_BUSINESS_ICON_URLstatic java.lang.StringJSON_PROPERTY_BUSINESS_NAMEstatic java.lang.StringJSON_PROPERTY_BUTTON_HEIGHTstatic java.lang.StringJSON_PROPERTY_BUTTON_ICON_URLstatic java.lang.StringJSON_PROPERTY_BUTTON_WIDTHstatic java.lang.StringJSON_PROPERTY_CAN_USER_CREATE_MORE_CONVERSATIONSstatic java.lang.StringJSON_PROPERTY_CAN_USER_SEE_CONVERSATION_LISTstatic java.lang.StringJSON_PROPERTY_CONVERSATION_COLORstatic java.lang.StringJSON_PROPERTY_DISPLAY_STYLEstatic java.lang.StringJSON_PROPERTY_FIXED_INTRO_PANEstatic java.lang.StringJSON_PROPERTY_INTEGRATION_ORDERstatic java.lang.StringJSON_PROPERTY_ORIGIN_WHITELISTstatic java.lang.StringJSON_PROPERTY_PRECHAT_CAPTUREstatic java.lang.StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description WebAllOf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebAllOfactionColor(java.lang.String actionColor)WebAllOfaddIntegrationOrderItem(java.lang.String integrationOrderItem)WebAllOfaddOriginWhitelistItem(java.lang.String originWhitelistItem)WebAllOfbackgroundImageUrl(java.lang.String backgroundImageUrl)WebAllOfbrandColor(java.lang.String brandColor)WebAllOfbusinessIconUrl(java.lang.String businessIconUrl)WebAllOfbusinessName(java.lang.String businessName)WebAllOfbuttonHeight(java.lang.String buttonHeight)WebAllOfbuttonIconUrl(java.lang.String buttonIconUrl)WebAllOfbuttonWidth(java.lang.String buttonWidth)WebAllOfcanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)WebAllOfcanUserSeeConversationList(java.lang.Boolean canUserSeeConversationList)WebAllOfconversationColor(java.lang.String conversationColor)WebAllOfdisplayStyle(java.lang.String displayStyle)booleanequals(java.lang.Object o)WebAllOffixedIntroPane(java.lang.Boolean fixedIntroPane)java.lang.StringgetActionColor()This color will be used for call-to-actions inside your messages.java.lang.StringgetBackgroundImageUrl()A background image url for the conversation.java.lang.StringgetBrandColor()This color will be used in the messenger header and the button or tab in idle state.java.lang.StringgetBusinessIconUrl()A custom business icon url for the Web Messenger.java.lang.StringgetBusinessName()A custom business name for the Web Messenger.java.lang.StringgetButtonHeight()With the button style Web Messenger, you have the option of specifying the button height.java.lang.StringgetButtonIconUrl()With the button style Web Messenger, you have the option of selecting your own button icon.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>getButtonIconUrl_JsonNullable()java.lang.StringgetButtonWidth()With the button style Web Messenger, you have the option of specifying the button width.java.lang.BooleangetCanUserCreateMoreConversations()Allows users to create more than one conversation on the web messenger integration.java.lang.BooleangetCanUserSeeConversationList()Allows users to view their list of conversations.java.lang.StringgetConversationColor()This color will be used for customer messages, quick replies and actions in the footer.java.lang.StringgetDisplayStyle()Choose how the messenger will appear on your website.java.lang.BooleangetFixedIntroPane()When true, the introduction pane will be pinned at the top of the conversation instead of scrolling with it.java.util.List<java.lang.String>getIntegrationOrder()Array of integration IDs, order will be reflected in the Web Messenger.org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>>getIntegrationOrder_JsonNullable()java.util.List<java.lang.String>getOriginWhitelist()A list of origins to whitelist.org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>>getOriginWhitelist_JsonNullable()PrechatCapturegetPrechatCapture()Object whose properties can be set to specify the add-on’s options.java.lang.StringgetType()To configure a Web Messenger integration, acquire the required information and call the Create Integration endpoint.inthashCode()WebAllOfintegrationOrder(java.util.List<java.lang.String> integrationOrder)WebAllOforiginWhitelist(java.util.List<java.lang.String> originWhitelist)WebAllOfprechatCapture(PrechatCapture prechatCapture)voidsetActionColor(java.lang.String actionColor)voidsetBackgroundImageUrl(java.lang.String backgroundImageUrl)voidsetBrandColor(java.lang.String brandColor)voidsetBusinessIconUrl(java.lang.String businessIconUrl)voidsetBusinessName(java.lang.String businessName)voidsetButtonHeight(java.lang.String buttonHeight)voidsetButtonIconUrl(java.lang.String buttonIconUrl)voidsetButtonIconUrl_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> buttonIconUrl)voidsetButtonWidth(java.lang.String buttonWidth)voidsetCanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)voidsetCanUserSeeConversationList(java.lang.Boolean canUserSeeConversationList)voidsetConversationColor(java.lang.String conversationColor)voidsetDisplayStyle(java.lang.String displayStyle)voidsetFixedIntroPane(java.lang.Boolean fixedIntroPane)voidsetIntegrationOrder(java.util.List<java.lang.String> integrationOrder)voidsetIntegrationOrder_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> integrationOrder)voidsetOriginWhitelist(java.util.List<java.lang.String> originWhitelist)voidsetOriginWhitelist_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> originWhitelist)voidsetPrechatCapture(PrechatCapture prechatCapture)voidsetType(java.lang.String type)java.lang.StringtoString()WebAllOftype(java.lang.String type)
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BRAND_COLOR
public static final java.lang.String JSON_PROPERTY_BRAND_COLOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FIXED_INTRO_PANE
public static final java.lang.String JSON_PROPERTY_FIXED_INTRO_PANE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONVERSATION_COLOR
public static final java.lang.String JSON_PROPERTY_CONVERSATION_COLOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACTION_COLOR
public static final java.lang.String JSON_PROPERTY_ACTION_COLOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISPLAY_STYLE
public static final java.lang.String JSON_PROPERTY_DISPLAY_STYLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUTTON_ICON_URL
public static final java.lang.String JSON_PROPERTY_BUTTON_ICON_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUTTON_WIDTH
public static final java.lang.String JSON_PROPERTY_BUTTON_WIDTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUTTON_HEIGHT
public static final java.lang.String JSON_PROPERTY_BUTTON_HEIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTEGRATION_ORDER
public static final java.lang.String JSON_PROPERTY_INTEGRATION_ORDER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUSINESS_NAME
public static final java.lang.String JSON_PROPERTY_BUSINESS_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUSINESS_ICON_URL
public static final java.lang.String JSON_PROPERTY_BUSINESS_ICON_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BACKGROUND_IMAGE_URL
public static final java.lang.String JSON_PROPERTY_BACKGROUND_IMAGE_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ORIGIN_WHITELIST
public static final java.lang.String JSON_PROPERTY_ORIGIN_WHITELIST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRECHAT_CAPTURE
public static final java.lang.String JSON_PROPERTY_PRECHAT_CAPTURE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAN_USER_SEE_CONVERSATION_LIST
public static final java.lang.String JSON_PROPERTY_CAN_USER_SEE_CONVERSATION_LIST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAN_USER_CREATE_MORE_CONVERSATIONS
public static final java.lang.String JSON_PROPERTY_CAN_USER_CREATE_MORE_CONVERSATIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public WebAllOf type(java.lang.String type)
-
getType
@Nullable public java.lang.String getType()
To configure a Web Messenger integration, acquire the required information and call the Create Integration endpoint.- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
brandColor
public WebAllOf brandColor(java.lang.String brandColor)
-
getBrandColor
@Nullable public java.lang.String getBrandColor()
This color will be used in the messenger header and the button or tab in idle state. Must be a 3 or 6-character hexadecimal color.- Returns:
- brandColor
-
setBrandColor
public void setBrandColor(java.lang.String brandColor)
-
fixedIntroPane
public WebAllOf fixedIntroPane(java.lang.Boolean fixedIntroPane)
-
getFixedIntroPane
@Nullable public java.lang.Boolean getFixedIntroPane()
When true, the introduction pane will be pinned at the top of the conversation instead of scrolling with it.- Returns:
- fixedIntroPane
-
setFixedIntroPane
public void setFixedIntroPane(java.lang.Boolean fixedIntroPane)
-
conversationColor
public WebAllOf conversationColor(java.lang.String conversationColor)
-
getConversationColor
@Nullable public java.lang.String getConversationColor()
This color will be used for customer messages, quick replies and actions in the footer. Must be a 3 or 6-character hexadecimal color.- Returns:
- conversationColor
-
setConversationColor
public void setConversationColor(java.lang.String conversationColor)
-
actionColor
public WebAllOf actionColor(java.lang.String actionColor)
-
getActionColor
@Nullable public java.lang.String getActionColor()
This color will be used for call-to-actions inside your messages. Must be a 3 or 6-character hexadecimal color.- Returns:
- actionColor
-
setActionColor
public void setActionColor(java.lang.String actionColor)
-
displayStyle
public WebAllOf displayStyle(java.lang.String displayStyle)
-
getDisplayStyle
@Nullable public java.lang.String getDisplayStyle()
Choose how the messenger will appear on your website. Must be either button or tab.- Returns:
- displayStyle
-
setDisplayStyle
public void setDisplayStyle(java.lang.String displayStyle)
-
buttonIconUrl
public WebAllOf buttonIconUrl(java.lang.String buttonIconUrl)
-
getButtonIconUrl
@Nullable public java.lang.String getButtonIconUrl()
With the button style Web Messenger, you have the option of selecting your own button icon. The image must be at least 200 x 200 pixels and must be in either JPG, PNG, or GIF format.- Returns:
- buttonIconUrl
-
getButtonIconUrl_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getButtonIconUrl_JsonNullable()
-
setButtonIconUrl_JsonNullable
public void setButtonIconUrl_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> buttonIconUrl)
-
setButtonIconUrl
public void setButtonIconUrl(java.lang.String buttonIconUrl)
-
buttonWidth
public WebAllOf buttonWidth(java.lang.String buttonWidth)
-
getButtonWidth
@Nullable public java.lang.String getButtonWidth()
With the button style Web Messenger, you have the option of specifying the button width.- Returns:
- buttonWidth
-
setButtonWidth
public void setButtonWidth(java.lang.String buttonWidth)
-
buttonHeight
public WebAllOf buttonHeight(java.lang.String buttonHeight)
-
getButtonHeight
@Nullable public java.lang.String getButtonHeight()
With the button style Web Messenger, you have the option of specifying the button height.- Returns:
- buttonHeight
-
setButtonHeight
public void setButtonHeight(java.lang.String buttonHeight)
-
integrationOrder
public WebAllOf integrationOrder(java.util.List<java.lang.String> integrationOrder)
-
addIntegrationOrderItem
public WebAllOf addIntegrationOrderItem(java.lang.String integrationOrderItem)
-
getIntegrationOrder
@Nullable public java.util.List<java.lang.String> getIntegrationOrder()
Array of integration IDs, order will be reflected in the Web Messenger. When set, only integrations from this list will be displayed in the Web Messenger. If unset, all integrations will be displayed.- Returns:
- integrationOrder
-
getIntegrationOrder_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> getIntegrationOrder_JsonNullable()
-
setIntegrationOrder_JsonNullable
public void setIntegrationOrder_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> integrationOrder)
-
setIntegrationOrder
public void setIntegrationOrder(java.util.List<java.lang.String> integrationOrder)
-
businessName
public WebAllOf businessName(java.lang.String businessName)
-
getBusinessName
@Nullable public java.lang.String getBusinessName()
A custom business name for the Web Messenger.- Returns:
- businessName
-
setBusinessName
public void setBusinessName(java.lang.String businessName)
-
businessIconUrl
public WebAllOf businessIconUrl(java.lang.String businessIconUrl)
-
getBusinessIconUrl
@Nullable public java.lang.String getBusinessIconUrl()
A custom business icon url for the Web Messenger. The image must be at least 200 x 200 pixels and must be in either JPG, PNG, or GIF format.- Returns:
- businessIconUrl
-
setBusinessIconUrl
public void setBusinessIconUrl(java.lang.String businessIconUrl)
-
backgroundImageUrl
public WebAllOf backgroundImageUrl(java.lang.String backgroundImageUrl)
-
getBackgroundImageUrl
@Nullable public java.lang.String getBackgroundImageUrl()
A background image url for the conversation. Image will be tiled to fit the window.- Returns:
- backgroundImageUrl
-
setBackgroundImageUrl
public void setBackgroundImageUrl(java.lang.String backgroundImageUrl)
-
originWhitelist
public WebAllOf originWhitelist(java.util.List<java.lang.String> originWhitelist)
-
addOriginWhitelistItem
public WebAllOf addOriginWhitelistItem(java.lang.String originWhitelistItem)
-
getOriginWhitelist
@Nullable public java.util.List<java.lang.String> getOriginWhitelist()
A list of origins to whitelist. When set, only the origins from this list will be able to initialize the Web Messenger. If unset, all origins are whitelisted. The elements in the list should follow the serialized-origin format from RFC 6454: scheme \"://\" host [ \":\" port ], where scheme is http or https.- Returns:
- originWhitelist
-
getOriginWhitelist_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> getOriginWhitelist_JsonNullable()
-
setOriginWhitelist_JsonNullable
public void setOriginWhitelist_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> originWhitelist)
-
setOriginWhitelist
public void setOriginWhitelist(java.util.List<java.lang.String> originWhitelist)
-
prechatCapture
public WebAllOf prechatCapture(PrechatCapture prechatCapture)
-
getPrechatCapture
@Nullable public PrechatCapture getPrechatCapture()
Object whose properties can be set to specify the add-on’s options. See the [guide](https://docs.smooch.io/guide/web-messenger/#prechat-capture) to learn more about Prechat Capture.- Returns:
- prechatCapture
-
setPrechatCapture
public void setPrechatCapture(PrechatCapture prechatCapture)
-
canUserSeeConversationList
public WebAllOf canUserSeeConversationList(java.lang.Boolean canUserSeeConversationList)
-
getCanUserSeeConversationList
@Nullable public java.lang.Boolean getCanUserSeeConversationList()
Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*.- Returns:
- canUserSeeConversationList
-
setCanUserSeeConversationList
public void setCanUserSeeConversationList(java.lang.Boolean canUserSeeConversationList)
-
canUserCreateMoreConversations
public WebAllOf canUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)
-
getCanUserCreateMoreConversations
@Nullable public java.lang.Boolean getCanUserCreateMoreConversations()
Allows users to create more than one conversation on the web messenger integration.- Returns:
- canUserCreateMoreConversations
-
setCanUserCreateMoreConversations
public void setCanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)
-
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
-
-