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 interfaceTicketTypeAttribute._FinalStagestatic interfaceTicketTypeAttribute.ArchivedStagestatic classTicketTypeAttribute.Builderstatic interfaceTicketTypeAttribute.CreatedAtStagestatic classTicketTypeAttribute.DataTypestatic interfaceTicketTypeAttribute.DataTypeStagestatic interfaceTicketTypeAttribute.DefaultStagestatic interfaceTicketTypeAttribute.DescriptionStagestatic interfaceTicketTypeAttribute.IdStagestatic interfaceTicketTypeAttribute.NameStagestatic interfaceTicketTypeAttribute.OrderStagestatic interfaceTicketTypeAttribute.RequiredToCreateForContactsStagestatic interfaceTicketTypeAttribute.RequiredToCreateStagestatic interfaceTicketTypeAttribute.TicketTypeIdStagestatic interfaceTicketTypeAttribute.VisibleOnCreateStagestatic interfaceTicketTypeAttribute.VisibleToContactsStagestatic interfaceTicketTypeAttribute.WorkspaceIdStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TicketTypeAttribute.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()booleangetArchived()intgetCreatedAt()TicketTypeAttribute.DataTypegetDataType()booleangetDefault()java.lang.StringgetDescription()java.lang.StringgetId()java.util.Map<java.lang.String,java.lang.Object>getInputOptions()java.lang.StringgetName()intgetOrder()booleangetRequiredToCreate()booleangetRequiredToCreateForContacts()intgetTicketTypeId()java.lang.StringgetType()java.util.Optional<java.lang.Integer>getUpdatedAt()booleangetVisibleOnCreate()booleangetVisibleToContacts()java.lang.StringgetWorkspaceId()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.lang.String getType()
- Returns:
- String representing the object's type. Always has the value
ticket_type_attribute.
-
getId
public java.lang.String getId()
- Returns:
- The id representing the ticket type attribute.
-
getWorkspaceId
public java.lang.String getWorkspaceId()
- Returns:
- The id of the workspace that the ticket type attribute belongs to.
-
getName
public java.lang.String getName()
- Returns:
- The name of the ticket type attribute
-
getDescription
public java.lang.String getDescription()
- Returns:
- The description of the ticket type attribute
-
getDataType
public TicketTypeAttribute.DataType getDataType()
- Returns:
- The type of the data attribute (allowed values: "string list integer decimal boolean datetime files")
-
getInputOptions
public java.util.Map<java.lang.String,java.lang.Object> getInputOptions()
- Returns:
- Input options for the attribute
-
getOrder
public int getOrder()
- Returns:
- The order of the attribute against other attributes
-
getRequiredToCreate
public boolean getRequiredToCreate()
- Returns:
- Whether the attribute is required or not for teammates.
-
getRequiredToCreateForContacts
public boolean getRequiredToCreateForContacts()
- Returns:
- Whether the attribute is required or not for contacts.
-
getVisibleOnCreate
public boolean getVisibleOnCreate()
- Returns:
- Whether the attribute is visible or not to teammates.
-
getVisibleToContacts
public boolean getVisibleToContacts()
- Returns:
- Whether the attribute is visible or not to contacts.
-
getDefault
public boolean getDefault()
- Returns:
- Whether the attribute is built in or not.
-
getTicketTypeId
public int getTicketTypeId()
- Returns:
- The id of the ticket type that the attribute belongs to.
-
getArchived
public boolean getArchived()
- Returns:
- Whether the ticket type attribute is archived or not.
-
getCreatedAt
public int 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.IdStage builder()
-
-