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