Package com.intercom.api.types
Class ContactNotes.Builder
- java.lang.Object
-
- com.intercom.api.types.ContactNotes.Builder
-
- Enclosing class:
- ContactNotes
public static final class ContactNotes.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactNotesbuild()ContactNotes.Builderdata(java.util.List<AddressableList> data)ContactNotes.Builderdata(java.util.Optional<java.util.List<AddressableList>> data)This object represents the notes attached to a contact.ContactNotes.Builderfrom(ContactNotes other)ContactNotes.BuilderhasMore(java.lang.Boolean hasMore)ContactNotes.BuilderhasMore(java.util.Optional<java.lang.Boolean> hasMore)Whether there's more Addressable Objects to be viewed.ContactNotes.BuildertotalCount(java.lang.Integer totalCount)ContactNotes.BuildertotalCount(java.util.Optional<java.lang.Integer> totalCount)Int representing the total number of companyies attached to this contactContactNotes.Builderurl(java.lang.String url)ContactNotes.Builderurl(java.util.Optional<java.lang.String> url)Url to get more company resources for this contact
-
-
-
Method Detail
-
from
public ContactNotes.Builder from(ContactNotes other)
-
data
public ContactNotes.Builder data(java.util.Optional<java.util.List<AddressableList>> data)
This object represents the notes attached to a contact.
-
data
public ContactNotes.Builder data(java.util.List<AddressableList> data)
-
url
public ContactNotes.Builder url(java.util.Optional<java.lang.String> url)
Url to get more company resources for this contact
-
url
public ContactNotes.Builder url(java.lang.String url)
-
totalCount
public ContactNotes.Builder totalCount(java.util.Optional<java.lang.Integer> totalCount)
Int representing the total number of companyies attached to this contact
-
totalCount
public ContactNotes.Builder totalCount(java.lang.Integer totalCount)
-
hasMore
public ContactNotes.Builder hasMore(java.util.Optional<java.lang.Boolean> hasMore)
Whether there's more Addressable Objects to be viewed. If true, use the url to view all
-
hasMore
public ContactNotes.Builder hasMore(java.lang.Boolean hasMore)
-
build
public ContactNotes build()
-
-