Class Ticket.Builder
- All Implemented Interfaces:
Ticket._FinalStage,Ticket.CategoryStage,Ticket.ContactsStage,Ticket.IdStage,Ticket.TicketIdStage,Ticket.TicketStateStage,Ticket.TicketTypeStage
- Enclosing class:
Ticket
-
Method Summary
Modifier and TypeMethodDescriptionadminAssigneeId(String adminAssigneeId) The id representing the admin assigned to the ticket.adminAssigneeId(Optional<String> adminAssigneeId) build()category(Ticket.Category category) Category of the Ticket.contacts(TicketContacts contacts) The time the ticket was created as a UTC Unix timestamp.The unique identifier for the ticket which is given by Intercom.Whether or not the ticket is shared with the customer.linkedObjects(LinkedObjectList linkedObjects) linkedObjects(Optional<LinkedObjectList> linkedObjects) Whether or not the ticket is open.putAllTicketAttributes(Map<String, Object> ticketAttributes) snoozedUntil(Integer snoozedUntil) The time the ticket will be snoozed until as a UTC Unix timestamp.snoozedUntil(Optional<Integer> snoozedUntil) teamAssigneeId(String teamAssigneeId) The id representing the team assigned to the ticket.teamAssigneeId(Optional<String> teamAssigneeId) ticketAttributes(String key, Object value) ticketAttributes(Map<String, Object> ticketAttributes) The ID of the Ticket used in the Intercom Inbox and Messenger.ticketParts(TicketParts ticketParts) ticketParts(Optional<TicketParts> ticketParts) ticketState(Ticket.TicketState ticketState) The state the ticket is currently inticketStateExternalLabel(String ticketStateExternalLabel) The state the ticket is currently in, in a human readable form - visible to customers, in the messenger, email and tickets portal.ticketStateExternalLabel(Optional<String> ticketStateExternalLabel) ticketStateInternalLabel(String ticketStateInternalLabel) The state the ticket is currently in, in a human readable form - visible in IntercomticketStateInternalLabel(Optional<String> ticketStateInternalLabel) ticketType(TicketType ticketType) The last time the ticket was updated as a UTC Unix timestamp.
-
Method Details
-
from
- Specified by:
fromin interfaceTicket.IdStage
-
id
The unique identifier for the ticket which is given by Intercom.
- Specified by:
idin interfaceTicket.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ticketId
The ID of the Ticket used in the Intercom Inbox and Messenger. Do not use ticket_id for API queries.
- Specified by:
ticketIdin interfaceTicket.TicketIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
category
Category of the Ticket.
- Specified by:
categoryin interfaceTicket.CategoryStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ticketState
The state the ticket is currently in
- Specified by:
ticketStatein interfaceTicket.TicketStateStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ticketType
- Specified by:
ticketTypein interfaceTicket.TicketTypeStage
-
contacts
- Specified by:
contactsin interfaceTicket.ContactsStage
-
ticketStateExternalLabel
The state the ticket is currently in, in a human readable form - visible to customers, in the messenger, email and tickets portal.
- Specified by:
ticketStateExternalLabelin interfaceTicket._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ticketStateExternalLabel
- Specified by:
ticketStateExternalLabelin interfaceTicket._FinalStage
-
ticketStateInternalLabel
The state the ticket is currently in, in a human readable form - visible in Intercom
- Specified by:
ticketStateInternalLabelin interfaceTicket._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ticketStateInternalLabel
- Specified by:
ticketStateInternalLabelin interfaceTicket._FinalStage
-
ticketParts
- Specified by:
ticketPartsin interfaceTicket._FinalStage
-
ticketParts
- Specified by:
ticketPartsin interfaceTicket._FinalStage
-
linkedObjects
- Specified by:
linkedObjectsin interfaceTicket._FinalStage
-
linkedObjects
- Specified by:
linkedObjectsin interfaceTicket._FinalStage
-
snoozedUntil
The time the ticket will be snoozed until as a UTC Unix timestamp. If null, the ticket is not currently snoozed.
- Specified by:
snoozedUntilin interfaceTicket._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
snoozedUntil
- Specified by:
snoozedUntilin interfaceTicket._FinalStage
-
open
Whether or not the ticket is open. If false, the ticket is closed.
- Specified by:
openin interfaceTicket._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
open
- Specified by:
openin interfaceTicket._FinalStage
-
updatedAt
The last time the ticket was updated as a UTC Unix timestamp.
- Specified by:
updatedAtin interfaceTicket._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
updatedAt
- Specified by:
updatedAtin interfaceTicket._FinalStage
-
createdAt
The time the ticket was created as a UTC Unix timestamp.
- Specified by:
createdAtin interfaceTicket._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
- Specified by:
createdAtin interfaceTicket._FinalStage
-
teamAssigneeId
The id representing the team assigned to the ticket.
- Specified by:
teamAssigneeIdin interfaceTicket._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
teamAssigneeId
- Specified by:
teamAssigneeIdin interfaceTicket._FinalStage
-
adminAssigneeId
The id representing the admin assigned to the ticket.
- Specified by:
adminAssigneeIdin interfaceTicket._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
adminAssigneeId
- Specified by:
adminAssigneeIdin interfaceTicket._FinalStage
-
ticketAttributes
- Specified by:
ticketAttributesin interfaceTicket._FinalStage
-
putAllTicketAttributes
- Specified by:
putAllTicketAttributesin interfaceTicket._FinalStage
-
ticketAttributes
- Specified by:
ticketAttributesin interfaceTicket._FinalStage
-
build
- Specified by:
buildin interfaceTicket._FinalStage
-