Package com.woorea.openstack.nova.model
Class Image
- java.lang.Object
-
- com.woorea.openstack.nova.model.Image
-
- All Implemented Interfaces:
Serializable
public class Image extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImage.Server
-
Constructor Summary
Constructors Constructor Description Image()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CalendargetCreated()StringgetId()List<Link>getLinks()Map<String,String>getMetadata()IntegergetMinDisk()IntegergetMinRam()StringgetName()IntegergetProgress()Image.ServergetServer()LonggetSize()StringgetStatus()CalendargetUpdated()voidsetCreated(Calendar created)voidsetId(String id)voidsetLinks(List<Link> links)voidsetMetadata(Map<String,String> metadata)voidsetMinDisk(Integer minDisk)voidsetMinRam(Integer minRam)voidsetName(String name)voidsetProgress(Integer progress)voidsetStatus(String status)voidsetUpdated(Calendar updated)StringtoString()
-
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the id
-
setId
public void setId(String id)
- Parameters:
id- the id to set
-
getStatus
public String getStatus()
- Returns:
- the status
-
setStatus
public void setStatus(String status)
- Parameters:
status- the status to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
getProgress
public Integer getProgress()
- Returns:
- the progress
-
setProgress
public void setProgress(Integer progress)
- Parameters:
progress- the progress to set
-
getMinRam
public Integer getMinRam()
- Returns:
- the minRam
-
setMinRam
public void setMinRam(Integer minRam)
- Parameters:
minRam- the minRam to set
-
getMinDisk
public Integer getMinDisk()
- Returns:
- the minDisk
-
setMinDisk
public void setMinDisk(Integer minDisk)
- Parameters:
minDisk- the minDisk to set
-
getCreated
public Calendar getCreated()
- Returns:
- the created
-
setCreated
public void setCreated(Calendar created)
- Parameters:
created- the created to set
-
getUpdated
public Calendar getUpdated()
- Returns:
- the updated
-
setUpdated
public void setUpdated(Calendar updated)
- Parameters:
updated- the updated to set
-
getSize
public Long getSize()
- Returns:
- the size
-
setMetadata
public void setMetadata(Map<String,String> metadata)
- Parameters:
metadata- the metadata to set
-
getServer
public Image.Server getServer()
- Returns:
- the server
-
-