Package com.intercom.api.types
Class UpdateCompanyRequestBody.Builder
- java.lang.Object
-
- com.intercom.api.types.UpdateCompanyRequestBody.Builder
-
- Enclosing class:
- UpdateCompanyRequestBody
public static final class UpdateCompanyRequestBody.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateCompanyRequestBodybuild()UpdateCompanyRequestBody.BuildercustomAttributes(java.util.Map<java.lang.String,java.lang.String> customAttributes)UpdateCompanyRequestBody.BuildercustomAttributes(java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> customAttributes)A hash of key/value pairs containing any other data about the company you want Intercom to store.UpdateCompanyRequestBody.Builderfrom(UpdateCompanyRequestBody other)UpdateCompanyRequestBody.Builderindustry(java.lang.String industry)UpdateCompanyRequestBody.Builderindustry(java.util.Optional<java.lang.String> industry)The industry that this company operates in.UpdateCompanyRequestBody.BuildermonthlySpend(java.lang.Integer monthlySpend)UpdateCompanyRequestBody.BuildermonthlySpend(java.util.Optional<java.lang.Integer> monthlySpend)How much revenue the company generates for your business.UpdateCompanyRequestBody.Buildername(java.lang.String name)UpdateCompanyRequestBody.Buildername(java.util.Optional<java.lang.String> name)The name of the CompanyUpdateCompanyRequestBody.Builderplan(java.lang.String plan)UpdateCompanyRequestBody.Builderplan(java.util.Optional<java.lang.String> plan)The name of the plan you have associated with the company.UpdateCompanyRequestBody.Buildersize(java.lang.Integer size)UpdateCompanyRequestBody.Buildersize(java.util.Optional<java.lang.Integer> size)The number of employees in this company.UpdateCompanyRequestBody.Builderwebsite(java.lang.String website)UpdateCompanyRequestBody.Builderwebsite(java.util.Optional<java.lang.String> website)The URL for this company's website.
-
-
-
Method Detail
-
from
public UpdateCompanyRequestBody.Builder from(UpdateCompanyRequestBody other)
-
name
public UpdateCompanyRequestBody.Builder name(java.util.Optional<java.lang.String> name)
The name of the Company
-
name
public UpdateCompanyRequestBody.Builder name(java.lang.String name)
-
plan
public UpdateCompanyRequestBody.Builder plan(java.util.Optional<java.lang.String> plan)
The name of the plan you have associated with the company.
-
plan
public UpdateCompanyRequestBody.Builder plan(java.lang.String plan)
-
size
public UpdateCompanyRequestBody.Builder size(java.util.Optional<java.lang.Integer> size)
The number of employees in this company.
-
size
public UpdateCompanyRequestBody.Builder size(java.lang.Integer size)
-
website
public UpdateCompanyRequestBody.Builder website(java.util.Optional<java.lang.String> website)
The URL for this company's website. Please note that the value specified here is not validated. Accepts any string.
-
website
public UpdateCompanyRequestBody.Builder website(java.lang.String website)
-
industry
public UpdateCompanyRequestBody.Builder industry(java.util.Optional<java.lang.String> industry)
The industry that this company operates in.
-
industry
public UpdateCompanyRequestBody.Builder industry(java.lang.String industry)
-
customAttributes
public UpdateCompanyRequestBody.Builder customAttributes(java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> customAttributes)
A hash of key/value pairs containing any other data about the company you want Intercom to store.
-
customAttributes
public UpdateCompanyRequestBody.Builder customAttributes(java.util.Map<java.lang.String,java.lang.String> customAttributes)
-
monthlySpend
public UpdateCompanyRequestBody.Builder monthlySpend(java.util.Optional<java.lang.Integer> monthlySpend)
How much revenue the company generates for your business. Note that this will truncate floats. i.e. it only allow for whole integers, 155.98 will be truncated to 155. Note that this has an upper limit of 2**31-1 or 2147483647..
-
monthlySpend
public UpdateCompanyRequestBody.Builder monthlySpend(java.lang.Integer monthlySpend)
-
build
public UpdateCompanyRequestBody build()
-
-