Package com.intercom.api.types
Class CreateTicketTypeRequest.Builder
- java.lang.Object
-
- com.intercom.api.types.CreateTicketTypeRequest.Builder
-
- All Implemented Interfaces:
CreateTicketTypeRequest._FinalStage,CreateTicketTypeRequest.NameStage
- Enclosing class:
- CreateTicketTypeRequest
public static final class CreateTicketTypeRequest.Builder extends java.lang.Object implements CreateTicketTypeRequest.NameStage, CreateTicketTypeRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTicketTypeRequestbuild()CreateTicketTypeRequest._FinalStagecategory(CreateTicketTypeRequest.Category category)Category of the Ticket Type.CreateTicketTypeRequest._FinalStagecategory(java.util.Optional<CreateTicketTypeRequest.Category> category)Category of the Ticket Type.CreateTicketTypeRequest._FinalStagedescription(java.lang.String description)The description of the ticket type.CreateTicketTypeRequest._FinalStagedescription(java.util.Optional<java.lang.String> description)The description of the ticket type.CreateTicketTypeRequest.Builderfrom(CreateTicketTypeRequest other)CreateTicketTypeRequest._FinalStageicon(java.lang.String icon)The icon of the ticket type.CreateTicketTypeRequest._FinalStageicon(java.util.Optional<java.lang.String> icon)The icon of the ticket type.CreateTicketTypeRequest._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.CreateTicketTypeRequest._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.CreateTicketTypeRequest._FinalStagename(java.lang.String name)The name of the ticket type.
-
-
-
Method Detail
-
from
public CreateTicketTypeRequest.Builder from(CreateTicketTypeRequest other)
- Specified by:
fromin interfaceCreateTicketTypeRequest.NameStage
-
name
public CreateTicketTypeRequest._FinalStage name(@NotNull java.lang.String name)
The name of the ticket type.
The name of the ticket type.
- Specified by:
namein interfaceCreateTicketTypeRequest.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isInternal
public CreateTicketTypeRequest._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 interfaceCreateTicketTypeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isInternal
public CreateTicketTypeRequest._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 interfaceCreateTicketTypeRequest._FinalStage
-
icon
public CreateTicketTypeRequest._FinalStage icon(java.lang.String icon)
The icon of the ticket type.
- Specified by:
iconin interfaceCreateTicketTypeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
icon
public CreateTicketTypeRequest._FinalStage icon(java.util.Optional<java.lang.String> icon)
The icon of the ticket type.
- Specified by:
iconin interfaceCreateTicketTypeRequest._FinalStage
-
category
public CreateTicketTypeRequest._FinalStage category(CreateTicketTypeRequest.Category category)
Category of the Ticket Type.
- Specified by:
categoryin interfaceCreateTicketTypeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
category
public CreateTicketTypeRequest._FinalStage category(java.util.Optional<CreateTicketTypeRequest.Category> category)
Category of the Ticket Type.
- Specified by:
categoryin interfaceCreateTicketTypeRequest._FinalStage
-
description
public CreateTicketTypeRequest._FinalStage description(java.lang.String description)
The description of the ticket type.
- Specified by:
descriptionin interfaceCreateTicketTypeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
public CreateTicketTypeRequest._FinalStage description(java.util.Optional<java.lang.String> description)
The description of the ticket type.
- Specified by:
descriptionin interfaceCreateTicketTypeRequest._FinalStage
-
build
public CreateTicketTypeRequest build()
- Specified by:
buildin interfaceCreateTicketTypeRequest._FinalStage
-
-