Class UpdateTicketTypeRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.tickettypes.requests.UpdateTicketTypeRequest.Builder
-
- All Implemented Interfaces:
UpdateTicketTypeRequest._FinalStage,UpdateTicketTypeRequest.TicketTypeIdStage
- Enclosing class:
- UpdateTicketTypeRequest
public static final class UpdateTicketTypeRequest.Builder extends java.lang.Object implements UpdateTicketTypeRequest.TicketTypeIdStage, UpdateTicketTypeRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTicketTypeRequest._FinalStagearchived(java.lang.Boolean archived)The archived status of the ticket type.UpdateTicketTypeRequest._FinalStagearchived(java.util.Optional<java.lang.Boolean> archived)The archived status of the ticket type.UpdateTicketTypeRequestbuild()UpdateTicketTypeRequest._FinalStagecategory(UpdateTicketTypeRequest.Category category)Category of the Ticket Type.UpdateTicketTypeRequest._FinalStagecategory(java.util.Optional<UpdateTicketTypeRequest.Category> category)Category of the Ticket Type.UpdateTicketTypeRequest._FinalStagedescription(java.lang.String description)The description of the ticket type.UpdateTicketTypeRequest._FinalStagedescription(java.util.Optional<java.lang.String> description)The description of the ticket type.UpdateTicketTypeRequest.Builderfrom(UpdateTicketTypeRequest other)UpdateTicketTypeRequest._FinalStageicon(java.lang.String icon)The icon of the ticket type.UpdateTicketTypeRequest._FinalStageicon(java.util.Optional<java.lang.String> icon)The icon of the ticket type.UpdateTicketTypeRequest._FinalStageisInternal(java.lang.Boolean isInternal)Whether the tickets associated with this ticket type are intended for internal use only or will be shared with customers.UpdateTicketTypeRequest._FinalStageisInternal(java.util.Optional<java.lang.Boolean> isInternal)Whether the tickets associated with this ticket type are intended for internal use only or will be shared with customers.UpdateTicketTypeRequest._FinalStagename(java.lang.String name)The name of the ticket type.UpdateTicketTypeRequest._FinalStagename(java.util.Optional<java.lang.String> name)The name of the ticket type.UpdateTicketTypeRequest._FinalStageticketTypeId(java.lang.String ticketTypeId)The unique identifier for the ticket type which is given by Intercom.
-
-
-
Method Detail
-
from
public UpdateTicketTypeRequest.Builder from(UpdateTicketTypeRequest other)
- Specified by:
fromin interfaceUpdateTicketTypeRequest.TicketTypeIdStage
-
ticketTypeId
public UpdateTicketTypeRequest._FinalStage 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 interfaceUpdateTicketTypeRequest.TicketTypeIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isInternal
public UpdateTicketTypeRequest._FinalStage isInternal(java.lang.Boolean isInternal)
Whether the tickets associated with this ticket type are intended for internal use only or will be shared with customers. This is currently a limited attribute.
- Specified by:
isInternalin interfaceUpdateTicketTypeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isInternal
public UpdateTicketTypeRequest._FinalStage isInternal(java.util.Optional<java.lang.Boolean> isInternal)
Whether the tickets associated with this ticket type are intended for internal use only or will be shared with customers. This is currently a limited attribute.
- Specified by:
isInternalin interfaceUpdateTicketTypeRequest._FinalStage
-
archived
public UpdateTicketTypeRequest._FinalStage archived(java.lang.Boolean archived)
The archived status of the ticket type.
- Specified by:
archivedin interfaceUpdateTicketTypeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
archived
public UpdateTicketTypeRequest._FinalStage archived(java.util.Optional<java.lang.Boolean> archived)
The archived status of the ticket type.
- Specified by:
archivedin interfaceUpdateTicketTypeRequest._FinalStage
-
icon
public UpdateTicketTypeRequest._FinalStage icon(java.lang.String icon)
The icon of the ticket type.
- Specified by:
iconin interfaceUpdateTicketTypeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
icon
public UpdateTicketTypeRequest._FinalStage icon(java.util.Optional<java.lang.String> icon)
The icon of the ticket type.
- Specified by:
iconin interfaceUpdateTicketTypeRequest._FinalStage
-
category
public UpdateTicketTypeRequest._FinalStage category(UpdateTicketTypeRequest.Category category)
Category of the Ticket Type.
- Specified by:
categoryin interfaceUpdateTicketTypeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
category
public UpdateTicketTypeRequest._FinalStage category(java.util.Optional<UpdateTicketTypeRequest.Category> category)
Category of the Ticket Type.
- Specified by:
categoryin interfaceUpdateTicketTypeRequest._FinalStage
-
description
public UpdateTicketTypeRequest._FinalStage description(java.lang.String description)
The description of the ticket type.
- Specified by:
descriptionin interfaceUpdateTicketTypeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public UpdateTicketTypeRequest._FinalStage description(java.util.Optional<java.lang.String> description)
The description of the ticket type.
- Specified by:
descriptionin interfaceUpdateTicketTypeRequest._FinalStage
-
name
public UpdateTicketTypeRequest._FinalStage name(java.lang.String name)
The name of the ticket type.
- Specified by:
namein interfaceUpdateTicketTypeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public UpdateTicketTypeRequest._FinalStage name(java.util.Optional<java.lang.String> name)
The name of the ticket type.
- Specified by:
namein interfaceUpdateTicketTypeRequest._FinalStage
-
build
public UpdateTicketTypeRequest build()
- Specified by:
buildin interfaceUpdateTicketTypeRequest._FinalStage
-
-