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 java.lang.Object implements NoteList.TotalCountStage, NoteList._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NoteList._FinalStageaddAllData(java.util.List<Note> data)An array of notes.NoteList._FinalStageaddData(Note data)An array of notes.NoteListbuild()NoteList._FinalStagedata(java.util.List<Note> data)An array of notes.NoteList.Builderfrom(NoteList other)NoteList._FinalStagepages(OffsetPages pages)NoteList._FinalStagepages(java.util.Optional<OffsetPages> pages)NoteList._FinalStagetotalCount(int totalCount)A count of the total number of notes.
-
-
-
Method Detail
-
from
public NoteList.Builder from(NoteList other)
- Specified by:
fromin interfaceNoteList.TotalCountStage
-
totalCount
public NoteList._FinalStage totalCount(int totalCount)
A count of the total number of notes.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
public NoteList._FinalStage pages(OffsetPages pages)
- Specified by:
pagesin interfaceNoteList._FinalStage
-
pages
public NoteList._FinalStage pages(java.util.Optional<OffsetPages> pages)
- Specified by:
pagesin interfaceNoteList._FinalStage
-
addAllData
public NoteList._FinalStage addAllData(java.util.List<Note> data)
An array of notes.
- Specified by:
addAllDatain interfaceNoteList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addData
public NoteList._FinalStage addData(Note data)
An array of notes.
- Specified by:
addDatain interfaceNoteList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
data
public NoteList._FinalStage data(java.util.List<Note> data)
An array of notes.
- Specified by:
datain interfaceNoteList._FinalStage
-
build
public NoteList build()
- Specified by:
buildin interfaceNoteList._FinalStage
-
-