Class CurrentTenantRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.CustomPropertiesMapRepresentation
-
- com.cumulocity.rest.representation.user.CurrentTenantRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
public class CurrentTenantRepresentation extends CustomPropertiesMapRepresentation
-
-
Constructor Summary
Constructors Constructor Description CurrentTenantRepresentation()CurrentTenantRepresentation(String name, String parent, String domainName, Boolean allowCreateTenants, ApplicationReferenceCollectionRepresentation applications)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)BooleangetAllowCreateTenants()ApplicationReferenceCollectionRepresentationgetApplications()StringgetDomainName()StringgetName()StringgetParent()inthashCode()voidsetAllowCreateTenants(Boolean allowCreateTenants)voidsetApplications(ApplicationReferenceCollectionRepresentation applications)voidsetDomainName(String domainName)voidsetName(String name)voidsetParent(String parent)StringtoString()-
Methods inherited from class com.cumulocity.rest.representation.CustomPropertiesMapRepresentation
getCustomProperties, setCustomProperties
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON
-
-
-
-
Constructor Detail
-
CurrentTenantRepresentation
public CurrentTenantRepresentation()
-
CurrentTenantRepresentation
public CurrentTenantRepresentation(String name, String parent, String domainName, Boolean allowCreateTenants, ApplicationReferenceCollectionRepresentation applications)
-
-
Method Detail
-
canEqual
protected boolean canEqual(Object other)
-
toString
public String toString()
- Overrides:
toStringin classBaseResourceRepresentation
-
getName
@JSONProperty(ignoreIfNull=true) public String getName()
-
setName
public void setName(String name)
-
getParent
@JSONProperty(ignoreIfNull=true) public String getParent()
-
setParent
public void setParent(String parent)
-
getDomainName
@JSONProperty(ignoreIfNull=true) public String getDomainName()
-
setDomainName
public void setDomainName(String domainName)
-
getAllowCreateTenants
@JSONProperty(ignoreIfNull=true) public Boolean getAllowCreateTenants()
-
setAllowCreateTenants
public void setAllowCreateTenants(Boolean allowCreateTenants)
-
getApplications
@JSONProperty(ignoreIfNull=true) public ApplicationReferenceCollectionRepresentation getApplications()
-
setApplications
public void setApplications(ApplicationReferenceCollectionRepresentation applications)
-
-