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 Object
implements ContactNotes.UrlStage, ContactNotes.TotalCountStage, ContactNotes.HasMoreStage, ContactNotes._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllData(List<AddressableList> data) This object represents the notes attached to a contact.addData(AddressableList data) This object represents the notes attached to a contact.build()data(List<AddressableList> data) from(ContactNotes other) hasMore(boolean hasMore) Whether there's more Addressable Objects to be viewed.totalCount(int totalCount) Int representing the total number of companyies attached to this contactUrl to get more company resources for this contact
-
Method Details
-
from
- Specified by:
fromin interfaceContactNotes.UrlStage
-
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
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
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
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
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
- Specified by:
datain interfaceContactNotes._FinalStage
-
build
- Specified by:
buildin interfaceContactNotes._FinalStage
-