Class CompanyResponse
java.lang.Object
com.iland.core.web.rest.response.common.EntityResponse
com.iland.core.web.rest.response.company.CompanyResponse
- All Implemented Interfaces:
Serializable
Company Response.
- Author:
- Nick Kasprzak
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompanyResponse(String uuid, String name, boolean deleted, Instant deletedDate, Instant updatedDate, boolean hasIaas, boolean hasVcc, boolean hasVccr, boolean hasO365, boolean hasCeph, boolean hasConnectivity, boolean hasAwsS3, boolean hasLicense, DomainResponse domain, CompanyHeaderResponse parentCompany, List<CompanyHeaderResponse> childCompanies) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the list of child companies.Get the company domain.com.iland.common.entity.EntityTypeGet the entity type.Get the parent company header.booleanhasAwsS3()Indicates whether the company has AWS S3.booleanIndicates whether the company has Connectivity.inthashCode()booleanhasIaas()Indicates whether this company has any IaaS assets.booleanIndicates whether the company has Licenses.booleanhasO365()Indicates whether the company has Office 365 backups.booleanhasVcc()Indicates whether this company has any VCC assets.booleanhasVccr()Indicates whether this company has any VCC-R assets.booleanIndicates whether the company has Ceph object storage or not.toString()Methods inherited from class com.iland.core.web.rest.response.common.EntityResponse
getCompanyId, getDeletedDate, getName, getUpdatedDate, getUuid, isDeleted
-
Constructor Details
-
CompanyResponse
public CompanyResponse(String uuid, String name, boolean deleted, Instant deletedDate, Instant updatedDate, boolean hasIaas, boolean hasVcc, boolean hasVccr, boolean hasO365, boolean hasCeph, boolean hasConnectivity, boolean hasAwsS3, boolean hasLicense, DomainResponse domain, CompanyHeaderResponse parentCompany, List<CompanyHeaderResponse> childCompanies)
-
-
Method Details
-
hasIaas
public boolean hasIaas()Indicates whether this company has any IaaS assets.- Returns:
- boolean value
-
hasVccr
public boolean hasVccr()Indicates whether this company has any VCC-R assets.- Returns:
- boolean value
-
hasVcc
public boolean hasVcc()Indicates whether this company has any VCC assets.- Returns:
- boolean value
-
hasO365
public boolean hasO365()Indicates whether the company has Office 365 backups.- Returns:
- boolean value
-
isHasCeph
public boolean isHasCeph()Indicates whether the company has Ceph object storage or not.- Returns:
- boolean value
-
hasConnectivity
public boolean hasConnectivity()Indicates whether the company has Connectivity. -
hasAwsS3
public boolean hasAwsS3()Indicates whether the company has AWS S3. -
hasLicense
public boolean hasLicense()Indicates whether the company has Licenses. -
getEntityType
public com.iland.common.entity.EntityType getEntityType()Get the entity type.- Returns:
- entity type
-
getDomain
Get the company domain.- Returns:
DomainResponsecompany domain
-
getParentCompany
Get the parent company header.- Returns:
Stringparent company header
-
getChildCompanies
Get the list of child companies.- Returns:
- list of
CompanyHeaderResponse
-
equals
- Overrides:
equalsin classEntityResponse
-
hashCode
public int hashCode()- Overrides:
hashCodein classEntityResponse
-
toString
- Overrides:
toStringin classEntityResponse
-