Class Company
- java.lang.Object
-
- com.intercom.api.resources.companies.types.Company
-
public final class Company extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCompany._FinalStagestatic interfaceCompany.AppIdStagestatic classCompany.Builderstatic interfaceCompany.CompanyIdStagestatic interfaceCompany.CreatedAtStagestatic interfaceCompany.IdStagestatic interfaceCompany.MonthlySpendStagestatic interfaceCompany.NameStagestatic classCompany.Planstatic classCompany.Segmentsstatic interfaceCompany.SessionCountStagestatic classCompany.Tagsstatic interfaceCompany.UpdatedAtStagestatic interfaceCompany.UserCountStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Company.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetAppId()java.lang.StringgetCompanyId()intgetCreatedAt()java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>>getCustomAttributes()java.lang.StringgetId()java.util.Optional<java.lang.String>getIndustry()java.util.Optional<java.lang.Integer>getLastRequestAt()intgetMonthlySpend()java.lang.StringgetName()java.util.Optional<Company.Plan>getPlan()java.util.Optional<java.lang.Integer>getRemoteCreatedAt()java.util.Optional<Company.Segments>getSegments()intgetSessionCount()java.util.Optional<java.lang.Integer>getSize()java.util.Optional<Company.Tags>getTags()java.util.Optional<java.lang.String>getType()intgetUpdatedAt()intgetUserCount()java.util.Optional<java.lang.String>getWebsite()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.util.Optional<java.lang.String> getType()
- Returns:
- Value is
company
-
getId
public java.lang.String getId()
- Returns:
- The Intercom defined id representing the company.
-
getName
public java.lang.String getName()
- Returns:
- The name of the company.
-
getAppId
public java.lang.String getAppId()
- Returns:
- The Intercom defined code of the workspace the company is associated to.
-
getPlan
public java.util.Optional<Company.Plan> getPlan()
-
getCompanyId
public java.lang.String getCompanyId()
- Returns:
- The company id you have defined for the company.
-
getRemoteCreatedAt
public java.util.Optional<java.lang.Integer> getRemoteCreatedAt()
- Returns:
- The time the company was created by you.
-
getCreatedAt
public int getCreatedAt()
- Returns:
- The time the company was added in Intercom.
-
getUpdatedAt
public int getUpdatedAt()
- Returns:
- The last time the company was updated.
-
getLastRequestAt
public java.util.Optional<java.lang.Integer> getLastRequestAt()
- Returns:
- The time the company last recorded making a request.
-
getSize
public java.util.Optional<java.lang.Integer> getSize()
- Returns:
- The number of employees in the company.
-
getWebsite
public java.util.Optional<java.lang.String> getWebsite()
- Returns:
- The URL for the company website.
-
getIndustry
public java.util.Optional<java.lang.String> getIndustry()
- Returns:
- The industry that the company operates in.
-
getMonthlySpend
public int getMonthlySpend()
- Returns:
- How much revenue the company generates for your business.
-
getSessionCount
public int getSessionCount()
- Returns:
- How many sessions the company has recorded.
-
getUserCount
public int getUserCount()
- Returns:
- The number of users in the company.
-
getCustomAttributes
public java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> getCustomAttributes()
- Returns:
- The custom attributes you have set on the company.
-
getTags
public java.util.Optional<Company.Tags> getTags()
- Returns:
- The list of tags associated with the company
-
getSegments
public java.util.Optional<Company.Segments> getSegments()
- Returns:
- The list of segments associated with the company
-
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 Company.IdStage builder()
-
-