Class CreateTicketTypeAttributeRequest
- java.lang.Object
-
- com.intercom.api.resources.tickettypes.attributes.requests.CreateTicketTypeAttributeRequest
-
public final class CreateTicketTypeAttributeRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateTicketTypeAttributeRequest._FinalStagestatic classCreateTicketTypeAttributeRequest.Builderstatic classCreateTicketTypeAttributeRequest.DataTypestatic interfaceCreateTicketTypeAttributeRequest.DataTypeStagestatic interfaceCreateTicketTypeAttributeRequest.DescriptionStagestatic interfaceCreateTicketTypeAttributeRequest.NameStagestatic interfaceCreateTicketTypeAttributeRequest.TicketTypeIdStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateTicketTypeAttributeRequest.TicketTypeIdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.Boolean>getAllowMultipleValues()CreateTicketTypeAttributeRequest.DataTypegetDataType()java.lang.StringgetDescription()java.util.Optional<java.lang.String>getListItems()java.util.Optional<java.lang.Boolean>getMultiline()java.lang.StringgetName()java.util.Optional<java.lang.Boolean>getRequiredToCreate()java.util.Optional<java.lang.Boolean>getRequiredToCreateForContacts()java.lang.StringgetTicketTypeId()java.util.Optional<java.lang.Boolean>getVisibleOnCreate()java.util.Optional<java.lang.Boolean>getVisibleToContacts()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getTicketTypeId
public java.lang.String getTicketTypeId()
- Returns:
- The unique identifier for the ticket type which is given by Intercom.
-
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 attribute presented to the teammate or contact
-
getDataType
public CreateTicketTypeAttributeRequest.DataType getDataType()
- Returns:
- The data type of the attribute
-
getRequiredToCreate
public java.util.Optional<java.lang.Boolean> getRequiredToCreate()
- Returns:
- Whether the attribute is required to be filled in when teammates are creating the ticket in Inbox.
-
getRequiredToCreateForContacts
public java.util.Optional<java.lang.Boolean> getRequiredToCreateForContacts()
- Returns:
- Whether the attribute is required to be filled in when contacts are creating the ticket in Messenger.
-
getVisibleOnCreate
public java.util.Optional<java.lang.Boolean> getVisibleOnCreate()
- Returns:
- Whether the attribute is visible to teammates when creating a ticket in Inbox.
-
getVisibleToContacts
public java.util.Optional<java.lang.Boolean> getVisibleToContacts()
- Returns:
- Whether the attribute is visible to contacts when creating a ticket in Messenger.
-
getMultiline
public java.util.Optional<java.lang.Boolean> getMultiline()
- Returns:
- Whether the attribute allows multiple lines of text (only applicable to string attributes)
-
getListItems
public java.util.Optional<java.lang.String> getListItems()
- Returns:
- A comma delimited list of items for the attribute value (only applicable to list attributes)
-
getAllowMultipleValues
public java.util.Optional<java.lang.Boolean> getAllowMultipleValues()
- Returns:
- Whether the attribute allows multiple files to be attached to it (only applicable to file attributes)
-
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 CreateTicketTypeAttributeRequest.TicketTypeIdStage builder()
-
-