Package com.intercom.api.types
Class CompanyAttachedContacts.Builder
- java.lang.Object
-
- com.intercom.api.types.CompanyAttachedContacts.Builder
-
- Enclosing class:
- CompanyAttachedContacts
public static final class CompanyAttachedContacts.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompanyAttachedContactsbuild()CompanyAttachedContacts.Builderdata(java.util.List<Contact> data)CompanyAttachedContacts.Builderdata(java.util.Optional<java.util.List<Contact>> data)An array containing Contact ObjectsCompanyAttachedContacts.Builderfrom(CompanyAttachedContacts other)CompanyAttachedContacts.Builderpages(CursorPages pages)CompanyAttachedContacts.Builderpages(java.util.Optional<CursorPages> pages)CompanyAttachedContacts.BuildertotalCount(java.lang.Integer totalCount)CompanyAttachedContacts.BuildertotalCount(java.util.Optional<java.lang.Integer> totalCount)The total number of contactsCompanyAttachedContacts.Buildertype(java.lang.String type)CompanyAttachedContacts.Buildertype(java.util.Optional<java.lang.String> type)The type of object -list
-
-
-
Method Detail
-
from
public CompanyAttachedContacts.Builder from(CompanyAttachedContacts other)
-
type
public CompanyAttachedContacts.Builder type(java.util.Optional<java.lang.String> type)
The type of object -
list
-
type
public CompanyAttachedContacts.Builder type(java.lang.String type)
-
data
public CompanyAttachedContacts.Builder data(java.util.Optional<java.util.List<Contact>> data)
An array containing Contact Objects
-
data
public CompanyAttachedContacts.Builder data(java.util.List<Contact> data)
-
totalCount
public CompanyAttachedContacts.Builder totalCount(java.util.Optional<java.lang.Integer> totalCount)
The total number of contacts
-
totalCount
public CompanyAttachedContacts.Builder totalCount(java.lang.Integer totalCount)
-
pages
public CompanyAttachedContacts.Builder pages(java.util.Optional<CursorPages> pages)
-
pages
public CompanyAttachedContacts.Builder pages(CursorPages pages)
-
build
public CompanyAttachedContacts build()
-
-