package com.woorea.openstack.nova.model; import java.io.Serializable; import java.util.List; import java.util.Map; import org.codehaus.jackson.annotate.JsonProperty; import org.codehaus.jackson.map.annotate.JsonRootName; @JsonRootName("volume") public class Volume implements Serializable { private String id; private String status; @JsonProperty("displayName") private String name; @JsonProperty("displayDescription") private String description; private String availabilityZone; private String volumeType; private String snapshotId; private List> attachments; private Map metadata; private String createdAt; private Integer size; /** * @return the id */ public String getId() { return id; } /** * @return the status */ public String getStatus() { return status; } /** * @return the name */ public String getName() { return name; } /** * @return the description */ public String getDescription() { return description; } /** * @return the availabilityZone */ public String getAvailabilityZone() { return availabilityZone; } /** * @return the volumeType */ public String getVolumeType() { return volumeType; } /** * @return the snapshotId */ public String getSnapshotId() { return snapshotId; } /** * @return the attachments */ public List> getAttachments() { return attachments; } /** * @return the metadata */ public Map getMetadata() { return metadata; } /** * @return the createdAt */ public String getCreatedAt() { return createdAt; } /** * @return the size */ public Integer getSize() { return size; } }