Class CustomObjectInstance


  • public final class CustomObjectInstance
    extends java.lang.Object
    • Method Detail

      • getId

        public java.util.Optional<java.lang.String> getId()
        Returns:
        The Intercom defined id representing the custom object instance.
      • getExternalId

        public java.util.Optional<java.lang.String> getExternalId()
        Returns:
        The id you have defined for the custom object instance.
      • getExternalCreatedAt

        public java.util.Optional<java.lang.Integer> getExternalCreatedAt()
        Returns:
        The time when the Custom Object instance was created in the external system it originated from.
      • getExternalUpdatedAt

        public java.util.Optional<java.lang.Integer> getExternalUpdatedAt()
        Returns:
        The time when the Custom Object instance was last updated in the external system it originated from.
      • getCreatedAt

        public java.util.Optional<java.lang.Integer> getCreatedAt()
        Returns:
        The time the attribute was created as a UTC Unix timestamp
      • getUpdatedAt

        public java.util.Optional<java.lang.Integer> getUpdatedAt()
        Returns:
        The time the attribute was last updated as a UTC Unix timestamp
      • getType

        public java.util.Optional<java.lang.String> getType()
        Returns:
        The identifier of the custom object type that defines the structure of the custom object instance.
      • getCustomAttributes

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.String>> getCustomAttributes()
        Returns:
        The custom attributes you have set on the custom object instance.
      • 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