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