Class UpdateTicketRequest.Builder
java.lang.Object
com.intercom.api.resources.tickets.requests.UpdateTicketRequest.Builder
- All Implemented Interfaces:
UpdateTicketRequest._FinalStage,UpdateTicketRequest.TicketIdStage
- Enclosing class:
UpdateTicketRequest
public static final class UpdateTicketRequest.Builder
extends Object
implements UpdateTicketRequest.TicketIdStage, UpdateTicketRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionassignment(UpdateTicketRequest.Assignment assignment) assignment(Optional<UpdateTicketRequest.Assignment> assignment) build()from(UpdateTicketRequest other) Specify whether the ticket is visible to users.Specify if a ticket is open.snoozedUntil(Integer snoozedUntil) The time you want the ticket to reopen.snoozedUntil(Optional<Integer> snoozedUntil) state(UpdateTicketRequest.State state) The state of the ticket.state(Optional<UpdateTicketRequest.State> state) ticketAttributes(Map<String, Object> ticketAttributes) The attributes set on the ticket.ticketAttributes(Optional<Map<String, Object>> ticketAttributes) The unique identifier for the ticket which is given by Intercom
-
Method Details
-
from
- Specified by:
fromin interfaceUpdateTicketRequest.TicketIdStage
-
ticketId
The unique identifier for the ticket which is given by Intercom
- Specified by:
ticketIdin interfaceUpdateTicketRequest.TicketIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
assignment
- Specified by:
assignmentin interfaceUpdateTicketRequest._FinalStage
-
assignment
public UpdateTicketRequest._FinalStage assignment(Optional<UpdateTicketRequest.Assignment> assignment) - Specified by:
assignmentin interfaceUpdateTicketRequest._FinalStage
-
snoozedUntil
The time you want the ticket to reopen.
- Specified by:
snoozedUntilin interfaceUpdateTicketRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
snoozedUntil
- Specified by:
snoozedUntilin interfaceUpdateTicketRequest._FinalStage
-
open
Specify if a ticket is open. Set to false to close a ticket. Closing a ticket will also unsnooze it.
- Specified by:
openin interfaceUpdateTicketRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
open
- Specified by:
openin interfaceUpdateTicketRequest._FinalStage
-
state
The state of the ticket.
- Specified by:
statein interfaceUpdateTicketRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
state
- Specified by:
statein interfaceUpdateTicketRequest._FinalStage
-
ticketAttributes
The attributes set on the ticket.
- Specified by:
ticketAttributesin interfaceUpdateTicketRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ticketAttributes
public UpdateTicketRequest._FinalStage ticketAttributes(Optional<Map<String, Object>> ticketAttributes) - Specified by:
ticketAttributesin interfaceUpdateTicketRequest._FinalStage
-
build
- Specified by:
buildin interfaceUpdateTicketRequest._FinalStage
-