Class TicketTypesClient


  • public class TicketTypesClient
    extends java.lang.Object
    • 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 icon propery, 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 icon propery, 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.