summaryrefslogtreecommitdiffstats
path: root/glance-model/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'glance-model/src/main/java/com')
-rw-r--r--glance-model/src/main/java/com/woorea/openstack/glance/model/ImageDownload.java64
-rw-r--r--glance-model/src/main/java/com/woorea/openstack/glance/model/ImageMember.java72
-rw-r--r--glance-model/src/main/java/com/woorea/openstack/glance/model/ImageMembers.java26
-rw-r--r--glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java114
-rw-r--r--glance-model/src/main/java/com/woorea/openstack/glance/model/Images.java26
-rw-r--r--glance-model/src/main/java/com/woorea/openstack/glance/model/SharedImage.java2
-rw-r--r--glance-model/src/main/java/com/woorea/openstack/glance/model/SharedImages.java26
7 files changed, 165 insertions, 165 deletions
diff --git a/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageDownload.java b/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageDownload.java
index 19d0833..eb286ff 100644
--- a/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageDownload.java
+++ b/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageDownload.java
@@ -19,37 +19,37 @@ package com.woorea.openstack.glance.model;
import java.io.InputStream;
public class ImageDownload {
-
- private Image image;
-
- private InputStream inputStream;
-
- /**
- * @return the image
- */
- public Image getImage() {
- return image;
- }
-
- /**
- * @param image the image to set
- */
- public void setImage(Image image) {
- this.image = image;
- }
-
- /**
- * @return the inputStream
- */
- public InputStream getInputStream() {
- return inputStream;
- }
-
- /**
- * @param inputStream the inputStream to set
- */
- public void setInputStream(InputStream inputStream) {
- this.inputStream = inputStream;
- }
+
+ private Image image;
+
+ private InputStream inputStream;
+
+ /**
+ * @return the image
+ */
+ public Image getImage() {
+ return image;
+ }
+
+ /**
+ * @param image the image to set
+ */
+ public void setImage(Image image) {
+ this.image = image;
+ }
+
+ /**
+ * @return the inputStream
+ */
+ public InputStream getInputStream() {
+ return inputStream;
+ }
+
+ /**
+ * @param inputStream the inputStream to set
+ */
+ public void setInputStream(InputStream inputStream) {
+ this.inputStream = inputStream;
+ }
}
diff --git a/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageMember.java b/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageMember.java
index a25bb95..5378139 100644
--- a/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageMember.java
+++ b/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageMember.java
@@ -22,47 +22,47 @@ import org.codehaus.jackson.annotate.JsonProperty;
public class ImageMember implements Serializable {
- @JsonProperty("can_share")
- private boolean canShare;
-
- @JsonProperty("member_id")
- private String memberId;
+ @JsonProperty("can_share")
+ private boolean canShare;
+
+ @JsonProperty("member_id")
+ private String memberId;
- public ImageMember() {
-
- }
+ public ImageMember() {
+
+ }
- public ImageMember(boolean canShare, String memberId) {
- this.canShare = canShare;
- this.memberId = memberId;
- }
+ public ImageMember(boolean canShare, String memberId) {
+ this.canShare = canShare;
+ this.memberId = memberId;
+ }
- /**
- * @return the canShare
- */
- public boolean isCanShare() {
- return canShare;
- }
+ /**
+ * @return the canShare
+ */
+ public boolean isCanShare() {
+ return canShare;
+ }
- /**
- * @param canShare the canShare to set
- */
- public void setCanShare(boolean canShare) {
- this.canShare = canShare;
- }
+ /**
+ * @param canShare the canShare to set
+ */
+ public void setCanShare(boolean canShare) {
+ this.canShare = canShare;
+ }
- /**
- * @return the memberId
- */
- public String getMemberId() {
- return memberId;
- }
+ /**
+ * @return the memberId
+ */
+ public String getMemberId() {
+ return memberId;
+ }
- /**
- * @param memberId the memberId to set
- */
- public void setMemberId(String memberId) {
- this.memberId = memberId;
- }
+ /**
+ * @param memberId the memberId to set
+ */
+ public void setMemberId(String memberId) {
+ this.memberId = memberId;
+ }
}
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
index c519d38..21d6d57 100644
--- 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
@@ -24,19 +24,19 @@ import org.codehaus.jackson.annotate.JsonProperty;
public class ImageMembers implements Iterable<ImageMember>, Serializable {
- @JsonProperty("members")
- private List<ImageMember> list;
+ @JsonProperty("members")
+ private List<ImageMember> list;
- /**
- * @return the list
- */
- public List<ImageMember> getList() {
- return list;
- }
+ /**
+ * @return the list
+ */
+ public List<ImageMember> getList() {
+ return list;
+ }
- @Override
- public Iterator<ImageMember> iterator() {
- return list.iterator();
- }
-
+ @Override
+ public Iterator<ImageMember> iterator() {
+ return list.iterator();
+ }
+
} \ No newline at end of file
diff --git a/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java b/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java
index f68b2be..428a5d2 100644
--- a/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java
+++ b/glance-model/src/main/java/com/woorea/openstack/glance/model/ImageUpload.java
@@ -22,62 +22,62 @@ import java.util.Map;
public class ImageUpload {
- private Image image;
-
- private String store;
-
- private Map<String, Object> properties;
-
- private InputStream inputStream;
-
- public ImageUpload(Image image) {
- setImage(image);
- }
-
- public Image getImage() {
- return image;
- }
-
- public void setImage(Image image) {
- this.image = image;
- }
-
- /**
- * @return the store
- */
- public String getStore() {
- return store;
- }
-
- /**
- * @param store the store to set
- */
- public void setStore(String store) {
- this.store = store;
- }
-
- /**
- * @return the properties
- */
- public Map<String, Object> getProperties() {
- if(properties == null) {
- properties = new HashMap<>();
- }
- return properties;
- }
-
- /**
- * @return the inputStream
- */
- public InputStream getInputStream() {
- return inputStream;
- }
-
- /**
- * @param inputStream the inputStream to set
- */
- public void setInputStream(InputStream inputStream) {
- this.inputStream = inputStream;
- }
+ private Image image;
+
+ private String store;
+
+ private Map<String, Object> properties;
+
+ private InputStream inputStream;
+
+ public ImageUpload(Image image) {
+ setImage(image);
+ }
+
+ public Image getImage() {
+ return image;
+ }
+
+ public void setImage(Image image) {
+ this.image = image;
+ }
+
+ /**
+ * @return the store
+ */
+ public String getStore() {
+ return store;
+ }
+
+ /**
+ * @param store the store to set
+ */
+ public void setStore(String store) {
+ this.store = store;
+ }
+
+ /**
+ * @return the properties
+ */
+ public Map<String, Object> getProperties() {
+ if(properties == null) {
+ properties = new HashMap<>();
+ }
+ return properties;
+ }
+
+ /**
+ * @return the inputStream
+ */
+ public InputStream getInputStream() {
+ return inputStream;
+ }
+
+ /**
+ * @param inputStream the inputStream to set
+ */
+ public void setInputStream(InputStream inputStream) {
+ this.inputStream = inputStream;
+ }
}
diff --git a/glance-model/src/main/java/com/woorea/openstack/glance/model/Images.java b/glance-model/src/main/java/com/woorea/openstack/glance/model/Images.java
index 4b0999a..191c889 100644
--- a/glance-model/src/main/java/com/woorea/openstack/glance/model/Images.java
+++ b/glance-model/src/main/java/com/woorea/openstack/glance/model/Images.java
@@ -24,19 +24,19 @@ import org.codehaus.jackson.annotate.JsonProperty;
public class Images implements Iterable<Image>, Serializable {
- @JsonProperty("images")
- private List<Image> list;
+ @JsonProperty("images")
+ private List<Image> list;
- /**
- * @return the list
- */
- public List<Image> getList() {
- return list;
- }
+ /**
+ * @return the list
+ */
+ public List<Image> getList() {
+ return list;
+ }
- @Override
- public Iterator<Image> iterator() {
- return list.iterator();
- }
-
+ @Override
+ public Iterator<Image> iterator() {
+ return list.iterator();
+ }
+
}
diff --git a/glance-model/src/main/java/com/woorea/openstack/glance/model/SharedImage.java b/glance-model/src/main/java/com/woorea/openstack/glance/model/SharedImage.java
index cd09571..b16897c 100644
--- a/glance-model/src/main/java/com/woorea/openstack/glance/model/SharedImage.java
+++ b/glance-model/src/main/java/com/woorea/openstack/glance/model/SharedImage.java
@@ -17,5 +17,5 @@
package com.woorea.openstack.glance.model;
public class SharedImage {
-
+
} \ No newline at end of file
diff --git a/glance-model/src/main/java/com/woorea/openstack/glance/model/SharedImages.java b/glance-model/src/main/java/com/woorea/openstack/glance/model/SharedImages.java
index b984595..412e724 100644
--- a/glance-model/src/main/java/com/woorea/openstack/glance/model/SharedImages.java
+++ b/glance-model/src/main/java/com/woorea/openstack/glance/model/SharedImages.java
@@ -24,19 +24,19 @@ import org.codehaus.jackson.annotate.JsonProperty;
public class SharedImages implements Iterable<SharedImage>, Serializable {
- @JsonProperty("shared_images")
- private List<SharedImage> list;
+ @JsonProperty("shared_images")
+ private List<SharedImage> list;
- /**
- * @return the list
- */
- public List<SharedImage> getList() {
- return list;
- }
+ /**
+ * @return the list
+ */
+ public List<SharedImage> getList() {
+ return list;
+ }
- @Override
- public Iterator<SharedImage> iterator() {
- return list.iterator();
- }
-
+ @Override
+ public Iterator<SharedImage> iterator() {
+ return list.iterator();
+ }
+
} \ No newline at end of file