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