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

public class CompanyResponse extends EntityResponse
Company Response.
Author:
Nick Kasprzak
See Also:
  • Constructor Details

  • 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

      public DomainResponse getDomain()
      Get the company domain.
      Returns:
      DomainResponse company domain
    • getParentCompany

      public CompanyHeaderResponse getParentCompany()
      Get the parent company header.
      Returns:
      String parent company header
    • getChildCompanies

      public List<CompanyHeaderResponse> getChildCompanies()
      Get the list of child companies.
      Returns:
      list of CompanyHeaderResponse
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class EntityResponse
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class EntityResponse
    • toString

      public String toString()
      Overrides:
      toString in class EntityResponse