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

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