From e6a725afc6ce074f94bc0fcaf151fae8c87294e8 Mon Sep 17 00:00:00 2001 From: danikov Date: Thu, 16 Feb 2012 00:54:50 +0000 Subject: [PATCH] add media imageType --- .../jclouds/vcloud/director/v1_5/domain/Media.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/Media.java b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/Media.java index 2c9077b665..e00b2da2c9 100644 --- a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/Media.java +++ b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/domain/Media.java @@ -23,6 +23,8 @@ import static com.google.common.base.Objects.equal; import static org.jclouds.vcloud.director.v1_5.VCloudDirectorConstants.VCLOUD_1_5_NS; import java.net.URI; +import java.util.Arrays; +import java.util.List; import java.util.Set; import javax.xml.bind.annotation.XmlAccessType; @@ -68,6 +70,15 @@ public class Media extends ResourceEntityType { + public static final class ImageType { + public static final String ISO = "iso"; + public static final String FLOPPY = "floppy"; + + public static final List ALL = Arrays.asList( + ISO, ISO + ); + } + @SuppressWarnings("unchecked") public static Builder builder() { return new Builder();