Class CreateTicketTypeAttributeRequest.Builder
- All Implemented Interfaces:
CreateTicketTypeAttributeRequest._FinalStage,CreateTicketTypeAttributeRequest.DataTypeStage,CreateTicketTypeAttributeRequest.DescriptionStage,CreateTicketTypeAttributeRequest.NameStage,CreateTicketTypeAttributeRequest.TicketTypeIdStage
- Enclosing class:
CreateTicketTypeAttributeRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowMultipleValues(Boolean allowMultipleValues) Whether the attribute allows multiple files to be attached to it (only applicable to file attributes)allowMultipleValues(Optional<Boolean> allowMultipleValues) build()The data type of the attributedescription(String description) The description of the attribute presented to the teammate or contactA comma delimited list of items for the attribute value (only applicable to list attributes)Whether the attribute allows multiple lines of text (only applicable to string attributes)The name of the ticket type attributerequiredToCreate(Boolean requiredToCreate) Whether the attribute is required to be filled in when teammates are creating the ticket in Inbox.requiredToCreate(Optional<Boolean> requiredToCreate) requiredToCreateForContacts(Boolean requiredToCreateForContacts) Whether the attribute is required to be filled in when contacts are creating the ticket in Messenger.requiredToCreateForContacts(Optional<Boolean> requiredToCreateForContacts) ticketTypeId(String ticketTypeId) The unique identifier for the ticket type which is given by Intercom.visibleOnCreate(Boolean visibleOnCreate) Whether the attribute is visible to teammates when creating a ticket in Inbox.visibleOnCreate(Optional<Boolean> visibleOnCreate) visibleToContacts(Boolean visibleToContacts) Whether the attribute is visible to contacts when creating a ticket in Messenger.visibleToContacts(Optional<Boolean> visibleToContacts)
-
Method Details
-
from
- Specified by:
fromin interfaceCreateTicketTypeAttributeRequest.TicketTypeIdStage
-
ticketTypeId
The unique identifier for the ticket type which is given by Intercom.
- Specified by:
ticketTypeIdin interfaceCreateTicketTypeAttributeRequest.TicketTypeIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
The name of the ticket type attribute
- Specified by:
namein interfaceCreateTicketTypeAttributeRequest.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
The description of the attribute presented to the teammate or contact
- Specified by:
descriptionin interfaceCreateTicketTypeAttributeRequest.DescriptionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
dataType
public CreateTicketTypeAttributeRequest._FinalStage dataType(@NotNull CreateTicketTypeAttributeRequest.DataType dataType) The data type of the attribute
- Specified by:
dataTypein interfaceCreateTicketTypeAttributeRequest.DataTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
allowMultipleValues
public CreateTicketTypeAttributeRequest._FinalStage allowMultipleValues(Boolean allowMultipleValues) Whether the attribute allows multiple files to be attached to it (only applicable to file attributes)
- Specified by:
allowMultipleValuesin interfaceCreateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
allowMultipleValues
public CreateTicketTypeAttributeRequest._FinalStage allowMultipleValues(Optional<Boolean> allowMultipleValues) - Specified by:
allowMultipleValuesin interfaceCreateTicketTypeAttributeRequest._FinalStage
-
listItems
A comma delimited list of items for the attribute value (only applicable to list attributes)
- Specified by:
listItemsin interfaceCreateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
listItems
- Specified by:
listItemsin interfaceCreateTicketTypeAttributeRequest._FinalStage
-
multiline
Whether the attribute allows multiple lines of text (only applicable to string attributes)
- Specified by:
multilinein interfaceCreateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
multiline
- Specified by:
multilinein interfaceCreateTicketTypeAttributeRequest._FinalStage
-
visibleToContacts
Whether the attribute is visible to contacts when creating a ticket in Messenger.
- Specified by:
visibleToContactsin interfaceCreateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
visibleToContacts
public CreateTicketTypeAttributeRequest._FinalStage visibleToContacts(Optional<Boolean> visibleToContacts) - Specified by:
visibleToContactsin interfaceCreateTicketTypeAttributeRequest._FinalStage
-
visibleOnCreate
Whether the attribute is visible to teammates when creating a ticket in Inbox.
- Specified by:
visibleOnCreatein interfaceCreateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
visibleOnCreate
public CreateTicketTypeAttributeRequest._FinalStage visibleOnCreate(Optional<Boolean> visibleOnCreate) - Specified by:
visibleOnCreatein interfaceCreateTicketTypeAttributeRequest._FinalStage
-
requiredToCreateForContacts
public CreateTicketTypeAttributeRequest._FinalStage requiredToCreateForContacts(Boolean requiredToCreateForContacts) Whether the attribute is required to be filled in when contacts are creating the ticket in Messenger.
- Specified by:
requiredToCreateForContactsin interfaceCreateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
requiredToCreateForContacts
public CreateTicketTypeAttributeRequest._FinalStage requiredToCreateForContacts(Optional<Boolean> requiredToCreateForContacts) - Specified by:
requiredToCreateForContactsin interfaceCreateTicketTypeAttributeRequest._FinalStage
-
requiredToCreate
Whether the attribute is required to be filled in when teammates are creating the ticket in Inbox.
- Specified by:
requiredToCreatein interfaceCreateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
requiredToCreate
public CreateTicketTypeAttributeRequest._FinalStage requiredToCreate(Optional<Boolean> requiredToCreate) - Specified by:
requiredToCreatein interfaceCreateTicketTypeAttributeRequest._FinalStage
-
build
- Specified by:
buildin interfaceCreateTicketTypeAttributeRequest._FinalStage
-