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

added missing properties

parent 541866ae
......@@ -17,6 +17,34 @@ import javax.validation.Valid;
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
*/
......@@ -57,6 +85,14 @@ public class CloudsStormVMs {
@Valid
private String sEngineClass = null;
@JsonProperty("sliceName")
@Valid
private String sliceName = null;
@JsonProperty("duration")
@Valid
private Float duration = null;
public CloudsStormVMs vms(List<CloudsStormVM> vms) {
this.vms = vms;
return this;
......
......@@ -6,7 +6,11 @@
extraInfo:
type: object
additionalProperties:
type: object
type: object
sliceName:
type: "string"
duration:
type: "float"
VMs:
type: "array"
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