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 boolean
canEqual(Object other)
boolean
equals(Object o)
Boolean
getAllowCreateTenants()
ApplicationReferenceCollectionRepresentation
getApplications()
String
getDomainName()
String
getName()
String
getParent()
int
hashCode()
void
setAllowCreateTenants(Boolean allowCreateTenants)
void
setApplications(ApplicationReferenceCollectionRepresentation applications)
void
setDomainName(String domainName)
void
setName(String name)
void
setParent(String parent)
String
toString()
-
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:
toString
in 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)
-
-