Class Company.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.companies.types.Company.Builder
-
- Enclosing class:
- Company
public static final class Company.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Company.BuilderappId(java.lang.String appId)Company.BuilderappId(java.util.Optional<java.lang.String> appId)The Intercom defined code of the workspace the company is associated to.Companybuild()Company.BuildercompanyId(java.lang.String companyId)Company.BuildercompanyId(java.util.Optional<java.lang.String> companyId)The company id you have defined for the company.Company.BuildercreatedAt(java.lang.Integer createdAt)Company.BuildercreatedAt(java.util.Optional<java.lang.Integer> createdAt)The time the company was added in Intercom.Company.BuildercustomAttributes(java.util.Map<java.lang.String,java.lang.String> customAttributes)Company.BuildercustomAttributes(java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> customAttributes)The custom attributes you have set on the company.Company.Builderfrom(Company other)Company.Builderid(java.lang.String id)Company.Builderid(java.util.Optional<java.lang.String> id)The Intercom defined id representing the company.Company.Builderindustry(java.lang.String industry)Company.Builderindustry(java.util.Optional<java.lang.String> industry)The industry that the company operates in.Company.BuilderlastRequestAt(java.lang.Integer lastRequestAt)Company.BuilderlastRequestAt(java.util.Optional<java.lang.Integer> lastRequestAt)The time the company last recorded making a request.Company.BuildermonthlySpend(java.lang.Integer monthlySpend)Company.BuildermonthlySpend(java.util.Optional<java.lang.Integer> monthlySpend)How much revenue the company generates for your business.Company.Buildername(java.lang.String name)Company.Buildername(java.util.Optional<java.lang.String> name)The name of the company.Company.Buildernotes(Company.Notes notes)Company.Buildernotes(java.util.Optional<Company.Notes> notes)The list of notes associated with the companyCompany.Builderplan(Company.Plan plan)Company.Builderplan(java.util.Optional<Company.Plan> plan)Company.BuilderremoteCreatedAt(java.lang.Integer remoteCreatedAt)Company.BuilderremoteCreatedAt(java.util.Optional<java.lang.Integer> remoteCreatedAt)The time the company was created by you.Company.Buildersegments(Company.Segments segments)Company.Buildersegments(java.util.Optional<Company.Segments> segments)The list of segments associated with the companyCompany.BuildersessionCount(java.lang.Integer sessionCount)Company.BuildersessionCount(java.util.Optional<java.lang.Integer> sessionCount)How many sessions the company has recorded.Company.Buildersize(java.lang.Integer size)Company.Buildersize(java.util.Optional<java.lang.Integer> size)The number of employees in the company.Company.Buildertags(Company.Tags tags)Company.Buildertags(java.util.Optional<Company.Tags> tags)The list of tags associated with the companyCompany.Buildertype(java.lang.String type)Company.Buildertype(java.util.Optional<java.lang.String> type)Value iscompanyCompany.BuilderupdatedAt(java.lang.Integer updatedAt)Company.BuilderupdatedAt(java.util.Optional<java.lang.Integer> updatedAt)The last time the company was updated.Company.BuilderuserCount(java.lang.Integer userCount)Company.BuilderuserCount(java.util.Optional<java.lang.Integer> userCount)The number of users in the company.Company.Builderwebsite(java.lang.String website)Company.Builderwebsite(java.util.Optional<java.lang.String> website)The URL for the company website.
-
-
-
Method Detail
-
from
public Company.Builder from(Company other)
-
type
public Company.Builder type(java.util.Optional<java.lang.String> type)
Value is
company
-
type
public Company.Builder type(java.lang.String type)
-
id
public Company.Builder id(java.util.Optional<java.lang.String> id)
The Intercom defined id representing the company.
-
id
public Company.Builder id(java.lang.String id)
-
name
public Company.Builder name(java.util.Optional<java.lang.String> name)
The name of the company.
-
name
public Company.Builder name(java.lang.String name)
-
appId
public Company.Builder appId(java.util.Optional<java.lang.String> appId)
The Intercom defined code of the workspace the company is associated to.
-
appId
public Company.Builder appId(java.lang.String appId)
-
plan
public Company.Builder plan(java.util.Optional<Company.Plan> plan)
-
plan
public Company.Builder plan(Company.Plan plan)
-
companyId
public Company.Builder companyId(java.util.Optional<java.lang.String> companyId)
The company id you have defined for the company.
-
companyId
public Company.Builder companyId(java.lang.String companyId)
-
remoteCreatedAt
public Company.Builder remoteCreatedAt(java.util.Optional<java.lang.Integer> remoteCreatedAt)
The time the company was created by you.
-
remoteCreatedAt
public Company.Builder remoteCreatedAt(java.lang.Integer remoteCreatedAt)
-
createdAt
public Company.Builder createdAt(java.util.Optional<java.lang.Integer> createdAt)
The time the company was added in Intercom.
-
createdAt
public Company.Builder createdAt(java.lang.Integer createdAt)
-
updatedAt
public Company.Builder updatedAt(java.util.Optional<java.lang.Integer> updatedAt)
The last time the company was updated.
-
updatedAt
public Company.Builder updatedAt(java.lang.Integer updatedAt)
-
lastRequestAt
public Company.Builder lastRequestAt(java.util.Optional<java.lang.Integer> lastRequestAt)
The time the company last recorded making a request.
-
lastRequestAt
public Company.Builder lastRequestAt(java.lang.Integer lastRequestAt)
-
size
public Company.Builder size(java.util.Optional<java.lang.Integer> size)
The number of employees in the company.
-
size
public Company.Builder size(java.lang.Integer size)
-
website
public Company.Builder website(java.util.Optional<java.lang.String> website)
The URL for the company website.
-
website
public Company.Builder website(java.lang.String website)
-
industry
public Company.Builder industry(java.util.Optional<java.lang.String> industry)
The industry that the company operates in.
-
industry
public Company.Builder industry(java.lang.String industry)
-
monthlySpend
public Company.Builder monthlySpend(java.util.Optional<java.lang.Integer> monthlySpend)
How much revenue the company generates for your business.
-
monthlySpend
public Company.Builder monthlySpend(java.lang.Integer monthlySpend)
-
sessionCount
public Company.Builder sessionCount(java.util.Optional<java.lang.Integer> sessionCount)
How many sessions the company has recorded.
-
sessionCount
public Company.Builder sessionCount(java.lang.Integer sessionCount)
-
userCount
public Company.Builder userCount(java.util.Optional<java.lang.Integer> userCount)
The number of users in the company.
-
userCount
public Company.Builder userCount(java.lang.Integer userCount)
-
customAttributes
public Company.Builder customAttributes(java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> customAttributes)
The custom attributes you have set on the company.
-
customAttributes
public Company.Builder customAttributes(java.util.Map<java.lang.String,java.lang.String> customAttributes)
-
tags
public Company.Builder tags(java.util.Optional<Company.Tags> tags)
The list of tags associated with the company
-
tags
public Company.Builder tags(Company.Tags tags)
-
segments
public Company.Builder segments(java.util.Optional<Company.Segments> segments)
The list of segments associated with the company
-
segments
public Company.Builder segments(Company.Segments segments)
-
notes
public Company.Builder notes(java.util.Optional<Company.Notes> notes)
The list of notes associated with the company
-
notes
public Company.Builder notes(Company.Notes notes)
-
build
public Company build()
-
-