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 java.lang.Object implements ContactTags.UrlStage, ContactTags.TotalCountStage, ContactTags.HasMoreStage, ContactTags._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactTags._FinalStageaddAllData(java.util.List<AddressableList> data)This object represents the tags attached to a contact.ContactTags._FinalStageaddData(AddressableList data)This object represents the tags attached to a contact.ContactTagsbuild()ContactTags._FinalStagedata(java.util.List<AddressableList> data)ContactTags.Builderfrom(ContactTags other)ContactTags._FinalStagehasMore(boolean hasMore)Whether there's more Addressable Objects to be viewed.ContactTags.HasMoreStagetotalCount(int totalCount)Int representing the total number of tags attached to this contactContactTags.TotalCountStageurl(java.lang.String url)url to get more tag resources for this contact
-
-
-
Method Detail
-
from
public ContactTags.Builder from(ContactTags other)
- Specified by:
fromin interfaceContactTags.UrlStage
-
url
public ContactTags.TotalCountStage url(@NotNull java.lang.String 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
public ContactTags.HasMoreStage totalCount(int 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
public ContactTags._FinalStage hasMore(boolean 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
public ContactTags._FinalStage addAllData(java.util.List<AddressableList> data)
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
public ContactTags._FinalStage addData(AddressableList data)
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
public ContactTags._FinalStage data(java.util.List<AddressableList> data)
- Specified by:
datain interfaceContactTags._FinalStage
-
build
public ContactTags build()
- Specified by:
buildin interfaceContactTags._FinalStage
-
-