forked from loafle/openapi-generator-original
[Java][okhttp-gson] remove unreachable code from templates (#17057)
* Remove checks for jackson and jsonb from okhttp-gson templates * regenerate samples
This commit is contained in:
parent
91ac75ff05
commit
c8b3da7388
@ -7,8 +7,6 @@ import java.util.Objects;
|
|||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
//import com.fasterxml.jackson.annotation.JsonValue;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
||||||
*/
|
*/
|
||||||
|
@ -13,34 +13,9 @@ import {{import}};
|
|||||||
{{#serializableModel}}
|
{{#serializableModel}}
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
{{/serializableModel}}
|
{{/serializableModel}}
|
||||||
{{#jackson}}
|
|
||||||
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|
||||||
import com.fasterxml.jackson.annotation.JsonTypeName;
|
|
||||||
{{#withXml}}
|
|
||||||
import com.fasterxml.jackson.dataformat.xml.annotation.*;
|
|
||||||
{{/withXml}}
|
|
||||||
{{#vendorExtensions.x-has-readonly-properties}}
|
|
||||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
|
||||||
{{/vendorExtensions.x-has-readonly-properties}}
|
|
||||||
{{/jackson}}
|
|
||||||
{{#withXml}}
|
{{#withXml}}
|
||||||
import {{javaxPackage}}.xml.bind.annotation.*;
|
import {{javaxPackage}}.xml.bind.annotation.*;
|
||||||
{{/withXml}}
|
{{/withXml}}
|
||||||
{{#jsonb}}
|
|
||||||
import java.lang.reflect.Type;
|
|
||||||
import {{javaxPackage}}.json.bind.annotation.JsonbTypeDeserializer;
|
|
||||||
import {{javaxPackage}}.json.bind.annotation.JsonbTypeSerializer;
|
|
||||||
import {{javaxPackage}}.json.bind.serializer.DeserializationContext;
|
|
||||||
import {{javaxPackage}}.json.bind.serializer.JsonbDeserializer;
|
|
||||||
import {{javaxPackage}}.json.bind.serializer.JsonbSerializer;
|
|
||||||
import {{javaxPackage}}.json.bind.serializer.SerializationContext;
|
|
||||||
import {{javaxPackage}}.json.stream.JsonGenerator;
|
|
||||||
import {{javaxPackage}}.json.stream.JsonParser;
|
|
||||||
import {{javaxPackage}}.json.bind.annotation.JsonbProperty;
|
|
||||||
{{#vendorExtensions.x-has-readonly-properties}}
|
|
||||||
import {{javaxPackage}}.json.bind.annotation.JsonbCreator;
|
|
||||||
{{/vendorExtensions.x-has-readonly-properties}}
|
|
||||||
{{/jsonb}}
|
|
||||||
{{#parcelableModel}}
|
{{#parcelableModel}}
|
||||||
import android.os.Parcelable;
|
import android.os.Parcelable;
|
||||||
import android.os.Parcel;
|
import android.os.Parcel;
|
||||||
|
@ -1,26 +1,14 @@
|
|||||||
{{#jackson}}
|
|
||||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
|
||||||
import com.fasterxml.jackson.annotation.JsonValue;
|
|
||||||
{{/jackson}}
|
|
||||||
{{#gson}}
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import com.google.gson.TypeAdapter;
|
import com.google.gson.TypeAdapter;
|
||||||
import com.google.gson.JsonElement;
|
import com.google.gson.JsonElement;
|
||||||
import com.google.gson.annotations.JsonAdapter;
|
import com.google.gson.annotations.JsonAdapter;
|
||||||
import com.google.gson.stream.JsonReader;
|
import com.google.gson.stream.JsonReader;
|
||||||
import com.google.gson.stream.JsonWriter;
|
import com.google.gson.stream.JsonWriter;
|
||||||
{{/gson}}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}}
|
* {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}}
|
||||||
*/
|
*/
|
||||||
{{#gson}}
|
|
||||||
@JsonAdapter({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.Adapter.class)
|
@JsonAdapter({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.Adapter.class)
|
||||||
{{/gson}}
|
|
||||||
{{#jsonb}}
|
|
||||||
@JsonbTypeSerializer({{datatypeWithEnum}}.Serializer.class)
|
|
||||||
@JsonbTypeDeserializer({{datatypeWithEnum}}.Deserializer.class)
|
|
||||||
{{/jsonb}}
|
|
||||||
{{>additionalEnumTypeAnnotations}}public enum {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} {
|
{{>additionalEnumTypeAnnotations}}public enum {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} {
|
||||||
{{#allowableValues}}{{#enumVars}}
|
{{#allowableValues}}{{#enumVars}}
|
||||||
{{#enumDescription}}
|
{{#enumDescription}}
|
||||||
@ -40,9 +28,6 @@ import com.google.gson.stream.JsonWriter;
|
|||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
{{#jackson}}
|
|
||||||
@JsonValue
|
|
||||||
{{/jackson}}
|
|
||||||
public {{{dataType}}} getValue() {
|
public {{{dataType}}} getValue() {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
@ -52,9 +37,6 @@ import com.google.gson.stream.JsonWriter;
|
|||||||
return String.valueOf(value);
|
return String.valueOf(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
{{#jackson}}
|
|
||||||
@JsonCreator
|
|
||||||
{{/jackson}}
|
|
||||||
public static {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} fromValue({{{dataType}}} value) {
|
public static {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} fromValue({{{dataType}}} value) {
|
||||||
for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
|
for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
|
||||||
if (b.value.{{^isString}}equals{{/isString}}{{#isString}}{{#useEnumCaseInsensitive}}equalsIgnoreCase{{/useEnumCaseInsensitive}}{{^useEnumCaseInsensitive}}equals{{/useEnumCaseInsensitive}}{{/isString}}(value)) {
|
if (b.value.{{^isString}}equals{{/isString}}{{#isString}}{{#useEnumCaseInsensitive}}equalsIgnoreCase{{/useEnumCaseInsensitive}}{{^useEnumCaseInsensitive}}equals{{/useEnumCaseInsensitive}}{{/isString}}(value)) {
|
||||||
@ -63,7 +45,6 @@ import com.google.gson.stream.JsonWriter;
|
|||||||
}
|
}
|
||||||
{{#isNullable}}return null;{{/isNullable}}{{^isNullable}}{{#enumUnknownDefaultCase}}{{#allowableValues}}{{#enumVars}}{{#-last}}return {{{name}}};{{/-last}}{{/enumVars}}{{/allowableValues}}{{/enumUnknownDefaultCase}}{{^enumUnknownDefaultCase}}throw new IllegalArgumentException("Unexpected value '" + value + "'");{{/enumUnknownDefaultCase}}{{/isNullable}}
|
{{#isNullable}}return null;{{/isNullable}}{{^isNullable}}{{#enumUnknownDefaultCase}}{{#allowableValues}}{{#enumVars}}{{#-last}}return {{{name}}};{{/-last}}{{/enumVars}}{{/allowableValues}}{{/enumUnknownDefaultCase}}{{^enumUnknownDefaultCase}}throw new IllegalArgumentException("Unexpected value '" + value + "'");{{/enumUnknownDefaultCase}}{{/isNullable}}
|
||||||
}
|
}
|
||||||
{{#gson}}
|
|
||||||
|
|
||||||
public static class Adapter extends TypeAdapter<{{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}> {
|
public static class Adapter extends TypeAdapter<{{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}> {
|
||||||
@Override
|
@Override
|
||||||
@ -82,28 +63,6 @@ import com.google.gson.stream.JsonWriter;
|
|||||||
{{^isNumber}}{{{dataType}}}{{/isNumber}}{{#isNumber}}String{{/isNumber}} value = jsonElement.{{#isNumber}}getAsString(){{/isNumber}}{{#isInteger}}getAsInt(){{/isInteger}}{{^isNumber}}{{^isInteger}}getAs{{{dataType}}}(){{/isInteger}}{{/isNumber}};
|
{{^isNumber}}{{{dataType}}}{{/isNumber}}{{#isNumber}}String{{/isNumber}} value = jsonElement.{{#isNumber}}getAsString(){{/isNumber}}{{#isInteger}}getAsInt(){{/isInteger}}{{^isNumber}}{{^isInteger}}getAs{{{dataType}}}(){{/isInteger}}{{/isNumber}};
|
||||||
{{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.fromValue({{#isNumber}}new BigDecimal({{/isNumber}}value{{#isNumber}}){{/isNumber}});
|
{{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.fromValue({{#isNumber}}new BigDecimal({{/isNumber}}value{{#isNumber}}){{/isNumber}});
|
||||||
}
|
}
|
||||||
{{/gson}}
|
|
||||||
{{#jsonb}}
|
|
||||||
|
|
||||||
public static final class Deserializer implements JsonbDeserializer<{{datatypeWithEnum}}> {
|
|
||||||
@Override
|
|
||||||
public {{datatypeWithEnum}} deserialize(JsonParser parser, DeserializationContext ctx, Type rtType) {
|
|
||||||
for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
|
|
||||||
if (String.valueOf(b.value).equals(parser.getString())) {
|
|
||||||
return b;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{{#useNullForUnknownEnumValue}}return null;{{/useNullForUnknownEnumValue}}{{^useNullForUnknownEnumValue}}throw new IllegalArgumentException("Unexpected value '" + parser.getString() + "'");{{/useNullForUnknownEnumValue}}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static final class Serializer implements JsonbSerializer<{{datatypeWithEnum}}> {
|
|
||||||
@Override
|
|
||||||
public void serialize({{datatypeWithEnum}} obj, JsonGenerator generator, SerializationContext ctx) {
|
|
||||||
generator.write(obj.value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{{/jsonb}}
|
|
||||||
{{#supportUrlQuery}}
|
{{#supportUrlQuery}}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,13 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}}
|
* {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}}
|
||||||
*/
|
*/
|
||||||
{{#gson}}
|
|
||||||
@JsonAdapter({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}.Adapter.class)
|
@JsonAdapter({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}.Adapter.class)
|
||||||
{{/gson}}
|
|
||||||
{{#jsonb}}
|
|
||||||
@JsonbTypeSerializer({{datatypeWithEnum}}.Serializer.class)
|
|
||||||
@JsonbTypeDeserializer({{datatypeWithEnum}}.Deserializer.class)
|
|
||||||
{{/jsonb}}
|
|
||||||
{{#withXml}}
|
{{#withXml}}
|
||||||
@XmlType(name="{{datatypeWithEnum}}")
|
@XmlType(name="{{datatypeWithEnum}}")
|
||||||
@XmlEnum({{dataType}}.class)
|
@XmlEnum({{dataType}}.class)
|
||||||
@ -34,9 +28,6 @@
|
|||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
{{#jackson}}
|
|
||||||
@JsonValue
|
|
||||||
{{/jackson}}
|
|
||||||
public {{{dataType}}} getValue() {
|
public {{{dataType}}} getValue() {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
@ -46,9 +37,6 @@
|
|||||||
return String.valueOf(value);
|
return String.valueOf(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
{{#jackson}}
|
|
||||||
@JsonCreator
|
|
||||||
{{/jackson}}
|
|
||||||
public static {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} fromValue({{{dataType}}} value) {
|
public static {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} fromValue({{{dataType}}} value) {
|
||||||
for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
|
for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
|
||||||
if (b.value.{{^isString}}equals{{/isString}}{{#isString}}{{#useEnumCaseInsensitive}}equalsIgnoreCase{{/useEnumCaseInsensitive}}{{^useEnumCaseInsensitive}}equals{{/useEnumCaseInsensitive}}{{/isString}}(value)) {
|
if (b.value.{{^isString}}equals{{/isString}}{{#isString}}{{#useEnumCaseInsensitive}}equalsIgnoreCase{{/useEnumCaseInsensitive}}{{^useEnumCaseInsensitive}}equals{{/useEnumCaseInsensitive}}{{/isString}}(value)) {
|
||||||
@ -57,7 +45,6 @@
|
|||||||
}
|
}
|
||||||
{{#isNullable}}return null;{{/isNullable}}{{^isNullable}}{{#enumUnknownDefaultCase}}{{#allowableValues}}{{#enumVars}}{{#-last}}return {{{name}}};{{/-last}}{{/enumVars}}{{/allowableValues}}{{/enumUnknownDefaultCase}}{{^enumUnknownDefaultCase}}throw new IllegalArgumentException("Unexpected value '" + value + "'");{{/enumUnknownDefaultCase}}{{/isNullable}}
|
{{#isNullable}}return null;{{/isNullable}}{{^isNullable}}{{#enumUnknownDefaultCase}}{{#allowableValues}}{{#enumVars}}{{#-last}}return {{{name}}};{{/-last}}{{/enumVars}}{{/allowableValues}}{{/enumUnknownDefaultCase}}{{^enumUnknownDefaultCase}}throw new IllegalArgumentException("Unexpected value '" + value + "'");{{/enumUnknownDefaultCase}}{{/isNullable}}
|
||||||
}
|
}
|
||||||
{{#gson}}
|
|
||||||
|
|
||||||
public static class Adapter extends TypeAdapter<{{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}> {
|
public static class Adapter extends TypeAdapter<{{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{classname}}{{/datatypeWithEnum}}> {
|
||||||
@Override
|
@Override
|
||||||
@ -76,25 +63,4 @@
|
|||||||
{{^isNumber}}{{{dataType}}}{{/isNumber}}{{#isNumber}}String{{/isNumber}} value = jsonElement.{{#isNumber}}getAsString(){{/isNumber}}{{#isInteger}}getAsInt(){{/isInteger}}{{^isNumber}}{{^isInteger}}getAs{{{dataType}}}(){{/isInteger}}{{/isNumber}};
|
{{^isNumber}}{{{dataType}}}{{/isNumber}}{{#isNumber}}String{{/isNumber}} value = jsonElement.{{#isNumber}}getAsString(){{/isNumber}}{{#isInteger}}getAsInt(){{/isInteger}}{{^isNumber}}{{^isInteger}}getAs{{{dataType}}}(){{/isInteger}}{{/isNumber}};
|
||||||
{{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.fromValue({{#isNumber}}new BigDecimal({{/isNumber}}value{{#isNumber}}){{/isNumber}});
|
{{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.fromValue({{#isNumber}}new BigDecimal({{/isNumber}}value{{#isNumber}}){{/isNumber}});
|
||||||
}
|
}
|
||||||
{{/gson}}
|
|
||||||
{{#jsonb}}
|
|
||||||
public static final class Deserializer implements JsonbDeserializer<{{datatypeWithEnum}}> {
|
|
||||||
@Override
|
|
||||||
public {{datatypeWithEnum}} deserialize(JsonParser parser, DeserializationContext ctx, Type rtType) {
|
|
||||||
for ({{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}} b : {{{datatypeWithEnum}}}{{^datatypeWithEnum}}{{{classname}}}{{/datatypeWithEnum}}.values()) {
|
|
||||||
if (String.valueOf(b.value).equals(parser.getString())) {
|
|
||||||
return b;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{{#useNullForUnknownEnumValue}}return null;{{/useNullForUnknownEnumValue}}{{^useNullForUnknownEnumValue}}throw new IllegalArgumentException("Unexpected value '" + parser.getString() + "'");{{/useNullForUnknownEnumValue}}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static final class Serializer implements JsonbSerializer<{{datatypeWithEnum}}> {
|
|
||||||
@Override
|
|
||||||
public void serialize({{datatypeWithEnum}} obj, JsonGenerator generator, SerializationContext ctx) {
|
|
||||||
generator.write(obj.value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{{/jsonb}}
|
|
||||||
}
|
}
|
||||||
|
@ -37,16 +37,6 @@ import {{invokerPackage}}.JSON;
|
|||||||
@Schema(description = "{{{.}}}")
|
@Schema(description = "{{{.}}}")
|
||||||
{{/description}}
|
{{/description}}
|
||||||
{{/swagger2AnnotationLibrary}}
|
{{/swagger2AnnotationLibrary}}
|
||||||
{{#jackson}}
|
|
||||||
@JsonPropertyOrder({
|
|
||||||
{{#vars}}
|
|
||||||
{{classname}}.JSON_PROPERTY_{{nameInSnakeCase}}{{^-last}},{{/-last}}
|
|
||||||
{{/vars}}
|
|
||||||
})
|
|
||||||
{{#isClassnameSanitized}}
|
|
||||||
@JsonTypeName("{{name}}")
|
|
||||||
{{/isClassnameSanitized}}
|
|
||||||
{{/jackson}}
|
|
||||||
{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}}
|
{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}}
|
||||||
{{#vendorExtensions.x-class-extra-annotation}}
|
{{#vendorExtensions.x-class-extra-annotation}}
|
||||||
{{{vendorExtensions.x-class-extra-annotation}}}
|
{{{vendorExtensions.x-class-extra-annotation}}}
|
||||||
@ -67,12 +57,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens
|
|||||||
{{/mostInnerItems}}
|
{{/mostInnerItems}}
|
||||||
{{/isContainer}}
|
{{/isContainer}}
|
||||||
{{/isEnum}}
|
{{/isEnum}}
|
||||||
{{#gson}}
|
|
||||||
public static final String SERIALIZED_NAME_{{nameInSnakeCase}} = "{{baseName}}";
|
public static final String SERIALIZED_NAME_{{nameInSnakeCase}} = "{{baseName}}";
|
||||||
{{/gson}}
|
|
||||||
{{#jackson}}
|
|
||||||
public static final String JSON_PROPERTY_{{nameInSnakeCase}} = "{{baseName}}";
|
|
||||||
{{/jackson}}
|
|
||||||
{{#withXml}}
|
{{#withXml}}
|
||||||
{{#isXmlAttribute}}
|
{{#isXmlAttribute}}
|
||||||
@XmlAttribute(name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
|
@XmlAttribute(name = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}")
|
||||||
@ -94,26 +79,14 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens
|
|||||||
{{/isContainer}}
|
{{/isContainer}}
|
||||||
{{/isXmlAttribute}}
|
{{/isXmlAttribute}}
|
||||||
{{/withXml}}
|
{{/withXml}}
|
||||||
{{#gson}}
|
|
||||||
{{#deprecated}}
|
{{#deprecated}}
|
||||||
@Deprecated
|
@Deprecated
|
||||||
{{/deprecated}}
|
{{/deprecated}}
|
||||||
@SerializedName(SERIALIZED_NAME_{{nameInSnakeCase}})
|
@SerializedName(SERIALIZED_NAME_{{nameInSnakeCase}})
|
||||||
{{/gson}}
|
|
||||||
{{#vendorExtensions.x-field-extra-annotation}}
|
{{#vendorExtensions.x-field-extra-annotation}}
|
||||||
{{{vendorExtensions.x-field-extra-annotation}}}
|
{{{vendorExtensions.x-field-extra-annotation}}}
|
||||||
{{/vendorExtensions.x-field-extra-annotation}}
|
{{/vendorExtensions.x-field-extra-annotation}}
|
||||||
{{#vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
{{#isContainer}}
|
|
||||||
private JsonNullable<{{{datatypeWithEnum}}}> {{name}} = JsonNullable.<{{{datatypeWithEnum}}}>undefined();
|
|
||||||
{{/isContainer}}
|
|
||||||
{{^isContainer}}
|
|
||||||
private JsonNullable<{{{datatypeWithEnum}}}> {{name}} = JsonNullable.<{{{datatypeWithEnum}}}>{{#defaultValue}}of({{{.}}}){{/defaultValue}}{{^defaultValue}}undefined(){{/defaultValue}};
|
|
||||||
{{/isContainer}}
|
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
{{^vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
{{#isDiscriminator}}protected{{/isDiscriminator}}{{^isDiscriminator}}private{{/isDiscriminator}} {{{datatypeWithEnum}}} {{name}}{{#defaultValue}} = {{{.}}}{{/defaultValue}};
|
{{#isDiscriminator}}protected{{/isDiscriminator}}{{^isDiscriminator}}private{{/isDiscriminator}} {{{datatypeWithEnum}}} {{name}}{{#defaultValue}} = {{{.}}}{{/defaultValue}};
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
|
|
||||||
{{/vars}}
|
{{/vars}}
|
||||||
public {{classname}}() {
|
public {{classname}}() {
|
||||||
@ -122,21 +95,18 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens
|
|||||||
super();
|
super();
|
||||||
{{/parcelableModel}}
|
{{/parcelableModel}}
|
||||||
{{/parent}}
|
{{/parent}}
|
||||||
{{#gson}}
|
|
||||||
{{#discriminator}}
|
{{#discriminator}}
|
||||||
{{^discriminator.isEnum}}
|
{{^discriminator.isEnum}}
|
||||||
this.{{{discriminatorName}}} = this.getClass().getSimpleName();
|
this.{{{discriminatorName}}} = this.getClass().getSimpleName();
|
||||||
{{/discriminator.isEnum}}
|
{{/discriminator.isEnum}}
|
||||||
{{/discriminator}}
|
{{/discriminator}}
|
||||||
{{/gson}}
|
|
||||||
}
|
}
|
||||||
{{#vendorExtensions.x-has-readonly-properties}}
|
{{#vendorExtensions.x-has-readonly-properties}}
|
||||||
{{^withXml}}
|
{{^withXml}}
|
||||||
|
|
||||||
{{#jsonb}}@JsonbCreator{{/jsonb}}{{#jackson}}@JsonCreator{{/jackson}}
|
|
||||||
public {{classname}}(
|
public {{classname}}(
|
||||||
{{#readOnlyVars}}
|
{{#readOnlyVars}}
|
||||||
{{#jsonb}}@JsonbProperty("{{baseName}}"){{/jsonb}}{{#jackson}}@JsonProperty(JSON_PROPERTY_{{nameInSnakeCase}}){{/jackson}} {{{datatypeWithEnum}}} {{name}}{{^-last}}, {{/-last}}
|
{{{datatypeWithEnum}}} {{name}}{{^-last}}, {{/-last}}
|
||||||
{{/readOnlyVars}}
|
{{/readOnlyVars}}
|
||||||
) {
|
) {
|
||||||
this();
|
this();
|
||||||
@ -153,54 +123,27 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens
|
|||||||
@Deprecated
|
@Deprecated
|
||||||
{{/deprecated}}
|
{{/deprecated}}
|
||||||
public {{classname}} {{name}}({{{datatypeWithEnum}}} {{name}}) {
|
public {{classname}} {{name}}({{{datatypeWithEnum}}} {{name}}) {
|
||||||
{{#vendorExtensions.x-is-jackson-optional-nullable}}this.{{name}} = JsonNullable.<{{{datatypeWithEnum}}}>of({{name}});{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
this.{{name}} = {{name}};
|
||||||
{{^vendorExtensions.x-is-jackson-optional-nullable}}this.{{name}} = {{name}};{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
{{#isArray}}
|
{{#isArray}}
|
||||||
|
|
||||||
public {{classname}} add{{nameInCamelCase}}Item({{{items.datatypeWithEnum}}} {{name}}Item) {
|
public {{classname}} add{{nameInCamelCase}}Item({{{items.datatypeWithEnum}}} {{name}}Item) {
|
||||||
{{#vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
if (this.{{name}} == null || !this.{{name}}.isPresent()) {
|
|
||||||
this.{{name}} = JsonNullable.<{{{datatypeWithEnum}}}>of({{{defaultValue}}}{{^defaultValue}}new {{#uniqueItems}}LinkedHashSet{{/uniqueItems}}{{^uniqueItems}}ArrayList{{/uniqueItems}}<>(){{/defaultValue}});
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
this.{{name}}.get().add({{name}}Item);
|
|
||||||
} catch (java.util.NoSuchElementException e) {
|
|
||||||
// this can never happen, as we make sure above that the value is present
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
{{^vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
if (this.{{name}} == null) {
|
if (this.{{name}} == null) {
|
||||||
this.{{name}} = {{{defaultValue}}}{{^defaultValue}}new {{#uniqueItems}}LinkedHashSet{{/uniqueItems}}{{^uniqueItems}}ArrayList{{/uniqueItems}}<>(){{/defaultValue}};
|
this.{{name}} = {{{defaultValue}}}{{^defaultValue}}new {{#uniqueItems}}LinkedHashSet{{/uniqueItems}}{{^uniqueItems}}ArrayList{{/uniqueItems}}<>(){{/defaultValue}};
|
||||||
}
|
}
|
||||||
this.{{name}}.add({{name}}Item);
|
this.{{name}}.add({{name}}Item);
|
||||||
return this;
|
return this;
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
}
|
}
|
||||||
{{/isArray}}
|
{{/isArray}}
|
||||||
{{#isMap}}
|
{{#isMap}}
|
||||||
|
|
||||||
public {{classname}} put{{nameInCamelCase}}Item(String key, {{{items.datatypeWithEnum}}} {{name}}Item) {
|
public {{classname}} put{{nameInCamelCase}}Item(String key, {{{items.datatypeWithEnum}}} {{name}}Item) {
|
||||||
{{#vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
if (this.{{name}} == null || !this.{{name}}.isPresent()) {
|
|
||||||
this.{{name}} = JsonNullable.<{{{datatypeWithEnum}}}>of({{{defaultValue}}}{{^defaultValue}}new HashMap<>(){{/defaultValue}});
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
this.{{name}}.get().put(key, {{name}}Item);
|
|
||||||
} catch (java.util.NoSuchElementException e) {
|
|
||||||
// this can never happen, as we make sure above that the value is present
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
{{^vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
if (this.{{name}} == null) {
|
if (this.{{name}} == null) {
|
||||||
this.{{name}} = {{{defaultValue}}}{{^defaultValue}}new HashMap<>(){{/defaultValue}};
|
this.{{name}} = {{{defaultValue}}}{{^defaultValue}}new HashMap<>(){{/defaultValue}};
|
||||||
}
|
}
|
||||||
this.{{name}}.put(key, {{name}}Item);
|
this.{{name}}.put(key, {{name}}Item);
|
||||||
return this;
|
return this;
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
}
|
}
|
||||||
{{/isMap}}
|
{{/isMap}}
|
||||||
|
|
||||||
@ -237,9 +180,6 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens
|
|||||||
{{^required}}
|
{{^required}}
|
||||||
@{{javaxPackage}}.annotation.Nullable
|
@{{javaxPackage}}.annotation.Nullable
|
||||||
{{/required}}
|
{{/required}}
|
||||||
{{#jsonb}}
|
|
||||||
@JsonbProperty("{{baseName}}")
|
|
||||||
{{/jsonb}}
|
|
||||||
{{#useBeanValidation}}
|
{{#useBeanValidation}}
|
||||||
{{>beanValidation}}
|
{{>beanValidation}}
|
||||||
{{/useBeanValidation}}
|
{{/useBeanValidation}}
|
||||||
@ -252,47 +192,15 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens
|
|||||||
{{#vendorExtensions.x-extra-annotation}}
|
{{#vendorExtensions.x-extra-annotation}}
|
||||||
{{{vendorExtensions.x-extra-annotation}}}
|
{{{vendorExtensions.x-extra-annotation}}}
|
||||||
{{/vendorExtensions.x-extra-annotation}}
|
{{/vendorExtensions.x-extra-annotation}}
|
||||||
{{#vendorExtensions.x-is-jackson-optional-nullable}}
|
public {{{datatypeWithEnum}}} {{getter}}() {
|
||||||
{{!unannotated, Jackson would pick this up automatically and add it *in addition* to the _JsonNullable getter field}}
|
|
||||||
@JsonIgnore
|
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
{{^vendorExtensions.x-is-jackson-optional-nullable}}{{#jackson}}{{> jackson_annotations}}{{/jackson}}{{/vendorExtensions.x-is-jackson-optional-nullable}} public {{{datatypeWithEnum}}} {{getter}}() {
|
|
||||||
{{#vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
{{#isReadOnly}}{{! A readonly attribute doesn't have setter => jackson will set null directly if explicitly returned by API, so make sure we have an empty JsonNullable}}
|
|
||||||
if ({{name}} == null) {
|
|
||||||
{{name}} = JsonNullable.<{{{datatypeWithEnum}}}>{{#defaultValue}}of({{{.}}}){{/defaultValue}}{{^defaultValue}}undefined(){{/defaultValue}};
|
|
||||||
}
|
|
||||||
{{/isReadOnly}}
|
|
||||||
return {{name}}.orElse(null);
|
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
{{^vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
return {{name}};
|
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
}
|
|
||||||
|
|
||||||
{{#vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
{{> jackson_annotations}}
|
|
||||||
public JsonNullable<{{{datatypeWithEnum}}}> {{getter}}_JsonNullable() {
|
|
||||||
return {{name}};
|
return {{name}};
|
||||||
}
|
}
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}{{#vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
@JsonProperty(JSON_PROPERTY_{{nameInSnakeCase}})
|
|
||||||
{{#isReadOnly}}private{{/isReadOnly}}{{^isReadOnly}}public{{/isReadOnly}} void {{setter}}_JsonNullable(JsonNullable<{{{datatypeWithEnum}}}> {{name}}) {
|
|
||||||
{{! For getters/setters that have name differing from attribute name, we must include setter (albeit private) for jackson to be able to set the attribute}}
|
|
||||||
this.{{name}} = {{name}};
|
|
||||||
}
|
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
|
|
||||||
{{^isReadOnly}}
|
{{^isReadOnly}}
|
||||||
{{#vendorExtensions.x-setter-extra-annotation}} {{{vendorExtensions.x-setter-extra-annotation}}}
|
{{#vendorExtensions.x-setter-extra-annotation}} {{{vendorExtensions.x-setter-extra-annotation}}}
|
||||||
{{/vendorExtensions.x-setter-extra-annotation}}{{#jackson}}{{^vendorExtensions.x-is-jackson-optional-nullable}}{{> jackson_annotations}}{{/vendorExtensions.x-is-jackson-optional-nullable}}{{/jackson}}{{#deprecated}} @Deprecated
|
{{/vendorExtensions.x-setter-extra-annotation}}{{#deprecated}} @Deprecated
|
||||||
{{/deprecated}} public void {{setter}}({{{datatypeWithEnum}}} {{name}}) {
|
{{/deprecated}} public void {{setter}}({{{datatypeWithEnum}}} {{name}}) {
|
||||||
{{#vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
this.{{name}} = JsonNullable.<{{{datatypeWithEnum}}}>of({{name}});
|
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
{{^vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
this.{{name}} = {{name}};
|
this.{{name}} = {{name}};
|
||||||
{{/vendorExtensions.x-is-jackson-optional-nullable}}
|
|
||||||
}
|
}
|
||||||
{{/isReadOnly}}
|
{{/isReadOnly}}
|
||||||
|
|
||||||
@ -312,7 +220,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens
|
|||||||
return false;
|
return false;
|
||||||
}{{#hasVars}}
|
}{{#hasVars}}
|
||||||
{{classname}} {{classVarName}} = ({{classname}}) o;
|
{{classname}} {{classVarName}} = ({{classname}}) o;
|
||||||
return {{#vars}}{{#vendorExtensions.x-is-jackson-optional-nullable}}equalsNullable(this.{{name}}, {{classVarName}}.{{name}}){{/vendorExtensions.x-is-jackson-optional-nullable}}{{^vendorExtensions.x-is-jackson-optional-nullable}}{{#isByteArray}}Arrays{{/isByteArray}}{{^isByteArray}}Objects{{/isByteArray}}.equals(this.{{name}}, {{classVarName}}.{{name}}){{/vendorExtensions.x-is-jackson-optional-nullable}}{{^-last}} &&
|
return {{#vars}}{{#isByteArray}}Arrays{{/isByteArray}}{{^isByteArray}}Objects{{/isByteArray}}.equals(this.{{name}}, {{classVarName}}.{{name}}){{^-last}} &&
|
||||||
{{/-last}}{{/vars}}{{#isAdditionalPropertiesTrue}}&&
|
{{/-last}}{{/vars}}{{#isAdditionalPropertiesTrue}}&&
|
||||||
Objects.equals(this.additionalProperties, {{classVarName}}.additionalProperties){{/isAdditionalPropertiesTrue}}{{#parent}} &&
|
Objects.equals(this.additionalProperties, {{classVarName}}.additionalProperties){{/isAdditionalPropertiesTrue}}{{#parent}} &&
|
||||||
super.equals(o){{/parent}};{{/hasVars}}{{^hasVars}}
|
super.equals(o){{/parent}};{{/hasVars}}{{^hasVars}}
|
||||||
@ -330,7 +238,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens
|
|||||||
return HashCodeBuilder.reflectionHashCode(this);
|
return HashCodeBuilder.reflectionHashCode(this);
|
||||||
{{/useReflectionEqualsHashCode}}
|
{{/useReflectionEqualsHashCode}}
|
||||||
{{^useReflectionEqualsHashCode}}
|
{{^useReflectionEqualsHashCode}}
|
||||||
return Objects.hash({{#vars}}{{#vendorExtensions.x-is-jackson-optional-nullable}}hashCodeNullable({{name}}){{/vendorExtensions.x-is-jackson-optional-nullable}}{{^vendorExtensions.x-is-jackson-optional-nullable}}{{^isByteArray}}{{name}}{{/isByteArray}}{{#isByteArray}}Arrays.hashCode({{name}}){{/isByteArray}}{{/vendorExtensions.x-is-jackson-optional-nullable}}{{^-last}}, {{/-last}}{{/vars}}{{#parent}}{{#hasVars}}, {{/hasVars}}super.hashCode(){{/parent}}{{#isAdditionalPropertiesTrue}}{{#hasVars}}, {{/hasVars}}{{^hasVars}}{{#parent}}, {{/parent}}{{/hasVars}}additionalProperties{{/isAdditionalPropertiesTrue}});
|
return Objects.hash({{#vars}}{{^isByteArray}}{{name}}{{/isByteArray}}{{#isByteArray}}Arrays.hashCode({{name}}){{/isByteArray}}{{^-last}}, {{/-last}}{{/vars}}{{#parent}}{{#hasVars}}, {{/hasVars}}super.hashCode(){{/parent}}{{#isAdditionalPropertiesTrue}}{{#hasVars}}, {{/hasVars}}{{^hasVars}}{{#parent}}, {{/parent}}{{/hasVars}}additionalProperties{{/isAdditionalPropertiesTrue}});
|
||||||
{{/useReflectionEqualsHashCode}}
|
{{/useReflectionEqualsHashCode}}
|
||||||
}{{#vendorExtensions.x-jackson-optional-nullable-helpers}}
|
}{{#vendorExtensions.x-jackson-optional-nullable-helpers}}
|
||||||
|
|
||||||
@ -362,7 +270,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens
|
|||||||
* Convert the given object to string with each line indented by 4 spaces
|
* Convert the given object to string with each line indented by 4 spaces
|
||||||
* (except the first line).
|
* (except the first line).
|
||||||
*/
|
*/
|
||||||
private{{#jsonb}} static{{/jsonb}} String toIndentedString(Object o) {
|
private String toIndentedString(Object o) {
|
||||||
if (o == null) {
|
if (o == null) {
|
||||||
return "null";
|
return "null";
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,6 @@ import java.util.Objects;
|
|||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
//import com.fasterxml.jackson.annotation.JsonValue;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
||||||
*/
|
*/
|
||||||
|
@ -63,7 +63,6 @@ public class Bird {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Bird size(String size) {
|
public Bird size(String size) {
|
||||||
|
|
||||||
this.size = size;
|
this.size = size;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Bird {
|
|||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setSize(String size) {
|
public void setSize(String size) {
|
||||||
this.size = size;
|
this.size = size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Bird color(String color) {
|
public Bird color(String color) {
|
||||||
|
|
||||||
this.color = color;
|
this.color = color;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Bird {
|
|||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setColor(String color) {
|
public void setColor(String color) {
|
||||||
this.color = color;
|
this.color = color;
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,6 @@ public class Category {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Category id(Long id) {
|
public Category id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Category {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Category name(String name) {
|
public Category name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Category {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,6 @@ public class DataQuery extends Query {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public DataQuery suffix(String suffix) {
|
public DataQuery suffix(String suffix) {
|
||||||
|
|
||||||
this.suffix = suffix;
|
this.suffix = suffix;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -85,14 +84,12 @@ public class DataQuery extends Query {
|
|||||||
return suffix;
|
return suffix;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setSuffix(String suffix) {
|
public void setSuffix(String suffix) {
|
||||||
this.suffix = suffix;
|
this.suffix = suffix;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public DataQuery text(String text) {
|
public DataQuery text(String text) {
|
||||||
|
|
||||||
this.text = text;
|
this.text = text;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -106,14 +103,12 @@ public class DataQuery extends Query {
|
|||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setText(String text) {
|
public void setText(String text) {
|
||||||
this.text = text;
|
this.text = text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public DataQuery date(OffsetDateTime date) {
|
public DataQuery date(OffsetDateTime date) {
|
||||||
|
|
||||||
this.date = date;
|
this.date = date;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -127,7 +122,6 @@ public class DataQuery extends Query {
|
|||||||
return date;
|
return date;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setDate(OffsetDateTime date) {
|
public void setDate(OffsetDateTime date) {
|
||||||
this.date = date;
|
this.date = date;
|
||||||
}
|
}
|
||||||
|
@ -145,7 +145,6 @@ public class DefaultValue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public DefaultValue arrayStringEnumRefDefault(List<StringEnumRef> arrayStringEnumRefDefault) {
|
public DefaultValue arrayStringEnumRefDefault(List<StringEnumRef> arrayStringEnumRefDefault) {
|
||||||
|
|
||||||
this.arrayStringEnumRefDefault = arrayStringEnumRefDefault;
|
this.arrayStringEnumRefDefault = arrayStringEnumRefDefault;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -167,14 +166,12 @@ public class DefaultValue {
|
|||||||
return arrayStringEnumRefDefault;
|
return arrayStringEnumRefDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayStringEnumRefDefault(List<StringEnumRef> arrayStringEnumRefDefault) {
|
public void setArrayStringEnumRefDefault(List<StringEnumRef> arrayStringEnumRefDefault) {
|
||||||
this.arrayStringEnumRefDefault = arrayStringEnumRefDefault;
|
this.arrayStringEnumRefDefault = arrayStringEnumRefDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public DefaultValue arrayStringEnumDefault(List<ArrayStringEnumDefaultEnum> arrayStringEnumDefault) {
|
public DefaultValue arrayStringEnumDefault(List<ArrayStringEnumDefaultEnum> arrayStringEnumDefault) {
|
||||||
|
|
||||||
this.arrayStringEnumDefault = arrayStringEnumDefault;
|
this.arrayStringEnumDefault = arrayStringEnumDefault;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -196,14 +193,12 @@ public class DefaultValue {
|
|||||||
return arrayStringEnumDefault;
|
return arrayStringEnumDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayStringEnumDefault(List<ArrayStringEnumDefaultEnum> arrayStringEnumDefault) {
|
public void setArrayStringEnumDefault(List<ArrayStringEnumDefaultEnum> arrayStringEnumDefault) {
|
||||||
this.arrayStringEnumDefault = arrayStringEnumDefault;
|
this.arrayStringEnumDefault = arrayStringEnumDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public DefaultValue arrayStringDefault(List<String> arrayStringDefault) {
|
public DefaultValue arrayStringDefault(List<String> arrayStringDefault) {
|
||||||
|
|
||||||
this.arrayStringDefault = arrayStringDefault;
|
this.arrayStringDefault = arrayStringDefault;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -225,14 +220,12 @@ public class DefaultValue {
|
|||||||
return arrayStringDefault;
|
return arrayStringDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayStringDefault(List<String> arrayStringDefault) {
|
public void setArrayStringDefault(List<String> arrayStringDefault) {
|
||||||
this.arrayStringDefault = arrayStringDefault;
|
this.arrayStringDefault = arrayStringDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public DefaultValue arrayIntegerDefault(List<Integer> arrayIntegerDefault) {
|
public DefaultValue arrayIntegerDefault(List<Integer> arrayIntegerDefault) {
|
||||||
|
|
||||||
this.arrayIntegerDefault = arrayIntegerDefault;
|
this.arrayIntegerDefault = arrayIntegerDefault;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -254,14 +247,12 @@ public class DefaultValue {
|
|||||||
return arrayIntegerDefault;
|
return arrayIntegerDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayIntegerDefault(List<Integer> arrayIntegerDefault) {
|
public void setArrayIntegerDefault(List<Integer> arrayIntegerDefault) {
|
||||||
this.arrayIntegerDefault = arrayIntegerDefault;
|
this.arrayIntegerDefault = arrayIntegerDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public DefaultValue arrayString(List<String> arrayString) {
|
public DefaultValue arrayString(List<String> arrayString) {
|
||||||
|
|
||||||
this.arrayString = arrayString;
|
this.arrayString = arrayString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -283,14 +274,12 @@ public class DefaultValue {
|
|||||||
return arrayString;
|
return arrayString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayString(List<String> arrayString) {
|
public void setArrayString(List<String> arrayString) {
|
||||||
this.arrayString = arrayString;
|
this.arrayString = arrayString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public DefaultValue arrayStringNullable(List<String> arrayStringNullable) {
|
public DefaultValue arrayStringNullable(List<String> arrayStringNullable) {
|
||||||
|
|
||||||
this.arrayStringNullable = arrayStringNullable;
|
this.arrayStringNullable = arrayStringNullable;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -312,14 +301,12 @@ public class DefaultValue {
|
|||||||
return arrayStringNullable;
|
return arrayStringNullable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayStringNullable(List<String> arrayStringNullable) {
|
public void setArrayStringNullable(List<String> arrayStringNullable) {
|
||||||
this.arrayStringNullable = arrayStringNullable;
|
this.arrayStringNullable = arrayStringNullable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public DefaultValue arrayStringExtensionNullable(List<String> arrayStringExtensionNullable) {
|
public DefaultValue arrayStringExtensionNullable(List<String> arrayStringExtensionNullable) {
|
||||||
|
|
||||||
this.arrayStringExtensionNullable = arrayStringExtensionNullable;
|
this.arrayStringExtensionNullable = arrayStringExtensionNullable;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -341,14 +328,12 @@ public class DefaultValue {
|
|||||||
return arrayStringExtensionNullable;
|
return arrayStringExtensionNullable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayStringExtensionNullable(List<String> arrayStringExtensionNullable) {
|
public void setArrayStringExtensionNullable(List<String> arrayStringExtensionNullable) {
|
||||||
this.arrayStringExtensionNullable = arrayStringExtensionNullable;
|
this.arrayStringExtensionNullable = arrayStringExtensionNullable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public DefaultValue stringNullable(String stringNullable) {
|
public DefaultValue stringNullable(String stringNullable) {
|
||||||
|
|
||||||
this.stringNullable = stringNullable;
|
this.stringNullable = stringNullable;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -362,7 +347,6 @@ public class DefaultValue {
|
|||||||
return stringNullable;
|
return stringNullable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setStringNullable(String stringNullable) {
|
public void setStringNullable(String stringNullable) {
|
||||||
this.stringNullable = stringNullable;
|
this.stringNullable = stringNullable;
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,6 @@ public class NumberPropertiesOnly {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public NumberPropertiesOnly number(BigDecimal number) {
|
public NumberPropertiesOnly number(BigDecimal number) {
|
||||||
|
|
||||||
this.number = number;
|
this.number = number;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -82,14 +81,12 @@ public class NumberPropertiesOnly {
|
|||||||
return number;
|
return number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNumber(BigDecimal number) {
|
public void setNumber(BigDecimal number) {
|
||||||
this.number = number;
|
this.number = number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public NumberPropertiesOnly _float(Float _float) {
|
public NumberPropertiesOnly _float(Float _float) {
|
||||||
|
|
||||||
this._float = _float;
|
this._float = _float;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -103,14 +100,12 @@ public class NumberPropertiesOnly {
|
|||||||
return _float;
|
return _float;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setFloat(Float _float) {
|
public void setFloat(Float _float) {
|
||||||
this._float = _float;
|
this._float = _float;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public NumberPropertiesOnly _double(Double _double) {
|
public NumberPropertiesOnly _double(Double _double) {
|
||||||
|
|
||||||
this._double = _double;
|
this._double = _double;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -126,7 +121,6 @@ public class NumberPropertiesOnly {
|
|||||||
return _double;
|
return _double;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setDouble(Double _double) {
|
public void setDouble(Double _double) {
|
||||||
this._double = _double;
|
this._double = _double;
|
||||||
}
|
}
|
||||||
|
@ -137,7 +137,6 @@ public class Pet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Pet id(Long id) {
|
public Pet id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -151,14 +150,12 @@ public class Pet {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet name(String name) {
|
public Pet name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -172,14 +169,12 @@ public class Pet {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet category(Category category) {
|
public Pet category(Category category) {
|
||||||
|
|
||||||
this.category = category;
|
this.category = category;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -193,14 +188,12 @@ public class Pet {
|
|||||||
return category;
|
return category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCategory(Category category) {
|
public void setCategory(Category category) {
|
||||||
this.category = category;
|
this.category = category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet photoUrls(List<String> photoUrls) {
|
public Pet photoUrls(List<String> photoUrls) {
|
||||||
|
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -222,14 +215,12 @@ public class Pet {
|
|||||||
return photoUrls;
|
return photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhotoUrls(List<String> photoUrls) {
|
public void setPhotoUrls(List<String> photoUrls) {
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet tags(List<Tag> tags) {
|
public Pet tags(List<Tag> tags) {
|
||||||
|
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -251,14 +242,12 @@ public class Pet {
|
|||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setTags(List<Tag> tags) {
|
public void setTags(List<Tag> tags) {
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet status(StatusEnum status) {
|
public Pet status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -272,7 +261,6 @@ public class Pet {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
}
|
}
|
||||||
|
@ -119,7 +119,6 @@ public class Query {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Query id(Long id) {
|
public Query id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -133,14 +132,12 @@ public class Query {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Query outcomes(List<OutcomesEnum> outcomes) {
|
public Query outcomes(List<OutcomesEnum> outcomes) {
|
||||||
|
|
||||||
this.outcomes = outcomes;
|
this.outcomes = outcomes;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -162,7 +159,6 @@ public class Query {
|
|||||||
return outcomes;
|
return outcomes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setOutcomes(List<OutcomesEnum> outcomes) {
|
public void setOutcomes(List<OutcomesEnum> outcomes) {
|
||||||
this.outcomes = outcomes;
|
this.outcomes = outcomes;
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,6 @@ public class Tag {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Tag id(Long id) {
|
public Tag id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Tag {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Tag name(String name) {
|
public Tag name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Tag {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,6 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
|||||||
}
|
}
|
||||||
|
|
||||||
public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter size(String size) {
|
public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter size(String size) {
|
||||||
|
|
||||||
this.size = size;
|
this.size = size;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -85,14 +84,12 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
|||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setSize(String size) {
|
public void setSize(String size) {
|
||||||
this.size = size;
|
this.size = size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter color(String color) {
|
public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter color(String color) {
|
||||||
|
|
||||||
this.color = color;
|
this.color = color;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -106,14 +103,12 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
|||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setColor(String color) {
|
public void setColor(String color) {
|
||||||
this.color = color;
|
this.color = color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter id(Long id) {
|
public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -127,14 +122,12 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter name(String name) {
|
public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -148,7 +141,6 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,6 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter values(List<String> values) {
|
public TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter values(List<String> values) {
|
||||||
|
|
||||||
this.values = values;
|
this.values = values;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -83,7 +82,6 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter {
|
|||||||
return values;
|
return values;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setValues(List<String> values) {
|
public void setValues(List<String> values) {
|
||||||
this.values = values;
|
this.values = values;
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,6 @@ import java.util.Objects;
|
|||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
//import com.fasterxml.jackson.annotation.JsonValue;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
||||||
*/
|
*/
|
||||||
|
@ -18,8 +18,6 @@ import java.util.Objects;
|
|||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
//import com.fasterxml.jackson.annotation.JsonValue;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
||||||
*/
|
*/
|
||||||
|
@ -128,7 +128,6 @@ public class SomeObj implements Serializable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public SomeObj $type(TypeEnum $type) {
|
public SomeObj $type(TypeEnum $type) {
|
||||||
|
|
||||||
this.$type = $type;
|
this.$type = $type;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -142,14 +141,12 @@ public class SomeObj implements Serializable {
|
|||||||
return $type;
|
return $type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void set$Type(TypeEnum $type) {
|
public void set$Type(TypeEnum $type) {
|
||||||
this.$type = $type;
|
this.$type = $type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public SomeObj id(Long id) {
|
public SomeObj id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -163,14 +160,12 @@ public class SomeObj implements Serializable {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public SomeObj name(String name) {
|
public SomeObj name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -184,14 +179,12 @@ public class SomeObj implements Serializable {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public SomeObj active(Boolean active) {
|
public SomeObj active(Boolean active) {
|
||||||
|
|
||||||
this.active = active;
|
this.active = active;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -205,14 +198,12 @@ public class SomeObj implements Serializable {
|
|||||||
return active;
|
return active;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setActive(Boolean active) {
|
public void setActive(Boolean active) {
|
||||||
this.active = active;
|
this.active = active;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public SomeObj type(String type) {
|
public SomeObj type(String type) {
|
||||||
|
|
||||||
this.type = type;
|
this.type = type;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -226,7 +217,6 @@ public class SomeObj implements Serializable {
|
|||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setType(String type) {
|
public void setType(String type) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,6 @@ import java.util.Objects;
|
|||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
//import com.fasterxml.jackson.annotation.JsonValue;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
||||||
*/
|
*/
|
||||||
|
@ -64,7 +64,6 @@ public class Animal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Animal className(String className) {
|
public Animal className(String className) {
|
||||||
|
|
||||||
this.className = className;
|
this.className = className;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -78,14 +77,12 @@ public class Animal {
|
|||||||
return className;
|
return className;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setClassName(String className) {
|
public void setClassName(String className) {
|
||||||
this.className = className;
|
this.className = className;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Animal color(String color) {
|
public Animal color(String color) {
|
||||||
|
|
||||||
this.color = color;
|
this.color = color;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -99,7 +96,6 @@ public class Animal {
|
|||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setColor(String color) {
|
public void setColor(String color) {
|
||||||
this.color = color;
|
this.color = color;
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,6 @@ public class Cat extends Animal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Cat declawed(Boolean declawed) {
|
public Cat declawed(Boolean declawed) {
|
||||||
|
|
||||||
this.declawed = declawed;
|
this.declawed = declawed;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -75,7 +74,6 @@ public class Cat extends Animal {
|
|||||||
return declawed;
|
return declawed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setDeclawed(Boolean declawed) {
|
public void setDeclawed(Boolean declawed) {
|
||||||
this.declawed = declawed;
|
this.declawed = declawed;
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,6 @@ public class Category {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Category id(Long id) {
|
public Category id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Category {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Category name(String name) {
|
public Category name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Category {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,6 @@ public class Dog extends Animal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Dog breed(String breed) {
|
public Dog breed(String breed) {
|
||||||
|
|
||||||
this.breed = breed;
|
this.breed = breed;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -75,7 +74,6 @@ public class Dog extends Animal {
|
|||||||
return breed;
|
return breed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setBreed(String breed) {
|
public void setBreed(String breed) {
|
||||||
this.breed = breed;
|
this.breed = breed;
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,6 @@ public class ModelApiResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ModelApiResponse code(Integer code) {
|
public ModelApiResponse code(Integer code) {
|
||||||
|
|
||||||
this.code = code;
|
this.code = code;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -81,14 +80,12 @@ public class ModelApiResponse {
|
|||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCode(Integer code) {
|
public void setCode(Integer code) {
|
||||||
this.code = code;
|
this.code = code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ModelApiResponse type(String type) {
|
public ModelApiResponse type(String type) {
|
||||||
|
|
||||||
this.type = type;
|
this.type = type;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -102,14 +99,12 @@ public class ModelApiResponse {
|
|||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setType(String type) {
|
public void setType(String type) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ModelApiResponse message(String message) {
|
public ModelApiResponse message(String message) {
|
||||||
|
|
||||||
this.message = message;
|
this.message = message;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -123,7 +118,6 @@ public class ModelApiResponse {
|
|||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMessage(String message) {
|
public void setMessage(String message) {
|
||||||
this.message = message;
|
this.message = message;
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,6 @@ public class Order {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Order id(Long id) {
|
public Order id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -148,14 +147,12 @@ public class Order {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order petId(Long petId) {
|
public Order petId(Long petId) {
|
||||||
|
|
||||||
this.petId = petId;
|
this.petId = petId;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -169,14 +166,12 @@ public class Order {
|
|||||||
return petId;
|
return petId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPetId(Long petId) {
|
public void setPetId(Long petId) {
|
||||||
this.petId = petId;
|
this.petId = petId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order quantity(Integer quantity) {
|
public Order quantity(Integer quantity) {
|
||||||
|
|
||||||
this.quantity = quantity;
|
this.quantity = quantity;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -190,14 +185,12 @@ public class Order {
|
|||||||
return quantity;
|
return quantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setQuantity(Integer quantity) {
|
public void setQuantity(Integer quantity) {
|
||||||
this.quantity = quantity;
|
this.quantity = quantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order shipDate(OffsetDateTime shipDate) {
|
public Order shipDate(OffsetDateTime shipDate) {
|
||||||
|
|
||||||
this.shipDate = shipDate;
|
this.shipDate = shipDate;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -211,14 +204,12 @@ public class Order {
|
|||||||
return shipDate;
|
return shipDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setShipDate(OffsetDateTime shipDate) {
|
public void setShipDate(OffsetDateTime shipDate) {
|
||||||
this.shipDate = shipDate;
|
this.shipDate = shipDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order status(StatusEnum status) {
|
public Order status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -232,14 +223,12 @@ public class Order {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order complete(Boolean complete) {
|
public Order complete(Boolean complete) {
|
||||||
|
|
||||||
this.complete = complete;
|
this.complete = complete;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -253,7 +242,6 @@ public class Order {
|
|||||||
return complete;
|
return complete;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setComplete(Boolean complete) {
|
public void setComplete(Boolean complete) {
|
||||||
this.complete = complete;
|
this.complete = complete;
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,6 @@ public class Pet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Pet id(Long id) {
|
public Pet id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -152,14 +151,12 @@ public class Pet {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet category(Category category) {
|
public Pet category(Category category) {
|
||||||
|
|
||||||
this.category = category;
|
this.category = category;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -173,14 +170,12 @@ public class Pet {
|
|||||||
return category;
|
return category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCategory(Category category) {
|
public void setCategory(Category category) {
|
||||||
this.category = category;
|
this.category = category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet name(String name) {
|
public Pet name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -194,14 +189,12 @@ public class Pet {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet photoUrls(List<String> photoUrls) {
|
public Pet photoUrls(List<String> photoUrls) {
|
||||||
|
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -223,14 +216,12 @@ public class Pet {
|
|||||||
return photoUrls;
|
return photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhotoUrls(List<String> photoUrls) {
|
public void setPhotoUrls(List<String> photoUrls) {
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet tags(List<Tag> tags) {
|
public Pet tags(List<Tag> tags) {
|
||||||
|
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -252,7 +243,6 @@ public class Pet {
|
|||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setTags(List<Tag> tags) {
|
public void setTags(List<Tag> tags) {
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
}
|
}
|
||||||
@ -260,7 +250,6 @@ public class Pet {
|
|||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public Pet status(StatusEnum status) {
|
public Pet status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -276,7 +265,6 @@ public class Pet {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
@ -63,7 +63,6 @@ public class Tag {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Tag id(Long id) {
|
public Tag id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Tag {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Tag name(String name) {
|
public Tag name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Tag {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,6 @@ public class User {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public User id(Long id) {
|
public User id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -101,14 +100,12 @@ public class User {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User username(String username) {
|
public User username(String username) {
|
||||||
|
|
||||||
this.username = username;
|
this.username = username;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -122,14 +119,12 @@ public class User {
|
|||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setUsername(String username) {
|
public void setUsername(String username) {
|
||||||
this.username = username;
|
this.username = username;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User firstName(String firstName) {
|
public User firstName(String firstName) {
|
||||||
|
|
||||||
this.firstName = firstName;
|
this.firstName = firstName;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -143,14 +138,12 @@ public class User {
|
|||||||
return firstName;
|
return firstName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setFirstName(String firstName) {
|
public void setFirstName(String firstName) {
|
||||||
this.firstName = firstName;
|
this.firstName = firstName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User lastName(String lastName) {
|
public User lastName(String lastName) {
|
||||||
|
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -164,14 +157,12 @@ public class User {
|
|||||||
return lastName;
|
return lastName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setLastName(String lastName) {
|
public void setLastName(String lastName) {
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User email(String email) {
|
public User email(String email) {
|
||||||
|
|
||||||
this.email = email;
|
this.email = email;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -185,14 +176,12 @@ public class User {
|
|||||||
return email;
|
return email;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setEmail(String email) {
|
public void setEmail(String email) {
|
||||||
this.email = email;
|
this.email = email;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User password(String password) {
|
public User password(String password) {
|
||||||
|
|
||||||
this.password = password;
|
this.password = password;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -206,14 +195,12 @@ public class User {
|
|||||||
return password;
|
return password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPassword(String password) {
|
public void setPassword(String password) {
|
||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User phone(String phone) {
|
public User phone(String phone) {
|
||||||
|
|
||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -227,14 +214,12 @@ public class User {
|
|||||||
return phone;
|
return phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhone(String phone) {
|
public void setPhone(String phone) {
|
||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User userStatus(Integer userStatus) {
|
public User userStatus(Integer userStatus) {
|
||||||
|
|
||||||
this.userStatus = userStatus;
|
this.userStatus = userStatus;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -248,7 +233,6 @@ public class User {
|
|||||||
return userStatus;
|
return userStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setUserStatus(Integer userStatus) {
|
public void setUserStatus(Integer userStatus) {
|
||||||
this.userStatus = userStatus;
|
this.userStatus = userStatus;
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,6 @@ import java.util.Objects;
|
|||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
//import com.fasterxml.jackson.annotation.JsonValue;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
||||||
*/
|
*/
|
||||||
|
@ -63,7 +63,6 @@ public class Category {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Category id(Long id) {
|
public Category id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Category {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Category name(String name) {
|
public Category name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Category {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,6 @@ public class ModelApiResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ModelApiResponse code(Integer code) {
|
public ModelApiResponse code(Integer code) {
|
||||||
|
|
||||||
this.code = code;
|
this.code = code;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -81,14 +80,12 @@ public class ModelApiResponse {
|
|||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCode(Integer code) {
|
public void setCode(Integer code) {
|
||||||
this.code = code;
|
this.code = code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ModelApiResponse type(String type) {
|
public ModelApiResponse type(String type) {
|
||||||
|
|
||||||
this.type = type;
|
this.type = type;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -102,14 +99,12 @@ public class ModelApiResponse {
|
|||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setType(String type) {
|
public void setType(String type) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ModelApiResponse message(String message) {
|
public ModelApiResponse message(String message) {
|
||||||
|
|
||||||
this.message = message;
|
this.message = message;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -123,7 +118,6 @@ public class ModelApiResponse {
|
|||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMessage(String message) {
|
public void setMessage(String message) {
|
||||||
this.message = message;
|
this.message = message;
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,6 @@ public class Order {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Order id(Long id) {
|
public Order id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -148,14 +147,12 @@ public class Order {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order petId(Long petId) {
|
public Order petId(Long petId) {
|
||||||
|
|
||||||
this.petId = petId;
|
this.petId = petId;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -169,14 +166,12 @@ public class Order {
|
|||||||
return petId;
|
return petId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPetId(Long petId) {
|
public void setPetId(Long petId) {
|
||||||
this.petId = petId;
|
this.petId = petId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order quantity(Integer quantity) {
|
public Order quantity(Integer quantity) {
|
||||||
|
|
||||||
this.quantity = quantity;
|
this.quantity = quantity;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -190,14 +185,12 @@ public class Order {
|
|||||||
return quantity;
|
return quantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setQuantity(Integer quantity) {
|
public void setQuantity(Integer quantity) {
|
||||||
this.quantity = quantity;
|
this.quantity = quantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order shipDate(OffsetDateTime shipDate) {
|
public Order shipDate(OffsetDateTime shipDate) {
|
||||||
|
|
||||||
this.shipDate = shipDate;
|
this.shipDate = shipDate;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -211,14 +204,12 @@ public class Order {
|
|||||||
return shipDate;
|
return shipDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setShipDate(OffsetDateTime shipDate) {
|
public void setShipDate(OffsetDateTime shipDate) {
|
||||||
this.shipDate = shipDate;
|
this.shipDate = shipDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order status(StatusEnum status) {
|
public Order status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -232,14 +223,12 @@ public class Order {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order complete(Boolean complete) {
|
public Order complete(Boolean complete) {
|
||||||
|
|
||||||
this.complete = complete;
|
this.complete = complete;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -253,7 +242,6 @@ public class Order {
|
|||||||
return complete;
|
return complete;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setComplete(Boolean complete) {
|
public void setComplete(Boolean complete) {
|
||||||
this.complete = complete;
|
this.complete = complete;
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,6 @@ public class Pet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Pet id(Long id) {
|
public Pet id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -152,14 +151,12 @@ public class Pet {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet category(Category category) {
|
public Pet category(Category category) {
|
||||||
|
|
||||||
this.category = category;
|
this.category = category;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -173,14 +170,12 @@ public class Pet {
|
|||||||
return category;
|
return category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCategory(Category category) {
|
public void setCategory(Category category) {
|
||||||
this.category = category;
|
this.category = category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet name(String name) {
|
public Pet name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -194,14 +189,12 @@ public class Pet {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet photoUrls(List<String> photoUrls) {
|
public Pet photoUrls(List<String> photoUrls) {
|
||||||
|
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -223,14 +216,12 @@ public class Pet {
|
|||||||
return photoUrls;
|
return photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhotoUrls(List<String> photoUrls) {
|
public void setPhotoUrls(List<String> photoUrls) {
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet tags(List<Tag> tags) {
|
public Pet tags(List<Tag> tags) {
|
||||||
|
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -252,7 +243,6 @@ public class Pet {
|
|||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setTags(List<Tag> tags) {
|
public void setTags(List<Tag> tags) {
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
}
|
}
|
||||||
@ -260,7 +250,6 @@ public class Pet {
|
|||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public Pet status(StatusEnum status) {
|
public Pet status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -276,7 +265,6 @@ public class Pet {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
@ -63,7 +63,6 @@ public class Tag {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Tag id(Long id) {
|
public Tag id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Tag {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Tag name(String name) {
|
public Tag name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Tag {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,6 @@ public class User {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public User id(Long id) {
|
public User id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -101,14 +100,12 @@ public class User {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User username(String username) {
|
public User username(String username) {
|
||||||
|
|
||||||
this.username = username;
|
this.username = username;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -122,14 +119,12 @@ public class User {
|
|||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setUsername(String username) {
|
public void setUsername(String username) {
|
||||||
this.username = username;
|
this.username = username;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User firstName(String firstName) {
|
public User firstName(String firstName) {
|
||||||
|
|
||||||
this.firstName = firstName;
|
this.firstName = firstName;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -143,14 +138,12 @@ public class User {
|
|||||||
return firstName;
|
return firstName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setFirstName(String firstName) {
|
public void setFirstName(String firstName) {
|
||||||
this.firstName = firstName;
|
this.firstName = firstName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User lastName(String lastName) {
|
public User lastName(String lastName) {
|
||||||
|
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -164,14 +157,12 @@ public class User {
|
|||||||
return lastName;
|
return lastName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setLastName(String lastName) {
|
public void setLastName(String lastName) {
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User email(String email) {
|
public User email(String email) {
|
||||||
|
|
||||||
this.email = email;
|
this.email = email;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -185,14 +176,12 @@ public class User {
|
|||||||
return email;
|
return email;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setEmail(String email) {
|
public void setEmail(String email) {
|
||||||
this.email = email;
|
this.email = email;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User password(String password) {
|
public User password(String password) {
|
||||||
|
|
||||||
this.password = password;
|
this.password = password;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -206,14 +195,12 @@ public class User {
|
|||||||
return password;
|
return password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPassword(String password) {
|
public void setPassword(String password) {
|
||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User phone(String phone) {
|
public User phone(String phone) {
|
||||||
|
|
||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -227,14 +214,12 @@ public class User {
|
|||||||
return phone;
|
return phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhone(String phone) {
|
public void setPhone(String phone) {
|
||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User userStatus(Integer userStatus) {
|
public User userStatus(Integer userStatus) {
|
||||||
|
|
||||||
this.userStatus = userStatus;
|
this.userStatus = userStatus;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -248,7 +233,6 @@ public class User {
|
|||||||
return userStatus;
|
return userStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setUserStatus(Integer userStatus) {
|
public void setUserStatus(Integer userStatus) {
|
||||||
this.userStatus = userStatus;
|
this.userStatus = userStatus;
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,6 @@ import java.util.Objects;
|
|||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
//import com.fasterxml.jackson.annotation.JsonValue;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
||||||
*/
|
*/
|
||||||
|
@ -59,7 +59,6 @@ public class AdditionalPropertiesAnyType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AdditionalPropertiesAnyType name(String name) {
|
public AdditionalPropertiesAnyType name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -73,7 +72,6 @@ public class AdditionalPropertiesAnyType {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,6 @@ public class AdditionalPropertiesArray {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AdditionalPropertiesArray name(String name) {
|
public AdditionalPropertiesArray name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -74,7 +73,6 @@ public class AdditionalPropertiesArray {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ public class AdditionalPropertiesBoolean {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AdditionalPropertiesBoolean name(String name) {
|
public AdditionalPropertiesBoolean name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -73,7 +72,6 @@ public class AdditionalPropertiesBoolean {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,6 @@ public class AdditionalPropertiesClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapString(Map<String, String> mapString) {
|
public AdditionalPropertiesClass mapString(Map<String, String> mapString) {
|
||||||
|
|
||||||
this.mapString = mapString;
|
this.mapString = mapString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -125,14 +124,12 @@ public class AdditionalPropertiesClass {
|
|||||||
return mapString;
|
return mapString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMapString(Map<String, String> mapString) {
|
public void setMapString(Map<String, String> mapString) {
|
||||||
this.mapString = mapString;
|
this.mapString = mapString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapNumber(Map<String, BigDecimal> mapNumber) {
|
public AdditionalPropertiesClass mapNumber(Map<String, BigDecimal> mapNumber) {
|
||||||
|
|
||||||
this.mapNumber = mapNumber;
|
this.mapNumber = mapNumber;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -154,14 +151,12 @@ public class AdditionalPropertiesClass {
|
|||||||
return mapNumber;
|
return mapNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMapNumber(Map<String, BigDecimal> mapNumber) {
|
public void setMapNumber(Map<String, BigDecimal> mapNumber) {
|
||||||
this.mapNumber = mapNumber;
|
this.mapNumber = mapNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapInteger(Map<String, Integer> mapInteger) {
|
public AdditionalPropertiesClass mapInteger(Map<String, Integer> mapInteger) {
|
||||||
|
|
||||||
this.mapInteger = mapInteger;
|
this.mapInteger = mapInteger;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -183,14 +178,12 @@ public class AdditionalPropertiesClass {
|
|||||||
return mapInteger;
|
return mapInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMapInteger(Map<String, Integer> mapInteger) {
|
public void setMapInteger(Map<String, Integer> mapInteger) {
|
||||||
this.mapInteger = mapInteger;
|
this.mapInteger = mapInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapBoolean(Map<String, Boolean> mapBoolean) {
|
public AdditionalPropertiesClass mapBoolean(Map<String, Boolean> mapBoolean) {
|
||||||
|
|
||||||
this.mapBoolean = mapBoolean;
|
this.mapBoolean = mapBoolean;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -212,14 +205,12 @@ public class AdditionalPropertiesClass {
|
|||||||
return mapBoolean;
|
return mapBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMapBoolean(Map<String, Boolean> mapBoolean) {
|
public void setMapBoolean(Map<String, Boolean> mapBoolean) {
|
||||||
this.mapBoolean = mapBoolean;
|
this.mapBoolean = mapBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
|
public AdditionalPropertiesClass mapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
|
||||||
|
|
||||||
this.mapArrayInteger = mapArrayInteger;
|
this.mapArrayInteger = mapArrayInteger;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -241,14 +232,12 @@ public class AdditionalPropertiesClass {
|
|||||||
return mapArrayInteger;
|
return mapArrayInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
|
public void setMapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
|
||||||
this.mapArrayInteger = mapArrayInteger;
|
this.mapArrayInteger = mapArrayInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
|
public AdditionalPropertiesClass mapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
|
||||||
|
|
||||||
this.mapArrayAnytype = mapArrayAnytype;
|
this.mapArrayAnytype = mapArrayAnytype;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -270,14 +259,12 @@ public class AdditionalPropertiesClass {
|
|||||||
return mapArrayAnytype;
|
return mapArrayAnytype;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
|
public void setMapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
|
||||||
this.mapArrayAnytype = mapArrayAnytype;
|
this.mapArrayAnytype = mapArrayAnytype;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapMapString(Map<String, Map<String, String>> mapMapString) {
|
public AdditionalPropertiesClass mapMapString(Map<String, Map<String, String>> mapMapString) {
|
||||||
|
|
||||||
this.mapMapString = mapMapString;
|
this.mapMapString = mapMapString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -299,14 +286,12 @@ public class AdditionalPropertiesClass {
|
|||||||
return mapMapString;
|
return mapMapString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMapMapString(Map<String, Map<String, String>> mapMapString) {
|
public void setMapMapString(Map<String, Map<String, String>> mapMapString) {
|
||||||
this.mapMapString = mapMapString;
|
this.mapMapString = mapMapString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
|
public AdditionalPropertiesClass mapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
|
||||||
|
|
||||||
this.mapMapAnytype = mapMapAnytype;
|
this.mapMapAnytype = mapMapAnytype;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -328,14 +313,12 @@ public class AdditionalPropertiesClass {
|
|||||||
return mapMapAnytype;
|
return mapMapAnytype;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
|
public void setMapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
|
||||||
this.mapMapAnytype = mapMapAnytype;
|
this.mapMapAnytype = mapMapAnytype;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public AdditionalPropertiesClass anytype1(Object anytype1) {
|
public AdditionalPropertiesClass anytype1(Object anytype1) {
|
||||||
|
|
||||||
this.anytype1 = anytype1;
|
this.anytype1 = anytype1;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -349,14 +332,12 @@ public class AdditionalPropertiesClass {
|
|||||||
return anytype1;
|
return anytype1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setAnytype1(Object anytype1) {
|
public void setAnytype1(Object anytype1) {
|
||||||
this.anytype1 = anytype1;
|
this.anytype1 = anytype1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public AdditionalPropertiesClass anytype2(Object anytype2) {
|
public AdditionalPropertiesClass anytype2(Object anytype2) {
|
||||||
|
|
||||||
this.anytype2 = anytype2;
|
this.anytype2 = anytype2;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -370,14 +351,12 @@ public class AdditionalPropertiesClass {
|
|||||||
return anytype2;
|
return anytype2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setAnytype2(Object anytype2) {
|
public void setAnytype2(Object anytype2) {
|
||||||
this.anytype2 = anytype2;
|
this.anytype2 = anytype2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public AdditionalPropertiesClass anytype3(Object anytype3) {
|
public AdditionalPropertiesClass anytype3(Object anytype3) {
|
||||||
|
|
||||||
this.anytype3 = anytype3;
|
this.anytype3 = anytype3;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -391,7 +370,6 @@ public class AdditionalPropertiesClass {
|
|||||||
return anytype3;
|
return anytype3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setAnytype3(Object anytype3) {
|
public void setAnytype3(Object anytype3) {
|
||||||
this.anytype3 = anytype3;
|
this.anytype3 = anytype3;
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ public class AdditionalPropertiesInteger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AdditionalPropertiesInteger name(String name) {
|
public AdditionalPropertiesInteger name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -73,7 +72,6 @@ public class AdditionalPropertiesInteger {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,6 @@ public class AdditionalPropertiesNumber {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AdditionalPropertiesNumber name(String name) {
|
public AdditionalPropertiesNumber name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -74,7 +73,6 @@ public class AdditionalPropertiesNumber {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,6 @@ public class AdditionalPropertiesObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AdditionalPropertiesObject name(String name) {
|
public AdditionalPropertiesObject name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -74,7 +73,6 @@ public class AdditionalPropertiesObject {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ public class AdditionalPropertiesString {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AdditionalPropertiesString name(String name) {
|
public AdditionalPropertiesString name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -73,7 +72,6 @@ public class AdditionalPropertiesString {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,6 @@ public class Animal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Animal className(String className) {
|
public Animal className(String className) {
|
||||||
|
|
||||||
this.className = className;
|
this.className = className;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -78,14 +77,12 @@ public class Animal {
|
|||||||
return className;
|
return className;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setClassName(String className) {
|
public void setClassName(String className) {
|
||||||
this.className = className;
|
this.className = className;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Animal color(String color) {
|
public Animal color(String color) {
|
||||||
|
|
||||||
this.color = color;
|
this.color = color;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -99,7 +96,6 @@ public class Animal {
|
|||||||
return color;
|
return color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setColor(String color) {
|
public void setColor(String color) {
|
||||||
this.color = color;
|
this.color = color;
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,6 @@ public class ArrayOfArrayOfNumberOnly {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||||
|
|
||||||
this.arrayArrayNumber = arrayArrayNumber;
|
this.arrayArrayNumber = arrayArrayNumber;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -84,7 +83,6 @@ public class ArrayOfArrayOfNumberOnly {
|
|||||||
return arrayArrayNumber;
|
return arrayArrayNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
public void setArrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||||
this.arrayArrayNumber = arrayArrayNumber;
|
this.arrayArrayNumber = arrayArrayNumber;
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,6 @@ public class ArrayOfNumberOnly {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
||||||
|
|
||||||
this.arrayNumber = arrayNumber;
|
this.arrayNumber = arrayNumber;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -84,7 +83,6 @@ public class ArrayOfNumberOnly {
|
|||||||
return arrayNumber;
|
return arrayNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayNumber(List<BigDecimal> arrayNumber) {
|
public void setArrayNumber(List<BigDecimal> arrayNumber) {
|
||||||
this.arrayNumber = arrayNumber;
|
this.arrayNumber = arrayNumber;
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,6 @@ public class ArrayTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
||||||
|
|
||||||
this.arrayOfString = arrayOfString;
|
this.arrayOfString = arrayOfString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -92,14 +91,12 @@ public class ArrayTest {
|
|||||||
return arrayOfString;
|
return arrayOfString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayOfString(List<String> arrayOfString) {
|
public void setArrayOfString(List<String> arrayOfString) {
|
||||||
this.arrayOfString = arrayOfString;
|
this.arrayOfString = arrayOfString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ArrayTest arrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
|
public ArrayTest arrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
|
||||||
|
|
||||||
this.arrayArrayOfInteger = arrayArrayOfInteger;
|
this.arrayArrayOfInteger = arrayArrayOfInteger;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -121,14 +118,12 @@ public class ArrayTest {
|
|||||||
return arrayArrayOfInteger;
|
return arrayArrayOfInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
|
public void setArrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
|
||||||
this.arrayArrayOfInteger = arrayArrayOfInteger;
|
this.arrayArrayOfInteger = arrayArrayOfInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ArrayTest arrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) {
|
public ArrayTest arrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) {
|
||||||
|
|
||||||
this.arrayArrayOfModel = arrayArrayOfModel;
|
this.arrayArrayOfModel = arrayArrayOfModel;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -150,7 +145,6 @@ public class ArrayTest {
|
|||||||
return arrayArrayOfModel;
|
return arrayArrayOfModel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) {
|
public void setArrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) {
|
||||||
this.arrayArrayOfModel = arrayArrayOfModel;
|
this.arrayArrayOfModel = arrayArrayOfModel;
|
||||||
}
|
}
|
||||||
|
@ -117,7 +117,6 @@ public class BigCat extends Cat {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public BigCat kind(KindEnum kind) {
|
public BigCat kind(KindEnum kind) {
|
||||||
|
|
||||||
this.kind = kind;
|
this.kind = kind;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -131,7 +130,6 @@ public class BigCat extends Cat {
|
|||||||
return kind;
|
return kind;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setKind(KindEnum kind) {
|
public void setKind(KindEnum kind) {
|
||||||
this.kind = kind;
|
this.kind = kind;
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,6 @@ public class Capitalization {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Capitalization smallCamel(String smallCamel) {
|
public Capitalization smallCamel(String smallCamel) {
|
||||||
|
|
||||||
this.smallCamel = smallCamel;
|
this.smallCamel = smallCamel;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -93,14 +92,12 @@ public class Capitalization {
|
|||||||
return smallCamel;
|
return smallCamel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setSmallCamel(String smallCamel) {
|
public void setSmallCamel(String smallCamel) {
|
||||||
this.smallCamel = smallCamel;
|
this.smallCamel = smallCamel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Capitalization capitalCamel(String capitalCamel) {
|
public Capitalization capitalCamel(String capitalCamel) {
|
||||||
|
|
||||||
this.capitalCamel = capitalCamel;
|
this.capitalCamel = capitalCamel;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -114,14 +111,12 @@ public class Capitalization {
|
|||||||
return capitalCamel;
|
return capitalCamel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCapitalCamel(String capitalCamel) {
|
public void setCapitalCamel(String capitalCamel) {
|
||||||
this.capitalCamel = capitalCamel;
|
this.capitalCamel = capitalCamel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Capitalization smallSnake(String smallSnake) {
|
public Capitalization smallSnake(String smallSnake) {
|
||||||
|
|
||||||
this.smallSnake = smallSnake;
|
this.smallSnake = smallSnake;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -135,14 +130,12 @@ public class Capitalization {
|
|||||||
return smallSnake;
|
return smallSnake;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setSmallSnake(String smallSnake) {
|
public void setSmallSnake(String smallSnake) {
|
||||||
this.smallSnake = smallSnake;
|
this.smallSnake = smallSnake;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Capitalization capitalSnake(String capitalSnake) {
|
public Capitalization capitalSnake(String capitalSnake) {
|
||||||
|
|
||||||
this.capitalSnake = capitalSnake;
|
this.capitalSnake = capitalSnake;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -156,14 +149,12 @@ public class Capitalization {
|
|||||||
return capitalSnake;
|
return capitalSnake;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCapitalSnake(String capitalSnake) {
|
public void setCapitalSnake(String capitalSnake) {
|
||||||
this.capitalSnake = capitalSnake;
|
this.capitalSnake = capitalSnake;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Capitalization scAETHFlowPoints(String scAETHFlowPoints) {
|
public Capitalization scAETHFlowPoints(String scAETHFlowPoints) {
|
||||||
|
|
||||||
this.scAETHFlowPoints = scAETHFlowPoints;
|
this.scAETHFlowPoints = scAETHFlowPoints;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -177,14 +168,12 @@ public class Capitalization {
|
|||||||
return scAETHFlowPoints;
|
return scAETHFlowPoints;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setScAETHFlowPoints(String scAETHFlowPoints) {
|
public void setScAETHFlowPoints(String scAETHFlowPoints) {
|
||||||
this.scAETHFlowPoints = scAETHFlowPoints;
|
this.scAETHFlowPoints = scAETHFlowPoints;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Capitalization ATT_NAME(String ATT_NAME) {
|
public Capitalization ATT_NAME(String ATT_NAME) {
|
||||||
|
|
||||||
this.ATT_NAME = ATT_NAME;
|
this.ATT_NAME = ATT_NAME;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -198,7 +187,6 @@ public class Capitalization {
|
|||||||
return ATT_NAME;
|
return ATT_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setATTNAME(String ATT_NAME) {
|
public void setATTNAME(String ATT_NAME) {
|
||||||
this.ATT_NAME = ATT_NAME;
|
this.ATT_NAME = ATT_NAME;
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,6 @@ public class Cat extends Animal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Cat declawed(Boolean declawed) {
|
public Cat declawed(Boolean declawed) {
|
||||||
|
|
||||||
this.declawed = declawed;
|
this.declawed = declawed;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -75,7 +74,6 @@ public class Cat extends Animal {
|
|||||||
return declawed;
|
return declawed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setDeclawed(Boolean declawed) {
|
public void setDeclawed(Boolean declawed) {
|
||||||
this.declawed = declawed;
|
this.declawed = declawed;
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,6 @@ public class Category {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Category id(Long id) {
|
public Category id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Category {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Category name(String name) {
|
public Category name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Category {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ public class ClassModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ClassModel propertyClass(String propertyClass) {
|
public ClassModel propertyClass(String propertyClass) {
|
||||||
|
|
||||||
this.propertyClass = propertyClass;
|
this.propertyClass = propertyClass;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -73,7 +72,6 @@ public class ClassModel {
|
|||||||
return propertyClass;
|
return propertyClass;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPropertyClass(String propertyClass) {
|
public void setPropertyClass(String propertyClass) {
|
||||||
this.propertyClass = propertyClass;
|
this.propertyClass = propertyClass;
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ public class Client {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Client client(String client) {
|
public Client client(String client) {
|
||||||
|
|
||||||
this.client = client;
|
this.client = client;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -73,7 +72,6 @@ public class Client {
|
|||||||
return client;
|
return client;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setClient(String client) {
|
public void setClient(String client) {
|
||||||
this.client = client;
|
this.client = client;
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,6 @@ public class Dog extends Animal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Dog breed(String breed) {
|
public Dog breed(String breed) {
|
||||||
|
|
||||||
this.breed = breed;
|
this.breed = breed;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -75,7 +74,6 @@ public class Dog extends Animal {
|
|||||||
return breed;
|
return breed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setBreed(String breed) {
|
public void setBreed(String breed) {
|
||||||
this.breed = breed;
|
this.breed = breed;
|
||||||
}
|
}
|
||||||
|
@ -169,7 +169,6 @@ public class EnumArrays {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
||||||
|
|
||||||
this.justSymbol = justSymbol;
|
this.justSymbol = justSymbol;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -183,14 +182,12 @@ public class EnumArrays {
|
|||||||
return justSymbol;
|
return justSymbol;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setJustSymbol(JustSymbolEnum justSymbol) {
|
public void setJustSymbol(JustSymbolEnum justSymbol) {
|
||||||
this.justSymbol = justSymbol;
|
this.justSymbol = justSymbol;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public EnumArrays arrayEnum(List<ArrayEnumEnum> arrayEnum) {
|
public EnumArrays arrayEnum(List<ArrayEnumEnum> arrayEnum) {
|
||||||
|
|
||||||
this.arrayEnum = arrayEnum;
|
this.arrayEnum = arrayEnum;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -212,7 +209,6 @@ public class EnumArrays {
|
|||||||
return arrayEnum;
|
return arrayEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayEnum(List<ArrayEnumEnum> arrayEnum) {
|
public void setArrayEnum(List<ArrayEnumEnum> arrayEnum) {
|
||||||
this.arrayEnum = arrayEnum;
|
this.arrayEnum = arrayEnum;
|
||||||
}
|
}
|
||||||
|
@ -288,7 +288,6 @@ public class EnumTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public EnumTest enumString(EnumStringEnum enumString) {
|
public EnumTest enumString(EnumStringEnum enumString) {
|
||||||
|
|
||||||
this.enumString = enumString;
|
this.enumString = enumString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -302,14 +301,12 @@ public class EnumTest {
|
|||||||
return enumString;
|
return enumString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setEnumString(EnumStringEnum enumString) {
|
public void setEnumString(EnumStringEnum enumString) {
|
||||||
this.enumString = enumString;
|
this.enumString = enumString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public EnumTest enumStringRequired(EnumStringRequiredEnum enumStringRequired) {
|
public EnumTest enumStringRequired(EnumStringRequiredEnum enumStringRequired) {
|
||||||
|
|
||||||
this.enumStringRequired = enumStringRequired;
|
this.enumStringRequired = enumStringRequired;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -323,14 +320,12 @@ public class EnumTest {
|
|||||||
return enumStringRequired;
|
return enumStringRequired;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setEnumStringRequired(EnumStringRequiredEnum enumStringRequired) {
|
public void setEnumStringRequired(EnumStringRequiredEnum enumStringRequired) {
|
||||||
this.enumStringRequired = enumStringRequired;
|
this.enumStringRequired = enumStringRequired;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public EnumTest enumInteger(EnumIntegerEnum enumInteger) {
|
public EnumTest enumInteger(EnumIntegerEnum enumInteger) {
|
||||||
|
|
||||||
this.enumInteger = enumInteger;
|
this.enumInteger = enumInteger;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -344,14 +339,12 @@ public class EnumTest {
|
|||||||
return enumInteger;
|
return enumInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setEnumInteger(EnumIntegerEnum enumInteger) {
|
public void setEnumInteger(EnumIntegerEnum enumInteger) {
|
||||||
this.enumInteger = enumInteger;
|
this.enumInteger = enumInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public EnumTest enumNumber(EnumNumberEnum enumNumber) {
|
public EnumTest enumNumber(EnumNumberEnum enumNumber) {
|
||||||
|
|
||||||
this.enumNumber = enumNumber;
|
this.enumNumber = enumNumber;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -365,14 +358,12 @@ public class EnumTest {
|
|||||||
return enumNumber;
|
return enumNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setEnumNumber(EnumNumberEnum enumNumber) {
|
public void setEnumNumber(EnumNumberEnum enumNumber) {
|
||||||
this.enumNumber = enumNumber;
|
this.enumNumber = enumNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public EnumTest outerEnum(OuterEnum outerEnum) {
|
public EnumTest outerEnum(OuterEnum outerEnum) {
|
||||||
|
|
||||||
this.outerEnum = outerEnum;
|
this.outerEnum = outerEnum;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -386,7 +377,6 @@ public class EnumTest {
|
|||||||
return outerEnum;
|
return outerEnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setOuterEnum(OuterEnum outerEnum) {
|
public void setOuterEnum(OuterEnum outerEnum) {
|
||||||
this.outerEnum = outerEnum;
|
this.outerEnum = outerEnum;
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,6 @@ public class FileSchemaTestClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public FileSchemaTestClass _file(ModelFile _file) {
|
public FileSchemaTestClass _file(ModelFile _file) {
|
||||||
|
|
||||||
this._file = _file;
|
this._file = _file;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -80,14 +79,12 @@ public class FileSchemaTestClass {
|
|||||||
return _file;
|
return _file;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setFile(ModelFile _file) {
|
public void setFile(ModelFile _file) {
|
||||||
this._file = _file;
|
this._file = _file;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FileSchemaTestClass files(List<ModelFile> files) {
|
public FileSchemaTestClass files(List<ModelFile> files) {
|
||||||
|
|
||||||
this.files = files;
|
this.files = files;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -109,7 +106,6 @@ public class FileSchemaTestClass {
|
|||||||
return files;
|
return files;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setFiles(List<ModelFile> files) {
|
public void setFiles(List<ModelFile> files) {
|
||||||
this.files = files;
|
this.files = files;
|
||||||
}
|
}
|
||||||
|
@ -116,7 +116,6 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
this.integer = integer;
|
this.integer = integer;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -132,14 +131,12 @@ public class FormatTest {
|
|||||||
return integer;
|
return integer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setInteger(Integer integer) {
|
public void setInteger(Integer integer) {
|
||||||
this.integer = integer;
|
this.integer = integer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest int32(Integer int32) {
|
public FormatTest int32(Integer int32) {
|
||||||
|
|
||||||
this.int32 = int32;
|
this.int32 = int32;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -155,14 +152,12 @@ public class FormatTest {
|
|||||||
return int32;
|
return int32;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setInt32(Integer int32) {
|
public void setInt32(Integer int32) {
|
||||||
this.int32 = int32;
|
this.int32 = int32;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest int64(Long int64) {
|
public FormatTest int64(Long int64) {
|
||||||
|
|
||||||
this.int64 = int64;
|
this.int64 = int64;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -176,14 +171,12 @@ public class FormatTest {
|
|||||||
return int64;
|
return int64;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setInt64(Long int64) {
|
public void setInt64(Long int64) {
|
||||||
this.int64 = int64;
|
this.int64 = int64;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest number(BigDecimal number) {
|
public FormatTest number(BigDecimal number) {
|
||||||
|
|
||||||
this.number = number;
|
this.number = number;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -199,14 +192,12 @@ public class FormatTest {
|
|||||||
return number;
|
return number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNumber(BigDecimal number) {
|
public void setNumber(BigDecimal number) {
|
||||||
this.number = number;
|
this.number = number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest _float(Float _float) {
|
public FormatTest _float(Float _float) {
|
||||||
|
|
||||||
this._float = _float;
|
this._float = _float;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -222,14 +213,12 @@ public class FormatTest {
|
|||||||
return _float;
|
return _float;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setFloat(Float _float) {
|
public void setFloat(Float _float) {
|
||||||
this._float = _float;
|
this._float = _float;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest _double(Double _double) {
|
public FormatTest _double(Double _double) {
|
||||||
|
|
||||||
this._double = _double;
|
this._double = _double;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -245,14 +234,12 @@ public class FormatTest {
|
|||||||
return _double;
|
return _double;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setDouble(Double _double) {
|
public void setDouble(Double _double) {
|
||||||
this._double = _double;
|
this._double = _double;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest string(String string) {
|
public FormatTest string(String string) {
|
||||||
|
|
||||||
this.string = string;
|
this.string = string;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -266,14 +253,12 @@ public class FormatTest {
|
|||||||
return string;
|
return string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setString(String string) {
|
public void setString(String string) {
|
||||||
this.string = string;
|
this.string = string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest _byte(byte[] _byte) {
|
public FormatTest _byte(byte[] _byte) {
|
||||||
|
|
||||||
this._byte = _byte;
|
this._byte = _byte;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -287,14 +272,12 @@ public class FormatTest {
|
|||||||
return _byte;
|
return _byte;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setByte(byte[] _byte) {
|
public void setByte(byte[] _byte) {
|
||||||
this._byte = _byte;
|
this._byte = _byte;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest binary(File binary) {
|
public FormatTest binary(File binary) {
|
||||||
|
|
||||||
this.binary = binary;
|
this.binary = binary;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -308,14 +291,12 @@ public class FormatTest {
|
|||||||
return binary;
|
return binary;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setBinary(File binary) {
|
public void setBinary(File binary) {
|
||||||
this.binary = binary;
|
this.binary = binary;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest date(LocalDate date) {
|
public FormatTest date(LocalDate date) {
|
||||||
|
|
||||||
this.date = date;
|
this.date = date;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -329,14 +310,12 @@ public class FormatTest {
|
|||||||
return date;
|
return date;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setDate(LocalDate date) {
|
public void setDate(LocalDate date) {
|
||||||
this.date = date;
|
this.date = date;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest dateTime(OffsetDateTime dateTime) {
|
public FormatTest dateTime(OffsetDateTime dateTime) {
|
||||||
|
|
||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -350,14 +329,12 @@ public class FormatTest {
|
|||||||
return dateTime;
|
return dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setDateTime(OffsetDateTime dateTime) {
|
public void setDateTime(OffsetDateTime dateTime) {
|
||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest uuid(UUID uuid) {
|
public FormatTest uuid(UUID uuid) {
|
||||||
|
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -371,14 +348,12 @@ public class FormatTest {
|
|||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setUuid(UUID uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest password(String password) {
|
public FormatTest password(String password) {
|
||||||
|
|
||||||
this.password = password;
|
this.password = password;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -392,14 +367,12 @@ public class FormatTest {
|
|||||||
return password;
|
return password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPassword(String password) {
|
public void setPassword(String password) {
|
||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
this.bigDecimal = bigDecimal;
|
this.bigDecimal = bigDecimal;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -413,7 +386,6 @@ public class FormatTest {
|
|||||||
return bigDecimal;
|
return bigDecimal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setBigDecimal(BigDecimal bigDecimal) {
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
this.bigDecimal = bigDecimal;
|
this.bigDecimal = bigDecimal;
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,6 @@ public class HasOnlyReadOnly {
|
|||||||
public HasOnlyReadOnly() {
|
public HasOnlyReadOnly() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public HasOnlyReadOnly(
|
public HasOnlyReadOnly(
|
||||||
String bar,
|
String bar,
|
||||||
String foo
|
String foo
|
||||||
@ -83,7 +82,6 @@ public class HasOnlyReadOnly {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get foo
|
* Get foo
|
||||||
* @return foo
|
* @return foo
|
||||||
@ -96,7 +94,6 @@ public class HasOnlyReadOnly {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
|
@ -125,7 +125,6 @@ public class MapTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||||
|
|
||||||
this.mapMapOfString = mapMapOfString;
|
this.mapMapOfString = mapMapOfString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -147,14 +146,12 @@ public class MapTest {
|
|||||||
return mapMapOfString;
|
return mapMapOfString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
public void setMapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||||
this.mapMapOfString = mapMapOfString;
|
this.mapMapOfString = mapMapOfString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public MapTest mapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
|
public MapTest mapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
|
||||||
|
|
||||||
this.mapOfEnumString = mapOfEnumString;
|
this.mapOfEnumString = mapOfEnumString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -176,14 +173,12 @@ public class MapTest {
|
|||||||
return mapOfEnumString;
|
return mapOfEnumString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
|
public void setMapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
|
||||||
this.mapOfEnumString = mapOfEnumString;
|
this.mapOfEnumString = mapOfEnumString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public MapTest directMap(Map<String, Boolean> directMap) {
|
public MapTest directMap(Map<String, Boolean> directMap) {
|
||||||
|
|
||||||
this.directMap = directMap;
|
this.directMap = directMap;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -205,14 +200,12 @@ public class MapTest {
|
|||||||
return directMap;
|
return directMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setDirectMap(Map<String, Boolean> directMap) {
|
public void setDirectMap(Map<String, Boolean> directMap) {
|
||||||
this.directMap = directMap;
|
this.directMap = directMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public MapTest indirectMap(Map<String, Boolean> indirectMap) {
|
public MapTest indirectMap(Map<String, Boolean> indirectMap) {
|
||||||
|
|
||||||
this.indirectMap = indirectMap;
|
this.indirectMap = indirectMap;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -234,7 +227,6 @@ public class MapTest {
|
|||||||
return indirectMap;
|
return indirectMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setIndirectMap(Map<String, Boolean> indirectMap) {
|
public void setIndirectMap(Map<String, Boolean> indirectMap) {
|
||||||
this.indirectMap = indirectMap;
|
this.indirectMap = indirectMap;
|
||||||
}
|
}
|
||||||
|
@ -72,7 +72,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
|
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -86,14 +85,12 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setUuid(UUID uuid) {
|
public void setUuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
|
public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
|
||||||
|
|
||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -107,14 +104,12 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
return dateTime;
|
return dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setDateTime(OffsetDateTime dateTime) {
|
public void setDateTime(OffsetDateTime dateTime) {
|
||||||
this.dateTime = dateTime;
|
this.dateTime = dateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass map(Map<String, Animal> map) {
|
public MixedPropertiesAndAdditionalPropertiesClass map(Map<String, Animal> map) {
|
||||||
|
|
||||||
this.map = map;
|
this.map = map;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -136,7 +131,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMap(Map<String, Animal> map) {
|
public void setMap(Map<String, Animal> map) {
|
||||||
this.map = map;
|
this.map = map;
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,6 @@ public class Model200Response {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Model200Response name(Integer name) {
|
public Model200Response name(Integer name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Model200Response {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(Integer name) {
|
public void setName(Integer name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Model200Response propertyClass(String propertyClass) {
|
public Model200Response propertyClass(String propertyClass) {
|
||||||
|
|
||||||
this.propertyClass = propertyClass;
|
this.propertyClass = propertyClass;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Model200Response {
|
|||||||
return propertyClass;
|
return propertyClass;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPropertyClass(String propertyClass) {
|
public void setPropertyClass(String propertyClass) {
|
||||||
this.propertyClass = propertyClass;
|
this.propertyClass = propertyClass;
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,6 @@ public class ModelApiResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ModelApiResponse code(Integer code) {
|
public ModelApiResponse code(Integer code) {
|
||||||
|
|
||||||
this.code = code;
|
this.code = code;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -81,14 +80,12 @@ public class ModelApiResponse {
|
|||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCode(Integer code) {
|
public void setCode(Integer code) {
|
||||||
this.code = code;
|
this.code = code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ModelApiResponse type(String type) {
|
public ModelApiResponse type(String type) {
|
||||||
|
|
||||||
this.type = type;
|
this.type = type;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -102,14 +99,12 @@ public class ModelApiResponse {
|
|||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setType(String type) {
|
public void setType(String type) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ModelApiResponse message(String message) {
|
public ModelApiResponse message(String message) {
|
||||||
|
|
||||||
this.message = message;
|
this.message = message;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -123,7 +118,6 @@ public class ModelApiResponse {
|
|||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMessage(String message) {
|
public void setMessage(String message) {
|
||||||
this.message = message;
|
this.message = message;
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ public class ModelFile {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ModelFile sourceURI(String sourceURI) {
|
public ModelFile sourceURI(String sourceURI) {
|
||||||
|
|
||||||
this.sourceURI = sourceURI;
|
this.sourceURI = sourceURI;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -73,7 +72,6 @@ public class ModelFile {
|
|||||||
return sourceURI;
|
return sourceURI;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setSourceURI(String sourceURI) {
|
public void setSourceURI(String sourceURI) {
|
||||||
this.sourceURI = sourceURI;
|
this.sourceURI = sourceURI;
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ public class ModelList {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ModelList _123list(String _123list) {
|
public ModelList _123list(String _123list) {
|
||||||
|
|
||||||
this._123list = _123list;
|
this._123list = _123list;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -73,7 +72,6 @@ public class ModelList {
|
|||||||
return _123list;
|
return _123list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void set123list(String _123list) {
|
public void set123list(String _123list) {
|
||||||
this._123list = _123list;
|
this._123list = _123list;
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ public class ModelReturn {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ModelReturn _return(Integer _return) {
|
public ModelReturn _return(Integer _return) {
|
||||||
|
|
||||||
this._return = _return;
|
this._return = _return;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -73,7 +72,6 @@ public class ModelReturn {
|
|||||||
return _return;
|
return _return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setReturn(Integer _return) {
|
public void setReturn(Integer _return) {
|
||||||
this._return = _return;
|
this._return = _return;
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,6 @@ public class Name {
|
|||||||
public Name() {
|
public Name() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Name(
|
public Name(
|
||||||
Integer snakeCase,
|
Integer snakeCase,
|
||||||
Integer _123number
|
Integer _123number
|
||||||
@ -81,7 +80,6 @@ public class Name {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Name name(Integer name) {
|
public Name name(Integer name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -95,7 +93,6 @@ public class Name {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(Integer name) {
|
public void setName(Integer name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
@ -112,9 +109,7 @@ public class Name {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public Name property(String property) {
|
public Name property(String property) {
|
||||||
|
|
||||||
this.property = property;
|
this.property = property;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -128,7 +123,6 @@ public class Name {
|
|||||||
return property;
|
return property;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setProperty(String property) {
|
public void setProperty(String property) {
|
||||||
this.property = property;
|
this.property = property;
|
||||||
}
|
}
|
||||||
@ -146,7 +140,6 @@ public class Name {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
|
@ -60,7 +60,6 @@ public class NumberOnly {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public NumberOnly justNumber(BigDecimal justNumber) {
|
public NumberOnly justNumber(BigDecimal justNumber) {
|
||||||
|
|
||||||
this.justNumber = justNumber;
|
this.justNumber = justNumber;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -74,7 +73,6 @@ public class NumberOnly {
|
|||||||
return justNumber;
|
return justNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setJustNumber(BigDecimal justNumber) {
|
public void setJustNumber(BigDecimal justNumber) {
|
||||||
this.justNumber = justNumber;
|
this.justNumber = justNumber;
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,6 @@ public class Order {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Order id(Long id) {
|
public Order id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -148,14 +147,12 @@ public class Order {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order petId(Long petId) {
|
public Order petId(Long petId) {
|
||||||
|
|
||||||
this.petId = petId;
|
this.petId = petId;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -169,14 +166,12 @@ public class Order {
|
|||||||
return petId;
|
return petId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPetId(Long petId) {
|
public void setPetId(Long petId) {
|
||||||
this.petId = petId;
|
this.petId = petId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order quantity(Integer quantity) {
|
public Order quantity(Integer quantity) {
|
||||||
|
|
||||||
this.quantity = quantity;
|
this.quantity = quantity;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -190,14 +185,12 @@ public class Order {
|
|||||||
return quantity;
|
return quantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setQuantity(Integer quantity) {
|
public void setQuantity(Integer quantity) {
|
||||||
this.quantity = quantity;
|
this.quantity = quantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order shipDate(OffsetDateTime shipDate) {
|
public Order shipDate(OffsetDateTime shipDate) {
|
||||||
|
|
||||||
this.shipDate = shipDate;
|
this.shipDate = shipDate;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -211,14 +204,12 @@ public class Order {
|
|||||||
return shipDate;
|
return shipDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setShipDate(OffsetDateTime shipDate) {
|
public void setShipDate(OffsetDateTime shipDate) {
|
||||||
this.shipDate = shipDate;
|
this.shipDate = shipDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order status(StatusEnum status) {
|
public Order status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -232,14 +223,12 @@ public class Order {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order complete(Boolean complete) {
|
public Order complete(Boolean complete) {
|
||||||
|
|
||||||
this.complete = complete;
|
this.complete = complete;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -253,7 +242,6 @@ public class Order {
|
|||||||
return complete;
|
return complete;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setComplete(Boolean complete) {
|
public void setComplete(Boolean complete) {
|
||||||
this.complete = complete;
|
this.complete = complete;
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,6 @@ public class OuterComposite {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public OuterComposite myNumber(BigDecimal myNumber) {
|
public OuterComposite myNumber(BigDecimal myNumber) {
|
||||||
|
|
||||||
this.myNumber = myNumber;
|
this.myNumber = myNumber;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -82,14 +81,12 @@ public class OuterComposite {
|
|||||||
return myNumber;
|
return myNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMyNumber(BigDecimal myNumber) {
|
public void setMyNumber(BigDecimal myNumber) {
|
||||||
this.myNumber = myNumber;
|
this.myNumber = myNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public OuterComposite myString(String myString) {
|
public OuterComposite myString(String myString) {
|
||||||
|
|
||||||
this.myString = myString;
|
this.myString = myString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -103,14 +100,12 @@ public class OuterComposite {
|
|||||||
return myString;
|
return myString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMyString(String myString) {
|
public void setMyString(String myString) {
|
||||||
this.myString = myString;
|
this.myString = myString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public OuterComposite myBoolean(Boolean myBoolean) {
|
public OuterComposite myBoolean(Boolean myBoolean) {
|
||||||
|
|
||||||
this.myBoolean = myBoolean;
|
this.myBoolean = myBoolean;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -124,7 +119,6 @@ public class OuterComposite {
|
|||||||
return myBoolean;
|
return myBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMyBoolean(Boolean myBoolean) {
|
public void setMyBoolean(Boolean myBoolean) {
|
||||||
this.myBoolean = myBoolean;
|
this.myBoolean = myBoolean;
|
||||||
}
|
}
|
||||||
|
@ -139,7 +139,6 @@ public class Pet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Pet id(Long id) {
|
public Pet id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -153,14 +152,12 @@ public class Pet {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet category(Category category) {
|
public Pet category(Category category) {
|
||||||
|
|
||||||
this.category = category;
|
this.category = category;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -174,14 +171,12 @@ public class Pet {
|
|||||||
return category;
|
return category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCategory(Category category) {
|
public void setCategory(Category category) {
|
||||||
this.category = category;
|
this.category = category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet name(String name) {
|
public Pet name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -195,14 +190,12 @@ public class Pet {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet photoUrls(Set<String> photoUrls) {
|
public Pet photoUrls(Set<String> photoUrls) {
|
||||||
|
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -224,14 +217,12 @@ public class Pet {
|
|||||||
return photoUrls;
|
return photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhotoUrls(Set<String> photoUrls) {
|
public void setPhotoUrls(Set<String> photoUrls) {
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet tags(List<Tag> tags) {
|
public Pet tags(List<Tag> tags) {
|
||||||
|
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -253,14 +244,12 @@ public class Pet {
|
|||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setTags(List<Tag> tags) {
|
public void setTags(List<Tag> tags) {
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet status(StatusEnum status) {
|
public Pet status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -274,7 +263,6 @@ public class Pet {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,6 @@ public class ReadOnlyFirst {
|
|||||||
public ReadOnlyFirst() {
|
public ReadOnlyFirst() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ReadOnlyFirst(
|
public ReadOnlyFirst(
|
||||||
String bar
|
String bar
|
||||||
) {
|
) {
|
||||||
@ -81,9 +80,7 @@ public class ReadOnlyFirst {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public ReadOnlyFirst baz(String baz) {
|
public ReadOnlyFirst baz(String baz) {
|
||||||
|
|
||||||
this.baz = baz;
|
this.baz = baz;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -97,7 +94,6 @@ public class ReadOnlyFirst {
|
|||||||
return baz;
|
return baz;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setBaz(String baz) {
|
public void setBaz(String baz) {
|
||||||
this.baz = baz;
|
this.baz = baz;
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,6 @@ public class SpecialModelName {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public SpecialModelName $specialPropertyName(Long $specialPropertyName) {
|
public SpecialModelName $specialPropertyName(Long $specialPropertyName) {
|
||||||
|
|
||||||
this.$specialPropertyName = $specialPropertyName;
|
this.$specialPropertyName = $specialPropertyName;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -73,7 +72,6 @@ public class SpecialModelName {
|
|||||||
return $specialPropertyName;
|
return $specialPropertyName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void set$SpecialPropertyName(Long $specialPropertyName) {
|
public void set$SpecialPropertyName(Long $specialPropertyName) {
|
||||||
this.$specialPropertyName = $specialPropertyName;
|
this.$specialPropertyName = $specialPropertyName;
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,6 @@ public class Tag {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Tag id(Long id) {
|
public Tag id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Tag {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Tag name(String name) {
|
public Tag name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Tag {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -78,7 +78,6 @@ public class TypeHolderDefault {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public TypeHolderDefault stringItem(String stringItem) {
|
public TypeHolderDefault stringItem(String stringItem) {
|
||||||
|
|
||||||
this.stringItem = stringItem;
|
this.stringItem = stringItem;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -92,14 +91,12 @@ public class TypeHolderDefault {
|
|||||||
return stringItem;
|
return stringItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setStringItem(String stringItem) {
|
public void setStringItem(String stringItem) {
|
||||||
this.stringItem = stringItem;
|
this.stringItem = stringItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TypeHolderDefault numberItem(BigDecimal numberItem) {
|
public TypeHolderDefault numberItem(BigDecimal numberItem) {
|
||||||
|
|
||||||
this.numberItem = numberItem;
|
this.numberItem = numberItem;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -113,14 +110,12 @@ public class TypeHolderDefault {
|
|||||||
return numberItem;
|
return numberItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNumberItem(BigDecimal numberItem) {
|
public void setNumberItem(BigDecimal numberItem) {
|
||||||
this.numberItem = numberItem;
|
this.numberItem = numberItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TypeHolderDefault integerItem(Integer integerItem) {
|
public TypeHolderDefault integerItem(Integer integerItem) {
|
||||||
|
|
||||||
this.integerItem = integerItem;
|
this.integerItem = integerItem;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -134,14 +129,12 @@ public class TypeHolderDefault {
|
|||||||
return integerItem;
|
return integerItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setIntegerItem(Integer integerItem) {
|
public void setIntegerItem(Integer integerItem) {
|
||||||
this.integerItem = integerItem;
|
this.integerItem = integerItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TypeHolderDefault boolItem(Boolean boolItem) {
|
public TypeHolderDefault boolItem(Boolean boolItem) {
|
||||||
|
|
||||||
this.boolItem = boolItem;
|
this.boolItem = boolItem;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -155,14 +148,12 @@ public class TypeHolderDefault {
|
|||||||
return boolItem;
|
return boolItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setBoolItem(Boolean boolItem) {
|
public void setBoolItem(Boolean boolItem) {
|
||||||
this.boolItem = boolItem;
|
this.boolItem = boolItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TypeHolderDefault arrayItem(List<Integer> arrayItem) {
|
public TypeHolderDefault arrayItem(List<Integer> arrayItem) {
|
||||||
|
|
||||||
this.arrayItem = arrayItem;
|
this.arrayItem = arrayItem;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -184,7 +175,6 @@ public class TypeHolderDefault {
|
|||||||
return arrayItem;
|
return arrayItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayItem(List<Integer> arrayItem) {
|
public void setArrayItem(List<Integer> arrayItem) {
|
||||||
this.arrayItem = arrayItem;
|
this.arrayItem = arrayItem;
|
||||||
}
|
}
|
||||||
|
@ -82,7 +82,6 @@ public class TypeHolderExample {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public TypeHolderExample stringItem(String stringItem) {
|
public TypeHolderExample stringItem(String stringItem) {
|
||||||
|
|
||||||
this.stringItem = stringItem;
|
this.stringItem = stringItem;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -96,14 +95,12 @@ public class TypeHolderExample {
|
|||||||
return stringItem;
|
return stringItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setStringItem(String stringItem) {
|
public void setStringItem(String stringItem) {
|
||||||
this.stringItem = stringItem;
|
this.stringItem = stringItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TypeHolderExample numberItem(BigDecimal numberItem) {
|
public TypeHolderExample numberItem(BigDecimal numberItem) {
|
||||||
|
|
||||||
this.numberItem = numberItem;
|
this.numberItem = numberItem;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -117,14 +114,12 @@ public class TypeHolderExample {
|
|||||||
return numberItem;
|
return numberItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNumberItem(BigDecimal numberItem) {
|
public void setNumberItem(BigDecimal numberItem) {
|
||||||
this.numberItem = numberItem;
|
this.numberItem = numberItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TypeHolderExample floatItem(Float floatItem) {
|
public TypeHolderExample floatItem(Float floatItem) {
|
||||||
|
|
||||||
this.floatItem = floatItem;
|
this.floatItem = floatItem;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -138,14 +133,12 @@ public class TypeHolderExample {
|
|||||||
return floatItem;
|
return floatItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setFloatItem(Float floatItem) {
|
public void setFloatItem(Float floatItem) {
|
||||||
this.floatItem = floatItem;
|
this.floatItem = floatItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TypeHolderExample integerItem(Integer integerItem) {
|
public TypeHolderExample integerItem(Integer integerItem) {
|
||||||
|
|
||||||
this.integerItem = integerItem;
|
this.integerItem = integerItem;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -159,14 +152,12 @@ public class TypeHolderExample {
|
|||||||
return integerItem;
|
return integerItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setIntegerItem(Integer integerItem) {
|
public void setIntegerItem(Integer integerItem) {
|
||||||
this.integerItem = integerItem;
|
this.integerItem = integerItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TypeHolderExample boolItem(Boolean boolItem) {
|
public TypeHolderExample boolItem(Boolean boolItem) {
|
||||||
|
|
||||||
this.boolItem = boolItem;
|
this.boolItem = boolItem;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -180,14 +171,12 @@ public class TypeHolderExample {
|
|||||||
return boolItem;
|
return boolItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setBoolItem(Boolean boolItem) {
|
public void setBoolItem(Boolean boolItem) {
|
||||||
this.boolItem = boolItem;
|
this.boolItem = boolItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TypeHolderExample arrayItem(List<Integer> arrayItem) {
|
public TypeHolderExample arrayItem(List<Integer> arrayItem) {
|
||||||
|
|
||||||
this.arrayItem = arrayItem;
|
this.arrayItem = arrayItem;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -209,7 +198,6 @@ public class TypeHolderExample {
|
|||||||
return arrayItem;
|
return arrayItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setArrayItem(List<Integer> arrayItem) {
|
public void setArrayItem(List<Integer> arrayItem) {
|
||||||
this.arrayItem = arrayItem;
|
this.arrayItem = arrayItem;
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,6 @@ public class User {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public User id(Long id) {
|
public User id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -101,14 +100,12 @@ public class User {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User username(String username) {
|
public User username(String username) {
|
||||||
|
|
||||||
this.username = username;
|
this.username = username;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -122,14 +119,12 @@ public class User {
|
|||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setUsername(String username) {
|
public void setUsername(String username) {
|
||||||
this.username = username;
|
this.username = username;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User firstName(String firstName) {
|
public User firstName(String firstName) {
|
||||||
|
|
||||||
this.firstName = firstName;
|
this.firstName = firstName;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -143,14 +138,12 @@ public class User {
|
|||||||
return firstName;
|
return firstName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setFirstName(String firstName) {
|
public void setFirstName(String firstName) {
|
||||||
this.firstName = firstName;
|
this.firstName = firstName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User lastName(String lastName) {
|
public User lastName(String lastName) {
|
||||||
|
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -164,14 +157,12 @@ public class User {
|
|||||||
return lastName;
|
return lastName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setLastName(String lastName) {
|
public void setLastName(String lastName) {
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User email(String email) {
|
public User email(String email) {
|
||||||
|
|
||||||
this.email = email;
|
this.email = email;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -185,14 +176,12 @@ public class User {
|
|||||||
return email;
|
return email;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setEmail(String email) {
|
public void setEmail(String email) {
|
||||||
this.email = email;
|
this.email = email;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User password(String password) {
|
public User password(String password) {
|
||||||
|
|
||||||
this.password = password;
|
this.password = password;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -206,14 +195,12 @@ public class User {
|
|||||||
return password;
|
return password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPassword(String password) {
|
public void setPassword(String password) {
|
||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User phone(String phone) {
|
public User phone(String phone) {
|
||||||
|
|
||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -227,14 +214,12 @@ public class User {
|
|||||||
return phone;
|
return phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhone(String phone) {
|
public void setPhone(String phone) {
|
||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User userStatus(Integer userStatus) {
|
public User userStatus(Integer userStatus) {
|
||||||
|
|
||||||
this.userStatus = userStatus;
|
this.userStatus = userStatus;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -248,7 +233,6 @@ public class User {
|
|||||||
return userStatus;
|
return userStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setUserStatus(Integer userStatus) {
|
public void setUserStatus(Integer userStatus) {
|
||||||
this.userStatus = userStatus;
|
this.userStatus = userStatus;
|
||||||
}
|
}
|
||||||
|
@ -174,7 +174,6 @@ public class XmlItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public XmlItem attributeString(String attributeString) {
|
public XmlItem attributeString(String attributeString) {
|
||||||
|
|
||||||
this.attributeString = attributeString;
|
this.attributeString = attributeString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -188,14 +187,12 @@ public class XmlItem {
|
|||||||
return attributeString;
|
return attributeString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setAttributeString(String attributeString) {
|
public void setAttributeString(String attributeString) {
|
||||||
this.attributeString = attributeString;
|
this.attributeString = attributeString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem attributeNumber(BigDecimal attributeNumber) {
|
public XmlItem attributeNumber(BigDecimal attributeNumber) {
|
||||||
|
|
||||||
this.attributeNumber = attributeNumber;
|
this.attributeNumber = attributeNumber;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -209,14 +206,12 @@ public class XmlItem {
|
|||||||
return attributeNumber;
|
return attributeNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setAttributeNumber(BigDecimal attributeNumber) {
|
public void setAttributeNumber(BigDecimal attributeNumber) {
|
||||||
this.attributeNumber = attributeNumber;
|
this.attributeNumber = attributeNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem attributeInteger(Integer attributeInteger) {
|
public XmlItem attributeInteger(Integer attributeInteger) {
|
||||||
|
|
||||||
this.attributeInteger = attributeInteger;
|
this.attributeInteger = attributeInteger;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -230,14 +225,12 @@ public class XmlItem {
|
|||||||
return attributeInteger;
|
return attributeInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setAttributeInteger(Integer attributeInteger) {
|
public void setAttributeInteger(Integer attributeInteger) {
|
||||||
this.attributeInteger = attributeInteger;
|
this.attributeInteger = attributeInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem attributeBoolean(Boolean attributeBoolean) {
|
public XmlItem attributeBoolean(Boolean attributeBoolean) {
|
||||||
|
|
||||||
this.attributeBoolean = attributeBoolean;
|
this.attributeBoolean = attributeBoolean;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -251,14 +244,12 @@ public class XmlItem {
|
|||||||
return attributeBoolean;
|
return attributeBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setAttributeBoolean(Boolean attributeBoolean) {
|
public void setAttributeBoolean(Boolean attributeBoolean) {
|
||||||
this.attributeBoolean = attributeBoolean;
|
this.attributeBoolean = attributeBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem wrappedArray(List<Integer> wrappedArray) {
|
public XmlItem wrappedArray(List<Integer> wrappedArray) {
|
||||||
|
|
||||||
this.wrappedArray = wrappedArray;
|
this.wrappedArray = wrappedArray;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -280,14 +271,12 @@ public class XmlItem {
|
|||||||
return wrappedArray;
|
return wrappedArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setWrappedArray(List<Integer> wrappedArray) {
|
public void setWrappedArray(List<Integer> wrappedArray) {
|
||||||
this.wrappedArray = wrappedArray;
|
this.wrappedArray = wrappedArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem nameString(String nameString) {
|
public XmlItem nameString(String nameString) {
|
||||||
|
|
||||||
this.nameString = nameString;
|
this.nameString = nameString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -301,14 +290,12 @@ public class XmlItem {
|
|||||||
return nameString;
|
return nameString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNameString(String nameString) {
|
public void setNameString(String nameString) {
|
||||||
this.nameString = nameString;
|
this.nameString = nameString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem nameNumber(BigDecimal nameNumber) {
|
public XmlItem nameNumber(BigDecimal nameNumber) {
|
||||||
|
|
||||||
this.nameNumber = nameNumber;
|
this.nameNumber = nameNumber;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -322,14 +309,12 @@ public class XmlItem {
|
|||||||
return nameNumber;
|
return nameNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNameNumber(BigDecimal nameNumber) {
|
public void setNameNumber(BigDecimal nameNumber) {
|
||||||
this.nameNumber = nameNumber;
|
this.nameNumber = nameNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem nameInteger(Integer nameInteger) {
|
public XmlItem nameInteger(Integer nameInteger) {
|
||||||
|
|
||||||
this.nameInteger = nameInteger;
|
this.nameInteger = nameInteger;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -343,14 +328,12 @@ public class XmlItem {
|
|||||||
return nameInteger;
|
return nameInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNameInteger(Integer nameInteger) {
|
public void setNameInteger(Integer nameInteger) {
|
||||||
this.nameInteger = nameInteger;
|
this.nameInteger = nameInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem nameBoolean(Boolean nameBoolean) {
|
public XmlItem nameBoolean(Boolean nameBoolean) {
|
||||||
|
|
||||||
this.nameBoolean = nameBoolean;
|
this.nameBoolean = nameBoolean;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -364,14 +347,12 @@ public class XmlItem {
|
|||||||
return nameBoolean;
|
return nameBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNameBoolean(Boolean nameBoolean) {
|
public void setNameBoolean(Boolean nameBoolean) {
|
||||||
this.nameBoolean = nameBoolean;
|
this.nameBoolean = nameBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem nameArray(List<Integer> nameArray) {
|
public XmlItem nameArray(List<Integer> nameArray) {
|
||||||
|
|
||||||
this.nameArray = nameArray;
|
this.nameArray = nameArray;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -393,14 +374,12 @@ public class XmlItem {
|
|||||||
return nameArray;
|
return nameArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNameArray(List<Integer> nameArray) {
|
public void setNameArray(List<Integer> nameArray) {
|
||||||
this.nameArray = nameArray;
|
this.nameArray = nameArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem nameWrappedArray(List<Integer> nameWrappedArray) {
|
public XmlItem nameWrappedArray(List<Integer> nameWrappedArray) {
|
||||||
|
|
||||||
this.nameWrappedArray = nameWrappedArray;
|
this.nameWrappedArray = nameWrappedArray;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -422,14 +401,12 @@ public class XmlItem {
|
|||||||
return nameWrappedArray;
|
return nameWrappedArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNameWrappedArray(List<Integer> nameWrappedArray) {
|
public void setNameWrappedArray(List<Integer> nameWrappedArray) {
|
||||||
this.nameWrappedArray = nameWrappedArray;
|
this.nameWrappedArray = nameWrappedArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem prefixString(String prefixString) {
|
public XmlItem prefixString(String prefixString) {
|
||||||
|
|
||||||
this.prefixString = prefixString;
|
this.prefixString = prefixString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -443,14 +420,12 @@ public class XmlItem {
|
|||||||
return prefixString;
|
return prefixString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPrefixString(String prefixString) {
|
public void setPrefixString(String prefixString) {
|
||||||
this.prefixString = prefixString;
|
this.prefixString = prefixString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem prefixNumber(BigDecimal prefixNumber) {
|
public XmlItem prefixNumber(BigDecimal prefixNumber) {
|
||||||
|
|
||||||
this.prefixNumber = prefixNumber;
|
this.prefixNumber = prefixNumber;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -464,14 +439,12 @@ public class XmlItem {
|
|||||||
return prefixNumber;
|
return prefixNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPrefixNumber(BigDecimal prefixNumber) {
|
public void setPrefixNumber(BigDecimal prefixNumber) {
|
||||||
this.prefixNumber = prefixNumber;
|
this.prefixNumber = prefixNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem prefixInteger(Integer prefixInteger) {
|
public XmlItem prefixInteger(Integer prefixInteger) {
|
||||||
|
|
||||||
this.prefixInteger = prefixInteger;
|
this.prefixInteger = prefixInteger;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -485,14 +458,12 @@ public class XmlItem {
|
|||||||
return prefixInteger;
|
return prefixInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPrefixInteger(Integer prefixInteger) {
|
public void setPrefixInteger(Integer prefixInteger) {
|
||||||
this.prefixInteger = prefixInteger;
|
this.prefixInteger = prefixInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem prefixBoolean(Boolean prefixBoolean) {
|
public XmlItem prefixBoolean(Boolean prefixBoolean) {
|
||||||
|
|
||||||
this.prefixBoolean = prefixBoolean;
|
this.prefixBoolean = prefixBoolean;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -506,14 +477,12 @@ public class XmlItem {
|
|||||||
return prefixBoolean;
|
return prefixBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPrefixBoolean(Boolean prefixBoolean) {
|
public void setPrefixBoolean(Boolean prefixBoolean) {
|
||||||
this.prefixBoolean = prefixBoolean;
|
this.prefixBoolean = prefixBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem prefixArray(List<Integer> prefixArray) {
|
public XmlItem prefixArray(List<Integer> prefixArray) {
|
||||||
|
|
||||||
this.prefixArray = prefixArray;
|
this.prefixArray = prefixArray;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -535,14 +504,12 @@ public class XmlItem {
|
|||||||
return prefixArray;
|
return prefixArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPrefixArray(List<Integer> prefixArray) {
|
public void setPrefixArray(List<Integer> prefixArray) {
|
||||||
this.prefixArray = prefixArray;
|
this.prefixArray = prefixArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem prefixWrappedArray(List<Integer> prefixWrappedArray) {
|
public XmlItem prefixWrappedArray(List<Integer> prefixWrappedArray) {
|
||||||
|
|
||||||
this.prefixWrappedArray = prefixWrappedArray;
|
this.prefixWrappedArray = prefixWrappedArray;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -564,14 +531,12 @@ public class XmlItem {
|
|||||||
return prefixWrappedArray;
|
return prefixWrappedArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPrefixWrappedArray(List<Integer> prefixWrappedArray) {
|
public void setPrefixWrappedArray(List<Integer> prefixWrappedArray) {
|
||||||
this.prefixWrappedArray = prefixWrappedArray;
|
this.prefixWrappedArray = prefixWrappedArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem namespaceString(String namespaceString) {
|
public XmlItem namespaceString(String namespaceString) {
|
||||||
|
|
||||||
this.namespaceString = namespaceString;
|
this.namespaceString = namespaceString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -585,14 +550,12 @@ public class XmlItem {
|
|||||||
return namespaceString;
|
return namespaceString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNamespaceString(String namespaceString) {
|
public void setNamespaceString(String namespaceString) {
|
||||||
this.namespaceString = namespaceString;
|
this.namespaceString = namespaceString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem namespaceNumber(BigDecimal namespaceNumber) {
|
public XmlItem namespaceNumber(BigDecimal namespaceNumber) {
|
||||||
|
|
||||||
this.namespaceNumber = namespaceNumber;
|
this.namespaceNumber = namespaceNumber;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -606,14 +569,12 @@ public class XmlItem {
|
|||||||
return namespaceNumber;
|
return namespaceNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNamespaceNumber(BigDecimal namespaceNumber) {
|
public void setNamespaceNumber(BigDecimal namespaceNumber) {
|
||||||
this.namespaceNumber = namespaceNumber;
|
this.namespaceNumber = namespaceNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem namespaceInteger(Integer namespaceInteger) {
|
public XmlItem namespaceInteger(Integer namespaceInteger) {
|
||||||
|
|
||||||
this.namespaceInteger = namespaceInteger;
|
this.namespaceInteger = namespaceInteger;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -627,14 +588,12 @@ public class XmlItem {
|
|||||||
return namespaceInteger;
|
return namespaceInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNamespaceInteger(Integer namespaceInteger) {
|
public void setNamespaceInteger(Integer namespaceInteger) {
|
||||||
this.namespaceInteger = namespaceInteger;
|
this.namespaceInteger = namespaceInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem namespaceBoolean(Boolean namespaceBoolean) {
|
public XmlItem namespaceBoolean(Boolean namespaceBoolean) {
|
||||||
|
|
||||||
this.namespaceBoolean = namespaceBoolean;
|
this.namespaceBoolean = namespaceBoolean;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -648,14 +607,12 @@ public class XmlItem {
|
|||||||
return namespaceBoolean;
|
return namespaceBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNamespaceBoolean(Boolean namespaceBoolean) {
|
public void setNamespaceBoolean(Boolean namespaceBoolean) {
|
||||||
this.namespaceBoolean = namespaceBoolean;
|
this.namespaceBoolean = namespaceBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem namespaceArray(List<Integer> namespaceArray) {
|
public XmlItem namespaceArray(List<Integer> namespaceArray) {
|
||||||
|
|
||||||
this.namespaceArray = namespaceArray;
|
this.namespaceArray = namespaceArray;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -677,14 +634,12 @@ public class XmlItem {
|
|||||||
return namespaceArray;
|
return namespaceArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNamespaceArray(List<Integer> namespaceArray) {
|
public void setNamespaceArray(List<Integer> namespaceArray) {
|
||||||
this.namespaceArray = namespaceArray;
|
this.namespaceArray = namespaceArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem namespaceWrappedArray(List<Integer> namespaceWrappedArray) {
|
public XmlItem namespaceWrappedArray(List<Integer> namespaceWrappedArray) {
|
||||||
|
|
||||||
this.namespaceWrappedArray = namespaceWrappedArray;
|
this.namespaceWrappedArray = namespaceWrappedArray;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -706,14 +661,12 @@ public class XmlItem {
|
|||||||
return namespaceWrappedArray;
|
return namespaceWrappedArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setNamespaceWrappedArray(List<Integer> namespaceWrappedArray) {
|
public void setNamespaceWrappedArray(List<Integer> namespaceWrappedArray) {
|
||||||
this.namespaceWrappedArray = namespaceWrappedArray;
|
this.namespaceWrappedArray = namespaceWrappedArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem prefixNsString(String prefixNsString) {
|
public XmlItem prefixNsString(String prefixNsString) {
|
||||||
|
|
||||||
this.prefixNsString = prefixNsString;
|
this.prefixNsString = prefixNsString;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -727,14 +680,12 @@ public class XmlItem {
|
|||||||
return prefixNsString;
|
return prefixNsString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPrefixNsString(String prefixNsString) {
|
public void setPrefixNsString(String prefixNsString) {
|
||||||
this.prefixNsString = prefixNsString;
|
this.prefixNsString = prefixNsString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem prefixNsNumber(BigDecimal prefixNsNumber) {
|
public XmlItem prefixNsNumber(BigDecimal prefixNsNumber) {
|
||||||
|
|
||||||
this.prefixNsNumber = prefixNsNumber;
|
this.prefixNsNumber = prefixNsNumber;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -748,14 +699,12 @@ public class XmlItem {
|
|||||||
return prefixNsNumber;
|
return prefixNsNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPrefixNsNumber(BigDecimal prefixNsNumber) {
|
public void setPrefixNsNumber(BigDecimal prefixNsNumber) {
|
||||||
this.prefixNsNumber = prefixNsNumber;
|
this.prefixNsNumber = prefixNsNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem prefixNsInteger(Integer prefixNsInteger) {
|
public XmlItem prefixNsInteger(Integer prefixNsInteger) {
|
||||||
|
|
||||||
this.prefixNsInteger = prefixNsInteger;
|
this.prefixNsInteger = prefixNsInteger;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -769,14 +718,12 @@ public class XmlItem {
|
|||||||
return prefixNsInteger;
|
return prefixNsInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPrefixNsInteger(Integer prefixNsInteger) {
|
public void setPrefixNsInteger(Integer prefixNsInteger) {
|
||||||
this.prefixNsInteger = prefixNsInteger;
|
this.prefixNsInteger = prefixNsInteger;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem prefixNsBoolean(Boolean prefixNsBoolean) {
|
public XmlItem prefixNsBoolean(Boolean prefixNsBoolean) {
|
||||||
|
|
||||||
this.prefixNsBoolean = prefixNsBoolean;
|
this.prefixNsBoolean = prefixNsBoolean;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -790,14 +737,12 @@ public class XmlItem {
|
|||||||
return prefixNsBoolean;
|
return prefixNsBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPrefixNsBoolean(Boolean prefixNsBoolean) {
|
public void setPrefixNsBoolean(Boolean prefixNsBoolean) {
|
||||||
this.prefixNsBoolean = prefixNsBoolean;
|
this.prefixNsBoolean = prefixNsBoolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem prefixNsArray(List<Integer> prefixNsArray) {
|
public XmlItem prefixNsArray(List<Integer> prefixNsArray) {
|
||||||
|
|
||||||
this.prefixNsArray = prefixNsArray;
|
this.prefixNsArray = prefixNsArray;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -819,14 +764,12 @@ public class XmlItem {
|
|||||||
return prefixNsArray;
|
return prefixNsArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPrefixNsArray(List<Integer> prefixNsArray) {
|
public void setPrefixNsArray(List<Integer> prefixNsArray) {
|
||||||
this.prefixNsArray = prefixNsArray;
|
this.prefixNsArray = prefixNsArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public XmlItem prefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
|
public XmlItem prefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
|
||||||
|
|
||||||
this.prefixNsWrappedArray = prefixNsWrappedArray;
|
this.prefixNsWrappedArray = prefixNsWrappedArray;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -848,7 +791,6 @@ public class XmlItem {
|
|||||||
return prefixNsWrappedArray;
|
return prefixNsWrappedArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPrefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
|
public void setPrefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
|
||||||
this.prefixNsWrappedArray = prefixNsWrappedArray;
|
this.prefixNsWrappedArray = prefixNsWrappedArray;
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,6 @@ import java.util.Objects;
|
|||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
//import com.fasterxml.jackson.annotation.JsonValue;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
||||||
*/
|
*/
|
||||||
|
@ -63,7 +63,6 @@ public class Category {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Category id(Long id) {
|
public Category id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Category {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Category name(String name) {
|
public Category name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Category {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,6 @@ public class ModelApiResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ModelApiResponse code(Integer code) {
|
public ModelApiResponse code(Integer code) {
|
||||||
|
|
||||||
this.code = code;
|
this.code = code;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -81,14 +80,12 @@ public class ModelApiResponse {
|
|||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCode(Integer code) {
|
public void setCode(Integer code) {
|
||||||
this.code = code;
|
this.code = code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ModelApiResponse type(String type) {
|
public ModelApiResponse type(String type) {
|
||||||
|
|
||||||
this.type = type;
|
this.type = type;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -102,14 +99,12 @@ public class ModelApiResponse {
|
|||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setType(String type) {
|
public void setType(String type) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ModelApiResponse message(String message) {
|
public ModelApiResponse message(String message) {
|
||||||
|
|
||||||
this.message = message;
|
this.message = message;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -123,7 +118,6 @@ public class ModelApiResponse {
|
|||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMessage(String message) {
|
public void setMessage(String message) {
|
||||||
this.message = message;
|
this.message = message;
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,6 @@ public class Order {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Order id(Long id) {
|
public Order id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -148,14 +147,12 @@ public class Order {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order petId(Long petId) {
|
public Order petId(Long petId) {
|
||||||
|
|
||||||
this.petId = petId;
|
this.petId = petId;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -169,14 +166,12 @@ public class Order {
|
|||||||
return petId;
|
return petId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPetId(Long petId) {
|
public void setPetId(Long petId) {
|
||||||
this.petId = petId;
|
this.petId = petId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order quantity(Integer quantity) {
|
public Order quantity(Integer quantity) {
|
||||||
|
|
||||||
this.quantity = quantity;
|
this.quantity = quantity;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -190,14 +185,12 @@ public class Order {
|
|||||||
return quantity;
|
return quantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setQuantity(Integer quantity) {
|
public void setQuantity(Integer quantity) {
|
||||||
this.quantity = quantity;
|
this.quantity = quantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order shipDate(OffsetDateTime shipDate) {
|
public Order shipDate(OffsetDateTime shipDate) {
|
||||||
|
|
||||||
this.shipDate = shipDate;
|
this.shipDate = shipDate;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -211,14 +204,12 @@ public class Order {
|
|||||||
return shipDate;
|
return shipDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setShipDate(OffsetDateTime shipDate) {
|
public void setShipDate(OffsetDateTime shipDate) {
|
||||||
this.shipDate = shipDate;
|
this.shipDate = shipDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order status(StatusEnum status) {
|
public Order status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -232,14 +223,12 @@ public class Order {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order complete(Boolean complete) {
|
public Order complete(Boolean complete) {
|
||||||
|
|
||||||
this.complete = complete;
|
this.complete = complete;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -253,7 +242,6 @@ public class Order {
|
|||||||
return complete;
|
return complete;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setComplete(Boolean complete) {
|
public void setComplete(Boolean complete) {
|
||||||
this.complete = complete;
|
this.complete = complete;
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,6 @@ public class Pet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Pet id(Long id) {
|
public Pet id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -152,14 +151,12 @@ public class Pet {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet category(Category category) {
|
public Pet category(Category category) {
|
||||||
|
|
||||||
this.category = category;
|
this.category = category;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -173,14 +170,12 @@ public class Pet {
|
|||||||
return category;
|
return category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCategory(Category category) {
|
public void setCategory(Category category) {
|
||||||
this.category = category;
|
this.category = category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet name(String name) {
|
public Pet name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -194,14 +189,12 @@ public class Pet {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet photoUrls(List<String> photoUrls) {
|
public Pet photoUrls(List<String> photoUrls) {
|
||||||
|
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -223,14 +216,12 @@ public class Pet {
|
|||||||
return photoUrls;
|
return photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhotoUrls(List<String> photoUrls) {
|
public void setPhotoUrls(List<String> photoUrls) {
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet tags(List<Tag> tags) {
|
public Pet tags(List<Tag> tags) {
|
||||||
|
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -252,7 +243,6 @@ public class Pet {
|
|||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setTags(List<Tag> tags) {
|
public void setTags(List<Tag> tags) {
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
}
|
}
|
||||||
@ -260,7 +250,6 @@ public class Pet {
|
|||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public Pet status(StatusEnum status) {
|
public Pet status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -276,7 +265,6 @@ public class Pet {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
@ -63,7 +63,6 @@ public class Tag {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Tag id(Long id) {
|
public Tag id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Tag {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Tag name(String name) {
|
public Tag name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Tag {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,6 @@ public class User {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public User id(Long id) {
|
public User id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -101,14 +100,12 @@ public class User {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User username(String username) {
|
public User username(String username) {
|
||||||
|
|
||||||
this.username = username;
|
this.username = username;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -122,14 +119,12 @@ public class User {
|
|||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setUsername(String username) {
|
public void setUsername(String username) {
|
||||||
this.username = username;
|
this.username = username;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User firstName(String firstName) {
|
public User firstName(String firstName) {
|
||||||
|
|
||||||
this.firstName = firstName;
|
this.firstName = firstName;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -143,14 +138,12 @@ public class User {
|
|||||||
return firstName;
|
return firstName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setFirstName(String firstName) {
|
public void setFirstName(String firstName) {
|
||||||
this.firstName = firstName;
|
this.firstName = firstName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User lastName(String lastName) {
|
public User lastName(String lastName) {
|
||||||
|
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -164,14 +157,12 @@ public class User {
|
|||||||
return lastName;
|
return lastName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setLastName(String lastName) {
|
public void setLastName(String lastName) {
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User email(String email) {
|
public User email(String email) {
|
||||||
|
|
||||||
this.email = email;
|
this.email = email;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -185,14 +176,12 @@ public class User {
|
|||||||
return email;
|
return email;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setEmail(String email) {
|
public void setEmail(String email) {
|
||||||
this.email = email;
|
this.email = email;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User password(String password) {
|
public User password(String password) {
|
||||||
|
|
||||||
this.password = password;
|
this.password = password;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -206,14 +195,12 @@ public class User {
|
|||||||
return password;
|
return password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPassword(String password) {
|
public void setPassword(String password) {
|
||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User phone(String phone) {
|
public User phone(String phone) {
|
||||||
|
|
||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -227,14 +214,12 @@ public class User {
|
|||||||
return phone;
|
return phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhone(String phone) {
|
public void setPhone(String phone) {
|
||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User userStatus(Integer userStatus) {
|
public User userStatus(Integer userStatus) {
|
||||||
|
|
||||||
this.userStatus = userStatus;
|
this.userStatus = userStatus;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -248,7 +233,6 @@ public class User {
|
|||||||
return userStatus;
|
return userStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setUserStatus(Integer userStatus) {
|
public void setUserStatus(Integer userStatus) {
|
||||||
this.userStatus = userStatus;
|
this.userStatus = userStatus;
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,6 @@ import java.util.Objects;
|
|||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
//import com.fasterxml.jackson.annotation.JsonValue;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
||||||
*/
|
*/
|
||||||
|
@ -63,7 +63,6 @@ public class Category {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Category id(Long id) {
|
public Category id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Category {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Category name(String name) {
|
public Category name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Category {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,6 @@ public class ModelApiResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ModelApiResponse code(Integer code) {
|
public ModelApiResponse code(Integer code) {
|
||||||
|
|
||||||
this.code = code;
|
this.code = code;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -81,14 +80,12 @@ public class ModelApiResponse {
|
|||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCode(Integer code) {
|
public void setCode(Integer code) {
|
||||||
this.code = code;
|
this.code = code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ModelApiResponse type(String type) {
|
public ModelApiResponse type(String type) {
|
||||||
|
|
||||||
this.type = type;
|
this.type = type;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -102,14 +99,12 @@ public class ModelApiResponse {
|
|||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setType(String type) {
|
public void setType(String type) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ModelApiResponse message(String message) {
|
public ModelApiResponse message(String message) {
|
||||||
|
|
||||||
this.message = message;
|
this.message = message;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -123,7 +118,6 @@ public class ModelApiResponse {
|
|||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setMessage(String message) {
|
public void setMessage(String message) {
|
||||||
this.message = message;
|
this.message = message;
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,6 @@ public class Order {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Order id(Long id) {
|
public Order id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -148,14 +147,12 @@ public class Order {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order petId(Long petId) {
|
public Order petId(Long petId) {
|
||||||
|
|
||||||
this.petId = petId;
|
this.petId = petId;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -169,14 +166,12 @@ public class Order {
|
|||||||
return petId;
|
return petId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPetId(Long petId) {
|
public void setPetId(Long petId) {
|
||||||
this.petId = petId;
|
this.petId = petId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order quantity(Integer quantity) {
|
public Order quantity(Integer quantity) {
|
||||||
|
|
||||||
this.quantity = quantity;
|
this.quantity = quantity;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -190,14 +185,12 @@ public class Order {
|
|||||||
return quantity;
|
return quantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setQuantity(Integer quantity) {
|
public void setQuantity(Integer quantity) {
|
||||||
this.quantity = quantity;
|
this.quantity = quantity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order shipDate(OffsetDateTime shipDate) {
|
public Order shipDate(OffsetDateTime shipDate) {
|
||||||
|
|
||||||
this.shipDate = shipDate;
|
this.shipDate = shipDate;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -211,14 +204,12 @@ public class Order {
|
|||||||
return shipDate;
|
return shipDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setShipDate(OffsetDateTime shipDate) {
|
public void setShipDate(OffsetDateTime shipDate) {
|
||||||
this.shipDate = shipDate;
|
this.shipDate = shipDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order status(StatusEnum status) {
|
public Order status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -232,14 +223,12 @@ public class Order {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Order complete(Boolean complete) {
|
public Order complete(Boolean complete) {
|
||||||
|
|
||||||
this.complete = complete;
|
this.complete = complete;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -253,7 +242,6 @@ public class Order {
|
|||||||
return complete;
|
return complete;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setComplete(Boolean complete) {
|
public void setComplete(Boolean complete) {
|
||||||
this.complete = complete;
|
this.complete = complete;
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,6 @@ public class Pet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Pet id(Long id) {
|
public Pet id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -152,14 +151,12 @@ public class Pet {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet category(Category category) {
|
public Pet category(Category category) {
|
||||||
|
|
||||||
this.category = category;
|
this.category = category;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -173,14 +170,12 @@ public class Pet {
|
|||||||
return category;
|
return category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCategory(Category category) {
|
public void setCategory(Category category) {
|
||||||
this.category = category;
|
this.category = category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet name(String name) {
|
public Pet name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -194,14 +189,12 @@ public class Pet {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet photoUrls(List<String> photoUrls) {
|
public Pet photoUrls(List<String> photoUrls) {
|
||||||
|
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -223,14 +216,12 @@ public class Pet {
|
|||||||
return photoUrls;
|
return photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhotoUrls(List<String> photoUrls) {
|
public void setPhotoUrls(List<String> photoUrls) {
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Pet tags(List<Tag> tags) {
|
public Pet tags(List<Tag> tags) {
|
||||||
|
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -252,7 +243,6 @@ public class Pet {
|
|||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setTags(List<Tag> tags) {
|
public void setTags(List<Tag> tags) {
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
}
|
}
|
||||||
@ -260,7 +250,6 @@ public class Pet {
|
|||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public Pet status(StatusEnum status) {
|
public Pet status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -276,7 +265,6 @@ public class Pet {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
@ -139,7 +139,6 @@ public class PetWithRequiredNullableCases1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public PetWithRequiredNullableCases1 id(Long id) {
|
public PetWithRequiredNullableCases1 id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -153,14 +152,12 @@ public class PetWithRequiredNullableCases1 {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public PetWithRequiredNullableCases1 category(Category category) {
|
public PetWithRequiredNullableCases1 category(Category category) {
|
||||||
|
|
||||||
this.category = category;
|
this.category = category;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -174,14 +171,12 @@ public class PetWithRequiredNullableCases1 {
|
|||||||
return category;
|
return category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCategory(Category category) {
|
public void setCategory(Category category) {
|
||||||
this.category = category;
|
this.category = category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public PetWithRequiredNullableCases1 name(String name) {
|
public PetWithRequiredNullableCases1 name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -195,14 +190,12 @@ public class PetWithRequiredNullableCases1 {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public PetWithRequiredNullableCases1 photoUrls(List<String> photoUrls) {
|
public PetWithRequiredNullableCases1 photoUrls(List<String> photoUrls) {
|
||||||
|
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -224,14 +217,12 @@ public class PetWithRequiredNullableCases1 {
|
|||||||
return photoUrls;
|
return photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhotoUrls(List<String> photoUrls) {
|
public void setPhotoUrls(List<String> photoUrls) {
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public PetWithRequiredNullableCases1 tags(List<Tag> tags) {
|
public PetWithRequiredNullableCases1 tags(List<Tag> tags) {
|
||||||
|
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -253,7 +244,6 @@ public class PetWithRequiredNullableCases1 {
|
|||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setTags(List<Tag> tags) {
|
public void setTags(List<Tag> tags) {
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
}
|
}
|
||||||
@ -261,7 +251,6 @@ public class PetWithRequiredNullableCases1 {
|
|||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public PetWithRequiredNullableCases1 status(StatusEnum status) {
|
public PetWithRequiredNullableCases1 status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -277,7 +266,6 @@ public class PetWithRequiredNullableCases1 {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
@ -138,7 +138,6 @@ public class PetWithRequiredNullableCases2 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public PetWithRequiredNullableCases2 id(Long id) {
|
public PetWithRequiredNullableCases2 id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -152,14 +151,12 @@ public class PetWithRequiredNullableCases2 {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public PetWithRequiredNullableCases2 category(Category category) {
|
public PetWithRequiredNullableCases2 category(Category category) {
|
||||||
|
|
||||||
this.category = category;
|
this.category = category;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -173,14 +170,12 @@ public class PetWithRequiredNullableCases2 {
|
|||||||
return category;
|
return category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setCategory(Category category) {
|
public void setCategory(Category category) {
|
||||||
this.category = category;
|
this.category = category;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public PetWithRequiredNullableCases2 name(String name) {
|
public PetWithRequiredNullableCases2 name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -194,14 +189,12 @@ public class PetWithRequiredNullableCases2 {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public PetWithRequiredNullableCases2 photoUrls(List<String> photoUrls) {
|
public PetWithRequiredNullableCases2 photoUrls(List<String> photoUrls) {
|
||||||
|
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -223,14 +216,12 @@ public class PetWithRequiredNullableCases2 {
|
|||||||
return photoUrls;
|
return photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhotoUrls(List<String> photoUrls) {
|
public void setPhotoUrls(List<String> photoUrls) {
|
||||||
this.photoUrls = photoUrls;
|
this.photoUrls = photoUrls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public PetWithRequiredNullableCases2 tags(List<Tag> tags) {
|
public PetWithRequiredNullableCases2 tags(List<Tag> tags) {
|
||||||
|
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -252,7 +243,6 @@ public class PetWithRequiredNullableCases2 {
|
|||||||
return tags;
|
return tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setTags(List<Tag> tags) {
|
public void setTags(List<Tag> tags) {
|
||||||
this.tags = tags;
|
this.tags = tags;
|
||||||
}
|
}
|
||||||
@ -260,7 +250,6 @@ public class PetWithRequiredNullableCases2 {
|
|||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public PetWithRequiredNullableCases2 status(StatusEnum status) {
|
public PetWithRequiredNullableCases2 status(StatusEnum status) {
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -276,7 +265,6 @@ public class PetWithRequiredNullableCases2 {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public void setStatus(StatusEnum status) {
|
public void setStatus(StatusEnum status) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
|
@ -63,7 +63,6 @@ public class Tag {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Tag id(Long id) {
|
public Tag id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -77,14 +76,12 @@ public class Tag {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Tag name(String name) {
|
public Tag name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -98,7 +95,6 @@ public class Tag {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,6 @@ public class User {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public User id(Long id) {
|
public User id(Long id) {
|
||||||
|
|
||||||
this.id = id;
|
this.id = id;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -101,14 +100,12 @@ public class User {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User username(String username) {
|
public User username(String username) {
|
||||||
|
|
||||||
this.username = username;
|
this.username = username;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -122,14 +119,12 @@ public class User {
|
|||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setUsername(String username) {
|
public void setUsername(String username) {
|
||||||
this.username = username;
|
this.username = username;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User firstName(String firstName) {
|
public User firstName(String firstName) {
|
||||||
|
|
||||||
this.firstName = firstName;
|
this.firstName = firstName;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -143,14 +138,12 @@ public class User {
|
|||||||
return firstName;
|
return firstName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setFirstName(String firstName) {
|
public void setFirstName(String firstName) {
|
||||||
this.firstName = firstName;
|
this.firstName = firstName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User lastName(String lastName) {
|
public User lastName(String lastName) {
|
||||||
|
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -164,14 +157,12 @@ public class User {
|
|||||||
return lastName;
|
return lastName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setLastName(String lastName) {
|
public void setLastName(String lastName) {
|
||||||
this.lastName = lastName;
|
this.lastName = lastName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User email(String email) {
|
public User email(String email) {
|
||||||
|
|
||||||
this.email = email;
|
this.email = email;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -185,14 +176,12 @@ public class User {
|
|||||||
return email;
|
return email;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setEmail(String email) {
|
public void setEmail(String email) {
|
||||||
this.email = email;
|
this.email = email;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User password(String password) {
|
public User password(String password) {
|
||||||
|
|
||||||
this.password = password;
|
this.password = password;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -206,14 +195,12 @@ public class User {
|
|||||||
return password;
|
return password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPassword(String password) {
|
public void setPassword(String password) {
|
||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User phone(String phone) {
|
public User phone(String phone) {
|
||||||
|
|
||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -227,14 +214,12 @@ public class User {
|
|||||||
return phone;
|
return phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setPhone(String phone) {
|
public void setPhone(String phone) {
|
||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public User userStatus(Integer userStatus) {
|
public User userStatus(Integer userStatus) {
|
||||||
|
|
||||||
this.userStatus = userStatus;
|
this.userStatus = userStatus;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -248,7 +233,6 @@ public class User {
|
|||||||
return userStatus;
|
return userStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setUserStatus(Integer userStatus) {
|
public void setUserStatus(Integer userStatus) {
|
||||||
this.userStatus = userStatus;
|
this.userStatus = userStatus;
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,6 @@ import java.util.Objects;
|
|||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
//import com.fasterxml.jackson.annotation.JsonValue;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
||||||
*/
|
*/
|
||||||
|
@ -61,7 +61,6 @@ public class AdditionalPropertiesAnyType implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AdditionalPropertiesAnyType name(String name) {
|
public AdditionalPropertiesAnyType name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -75,7 +74,6 @@ public class AdditionalPropertiesAnyType implements Parcelable {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,6 @@ public class AdditionalPropertiesArray implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AdditionalPropertiesArray name(String name) {
|
public AdditionalPropertiesArray name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -76,7 +75,6 @@ public class AdditionalPropertiesArray implements Parcelable {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,6 @@ public class AdditionalPropertiesBoolean implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AdditionalPropertiesBoolean name(String name) {
|
public AdditionalPropertiesBoolean name(String name) {
|
||||||
|
|
||||||
this.name = name;
|
this.name = name;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -75,7 +74,6 @@ public class AdditionalPropertiesBoolean implements Parcelable {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user