Class AndroidAllOf
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.AndroidAllOf
-
public class AndroidAllOf extends java.lang.ObjectAndroidAllOf
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_CAN_USER_CREATE_MORE_CONVERSATIONSstatic java.lang.StringJSON_PROPERTY_SENDER_IDstatic java.lang.StringJSON_PROPERTY_SERVER_KEYstatic java.lang.StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description AndroidAllOf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AndroidAllOfcanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)booleanequals(java.lang.Object o)java.lang.BooleangetCanUserCreateMoreConversations()Allows users to create more than one conversation on the android integration.java.lang.StringgetSenderId()Your sender id from the fcm console.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>getSenderId_JsonNullable()java.lang.StringgetServerKey()Your server key from the fcm console.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>getServerKey_JsonNullable()java.lang.StringgetType()To configure an android integration, first visit the [Firebase Console](https://console.firebase.google.com/).inthashCode()AndroidAllOfsenderId(java.lang.String senderId)AndroidAllOfserverKey(java.lang.String serverKey)voidsetCanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)voidsetSenderId(java.lang.String senderId)voidsetSenderId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> senderId)voidsetServerKey(java.lang.String serverKey)voidsetServerKey_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> serverKey)voidsetType(java.lang.String type)java.lang.StringtoString()AndroidAllOftype(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_SERVER_KEY
public static final java.lang.String JSON_PROPERTY_SERVER_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SENDER_ID
public static final java.lang.String JSON_PROPERTY_SENDER_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAN_USER_CREATE_MORE_CONVERSATIONS
public static final java.lang.String JSON_PROPERTY_CAN_USER_CREATE_MORE_CONVERSATIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public AndroidAllOf type(java.lang.String type)
-
getType
@Nullable public java.lang.String getType()
To configure an android integration, first visit the [Firebase Console](https://console.firebase.google.com/). Copy the `serverKey` and `senderId` from the Cloud Messaging tab in the settings of your project and call the create integrations endpoint with this data. If you would like to continue using your legacy GCM `serverKey` you can also obtain it from the [Google Developer Console](https://console.developers.google.com/).- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
serverKey
public AndroidAllOf serverKey(java.lang.String serverKey)
-
getServerKey
@Nullable public java.lang.String getServerKey()
Your server key from the fcm console.- Returns:
- serverKey
-
getServerKey_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getServerKey_JsonNullable()
-
setServerKey_JsonNullable
public void setServerKey_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> serverKey)
-
setServerKey
public void setServerKey(java.lang.String serverKey)
-
senderId
public AndroidAllOf senderId(java.lang.String senderId)
-
getSenderId
@Nullable public java.lang.String getSenderId()
Your sender id from the fcm console.- Returns:
- senderId
-
getSenderId_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getSenderId_JsonNullable()
-
setSenderId_JsonNullable
public void setSenderId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> senderId)
-
setSenderId
public void setSenderId(java.lang.String senderId)
-
canUserCreateMoreConversations
public AndroidAllOf canUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)
-
getCanUserCreateMoreConversations
@Nullable public java.lang.Boolean getCanUserCreateMoreConversations()
Allows users to create more than one conversation on the android integration.- Returns:
- canUserCreateMoreConversations
-
setCanUserCreateMoreConversations
public void setCanUserCreateMoreConversations(java.lang.Boolean canUserCreateMoreConversations)
-
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
-
-