Class DataAttribute
java.lang.Object
com.intercom.api.resources.dataattributes.types.DataAttribute
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic final classstatic interfacestatic interfacestatic interfacestatic interfacestatic final classstatic interface -
Method Summary
-
Method Details
-
getType
- Returns:
- Value is
data_attribute.
-
getId
- Returns:
- The unique identifier for the data attribute which is given by Intercom. Only available for custom attributes.
-
getModel
- Returns:
- Value is
contactfor user/lead attributes andcompanyfor company attributes.
-
getName
- Returns:
- Name of the attribute.
-
getFullName
- Returns:
- Full name of the attribute. Should match the name unless it's a nested attribute. We can split full_name on
.to access nested user object values.
-
getLabel
- Returns:
- Readable name of the attribute (i.e. name you see in the UI)
-
getDescription
- Returns:
- Readable description of the attribute.
-
getDataType
- Returns:
- The data type of the attribute.
-
getOptions
- Returns:
- List of predefined options for attribute value.
-
getApiWritable
- Returns:
- Can this attribute be updated through API
-
getMessengerWritable
- Returns:
- Can this attribute be updated by the Messenger
-
getUiWritable
- Returns:
- Can this attribute be updated in the UI
-
getCustom
- Returns:
- Set to true if this is a CDA
-
getArchived
- Returns:
- Is this attribute archived. (Only applicable to CDAs)
-
getCreatedAt
- Returns:
- The time the attribute was created as a UTC Unix timestamp
-
getUpdatedAt
- Returns:
- The time the attribute was last updated as a UTC Unix timestamp
-
getAdminId
- Returns:
- Teammate who created the attribute. Only applicable to CDAs
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-