Package com.intercom.api.types
Class TicketTypeAttribute
- java.lang.Object
-
- com.intercom.api.types.TicketTypeAttribute
-
public final class TicketTypeAttribute extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTicketTypeAttribute.Builderstatic classTicketTypeAttribute.DataType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TicketTypeAttribute.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.Boolean>getArchived()java.util.Optional<java.lang.Integer>getCreatedAt()java.util.Optional<TicketTypeAttribute.DataType>getDataType()java.util.Optional<java.lang.Boolean>getDefault()java.util.Optional<java.lang.String>getDescription()java.util.Optional<java.lang.String>getId()java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>>getInputOptions()java.util.Optional<java.lang.String>getName()java.util.Optional<java.lang.Integer>getOrder()java.util.Optional<java.lang.Boolean>getRequiredToCreate()java.util.Optional<java.lang.Boolean>getRequiredToCreateForContacts()java.util.Optional<java.lang.Integer>getTicketTypeId()java.util.Optional<java.lang.String>getType()java.util.Optional<java.lang.Integer>getUpdatedAt()java.util.Optional<java.lang.Boolean>getVisibleOnCreate()java.util.Optional<java.lang.Boolean>getVisibleToContacts()java.util.Optional<java.lang.String>getWorkspaceId()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.util.Optional<java.lang.String> getType()
- Returns:
- String representing the object's type. Always has the value
ticket_type_attribute.
-
getId
public java.util.Optional<java.lang.String> getId()
- Returns:
- The id representing the ticket type attribute.
-
getWorkspaceId
public java.util.Optional<java.lang.String> getWorkspaceId()
- Returns:
- The id of the workspace that the ticket type attribute belongs to.
-
getName
public java.util.Optional<java.lang.String> getName()
- Returns:
- The name of the ticket type attribute
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
- Returns:
- The description of the ticket type attribute
-
getDataType
public java.util.Optional<TicketTypeAttribute.DataType> getDataType()
- Returns:
- The type of the data attribute (allowed values: "string list integer decimal boolean datetime files")
-
getInputOptions
public java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> getInputOptions()
- Returns:
- Input options for the attribute
-
getOrder
public java.util.Optional<java.lang.Integer> getOrder()
- Returns:
- The order of the attribute against other attributes
-
getRequiredToCreate
public java.util.Optional<java.lang.Boolean> getRequiredToCreate()
- Returns:
- Whether the attribute is required or not for teammates.
-
getRequiredToCreateForContacts
public java.util.Optional<java.lang.Boolean> getRequiredToCreateForContacts()
- Returns:
- Whether the attribute is required or not for contacts.
-
getVisibleOnCreate
public java.util.Optional<java.lang.Boolean> getVisibleOnCreate()
- Returns:
- Whether the attribute is visible or not to teammates.
-
getVisibleToContacts
public java.util.Optional<java.lang.Boolean> getVisibleToContacts()
- Returns:
- Whether the attribute is visible or not to contacts.
-
getDefault
public java.util.Optional<java.lang.Boolean> getDefault()
- Returns:
- Whether the attribute is built in or not.
-
getTicketTypeId
public java.util.Optional<java.lang.Integer> getTicketTypeId()
- Returns:
- The id of the ticket type that the attribute belongs to.
-
getArchived
public java.util.Optional<java.lang.Boolean> getArchived()
- Returns:
- Whether the ticket type attribute is archived or not.
-
getCreatedAt
public java.util.Optional<java.lang.Integer> getCreatedAt()
- Returns:
- The date and time the ticket type attribute was created.
-
getUpdatedAt
public java.util.Optional<java.lang.Integer> getUpdatedAt()
- Returns:
- The date and time the ticket type attribute was last updated.
-
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 TicketTypeAttribute.Builder builder()
-
-