Class WebUpdateAllOf


  • public class WebUpdateAllOf
    extends java.lang.Object
    To configure a Web Messenger integration, acquire the required information and call the Create Integration endpoint.
    • Field Detail

      • 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_CREATE_MORE_CONVERSATIONS

        public static final java.lang.String JSON_PROPERTY_CAN_USER_CREATE_MORE_CONVERSATIONS
        See Also:
        Constant Field Values
    • Constructor Detail

      • WebUpdateAllOf

        public WebUpdateAllOf()
    • Method Detail

      • brandColor

        public WebUpdateAllOf 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 WebUpdateAllOf 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 WebUpdateAllOf 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 WebUpdateAllOf 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 WebUpdateAllOf 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 WebUpdateAllOf 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 WebUpdateAllOf 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 WebUpdateAllOf 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 WebUpdateAllOf integrationOrder​(java.util.List<java.lang.String> integrationOrder)
      • addIntegrationOrderItem

        public WebUpdateAllOf 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 WebUpdateAllOf 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 WebUpdateAllOf 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 WebUpdateAllOf 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 WebUpdateAllOf originWhitelist​(java.util.List<java.lang.String> originWhitelist)
      • addOriginWhitelistItem

        public WebUpdateAllOf 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)
      • 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)
      • canUserCreateMoreConversations

        public WebUpdateAllOf 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object