Class MediaResponse
java.lang.Object
com.iland.core.web.rest.response.common.EntityResponse
com.iland.core.web.rest.response.media.MediaResponse
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PublicMediaResponse
MediaResponse.
- Author:
- Ari Quinones
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMediaResponse(String uuid, String companyId, String name, boolean deleted, Instant deletedDate, Instant updatedDate, int status, double size, boolean isPublic, String locationId, String orgUuid, String catalogUuid, String storageProfileUuid, String vdcUuid, String description, String vcloudHref, Instant createdDate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the catalog uuid of media responseGet the created date of media responseGet media response descriptionGet the location id of media responseGet the org uuid of media responsedoublegetSize()Get the size of media responseintGet status of media responseGet the storage profile uuid of media responseGet the vcloud href of media responseGet the vdc uuid of media responseinthashCode()booleanisPublic()Get is public of media responsetoString()Methods inherited from class com.iland.core.web.rest.response.common.EntityResponse
getCompanyId, getDeletedDate, getName, getUpdatedDate, getUuid, isDeleted
-
Constructor Details
-
MediaResponse
public MediaResponse(String uuid, String companyId, String name, boolean deleted, Instant deletedDate, Instant updatedDate, int status, double size, boolean isPublic, String locationId, String orgUuid, String catalogUuid, String storageProfileUuid, String vdcUuid, String description, String vcloudHref, Instant createdDate)
-
-
Method Details
-
getStatus
public int getStatus()Get status of media response- Returns:
intstatus
-
getSize
public double getSize()Get the size of media response- Returns:
doublesize
-
isPublic
public boolean isPublic()Get is public of media response- Returns:
booleanis public
-
getLocationId
Get the location id of media response- Returns:
Stringlocation id
-
getOrgUuid
Get the org uuid of media response- Returns:
Stringorg uuid
-
getCatalogUuid
Get the catalog uuid of media response- Returns:
Stringcatalog uuid
-
getStorageProfileUuid
Get the storage profile uuid of media response- Returns:
Stringstorage profile uuid
-
getVdcUuid
Get the vdc uuid of media response- Returns:
Stringvdc uuid
-
getDescription
Get media response description- Returns:
Stringdescription
-
getVcloudHref
Get the vcloud href of media response- Returns:
Stringvcloud href
-
getCreatedDate
Get the created date of media response- Returns:
Instantcreated date
-
equals
- Overrides:
equalsin classEntityResponse
-
hashCode
public int hashCode()- Overrides:
hashCodein classEntityResponse
-
toString
- Overrides:
toStringin classEntityResponse
-