Package com.intercom.api.types
Class ContactNotes.Builder
- java.lang.Object
-
- com.intercom.api.types.ContactNotes.Builder
-
- All Implemented Interfaces:
ContactNotes._FinalStage,ContactNotes.HasMoreStage,ContactNotes.TotalCountStage,ContactNotes.UrlStage
- Enclosing class:
- ContactNotes
public static final class ContactNotes.Builder extends java.lang.Object implements ContactNotes.UrlStage, ContactNotes.TotalCountStage, ContactNotes.HasMoreStage, ContactNotes._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactNotes._FinalStageaddAllData(java.util.List<AddressableList> data)This object represents the notes attached to a contact.ContactNotes._FinalStageaddData(AddressableList data)This object represents the notes attached to a contact.ContactNotesbuild()ContactNotes._FinalStagedata(java.util.List<AddressableList> data)ContactNotes.Builderfrom(ContactNotes other)ContactNotes._FinalStagehasMore(boolean hasMore)Whether there's more Addressable Objects to be viewed.ContactNotes.HasMoreStagetotalCount(int totalCount)Int representing the total number of companyies attached to this contactContactNotes.TotalCountStageurl(java.lang.String url)Url to get more company resources for this contact
-
-
-
Method Detail
-
from
public ContactNotes.Builder from(ContactNotes other)
- Specified by:
fromin interfaceContactNotes.UrlStage
-
url
public ContactNotes.TotalCountStage url(@NotNull java.lang.String url)
Url to get more company resources for this contact
- Specified by:
urlin interfaceContactNotes.UrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
totalCount
public ContactNotes.HasMoreStage totalCount(int totalCount)
Int representing the total number of companyies attached to this contact
- Specified by:
totalCountin interfaceContactNotes.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
hasMore
public ContactNotes._FinalStage hasMore(boolean hasMore)
Whether there's more Addressable Objects to be viewed. If true, use the url to view all
- Specified by:
hasMorein interfaceContactNotes.HasMoreStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllData
public ContactNotes._FinalStage addAllData(java.util.List<AddressableList> data)
This object represents the notes attached to a contact.
- Specified by:
addAllDatain interfaceContactNotes._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addData
public ContactNotes._FinalStage addData(AddressableList data)
This object represents the notes attached to a contact.
- Specified by:
addDatain interfaceContactNotes._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
data
public ContactNotes._FinalStage data(java.util.List<AddressableList> data)
- Specified by:
datain interfaceContactNotes._FinalStage
-
build
public ContactNotes build()
- Specified by:
buildin interfaceContactNotes._FinalStage
-
-