Class CreateTicketTypeRequest.Builder
java.lang.Object
com.intercom.api.resources.tickettypes.requests.CreateTicketTypeRequest.Builder
- All Implemented Interfaces:
CreateTicketTypeRequest._FinalStage,CreateTicketTypeRequest.NameStage
- Enclosing class:
CreateTicketTypeRequest
public static final class CreateTicketTypeRequest.Builder
extends Object
implements CreateTicketTypeRequest.NameStage, CreateTicketTypeRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()category(CreateTicketTypeRequest.Category category) Category of the Ticket Type.category(Optional<CreateTicketTypeRequest.Category> category) description(String description) The description of the ticket type.description(Optional<String> description) from(CreateTicketTypeRequest other) The icon of the ticket type.isInternal(Boolean isInternal) Whether the tickets associated with this ticket type are intended for internal use only or will be shared with customers.isInternal(Optional<Boolean> isInternal) The name of the ticket type.
-
Method Details
-
from
- Specified by:
fromin interfaceCreateTicketTypeRequest.NameStage
-
name
The name of the ticket type.
- Specified by:
namein interfaceCreateTicketTypeRequest.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
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
- Specified by:
isInternalin interfaceCreateTicketTypeRequest._FinalStage
-
icon
The icon of the ticket type.
- Specified by:
iconin interfaceCreateTicketTypeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
icon
- Specified by:
iconin interfaceCreateTicketTypeRequest._FinalStage
-
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(Optional<CreateTicketTypeRequest.Category> category) - Specified by:
categoryin interfaceCreateTicketTypeRequest._FinalStage
-
description
The description of the ticket type.
- Specified by:
descriptionin interfaceCreateTicketTypeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
- Specified by:
descriptionin interfaceCreateTicketTypeRequest._FinalStage
-
build
- Specified by:
buildin interfaceCreateTicketTypeRequest._FinalStage
-