Class Viber

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

        public static final java.lang.String JSON_PROPERTY_TOKEN
        See Also:
        Constant Field Values
      • JSON_PROPERTY_URI

        public static final java.lang.String JSON_PROPERTY_URI
        See Also:
        Constant Field Values
      • JSON_PROPERTY_ACCOUNT_ID

        public static final java.lang.String JSON_PROPERTY_ACCOUNT_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_DEFAULT_RESPONDER_ID

        public static final java.lang.String JSON_PROPERTY_DEFAULT_RESPONDER_ID
        See Also:
        Constant Field Values
      • JSON_PROPERTY_DEFAULT_RESPONDER

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

      • Viber

        public Viber()
    • Method Detail

      • getType

        @Nullable
        public java.lang.String getType()
        To configure a Viber integration, acquire the Viber Public Account token from the user and call the Create Integration endpoint.
        Overrides:
        getType in class Integration
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
        Overrides:
        setType in class Integration
      • token

        public Viber token​(java.lang.String token)
      • getToken

        public java.lang.String getToken()
        Viber Public Account token.
        Returns:
        token
      • setToken

        public void setToken​(java.lang.String token)
      • getUri

        @Nullable
        public java.lang.String getUri()
        Unique URI of the Viber account.
        Returns:
        uri
      • getAccountId

        @Nullable
        public java.lang.String getAccountId()
        Unique ID of the Viber account.
        Returns:
        accountId
      • defaultResponderId

        public Viber defaultResponderId​(java.lang.String defaultResponderId)
      • getDefaultResponderId

        @Nullable
        public java.lang.String getDefaultResponderId()
        The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide.
        Returns:
        defaultResponderId
      • getDefaultResponderId_JsonNullable

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getDefaultResponderId_JsonNullable()
      • setDefaultResponderId_JsonNullable

        public void setDefaultResponderId_JsonNullable​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> defaultResponderId)
      • setDefaultResponderId

        public void setDefaultResponderId​(java.lang.String defaultResponderId)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Integration