Class NoteList.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.NoteList.Builder
-
- Enclosing class:
- NoteList
public static final class NoteList.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NoteListbuild()NoteList.Builderdata(java.util.List<Note> data)NoteList.Builderdata(java.util.Optional<java.util.List<Note>> data)An array of notes.NoteList.Builderfrom(NoteList other)NoteList.Builderpages(CursorPages pages)NoteList.Builderpages(java.util.Optional<CursorPages> pages)NoteList.BuildertotalCount(java.lang.Integer totalCount)NoteList.BuildertotalCount(java.util.Optional<java.lang.Integer> totalCount)A count of the total number of notes.NoteList.Buildertype(java.lang.String type)NoteList.Buildertype(java.util.Optional<java.lang.String> type)String representing the object's type.
-
-
-
Method Detail
-
from
public NoteList.Builder from(NoteList other)
-
type
public NoteList.Builder type(java.util.Optional<java.lang.String> type)
String representing the object's type. Always has the value
list.
-
type
public NoteList.Builder type(java.lang.String type)
-
data
public NoteList.Builder data(java.util.Optional<java.util.List<Note>> data)
An array of notes.
-
data
public NoteList.Builder data(java.util.List<Note> data)
-
totalCount
public NoteList.Builder totalCount(java.util.Optional<java.lang.Integer> totalCount)
A count of the total number of notes.
-
totalCount
public NoteList.Builder totalCount(java.lang.Integer totalCount)
-
pages
public NoteList.Builder pages(java.util.Optional<CursorPages> pages)
-
pages
public NoteList.Builder pages(CursorPages pages)
-
build
public NoteList build()
-
-