Class CustomObjectInstance
- java.lang.Object
-
- com.intercom.api.resources.customobjectinstances.types.CustomObjectInstance
-
public final class CustomObjectInstance extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomObjectInstance.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomObjectInstance.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.Integer>getCreatedAt()java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>getCustomAttributes()java.util.Optional<java.lang.Integer>getExternalCreatedAt()java.util.Optional<java.lang.String>getExternalId()java.util.Optional<java.lang.Integer>getExternalUpdatedAt()java.util.Optional<java.lang.String>getId()java.util.Optional<java.lang.String>getType()java.util.Optional<java.lang.Integer>getUpdatedAt()inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static CustomObjectInstance.Builder builder()
-
-