Package com.intercom.api.types
Class ContactTags.Builder
- java.lang.Object
-
- com.intercom.api.types.ContactTags.Builder
-
- Enclosing class:
- ContactTags
public static final class ContactTags.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactTagsbuild()ContactTags.Builderdata(java.util.List<AddressableList> data)ContactTags.Builderdata(java.util.Optional<java.util.List<AddressableList>> data)This object represents the tags attached to a contact.ContactTags.Builderfrom(ContactTags other)ContactTags.BuilderhasMore(java.lang.Boolean hasMore)ContactTags.BuilderhasMore(java.util.Optional<java.lang.Boolean> hasMore)Whether there's more Addressable Objects to be viewed.ContactTags.BuildertotalCount(java.lang.Integer totalCount)ContactTags.BuildertotalCount(java.util.Optional<java.lang.Integer> totalCount)Int representing the total number of tags attached to this contactContactTags.Builderurl(java.lang.String url)ContactTags.Builderurl(java.util.Optional<java.lang.String> url)url to get more tag resources for this contact
-
-
-
Method Detail
-
from
public ContactTags.Builder from(ContactTags other)
-
data
public ContactTags.Builder data(java.util.Optional<java.util.List<AddressableList>> data)
This object represents the tags attached to a contact.
-
data
public ContactTags.Builder data(java.util.List<AddressableList> data)
-
url
public ContactTags.Builder url(java.util.Optional<java.lang.String> url)
url to get more tag resources for this contact
-
url
public ContactTags.Builder url(java.lang.String url)
-
totalCount
public ContactTags.Builder totalCount(java.util.Optional<java.lang.Integer> totalCount)
Int representing the total number of tags attached to this contact
-
totalCount
public ContactTags.Builder totalCount(java.lang.Integer totalCount)
-
hasMore
public ContactTags.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 ContactTags.Builder hasMore(java.lang.Boolean hasMore)
-
build
public ContactTags build()
-
-