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 java.lang.Object implements TicketParts.TotalCountStage, TicketParts._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TicketParts._FinalStageaddAllTicketParts(java.util.List<TicketPart> ticketParts)A list of Ticket Part objects for each ticket.TicketParts._FinalStageaddTicketParts(TicketPart ticketParts)A list of Ticket Part objects for each ticket.TicketPartsbuild()TicketParts.Builderfrom(TicketParts other)TicketParts._FinalStageticketParts(java.util.List<TicketPart> ticketParts)A list of Ticket Part objects for each ticket.TicketParts._FinalStagetotalCount(int totalCount)
-
-
-
Method Detail
-
from
public TicketParts.Builder from(TicketParts other)
- Specified by:
fromin interfaceTicketParts.TotalCountStage
-
totalCount
public TicketParts._FinalStage totalCount(int totalCount)
- Specified by:
totalCountin interfaceTicketParts.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllTicketParts
public TicketParts._FinalStage addAllTicketParts(java.util.List<TicketPart> ticketParts)
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
public TicketParts._FinalStage addTicketParts(TicketPart ticketParts)
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
public TicketParts._FinalStage ticketParts(java.util.List<TicketPart> ticketParts)
A list of Ticket Part objects for each ticket. There is a limit of 500 parts.
- Specified by:
ticketPartsin interfaceTicketParts._FinalStage
-
build
public TicketParts build()
- Specified by:
buildin interfaceTicketParts._FinalStage
-
-