diff options
Diffstat (limited to 'nova-model/src/main/java/com/woorea/openstack/nova/model/Volume.java')
-rw-r--r-- | nova-model/src/main/java/com/woorea/openstack/nova/model/Volume.java | 206 |
1 files changed, 103 insertions, 103 deletions
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Volume.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Volume.java index 50d1c91..453bf24 100644 --- a/nova-model/src/main/java/com/woorea/openstack/nova/model/Volume.java +++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Volume.java @@ -26,107 +26,107 @@ 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<Map<String, Object>> attachments; - - private Map<String, String> 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<Map<String, Object>> getAttachments() { - return attachments; - } - - /** - * @return the metadata - */ - public Map<String, String> getMetadata() { - return metadata; - } - - /** - * @return the createdAt - */ - public String getCreatedAt() { - return createdAt; - } - - /** - * @return the size - */ - public Integer getSize() { - return size; - } - - - + 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<Map<String, Object>> attachments; + + private Map<String, String> 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<Map<String, Object>> getAttachments() { + return attachments; + } + + /** + * @return the metadata + */ + public Map<String, String> getMetadata() { + return metadata; + } + + /** + * @return the createdAt + */ + public String getCreatedAt() { + return createdAt; + } + + /** + * @return the size + */ + public Integer getSize() { + return size; + } + + + } |