Package com.intercom.api.types
Class NoteList.Builder
java.lang.Object
com.intercom.api.types.NoteList.Builder
- All Implemented Interfaces:
NoteList._FinalStage,NoteList.TotalCountStage
- Enclosing class:
NoteList
public static final class NoteList.Builder
extends Object
implements NoteList.TotalCountStage, NoteList._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllData(List<Note> data) An array of notes.An array of notes.build()pages(OffsetPages pages) pages(Optional<OffsetPages> pages) totalCount(int totalCount) A count of the total number of notes.
-
Method Details
-
from
- Specified by:
fromin interfaceNoteList.TotalCountStage
-
totalCount
A count of the total number of notes.
- Specified by:
totalCountin interfaceNoteList.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
pages
- Specified by:
pagesin interfaceNoteList._FinalStage
-
pages
- Specified by:
pagesin interfaceNoteList._FinalStage
-
addAllData
An array of notes.
- Specified by:
addAllDatain interfaceNoteList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addData
An array of notes.
- Specified by:
addDatain interfaceNoteList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
data
- Specified by:
datain interfaceNoteList._FinalStage
-
build
- Specified by:
buildin interfaceNoteList._FinalStage
-