Class TicketType
- java.lang.Object
-
- com.intercom.api.resources.tickets.types.TicketType
-
public final class TicketType extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTicketType._FinalStagestatic interfaceTicketType.ArchivedStagestatic classTicketType.Builderstatic classTicketType.Categorystatic interfaceTicketType.CategoryStagestatic interfaceTicketType.CreatedAtStagestatic interfaceTicketType.DescriptionStagestatic interfaceTicketType.IconStagestatic interfaceTicketType.IdStagestatic interfaceTicketType.NameStagestatic interfaceTicketType.TicketTypeAttributesStagestatic interfaceTicketType.WorkspaceIdStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TicketType.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()booleangetArchived()TicketType.CategorygetCategory()intgetCreatedAt()java.lang.StringgetDescription()java.lang.StringgetIcon()java.lang.StringgetId()java.lang.StringgetName()TicketTypeAttributeListgetTicketTypeAttributes()java.lang.StringgetType()java.util.Optional<java.lang.Integer>getUpdatedAt()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.
-
getId
public java.lang.String getId()
- Returns:
- The id representing the ticket type.
-
getCategory
public TicketType.Category getCategory()
- Returns:
- Category of the Ticket Type.
-
getName
public java.lang.String getName()
- Returns:
- The name of the ticket type
-
getDescription
public java.lang.String getDescription()
- Returns:
- The description of the ticket type
-
getIcon
public java.lang.String getIcon()
- Returns:
- The icon of the ticket type
-
getWorkspaceId
public java.lang.String getWorkspaceId()
- Returns:
- The id of the workspace that the ticket type belongs to.
-
getTicketTypeAttributes
public TicketTypeAttributeList getTicketTypeAttributes()
-
getArchived
public boolean getArchived()
- Returns:
- Whether the ticket type is archived or not.
-
getCreatedAt
public int getCreatedAt()
- Returns:
- The date and time the ticket type was created.
-
getUpdatedAt
public java.util.Optional<java.lang.Integer> getUpdatedAt()
- Returns:
- The date and time the ticket type 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 TicketType.IdStage builder()
-
-