Class Image
java.lang.Object
com.woorea.openstack.glance.model.Image
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate Calendarprivate Calendarprivate Stringprivate Stringprivate booleanprivate booleanprivate booleanprivate Integerprivate Integerprivate Stringprivate Stringprivate Longprivate Stringprivate Calendarprivate Stringprivate Long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()getOwner()getSize()getUri()booleanbooleanbooleanisPublic()voidsetChecksum(String checksum) voidsetContainerFormat(String containerFormat) voidsetCreatedAt(Calendar createdAt) voidsetDeleted(boolean isDeleted) voidsetDeletedAt(Calendar deletedAt) voidsetDiskFormat(String diskFormat) voidvoidsetMinDisk(Integer minDisk) voidvoidvoidvoidsetProtected(boolean isProtected) voidsetPublic(boolean isPublic) voidvoidvoidsetUpdatedAt(Calendar updatedAt) voidvoidsetVirtualSize(Long virtualSize) toString()
-
Field Details
-
id
-
uri
-
name
-
diskFormat
-
containerFormat
-
size
-
virtualSize
-
checksum
-
createdAt
-
updatedAt
-
deletedAt
-
status
-
isPublic
private boolean isPublic -
minRam
-
minDisk
-
owner
-
isDeleted
private boolean isDeleted -
isProtected
private boolean isProtected -
properties
-
-
Constructor Details
-
Image
public Image()
-
-
Method Details
-
getId
- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-
getUri
- Returns:
- the uri
-
setUri
- Parameters:
uri- the uri to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getDiskFormat
- Returns:
- the diskFormat
-
setDiskFormat
- Parameters:
diskFormat- the diskFormat to set
-
getContainerFormat
- Returns:
- the containerFormat
-
setContainerFormat
- Parameters:
containerFormat- the containerFormat to set
-
getSize
- Returns:
- the size
-
setSize
- Parameters:
size- the size to set
-
getVirtualSize
- Returns:
- the virtual size
-
setVirtualSize
- Parameters:
virtualSize- the virtual size to set
-
getChecksum
- Returns:
- the checksum
-
setChecksum
- Parameters:
checksum- the checksum to set
-
getCreatedAt
- Returns:
- the createdAt
-
setCreatedAt
- Parameters:
createdAt- the createdAt to set
-
getUpdatedAt
- Returns:
- the updatedAt
-
setUpdatedAt
- Parameters:
updatedAt- the updatedAt to set
-
getDeletedAt
- Returns:
- the deletedAt
-
setDeletedAt
- Parameters:
deletedAt- the deletedAt to set
-
getStatus
- Returns:
- the status
-
setStatus
- Parameters:
status- the status to set
-
isPublic
public boolean isPublic()- Returns:
- the isPublic
-
setPublic
public void setPublic(boolean isPublic) - Parameters:
isPublic- the isPublic to set
-
getMinRam
- Returns:
- the minRam
-
setMinRam
- Parameters:
minRam- the minRam to set
-
getMinDisk
- Returns:
- the minDisk
-
setMinDisk
- Parameters:
minDisk- the minDisk to set
-
getOwner
- Returns:
- the owner
-
setOwner
- Parameters:
owner- the owner to set
-
isDeleted
public boolean isDeleted()- Returns:
- the isDeleted
-
setDeleted
public void setDeleted(boolean isDeleted) - Parameters:
isDeleted- the isDeleted to set
-
isProtected
public boolean isProtected()- Returns:
- the isProtected
-
setProtected
public void setProtected(boolean isProtected) - Parameters:
isProtected- the isProtected to set
-
getProperties
- Returns:
- the properties
-
toString
-