Class ViberAllOf
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.ViberAllOf
-
public class ViberAllOf extends java.lang.ObjectViberAllOf
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_ACCOUNT_IDstatic java.lang.StringJSON_PROPERTY_TOKENstatic java.lang.StringJSON_PROPERTY_TYPEstatic java.lang.StringJSON_PROPERTY_URI
-
Constructor Summary
Constructors Constructor Description ViberAllOf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetAccountId()Unique ID of the Viber account.java.lang.StringgetToken()Viber Public Account token.java.lang.StringgetType()To configure a Viber integration, acquire the Viber Public Account token from the user and call the Create Integration endpoint.java.lang.StringgetUri()Unique URI of the Viber account.inthashCode()voidsetToken(java.lang.String token)voidsetType(java.lang.String type)ViberAllOftoken(java.lang.String token)java.lang.StringtoString()ViberAllOftype(java.lang.String type)
-
-
-
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
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-