Package com.intercom.api.types
Class ContactAttachedCompanies.Builder
- java.lang.Object
-
- com.intercom.api.types.ContactAttachedCompanies.Builder
-
- Enclosing class:
- ContactAttachedCompanies
public static final class ContactAttachedCompanies.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactAttachedCompaniesbuild()ContactAttachedCompanies.Buildercompanies(java.util.List<Company> companies)ContactAttachedCompanies.Buildercompanies(java.util.Optional<java.util.List<Company>> companies)An array containing Company ObjectsContactAttachedCompanies.Builderfrom(ContactAttachedCompanies other)ContactAttachedCompanies.Builderpages(PagesLink pages)ContactAttachedCompanies.Builderpages(java.util.Optional<PagesLink> pages)ContactAttachedCompanies.BuildertotalCount(java.lang.Integer totalCount)ContactAttachedCompanies.BuildertotalCount(java.util.Optional<java.lang.Integer> totalCount)The total number of companies associated to this contactContactAttachedCompanies.Buildertype(java.lang.String type)ContactAttachedCompanies.Buildertype(java.util.Optional<java.lang.String> type)The type of object
-
-
-
Method Detail
-
from
public ContactAttachedCompanies.Builder from(ContactAttachedCompanies other)
-
type
public ContactAttachedCompanies.Builder type(java.util.Optional<java.lang.String> type)
The type of object
-
type
public ContactAttachedCompanies.Builder type(java.lang.String type)
-
companies
public ContactAttachedCompanies.Builder companies(java.util.Optional<java.util.List<Company>> companies)
An array containing Company Objects
-
companies
public ContactAttachedCompanies.Builder companies(java.util.List<Company> companies)
-
totalCount
public ContactAttachedCompanies.Builder totalCount(java.util.Optional<java.lang.Integer> totalCount)
The total number of companies associated to this contact
-
totalCount
public ContactAttachedCompanies.Builder totalCount(java.lang.Integer totalCount)
-
pages
public ContactAttachedCompanies.Builder pages(java.util.Optional<PagesLink> pages)
-
pages
public ContactAttachedCompanies.Builder pages(PagesLink pages)
-
build
public ContactAttachedCompanies build()
-
-