Class TenantRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.CustomPropertiesMapRepresentation
-
- com.cumulocity.rest.representation.tenant.TenantRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
public class TenantRepresentation extends CustomPropertiesMapRepresentation
-
-
Constructor Summary
Constructors Constructor Description TenantRepresentation()
-
Method Summary
-
Methods inherited from class com.cumulocity.rest.representation.CustomPropertiesMapRepresentation
getCustomProperties, setCustomProperties
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toString
-
-
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getDomain
@JSONProperty(ignoreIfNull=true) public String getDomain()
-
setDomain
public void setDomain(String domain)
-
getStatus
@JSONProperty(ignoreIfNull=true) public String getStatus()
-
setStatus
public void setStatus(String status)
-
getCompany
@JSONProperty(ignoreIfNull=true) public String getCompany()
-
setCompany
public void setCompany(String company)
-
getContactName
@JSONProperty(ignoreIfNull=true) public String getContactName()
-
setContactName
public void setContactName(String contactName)
-
getContactPhone
@JSONProperty(ignoreIfNull=true) public String getContactPhone()
-
setContactPhone
public void setContactPhone(String contactPhone)
-
getApplications
@JSONProperty(ignoreIfNull=true) public ApplicationReferenceCollectionRepresentation getApplications()
-
setApplications
public void setApplications(ApplicationReferenceCollectionRepresentation applications)
-
getOwnedApplications
@JSONProperty(ignoreIfNull=true) public ApplicationReferenceCollectionRepresentation getOwnedApplications()
-
setOwnedApplications
public void setOwnedApplications(ApplicationReferenceCollectionRepresentation ownedApplications)
-
getAdminName
@JSONProperty(ignoreIfNull=true) public String getAdminName()
-
setAdminName
public void setAdminName(String adminName)
-
getAdminPass
@JSONProperty(ignoreIfNull=true) public String getAdminPass()
-
setAdminPass
public void setAdminPass(String adminPass)
-
getAdminEmail
@JSONProperty(ignoreIfNull=true) public String getAdminEmail()
-
setAdminEmail
public void setAdminEmail(String adminEmail)
-
getSendPasswordResetEmail
@JSONProperty(ignoreIfNull=true) public Boolean getSendPasswordResetEmail()
-
shouldSendPasswordResetEmail
@JSONProperty(ignore=true) public boolean shouldSendPasswordResetEmail()
-
setSendPasswordResetEmail
public void setSendPasswordResetEmail(Boolean sendPasswordResetEmail)
-
getSupportUser
@JSONProperty(ignoreIfNull=true) public SupportUserDetailsRepresentation getSupportUser()
-
setSupportUser
public void setSupportUser(SupportUserDetailsRepresentation supportUser)
-
getDateCreated
@JSONProperty(value="deprecated_DateCreated", ignore=true) @Deprecated public Date getDateCreated()
Deprecated.
-
getCreatedDateTime
@JSONProperty(value="creationTime", ignoreIfNull=true) @JSONConverter(type=DateTimeConverter.class) public org.joda.time.DateTime getCreatedDateTime()
-
setCreatedDateTime
public void setCreatedDateTime(org.joda.time.DateTime dateCreated)
-
toJSON
public String toJSON()
- Overrides:
toJSON
in classBaseResourceRepresentation
-
getParent
@JSONProperty(ignoreIfNull=true) public String getParent()
-
setParent
public void setParent(String parent)
-
getAllowCreateTenants
@JSONProperty(ignoreIfNull=true) public Boolean getAllowCreateTenants()
-
setAllowCreateTenants
public void setAllowCreateTenants(Boolean allowCreateTenants)
-
getStorageLimitPerDevice
@JSONProperty(ignoreIfNull=true) public Long getStorageLimitPerDevice()
-
setStorageLimitPerDevice
public void setStorageLimitPerDevice(Long storageLimitPerDevice)
-
setDateCreated
public void setDateCreated(org.joda.time.DateTime dateCreated)
-
getTenantPolicyId
@JSONProperty(ignoreIfNull=true) @JSONConverter(type=IDTypeConverter.class) public GId getTenantPolicyId()
-
setTenantPolicyId
public void setTenantPolicyId(GId tenantPolicyId)
-
-