Package com.intercom.api.types
Class CreateOrUpdateCompanyRequest
- java.lang.Object
-
- com.intercom.api.types.CreateOrUpdateCompanyRequest
-
public final class CreateOrUpdateCompanyRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateOrUpdateCompanyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateOrUpdateCompanyRequest.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.String>getCompanyId()java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>>getCustomAttributes()java.util.Optional<java.lang.String>getIndustry()java.util.Optional<java.lang.Integer>getMonthlySpend()java.util.Optional<java.lang.String>getName()java.util.Optional<java.lang.String>getPlan()java.util.Optional<java.lang.Integer>getRemoteCreatedAt()java.util.Optional<java.lang.Integer>getSize()java.util.Optional<java.lang.String>getWebsite()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.util.Optional<java.lang.String> getName()
- Returns:
- The name of the Company
-
getCompanyId
public java.util.Optional<java.lang.String> getCompanyId()
- Returns:
- The company id you have defined for the company. Can't be updated
-
getPlan
public java.util.Optional<java.lang.String> getPlan()
- Returns:
- The name of the plan you have associated with the company.
-
getSize
public java.util.Optional<java.lang.Integer> getSize()
- Returns:
- The number of employees in this company.
-
getWebsite
public java.util.Optional<java.lang.String> getWebsite()
- Returns:
- The URL for this company's website. Please note that the value specified here is not validated. Accepts any string.
-
getIndustry
public java.util.Optional<java.lang.String> getIndustry()
- Returns:
- The industry that this company operates in.
-
getCustomAttributes
public java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> getCustomAttributes()
- Returns:
- A hash of key/value pairs containing any other data about the company you want Intercom to store.
-
getRemoteCreatedAt
public java.util.Optional<java.lang.Integer> getRemoteCreatedAt()
- Returns:
- The time the company was created by you.
-
getMonthlySpend
public java.util.Optional<java.lang.Integer> getMonthlySpend()
- Returns:
- 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..
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static CreateOrUpdateCompanyRequest.Builder builder()
-
-