Class VacCompanyQuotaStatusResponse
java.lang.Object
com.iland.core.web.rest.response.company.VacCompanyQuotaStatusResponse
- All Implemented Interfaces:
Serializable
Company Vac Storage Info Response.
- Author:
- Nick Kasprzak
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVacCompanyQuotaStatusResponse(long totalStorageQuota, long usedStorageQuota, long totalContractedQuota, long numberOfContracts, boolean isLocationAWSOnly) -
Method Summary
Modifier and TypeMethodDescriptionlongGet the number of contracts for a given company.longGet the total contracted storage quota for the company in GB.longGet the total storage quota for the company in GB.longGet the used storage quota for the company in GB.boolean
-
Constructor Details
-
VacCompanyQuotaStatusResponse
public VacCompanyQuotaStatusResponse(long totalStorageQuota, long usedStorageQuota, long totalContractedQuota, long numberOfContracts, boolean isLocationAWSOnly)
-
-
Method Details
-
getTotalStorageQuota
public long getTotalStorageQuota()Get the total storage quota for the company in GB. The total storage quota is a summation of all the VAC companies total storage.- Returns:
- total storage quota
-
getUsedStorageQuota
public long getUsedStorageQuota()Get the used storage quota for the company in GB. The used storage quota is a summation of all the VAC companies used storage.- Returns:
- used storage quota
-
getTotalContractedQuota
public long getTotalContractedQuota()Get the total contracted storage quota for the company in GB.- Returns:
- total contracted quota
-
getNumberOfContracts
public long getNumberOfContracts()Get the number of contracts for a given company.- Returns:
- number of contracts
-
isLocationAwsOnly
public boolean isLocationAwsOnly()
-