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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTimeDeprecated.getId()voidsetAdminEmail(String adminEmail) voidsetAdminName(String adminName) voidsetAdminPass(String adminPass) voidsetAllowCreateTenants(Boolean allowCreateTenants) voidsetApplications(ApplicationReferenceCollectionRepresentation applications) voidsetCompany(String company) voidsetContactName(String contactName) voidsetContactPhone(String contactPhone) voidsetCreatedDateTime(org.joda.time.DateTime dateCreated) voidsetDateCreated(org.joda.time.DateTime dateCreated) voidvoidvoidsetOwnedApplications(ApplicationReferenceCollectionRepresentation ownedApplications) voidvoidsetSendPasswordResetEmail(Boolean sendPasswordResetEmail) voidvoidsetStorageLimitPerDevice(Long storageLimitPerDevice) voidsetSupportUser(SupportUserDetailsRepresentation supportUser) voidsetTenantPolicyId(GId tenantPolicyId) booleantoJSON()Methods inherited from class com.cumulocity.rest.representation.CustomPropertiesMapRepresentation
getCustomProperties, setCustomPropertiesMethods 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:
toJSONin 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
-