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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
Deprecated.getId()
void
setAdminEmail
(String adminEmail) void
setAdminName
(String adminName) void
setAdminPass
(String adminPass) void
setAllowCreateTenants
(Boolean allowCreateTenants) void
setApplications
(ApplicationReferenceCollectionRepresentation applications) void
setCompany
(String company) void
setContactName
(String contactName) void
setContactPhone
(String contactPhone) void
setCreatedDateTime
(org.joda.time.DateTime dateCreated) void
setDateCreated
(org.joda.time.DateTime dateCreated) void
void
void
setOwnedApplications
(ApplicationReferenceCollectionRepresentation ownedApplications) void
void
setSendPasswordResetEmail
(Boolean sendPasswordResetEmail) void
void
setStorageLimitPerDevice
(Long storageLimitPerDevice) void
setSupportUser
(SupportUserDetailsRepresentation supportUser) void
setTenantPolicyId
(GId tenantPolicyId) boolean
toJSON()
Methods inherited from class com.cumulocity.rest.representation.CustomPropertiesMapRepresentation
getCustomProperties, setCustomProperties
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toString
-
Constructor Details
-
TenantRepresentation
public TenantRepresentation()
-
-
Method Details
-
getId
-
setId
-
getDomain
-
setDomain
-
getStatus
-
setStatus
-
getCompany
-
setCompany
-
getContactName
-
setContactName
-
getContactPhone
-
setContactPhone
-
getApplications
@JSONProperty(ignoreIfNull=true) public ApplicationReferenceCollectionRepresentation getApplications() -
setApplications
-
getOwnedApplications
@JSONProperty(ignoreIfNull=true) public ApplicationReferenceCollectionRepresentation getOwnedApplications() -
setOwnedApplications
-
getAdminName
-
setAdminName
-
getAdminPass
-
setAdminPass
-
getAdminEmail
-
setAdminEmail
-
getSendPasswordResetEmail
-
shouldSendPasswordResetEmail
@JSONProperty(ignore=true) public boolean shouldSendPasswordResetEmail() -
setSendPasswordResetEmail
-
getSupportUser
-
setSupportUser
-
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
- Overrides:
toJSON
in classBaseResourceRepresentation
-
getParent
-
setParent
-
getAllowCreateTenants
-
setAllowCreateTenants
-
getStorageLimitPerDevice
-
setStorageLimitPerDevice
-
setDateCreated
public void setDateCreated(org.joda.time.DateTime dateCreated) -
getTenantPolicyId
@JSONProperty(ignoreIfNull=true) @JSONConverter(type=IDTypeConverter.class) public GId getTenantPolicyId() -
setTenantPolicyId
-