Package com.intercom.api.types
Class TicketList.Builder
java.lang.Object
com.intercom.api.types.TicketList.Builder
- All Implemented Interfaces:
TicketList._FinalStage,TicketList.TotalCountStage
- Enclosing class:
TicketList
public static final class TicketList.Builder
extends Object
implements TicketList.TotalCountStage, TicketList._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTickets(List<Ticket> tickets) The list of ticket objectsaddTickets(Ticket tickets) The list of ticket objectsbuild()from(TicketList other) pages(CursorPages pages) pages(Optional<CursorPages> pages) totalCount(int totalCount) A count of the total number of objects.
-
Method Details
-
from
- Specified by:
fromin interfaceTicketList.TotalCountStage
-
totalCount
A count of the total number of objects.
- Specified by:
totalCountin interfaceTicketList.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
pages
- Specified by:
pagesin interfaceTicketList._FinalStage
-
pages
- Specified by:
pagesin interfaceTicketList._FinalStage
-
addAllTickets
The list of ticket objects
- Specified by:
addAllTicketsin interfaceTicketList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addTickets
The list of ticket objects
- Specified by:
addTicketsin interfaceTicketList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
tickets
- Specified by:
ticketsin interfaceTicketList._FinalStage
-
build
- Specified by:
buildin interfaceTicketList._FinalStage
-