diff options
author | seshukm <seshu.kumar.m@huawei.com> | 2018-07-25 18:27:32 +0800 |
---|---|---|
committer | seshukm <seshu.kumar.m@huawei.com> | 2018-07-25 18:27:32 +0800 |
commit | 0d4bde1f33803d48c40345ae7b3dfe626752becb (patch) | |
tree | ce3264e46bd41ad89b226728925e6bc4eb32affa /nova-model/src/main/java/com/woorea/openstack/nova/model/Snapshot.java | |
parent | 740b4d010990734eced5ca97938bc6b6d5124721 (diff) |
basic code Issues of nova model
Issue-ID: SO-729
Change-Id: Ib2081aedf0fd9686977f44be9a94af5215e3394f
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'nova-model/src/main/java/com/woorea/openstack/nova/model/Snapshot.java')
-rw-r--r-- | nova-model/src/main/java/com/woorea/openstack/nova/model/Snapshot.java | 136 |
1 files changed, 68 insertions, 68 deletions
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Snapshot.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Snapshot.java index 2fb547b..c51ab62 100644 --- a/nova-model/src/main/java/com/woorea/openstack/nova/model/Snapshot.java +++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Snapshot.java @@ -24,80 +24,80 @@ import org.codehaus.jackson.map.annotate.JsonRootName; @JsonRootName("snapshot") public class Snapshot implements Serializable { - private String id; - - private String status; - - @JsonProperty("displayName") - private String name; - - @JsonProperty("displayDescription") - private String description; - - private String volumeId; - - private Integer size; - - private String createdAt; + private String id; + + private String status; + + @JsonProperty("displayName") + private String name; + + @JsonProperty("displayDescription") + private String description; + + private String volumeId; + + private Integer size; + + private String createdAt; - /** - * @return the id - */ - public String getId() { - return id; - } + /** + * @return the id + */ + public String getId() { + return id; + } - /** - * @return the status - */ - public String getStatus() { - return status; - } + /** + * @return the status + */ + public String getStatus() { + return status; + } - /** - * @return the name - */ - public String getName() { - return name; - } + /** + * @return the name + */ + public String getName() { + return name; + } - /** - * @return the description - */ - public String getDescription() { - return description; - } + /** + * @return the description + */ + public String getDescription() { + return description; + } - /** - * @return the volumeId - */ - public String getVolumeId() { - return volumeId; - } + /** + * @return the volumeId + */ + public String getVolumeId() { + return volumeId; + } - /** - * @return the size - */ - public Integer getSize() { - return size; - } + /** + * @return the size + */ + public Integer getSize() { + return size; + } - /** - * @return the createdAt - */ - public String getCreatedAt() { - return createdAt; - } + /** + * @return the createdAt + */ + public String getCreatedAt() { + return createdAt; + } - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return "Snapshot [id=" + id + ", status=" + status + ", displayName=" - + name + ", displayDescription=" + description - + ", volumeId=" + volumeId + ", size=" + size + ", createdAt=" - + createdAt + "]"; - } - + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + return "Snapshot [id=" + id + ", status=" + status + ", displayName=" + + name + ", displayDescription=" + description + + ", volumeId=" + volumeId + ", size=" + size + ", createdAt=" + + createdAt + "]"; + } + } |