Package com.intercom.api.types
Class ContactTags.Builder
java.lang.Object
com.intercom.api.types.ContactTags.Builder
- All Implemented Interfaces:
ContactTags._FinalStage,ContactTags.HasMoreStage,ContactTags.TotalCountStage,ContactTags.UrlStage
- Enclosing class:
ContactTags
public static final class ContactTags.Builder
extends Object
implements ContactTags.UrlStage, ContactTags.TotalCountStage, ContactTags.HasMoreStage, ContactTags._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllData(List<AddressableList> data) This object represents the tags attached to a contact.addData(AddressableList data) This object represents the tags attached to a contact.build()data(List<AddressableList> data) from(ContactTags other) hasMore(boolean hasMore) Whether there's more Addressable Objects to be viewed.totalCount(int totalCount) Int representing the total number of tags attached to this contacturl to get more tag resources for this contact
-
Method Details
-
from
- Specified by:
fromin interfaceContactTags.UrlStage
-
url
url to get more tag resources for this contact
- Specified by:
urlin interfaceContactTags.UrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
totalCount
Int representing the total number of tags attached to this contact
- Specified by:
totalCountin interfaceContactTags.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 interfaceContactTags.HasMoreStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllData
This object represents the tags attached to a contact.
- Specified by:
addAllDatain interfaceContactTags._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addData
This object represents the tags attached to a contact.
- Specified by:
addDatain interfaceContactTags._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
data
- Specified by:
datain interfaceContactTags._FinalStage
-
build
- Specified by:
buildin interfaceContactTags._FinalStage
-