Class VappResponse
java.lang.Object
com.iland.core.web.rest.response.common.EntityResponse
com.iland.core.web.rest.response.vapp.VappResponse
- All Implemented Interfaces:
Serializable
Vapp Response.
- Author:
- Nick Kasprzak
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVappResponse(String uuid, String companyId, Instant createdDate, boolean deleted, Instant deletedDate, String name, Instant updatedDate, String vdcUuid, String orgUuid, String locationId, boolean deployed, String description, Date runtimeLeaseExpiration, Integer runtimeLeaseInSeconds, String status, Date storageLeaseExpiration, Integer storageLeaseInSeconds, Set<String> storageProfiles, String vcloudHref, boolean isExpired, String allocationModel) -
Method Summary
Modifier and TypeMethodDescriptionGet the allocation model.Gets created date.Gets description.Gets location id.Gets org uuid.Get the runtime lease expiration date.Get the runtime lease expiration in seconds.Gets status.Get the storage lease expiration in seconds.Get the storage lease expiration in seconds.Gets storage profiles.Gets vcloud href.booleanIs deployed boolean.booleanWhether vapp is expired.Methods inherited from class com.iland.core.web.rest.response.common.EntityResponse
equals, getCompanyId, getDeletedDate, getName, getUpdatedDate, getUuid, hashCode, isDeleted, toString
-
Constructor Details
-
VappResponse
public VappResponse(String uuid, String companyId, Instant createdDate, boolean deleted, Instant deletedDate, String name, Instant updatedDate, String vdcUuid, String orgUuid, String locationId, boolean deployed, String description, Date runtimeLeaseExpiration, Integer runtimeLeaseInSeconds, String status, Date storageLeaseExpiration, Integer storageLeaseInSeconds, Set<String> storageProfiles, String vcloudHref, boolean isExpired, String allocationModel)
-
-
Method Details
-
isDeployed
public boolean isDeployed()Is deployed boolean.- Returns:
- the boolean
-
getStatus
Gets status.- Returns:
- the status
-
getStorageProfiles
Gets storage profiles.- Returns:
- the storage profiles
-
getRuntimeLeaseInSeconds
Get the runtime lease expiration in seconds.- Returns:
Integerseconds to expiration of lease
-
getStorageLeaseInSeconds
Get the storage lease expiration in seconds.- Returns:
Integerseconds to expiration of lease
-
getStorageLeaseExpiration
Get the storage lease expiration in seconds.- Returns:
Dateexpiration
-
getRuntimeLeaseExpiration
Get the runtime lease expiration date.- Returns:
Dateexpiration
-
getVdcUuid
-
getLocationId
Gets location id.- Returns:
- the location id
-
getOrgUuid
Gets org uuid.- Returns:
- the org uuid
-
getDescription
Gets description.- Returns:
- the description
-
getVcloudHref
Gets vcloud href.- Returns:
- the vcloud href
-
getCreatedDate
Gets created date.- Returns:
- the created date
-
isExpired
public boolean isExpired()Whether vapp is expired.- Returns:
- is vapp expired
-
getAllocationModel
Get the allocation model.- Returns:
Stringallocation model
-