Class AsyncTicketTypesClient


  • public class AsyncTicketTypesClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncTicketTypesClient

        public AsyncTicketTypesClient​(ClientOptions clientOptions)
    • Method Detail

      • listTicketTypes

        public java.util.concurrent.CompletableFuture<TicketTypeList> listTicketTypes()
        You can get a list of all ticket types for a workspace.
      • listTicketTypes

        public java.util.concurrent.CompletableFuture<TicketTypeList> listTicketTypes​(RequestOptions requestOptions)
        You can get a list of all ticket types for a workspace.
      • createTicketType

        public java.util.concurrent.CompletableFuture<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 icon propery, use an emoji from Twemoji Cheatsheet

      • createTicketType

        public java.util.concurrent.CompletableFuture<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 icon propery, use an emoji from Twemoji Cheatsheet

      • getTicketType

        public java.util.concurrent.CompletableFuture<java.util.Optional<TicketType>> getTicketType​(GetTicketTypeRequest request)
        You can fetch the details of a single ticket type.
      • getTicketType

        public java.util.concurrent.CompletableFuture<java.util.Optional<TicketType>> getTicketType​(GetTicketTypeRequest request,
                                                                                                    RequestOptions requestOptions)
        You can fetch the details of a single ticket type.