Class Android

    • 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_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
    • Constructor Detail

      • Android

        public Android()
    • Method Detail

      • 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/).
        Overrides:
        getType in class Integration
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
        Overrides:
        setType in class Integration
      • serverKey

        public Android 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 Android 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 Android 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:
        equals in class Integration