diff options
author | 2017-01-31 13:57:24 +0100 | |
---|---|---|
committer | 2017-01-31 14:55:11 +0100 | |
commit | 2e984294ac28c6f2ede290c38164c5d536ccaf4a (patch) | |
tree | 5eba5a929b7a961c98749fa69e03cfea58e1a724 /glance-model/src/main/java/com/woorea/openstack/glance/model/ImageMembers.java | |
parent | 86c0f28c8ed469486b64d6422dc53e3a7bcc8adb (diff) |
Initial OpenECOMP MSO OpenStack SDK lib commit
Change-Id: Ieaacb2b2c0dcc469669880e73f0cda9fa59a6c5a
Signed-off-by: ChrisC <cc697w@intl.att.com>
Diffstat (limited to 'glance-model/src/main/java/com/woorea/openstack/glance/model/ImageMembers.java')
-rw-r--r-- | glance-model/src/main/java/com/woorea/openstack/glance/model/ImageMembers.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageMembers.java b/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageMembers.java new file mode 100644 index 0000000..68aa176 --- /dev/null +++ b/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageMembers.java @@ -0,0 +1,26 @@ +package com.woorea.openstack.glance.model; + +import java.io.Serializable; +import java.util.Iterator; +import java.util.List; + +import org.codehaus.jackson.annotate.JsonProperty; + +public class ImageMembers implements Iterable<ImageMember>, Serializable { + + @JsonProperty("members") + private List<ImageMember> list; + + /** + * @return the list + */ + public List<ImageMember> getList() { + return list; + } + + @Override + public Iterator<ImageMember> iterator() { + return list.iterator(); + } + +}
\ No newline at end of file |