Class TicketTypesClient
- java.lang.Object
-
- com.intercom.api.resources.tickettypes.TicketTypesClient
-
public class TicketTypesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.Supplier<AttributesClient>attributesClientprotected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description TicketTypesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributesClientattributes()java.util.Optional<TicketType>create()You can create a new ticket type.java.util.Optional<TicketType>create(java.util.Optional<CreateTicketTypeRequest> request)You can create a new ticket type.java.util.Optional<TicketType>create(java.util.Optional<CreateTicketTypeRequest> request, RequestOptions requestOptions)You can create a new ticket type.java.util.Optional<TicketType>get(FindTicketTypeRequest request)You can fetch the details of a single ticket type.java.util.Optional<TicketType>get(FindTicketTypeRequest request, RequestOptions requestOptions)You can fetch the details of a single ticket type.TicketTypeListlist()You can get a list of all ticket types for a workspace.TicketTypeListlist(RequestOptions requestOptions)You can get a list of all ticket types for a workspace.java.util.Optional<TicketType>update(UpdateTicketTypeRequest request)You can update a ticket type.java.util.Optional<TicketType>update(UpdateTicketTypeRequest request, RequestOptions requestOptions)You can update a ticket type.RawTicketTypesClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
attributesClient
protected final java.util.function.Supplier<AttributesClient> attributesClient
-
-
Constructor Detail
-
TicketTypesClient
public TicketTypesClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawTicketTypesClient withRawResponse()
Get responses with HTTP metadata like headers
-
list
public TicketTypeList list()
You can get a list of all ticket types for a workspace.
-
list
public TicketTypeList list(RequestOptions requestOptions)
You can get a list of all ticket types for a workspace.
-
create
public java.util.Optional<TicketType> create()
You can create a new ticket type.📘 Creating ticket types.
Every ticket type will be created with two default attributes: default_title and default_description. For the
iconpropery, use an emoji from Twemoji Cheatsheet
-
create
public java.util.Optional<TicketType> create(java.util.Optional<CreateTicketTypeRequest> request)
You can create a new ticket type.📘 Creating ticket types.
Every ticket type will be created with two default attributes: default_title and default_description. For the
iconpropery, use an emoji from Twemoji Cheatsheet
-
create
public java.util.Optional<TicketType> create(java.util.Optional<CreateTicketTypeRequest> request, RequestOptions requestOptions)
You can create a new ticket type.📘 Creating ticket types.
Every ticket type will be created with two default attributes: default_title and default_description. For the
iconpropery, use an emoji from Twemoji Cheatsheet
-
get
public java.util.Optional<TicketType> get(FindTicketTypeRequest request)
You can fetch the details of a single ticket type.
-
get
public java.util.Optional<TicketType> get(FindTicketTypeRequest request, RequestOptions requestOptions)
You can fetch the details of a single ticket type.
-
update
public java.util.Optional<TicketType> update(UpdateTicketTypeRequest request)
You can update a ticket type.📘 Updating a ticket type.
For the
iconpropery, use an emoji from Twemoji Cheatsheet
-
update
public java.util.Optional<TicketType> update(UpdateTicketTypeRequest request, RequestOptions requestOptions)
You can update a ticket type.📘 Updating a ticket type.
For the
iconpropery, use an emoji from Twemoji Cheatsheet
-
attributes
public AttributesClient attributes()
-
-