Package com.intercom.api.types
Class CompanyAttachedContacts.Builder
- java.lang.Object
-
- com.intercom.api.types.CompanyAttachedContacts.Builder
-
- All Implemented Interfaces:
CompanyAttachedContacts._FinalStage,CompanyAttachedContacts.TotalCountStage
- Enclosing class:
- CompanyAttachedContacts
public static final class CompanyAttachedContacts.Builder extends java.lang.Object implements CompanyAttachedContacts.TotalCountStage, CompanyAttachedContacts._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompanyAttachedContacts._FinalStageaddAllData(java.util.List<Contact> data)An array containing Contact ObjectsCompanyAttachedContacts._FinalStageaddData(Contact data)An array containing Contact ObjectsCompanyAttachedContactsbuild()CompanyAttachedContacts._FinalStagedata(java.util.List<Contact> data)An array containing Contact ObjectsCompanyAttachedContacts.Builderfrom(CompanyAttachedContacts other)CompanyAttachedContacts._FinalStagepages(CursorPages pages)CompanyAttachedContacts._FinalStagepages(java.util.Optional<CursorPages> pages)CompanyAttachedContacts._FinalStagetotalCount(int totalCount)The total number of contacts
-
-
-
Method Detail
-
from
public CompanyAttachedContacts.Builder from(CompanyAttachedContacts other)
- Specified by:
fromin interfaceCompanyAttachedContacts.TotalCountStage
-
totalCount
public CompanyAttachedContacts._FinalStage totalCount(int totalCount)
The total number of contactsThe total number of contacts
- Specified by:
totalCountin interfaceCompanyAttachedContacts.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
pages
public CompanyAttachedContacts._FinalStage pages(CursorPages pages)
- Specified by:
pagesin interfaceCompanyAttachedContacts._FinalStage
-
pages
public CompanyAttachedContacts._FinalStage pages(java.util.Optional<CursorPages> pages)
- Specified by:
pagesin interfaceCompanyAttachedContacts._FinalStage
-
addAllData
public CompanyAttachedContacts._FinalStage addAllData(java.util.List<Contact> data)
An array containing Contact Objects
- Specified by:
addAllDatain interfaceCompanyAttachedContacts._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addData
public CompanyAttachedContacts._FinalStage addData(Contact data)
An array containing Contact Objects
- Specified by:
addDatain interfaceCompanyAttachedContacts._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
data
public CompanyAttachedContacts._FinalStage data(java.util.List<Contact> data)
An array containing Contact Objects
- Specified by:
datain interfaceCompanyAttachedContacts._FinalStage
-
build
public CompanyAttachedContacts build()
- Specified by:
buildin interfaceCompanyAttachedContacts._FinalStage
-
-