diff options
Diffstat (limited to 'glance-model')
-rw-r--r-- | glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java b/glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java index aa7be87..924d274 100644 --- a/glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java +++ b/glance-model/src/main/java/com/woorea/openstack/glance/model/Image.java @@ -76,7 +76,7 @@ public class Image implements Serializable { @JsonProperty("protected") private boolean isProtected; - private Map<String, Object> properties; + private transient Map<String, Object> properties; /** * @return the id @@ -346,10 +346,10 @@ public class Image implements Serializable { @Override public String toString() { return String.format("Image [id=%s, uri=%s, name=%s, diskFormat=%s containerFormat=%s, size=%d, checksum=%s," - + " createdAt=%s, updatedAt=%s, deletedAt=%s, status=%s, isPublic=%s, minRam=%d, minDisk=%d, owner=%s," - + " isDeleted=%s, isProtected=%s, properties=%s]", - id, uri, name, diskFormat, containerFormat, size, checksum, - createdAt, updatedAt, deletedAt, status, isPublic, minRam, minDisk, owner, - isDeleted, isProtected, properties); + + " createdAt=%s, updatedAt=%s, deletedAt=%s, status=%s, isPublic=%s, minRam=%d, minDisk=%d, owner=%s," + + " isDeleted=%s, isProtected=%s, properties=%s]", + id, uri, name, diskFormat, containerFormat, size, checksum, + createdAt, updatedAt, deletedAt, status, isPublic, minRam, minDisk, owner, + isDeleted, isProtected, properties); } -} +}
\ No newline at end of file |