Class ViberAllOf


  • public class ViberAllOf
    extends java.lang.Object
    ViberAllOf
    • Constructor Summary

      Constructors 
      Constructor Description
      ViberAllOf()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getAccountId()
      Unique ID of the Viber account.
      java.lang.String getToken()
      Viber Public Account token.
      java.lang.String getType()
      To configure a Viber integration, acquire the Viber Public Account token from the user and call the Create Integration endpoint.
      java.lang.String getUri()
      Unique URI of the Viber account.
      int hashCode()  
      void setToken​(java.lang.String token)  
      void setType​(java.lang.String type)  
      ViberAllOf token​(java.lang.String token)  
      java.lang.String toString()  
      ViberAllOf type​(java.lang.String type)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • JSON_PROPERTY_TYPE

        public static final java.lang.String JSON_PROPERTY_TYPE
        See Also:
        Constant Field Values
      • 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

      • ViberAllOf

        public ViberAllOf()
    • Method Detail

      • type

        public ViberAllOf type​(java.lang.String type)
      • 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.
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
      • token

        public ViberAllOf 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 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