Class TicketTypesClient


  • public class TicketTypesClient
    extends java.lang.Object
    • Field Detail

      • attributesClient

        protected final java.util.function.Supplier<AttributesClient> attributesClient
    • Constructor Detail

      • TicketTypesClient

        public TicketTypesClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public RawTicketTypesClient withRawResponse()
        Get responses with HTTP metadata like headers
      • list

        public TicketTypeList list()
        You can get a list of all ticket types for a workspace.
      • create

        public 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.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.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