Class UpdateTicketTypeAttributeRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.tickettypeattributes.requests.UpdateTicketTypeAttributeRequest.Builder
-
- All Implemented Interfaces:
UpdateTicketTypeAttributeRequest._FinalStage,UpdateTicketTypeAttributeRequest.IdStage,UpdateTicketTypeAttributeRequest.TicketTypeIdStage
- Enclosing class:
- UpdateTicketTypeAttributeRequest
public static final class UpdateTicketTypeAttributeRequest.Builder extends java.lang.Object implements UpdateTicketTypeAttributeRequest.TicketTypeIdStage, UpdateTicketTypeAttributeRequest.IdStage, UpdateTicketTypeAttributeRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTicketTypeAttributeRequest._FinalStageallowMultipleValues(java.lang.Boolean allowMultipleValues)Whether the attribute allows multiple files to be attached to it (only applicable to file attributes)UpdateTicketTypeAttributeRequest._FinalStageallowMultipleValues(java.util.Optional<java.lang.Boolean> allowMultipleValues)Whether the attribute allows multiple files to be attached to it (only applicable to file attributes)UpdateTicketTypeAttributeRequest._FinalStagearchived(java.lang.Boolean archived)Whether the attribute should be archived and not shown during creation of the ticket (it will still be present on previously created tickets)UpdateTicketTypeAttributeRequest._FinalStagearchived(java.util.Optional<java.lang.Boolean> archived)Whether the attribute should be archived and not shown during creation of the ticket (it will still be present on previously created tickets)UpdateTicketTypeAttributeRequestbuild()UpdateTicketTypeAttributeRequest._FinalStagedescription(java.lang.String description)The description of the attribute presented to the teammate or contactUpdateTicketTypeAttributeRequest._FinalStagedescription(java.util.Optional<java.lang.String> description)The description of the attribute presented to the teammate or contactUpdateTicketTypeAttributeRequest.Builderfrom(UpdateTicketTypeAttributeRequest other)UpdateTicketTypeAttributeRequest._FinalStageid(java.lang.String id)The unique identifier for the ticket type attribute which is given by Intercom.UpdateTicketTypeAttributeRequest._FinalStagelistItems(java.lang.String listItems)A comma delimited list of items for the attribute value (only applicable to list attributes)UpdateTicketTypeAttributeRequest._FinalStagelistItems(java.util.Optional<java.lang.String> listItems)A comma delimited list of items for the attribute value (only applicable to list attributes)UpdateTicketTypeAttributeRequest._FinalStagemultiline(java.lang.Boolean multiline)Whether the attribute allows multiple lines of text (only applicable to string attributes)UpdateTicketTypeAttributeRequest._FinalStagemultiline(java.util.Optional<java.lang.Boolean> multiline)Whether the attribute allows multiple lines of text (only applicable to string attributes)UpdateTicketTypeAttributeRequest._FinalStagename(java.lang.String name)The name of the ticket type attributeUpdateTicketTypeAttributeRequest._FinalStagename(java.util.Optional<java.lang.String> name)The name of the ticket type attributeUpdateTicketTypeAttributeRequest._FinalStagerequiredToCreate(java.lang.Boolean requiredToCreate)Whether the attribute is required to be filled in when teammates are creating the ticket in Inbox.UpdateTicketTypeAttributeRequest._FinalStagerequiredToCreate(java.util.Optional<java.lang.Boolean> requiredToCreate)Whether the attribute is required to be filled in when teammates are creating the ticket in Inbox.UpdateTicketTypeAttributeRequest._FinalStagerequiredToCreateForContacts(java.lang.Boolean requiredToCreateForContacts)Whether the attribute is required to be filled in when contacts are creating the ticket in Messenger.UpdateTicketTypeAttributeRequest._FinalStagerequiredToCreateForContacts(java.util.Optional<java.lang.Boolean> requiredToCreateForContacts)Whether the attribute is required to be filled in when contacts are creating the ticket in Messenger.UpdateTicketTypeAttributeRequest.IdStageticketTypeId(java.lang.String ticketTypeId)The unique identifier for the ticket type which is given by Intercom.UpdateTicketTypeAttributeRequest._FinalStagevisibleOnCreate(java.lang.Boolean visibleOnCreate)Whether the attribute is visible to teammates when creating a ticket in Inbox.UpdateTicketTypeAttributeRequest._FinalStagevisibleOnCreate(java.util.Optional<java.lang.Boolean> visibleOnCreate)Whether the attribute is visible to teammates when creating a ticket in Inbox.UpdateTicketTypeAttributeRequest._FinalStagevisibleToContacts(java.lang.Boolean visibleToContacts)Whether the attribute is visible to contacts when creating a ticket in Messenger.UpdateTicketTypeAttributeRequest._FinalStagevisibleToContacts(java.util.Optional<java.lang.Boolean> visibleToContacts)Whether the attribute is visible to contacts when creating a ticket in Messenger.
-
-
-
Method Detail
-
from
public UpdateTicketTypeAttributeRequest.Builder from(UpdateTicketTypeAttributeRequest other)
- Specified by:
fromin interfaceUpdateTicketTypeAttributeRequest.TicketTypeIdStage
-
ticketTypeId
public UpdateTicketTypeAttributeRequest.IdStage ticketTypeId(@NotNull java.lang.String ticketTypeId)
The unique identifier for the ticket type which is given by Intercom.
The unique identifier for the ticket type which is given by Intercom.
- Specified by:
ticketTypeIdin interfaceUpdateTicketTypeAttributeRequest.TicketTypeIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
id
public UpdateTicketTypeAttributeRequest._FinalStage id(@NotNull java.lang.String id)
The unique identifier for the ticket type attribute which is given by Intercom.
The unique identifier for the ticket type attribute which is given by Intercom.
- Specified by:
idin interfaceUpdateTicketTypeAttributeRequest.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
archived
public UpdateTicketTypeAttributeRequest._FinalStage archived(java.lang.Boolean archived)
Whether the attribute should be archived and not shown during creation of the ticket (it will still be present on previously created tickets)
- Specified by:
archivedin interfaceUpdateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
archived
public UpdateTicketTypeAttributeRequest._FinalStage archived(java.util.Optional<java.lang.Boolean> archived)
Whether the attribute should be archived and not shown during creation of the ticket (it will still be present on previously created tickets)
- Specified by:
archivedin interfaceUpdateTicketTypeAttributeRequest._FinalStage
-
allowMultipleValues
public UpdateTicketTypeAttributeRequest._FinalStage allowMultipleValues(java.lang.Boolean allowMultipleValues)
Whether the attribute allows multiple files to be attached to it (only applicable to file attributes)
- Specified by:
allowMultipleValuesin interfaceUpdateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
allowMultipleValues
public UpdateTicketTypeAttributeRequest._FinalStage allowMultipleValues(java.util.Optional<java.lang.Boolean> allowMultipleValues)
Whether the attribute allows multiple files to be attached to it (only applicable to file attributes)
- Specified by:
allowMultipleValuesin interfaceUpdateTicketTypeAttributeRequest._FinalStage
-
listItems
public UpdateTicketTypeAttributeRequest._FinalStage listItems(java.lang.String listItems)
A comma delimited list of items for the attribute value (only applicable to list attributes)
- Specified by:
listItemsin interfaceUpdateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
listItems
public UpdateTicketTypeAttributeRequest._FinalStage listItems(java.util.Optional<java.lang.String> listItems)
A comma delimited list of items for the attribute value (only applicable to list attributes)
- Specified by:
listItemsin interfaceUpdateTicketTypeAttributeRequest._FinalStage
-
multiline
public UpdateTicketTypeAttributeRequest._FinalStage multiline(java.lang.Boolean multiline)
Whether the attribute allows multiple lines of text (only applicable to string attributes)
- Specified by:
multilinein interfaceUpdateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
multiline
public UpdateTicketTypeAttributeRequest._FinalStage multiline(java.util.Optional<java.lang.Boolean> multiline)
Whether the attribute allows multiple lines of text (only applicable to string attributes)
- Specified by:
multilinein interfaceUpdateTicketTypeAttributeRequest._FinalStage
-
visibleToContacts
public UpdateTicketTypeAttributeRequest._FinalStage visibleToContacts(java.lang.Boolean visibleToContacts)
Whether the attribute is visible to contacts when creating a ticket in Messenger.
- Specified by:
visibleToContactsin interfaceUpdateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
visibleToContacts
public UpdateTicketTypeAttributeRequest._FinalStage visibleToContacts(java.util.Optional<java.lang.Boolean> visibleToContacts)
Whether the attribute is visible to contacts when creating a ticket in Messenger.
- Specified by:
visibleToContactsin interfaceUpdateTicketTypeAttributeRequest._FinalStage
-
visibleOnCreate
public UpdateTicketTypeAttributeRequest._FinalStage visibleOnCreate(java.lang.Boolean visibleOnCreate)
Whether the attribute is visible to teammates when creating a ticket in Inbox.
- Specified by:
visibleOnCreatein interfaceUpdateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
visibleOnCreate
public UpdateTicketTypeAttributeRequest._FinalStage visibleOnCreate(java.util.Optional<java.lang.Boolean> visibleOnCreate)
Whether the attribute is visible to teammates when creating a ticket in Inbox.
- Specified by:
visibleOnCreatein interfaceUpdateTicketTypeAttributeRequest._FinalStage
-
requiredToCreateForContacts
public UpdateTicketTypeAttributeRequest._FinalStage requiredToCreateForContacts(java.lang.Boolean requiredToCreateForContacts)
Whether the attribute is required to be filled in when contacts are creating the ticket in Messenger.
- Specified by:
requiredToCreateForContactsin interfaceUpdateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
requiredToCreateForContacts
public UpdateTicketTypeAttributeRequest._FinalStage requiredToCreateForContacts(java.util.Optional<java.lang.Boolean> requiredToCreateForContacts)
Whether the attribute is required to be filled in when contacts are creating the ticket in Messenger.
- Specified by:
requiredToCreateForContactsin interfaceUpdateTicketTypeAttributeRequest._FinalStage
-
requiredToCreate
public UpdateTicketTypeAttributeRequest._FinalStage requiredToCreate(java.lang.Boolean requiredToCreate)
Whether the attribute is required to be filled in when teammates are creating the ticket in Inbox.
- Specified by:
requiredToCreatein interfaceUpdateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
requiredToCreate
public UpdateTicketTypeAttributeRequest._FinalStage requiredToCreate(java.util.Optional<java.lang.Boolean> requiredToCreate)
Whether the attribute is required to be filled in when teammates are creating the ticket in Inbox.
- Specified by:
requiredToCreatein interfaceUpdateTicketTypeAttributeRequest._FinalStage
-
description
public UpdateTicketTypeAttributeRequest._FinalStage description(java.lang.String description)
The description of the attribute presented to the teammate or contact
- Specified by:
descriptionin interfaceUpdateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public UpdateTicketTypeAttributeRequest._FinalStage description(java.util.Optional<java.lang.String> description)
The description of the attribute presented to the teammate or contact
- Specified by:
descriptionin interfaceUpdateTicketTypeAttributeRequest._FinalStage
-
name
public UpdateTicketTypeAttributeRequest._FinalStage name(java.lang.String name)
The name of the ticket type attribute
- Specified by:
namein interfaceUpdateTicketTypeAttributeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public UpdateTicketTypeAttributeRequest._FinalStage name(java.util.Optional<java.lang.String> name)
The name of the ticket type attribute
- Specified by:
namein interfaceUpdateTicketTypeAttributeRequest._FinalStage
-
build
public UpdateTicketTypeAttributeRequest build()
- Specified by:
buildin interfaceUpdateTicketTypeAttributeRequest._FinalStage
-
-