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