Class TicketTypesClient
- java.lang.Object
-
- com.intercom.api.resources.unstable.tickettypes.TicketTypesClient
-
public class TicketTypesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description TicketTypesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<TicketType>createTicketType(java.lang.Object request)You can create a new ticket type.java.util.Optional<TicketType>createTicketType(java.lang.Object request, RequestOptions requestOptions)You can create a new ticket type.java.util.Optional<TicketType>getTicketType(GetTicketTypeRequest request)You can fetch the details of a single ticket type.java.util.Optional<TicketType>getTicketType(GetTicketTypeRequest request, RequestOptions requestOptions)You can fetch the details of a single ticket type.TicketTypeListlistTicketTypes()You can get a list of all ticket types for a workspace.TicketTypeListlistTicketTypes(RequestOptions requestOptions)You can get a list of all ticket types for a workspace.RawTicketTypesClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
TicketTypesClient
public TicketTypesClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawTicketTypesClient withRawResponse()
Get responses with HTTP metadata like headers
-
listTicketTypes
public TicketTypeList listTicketTypes()
You can get a list of all ticket types for a workspace.
-
listTicketTypes
public TicketTypeList listTicketTypes(RequestOptions requestOptions)
You can get a list of all ticket types for a workspace.
-
createTicketType
public java.util.Optional<TicketType> createTicketType(java.lang.Object 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
-
createTicketType
public java.util.Optional<TicketType> createTicketType(java.lang.Object 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
-
getTicketType
public java.util.Optional<TicketType> getTicketType(GetTicketTypeRequest request)
You can fetch the details of a single ticket type.
-
getTicketType
public java.util.Optional<TicketType> getTicketType(GetTicketTypeRequest request, RequestOptions requestOptions)
You can fetch the details of a single ticket type.
-
-