Class AsyncTicketTypesClient


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

      • AsyncTicketTypesClient

        public AsyncTicketTypesClient​(ClientOptions clientOptions)
    • Method Detail

      • list

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

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

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

      • create

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

      • create

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

      • get

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

        public java.util.concurrent.CompletableFuture<java.util.Optional<TicketType>> update​(UpdateTicketTypeRequest request)
        You can update a ticket type.

        📘 Updating a ticket type.

        For the icon propery, use an emoji from Twemoji Cheatsheet