diff options
Diffstat (limited to 'dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/VirtualMachineImageIsTemplate.java')
-rw-r--r-- | dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/VirtualMachineImageIsTemplate.java | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/VirtualMachineImageIsTemplate.java b/dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/VirtualMachineImageIsTemplate.java new file mode 100644 index 00000000..09bddfa7 --- /dev/null +++ b/dozentenmodulserver/api/src/main/java/org/openslx/bwlp/sat/api/model/VirtualMachineImageIsTemplate.java @@ -0,0 +1,120 @@ +package org.openslx.bwlp.sat.api.model; + +import java.net.URI; +import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import org.openapitools.jackson.nullable.JsonNullable; +import java.time.OffsetDateTime; +import javax.validation.Valid; +import javax.validation.constraints.*; + + +import java.util.*; + +/** + * VirtualMachineImageIsTemplate + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2021-12-23T15:12:42.264617368+01:00[Europe/Berlin]") +public class VirtualMachineImageIsTemplate { + /** + * Gets or Sets param + */ + public enum ParamEnum { + NUMBER_0(0), + + NUMBER_1(1); + + private Integer value; + + ParamEnum(Integer value) { + this.value = value; + } + + @JsonValue + public Integer getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static ParamEnum fromValue(Integer value) { + for (ParamEnum b : ParamEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + @JsonProperty("param") + private ParamEnum param; + + public VirtualMachineImageIsTemplate param(ParamEnum param) { + this.param = param; + return this; + } + + /** + * Get param + * @return param + */ + @ApiModelProperty(value = "") + + + public ParamEnum getParam() { + return param; + } + + public void setParam(ParamEnum param) { + this.param = param; + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + VirtualMachineImageIsTemplate virtualMachineImageIsTemplate = (VirtualMachineImageIsTemplate) o; + return Objects.equals(this.param, virtualMachineImageIsTemplate.param); + } + + @Override + public int hashCode() { + return Objects.hash(param); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class VirtualMachineImageIsTemplate {\n"); + + sb.append(" param: ").append(toIndentedString(param)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} + |