Package com.intercom.api.types
Class TicketParts.Builder
java.lang.Object
com.intercom.api.types.TicketParts.Builder
- All Implemented Interfaces:
TicketParts._FinalStage,TicketParts.TotalCountStage
- Enclosing class:
TicketParts
public static final class TicketParts.Builder
extends Object
implements TicketParts.TotalCountStage, TicketParts._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTicketParts(List<TicketPart> ticketParts) A list of Ticket Part objects for each ticket.addTicketParts(TicketPart ticketParts) A list of Ticket Part objects for each ticket.build()from(TicketParts other) ticketParts(List<TicketPart> ticketParts) totalCount(int totalCount)
-
Method Details
-
from
- Specified by:
fromin interfaceTicketParts.TotalCountStage
-
totalCount
- Specified by:
totalCountin interfaceTicketParts.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllTicketParts
A list of Ticket Part objects for each ticket. There is a limit of 500 parts.
- Specified by:
addAllTicketPartsin interfaceTicketParts._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addTicketParts
A list of Ticket Part objects for each ticket. There is a limit of 500 parts.
- Specified by:
addTicketPartsin interfaceTicketParts._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ticketParts
- Specified by:
ticketPartsin interfaceTicketParts._FinalStage
-
build
- Specified by:
buildin interfaceTicketParts._FinalStage
-