Class Viber
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.Integration
-
- com.zendesk.sunshine_conversations_client.model.Viber
-
public class Viber extends Integration
Viber
-
-
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_URIprotected java.lang.Stringtype-
Fields inherited from class com.zendesk.sunshine_conversations_client.model.Integration
JSON_PROPERTY_DISPLAY_NAME, JSON_PROPERTY_ID, JSON_PROPERTY_STATUS
-
-
Constructor Summary
Constructors Constructor Description Viber()
-
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)Vibertoken(java.lang.String token)java.lang.StringtoString()Vibertype(java.lang.String type)-
Methods inherited from class com.zendesk.sunshine_conversations_client.model.Integration
displayName, getDisplayName, getDisplayName_JsonNullable, getId, getStatus, setDisplayName, setDisplayName_JsonNullable, setStatus, status
-
-
-
-
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
-
-
Method Detail
-
type
public Viber type(java.lang.String type)
- Overrides:
typein classIntegration
-
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:
getTypein classIntegration- Returns:
- type
-
setType
public void setType(java.lang.String type)
- Overrides:
setTypein classIntegration
-
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:
equalsin classIntegration
-
hashCode
public int hashCode()
- Overrides:
hashCodein classIntegration
-
toString
public java.lang.String toString()
- Overrides:
toStringin classIntegration
-
-