Class CreateContactRequest.WithExternalId

  • Enclosing class:
    CreateContactRequest

    public static final class CreateContactRequest.WithExternalId
    extends java.lang.Object
    • Method Detail

      • getExternalId

        public java.lang.String getExternalId()
        Returns:
        A unique identifier for the contact which is given to Intercom
      • getPhone

        public java.util.Optional<java.lang.String> getPhone()
        Returns:
        The contacts phone
      • getName

        public java.util.Optional<java.lang.String> getName()
        Returns:
        The contacts name
      • getAvatar

        public java.util.Optional<java.lang.String> getAvatar()
        Returns:
        An image URL containing the avatar of a contact
      • getSignedUpAt

        public java.util.Optional<java.lang.Integer> getSignedUpAt()
        Returns:
        The time specified for when a contact signed up
      • getLastSeenAt

        public java.util.Optional<java.lang.Integer> getLastSeenAt()
        Returns:
        The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually)
      • getOwnerId

        public java.util.Optional<java.lang.Integer> getOwnerId()
        Returns:
        The id of an admin that has been assigned account ownership of the contact
      • getUnsubscribedFromEmails

        public java.util.Optional<java.lang.Boolean> getUnsubscribedFromEmails()
        Returns:
        Whether the contact is unsubscribed from emails
      • getCustomAttributes

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getCustomAttributes()
        Returns:
        The custom attributes which are set for the contact
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object