diff options
Diffstat (limited to 'cinder-model/src/main/java/com/woorea/openstack/cinder/model/Volumes.java')
-rwxr-xr-x | cinder-model/src/main/java/com/woorea/openstack/cinder/model/Volumes.java | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/cinder-model/src/main/java/com/woorea/openstack/cinder/model/Volumes.java b/cinder-model/src/main/java/com/woorea/openstack/cinder/model/Volumes.java index 096bf9a..937b28f 100755 --- a/cinder-model/src/main/java/com/woorea/openstack/cinder/model/Volumes.java +++ b/cinder-model/src/main/java/com/woorea/openstack/cinder/model/Volumes.java @@ -1,4 +1,5 @@ -/* ============LICENSE_START======================================================= +/*- + * ============LICENSE_START======================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -12,12 +13,12 @@ * limitations under the License. * ============LICENSE_END========================================================= */ + package com.woorea.openstack.cinder.model; import java.io.Serializable; import java.util.Iterator; import java.util.List; - import com.fasterxml.jackson.annotation.JsonProperty; public class Volumes implements Iterable<Volume>, Serializable { @@ -32,6 +33,17 @@ public class Volumes implements Iterable<Volume>, Serializable { return list; } + @JsonProperty("volumes_links") + private List<Link> links; + + public List<Link> getLinks() { + return links; + } + + public void setLinks(List<Link> links) { + this.links = links; + } + /* * (non-Javadoc) * |