Class Image
java.lang.Object
com.woorea.openstack.glance.model.Image
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private String
private Calendar
private Calendar
private String
private String
private boolean
private boolean
private boolean
private Integer
private Integer
private String
private String
private Long
private String
private Calendar
private String
private Long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
getOwner()
getSize()
getUri()
boolean
boolean
boolean
isPublic()
void
setChecksum
(String checksum) void
setContainerFormat
(String containerFormat) void
setCreatedAt
(Calendar createdAt) void
setDeleted
(boolean isDeleted) void
setDeletedAt
(Calendar deletedAt) void
setDiskFormat
(String diskFormat) void
void
setMinDisk
(Integer minDisk) void
void
void
void
setProtected
(boolean isProtected) void
setPublic
(boolean isPublic) void
void
void
setUpdatedAt
(Calendar updatedAt) void
void
setVirtualSize
(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
-