Class Web
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.Integration
-
- com.zendesk.sunshine_conversations_client.model.Web
-
public class Web extends Integration
Web
-
-
Field Summary
-
Fields inherited from class com.zendesk.sunshine_conversations_client.model.Integration
JSON_PROPERTY_DISPLAY_NAME, JSON_PROPERTY_ID, JSON_PROPERTY_STATUS
-
-
Constructor Summary
Constructors Constructor Description Web()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebactionColor(java.lang.String actionColor)WebaddIntegrationOrderItem(java.lang.String integrationOrderItem)WebaddOriginWhitelistItem(java.lang.String originWhitelistItem)WebbackgroundImageUrl(java.lang.String backgroundImageUrl)WebbrandColor(java.lang.String brandColor)WebbusinessIconUrl(java.lang.String businessIconUrl)WebbusinessName(java.lang.String businessName)WebbuttonHeight(java.lang.String buttonHeight)WebbuttonIconUrl(java.lang.String buttonIconUrl)WebbuttonWidth(java.lang.String buttonWidth)WebcanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)WebcanUserSeeConversationList(java.lang.Boolean canUserSeeConversationList)WebconversationColor(java.lang.String conversationColor)WebdisplayStyle(java.lang.String displayStyle)booleanequals(java.lang.Object o)WebfixedIntroPane(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()WebintegrationOrder(java.util.List<java.lang.String> integrationOrder)WeboriginWhitelist(java.util.List<java.lang.String> originWhitelist)WebprechatCapture(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()Webtype(java.lang.String type)-
Methods inherited from class com.zendesk.sunshine_conversations_client.model.Integration
displayName, getDisplayName, getDisplayName_JsonNullable, getId, getStatus, setDisplayName, setDisplayName_JsonNullable, setStatus, status
-
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
type
protected java.lang.String type
-
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 Web type(java.lang.String type)
- Overrides:
typein classIntegration
-
getType
@Nullable public java.lang.String getType()
To configure a Web Messenger integration, acquire the required information and call the Create Integration endpoint.- Overrides:
getTypein classIntegration- Returns:
- type
-
setType
public void setType(java.lang.String type)
- Overrides:
setTypein classIntegration
-
brandColor
public Web 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 Web 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 Web 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 Web 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 Web 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 Web 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 Web 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 Web 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 Web integrationOrder(java.util.List<java.lang.String> integrationOrder)
-
addIntegrationOrderItem
public Web 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 Web 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 Web 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 Web 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 Web originWhitelist(java.util.List<java.lang.String> originWhitelist)
-
addOriginWhitelistItem
public Web 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 Web 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 Web 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 Web 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 classIntegration
-
hashCode
public int hashCode()
- Overrides:
hashCodein classIntegration
-
toString
public java.lang.String toString()
- Overrides:
toStringin classIntegration
-
-