Package com.moesif.api.models
Class CompanyModel
- java.lang.Object
-
- com.moesif.api.models.CompanyModel
-
- All Implemented Interfaces:
Serializable
public class CompanyModel extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompanyModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CampaignModelgetCampaign()GETTER the campaign objectStringgetCompanyDomain()GETTER Company DomainStringgetCompanyId()GETTER User's company_id stringStringgetIpAddress()GETTER Last seen IP Address of the user if knownObjectgetMetadata()GETTER Custom company metadata as a JSON objectDategetModifiedTime()GETTER Timestamp of when user was updated.StringgetSessionToken()GETTER End user's auth/session tokenvoidsetCampaign(CampaignModel value)SETTER the campaign objectvoidsetCompanyDomain(String value)SETTER Company DomainvoidsetCompanyId(String value)SETTER User's company_id stringvoidsetIpAddress(String value)SETTER Last seen IP Address of the user if knownvoidsetMetadata(Object value)SETTER Custom company metadata as a JSON objectvoidsetModifiedTime(Date value)SETTER Timestamp of when user was updated.voidsetSessionToken(String value)SETTER End user's auth/session token
-
-
-
Method Detail
-
getCompanyId
public String getCompanyId()
GETTER User's company_id string- Returns:
- the value
-
setCompanyId
public void setCompanyId(String value)
SETTER User's company_id string- Parameters:
value- the value to set
-
getModifiedTime
public Date getModifiedTime()
GETTER Timestamp of when user was updated. (Moesif will use the current time if not set)- Returns:
- the value
-
setModifiedTime
public void setModifiedTime(Date value)
SETTER Timestamp of when user was updated. (Moesif will use the current time if not set)- Parameters:
value- the value to set
-
getIpAddress
public String getIpAddress()
GETTER Last seen IP Address of the user if known- Returns:
- the value
-
setIpAddress
public void setIpAddress(String value)
SETTER Last seen IP Address of the user if known- Parameters:
value- the value to set
-
getSessionToken
public String getSessionToken()
GETTER End user's auth/session token- Returns:
- the value
-
setSessionToken
public void setSessionToken(String value)
SETTER End user's auth/session token- Parameters:
value- the value to set
-
getCompanyDomain
public String getCompanyDomain()
GETTER Company Domain- Returns:
- the value
-
setCompanyDomain
public void setCompanyDomain(String value)
SETTER Company Domain- Parameters:
value- the value to set
-
getMetadata
public Object getMetadata()
GETTER Custom company metadata as a JSON object- Returns:
- the value
-
setMetadata
public void setMetadata(Object value)
SETTER Custom company metadata as a JSON object- Parameters:
value- the value to set
-
getCampaign
public CampaignModel getCampaign()
GETTER the campaign object- Returns:
- the value
-
setCampaign
public void setCampaign(CampaignModel value)
SETTER the campaign object- Parameters:
value- the value to set
-
-