Commit 831c481b authored by Spiros Koulouzis's avatar Spiros Koulouzis

added missing properties

parent 541866ae
...@@ -17,6 +17,34 @@ import javax.validation.Valid; ...@@ -17,6 +17,34 @@ import javax.validation.Valid;
public class CloudsStormVMs { public class CloudsStormVMs {
/**
* @return the sliceName
*/
public String getSliceName() {
return sliceName;
}
/**
* @param sliceName the sliceName to set
*/
public void setSliceName(String sliceName) {
this.sliceName = sliceName;
}
/**
* @return the duration
*/
public Float getDuration() {
return duration;
}
/**
* @param duration the duration to set
*/
public void setDuration(Float duration) {
this.duration = duration;
}
/** /**
* @return the extraInfo * @return the extraInfo
*/ */
...@@ -57,6 +85,14 @@ public class CloudsStormVMs { ...@@ -57,6 +85,14 @@ public class CloudsStormVMs {
@Valid @Valid
private String sEngineClass = null; private String sEngineClass = null;
@JsonProperty("sliceName")
@Valid
private String sliceName = null;
@JsonProperty("duration")
@Valid
private Float duration = null;
public CloudsStormVMs vms(List<CloudsStormVM> vms) { public CloudsStormVMs vms(List<CloudsStormVM> vms) {
this.vms = vms; this.vms = vms;
return this; return this;
......
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
extraInfo: extraInfo:
type: object type: object
additionalProperties: additionalProperties:
type: object type: object
sliceName:
type: "string"
duration:
type: "float"
VMs: VMs:
type: "array" type: "array"
items: items:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment