Ticket Template
A TicketTemplate is a preset for the creation of new tickets and backfills. The template contains only the metadata, that is necessary (or relevant) for the creation of new tickets and backfills and therefor does not manage something like the identifier. A TicketTemplate can be used to create an unlimited amount of new objects. For the creation of a template, a corresponding builder has to be used.
Parameters
The indexed metadata, that will be assigned for the Ticket or Backfill on creation.
The non-indexed metadata, that will be assigned for the Ticket or Backfill on creation.
Types
A Builder represents a mutable builder instance for the chained creation of TicketTemplate instances. An instance of this builder can be obtained using the TicketTemplate.newBuilder method, and it can optionally be initialized with default values using the overloaded function. The builder can then be used to create any number of TicketTemplate instances, and even after creating a TicketTemplate, further modifications can be made that will only affect new TicketTemplate instances.
Functions
Creates a new Backfill with the properties defined in this TicketTemplate for creation. The identifier and timestamp are not set and remain at their default values. All backfills created by this method behave completely autonomously, and changes to them do not affect this TicketTemplate or other returned instances that have already been created.
Creates a new Ticket with the properties defined in this TicketTemplate for creation. The identifier, assignment, and timestamp are not set and remain at their default values. All tickets created by this method behave completely autonomously, and changes to them do not affect this TicketTemplate or other returned instances that may have already been created.