forked from loafle/openapi-generator-original
fix java instantiated lists (#1683)
This commit is contained in:
parent
33fbd9c78b
commit
b6a23986b3
@ -58,12 +58,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#parcela
|
|||||||
public static final String SERIALIZED_NAME_{{nameInSnakeCase}} = "{{baseName}}";
|
public static final String SERIALIZED_NAME_{{nameInSnakeCase}} = "{{baseName}}";
|
||||||
@SerializedName(SERIALIZED_NAME_{{nameInSnakeCase}})
|
@SerializedName(SERIALIZED_NAME_{{nameInSnakeCase}})
|
||||||
{{/gson}}
|
{{/gson}}
|
||||||
{{#isContainer}}
|
|
||||||
private {{{datatypeWithEnum}}} {{name}}{{#required}} = {{{defaultValue}}}{{/required}}{{^required}} = null{{/required}};
|
|
||||||
{{/isContainer}}
|
|
||||||
{{^isContainer}}
|
|
||||||
private {{{datatypeWithEnum}}} {{name}}{{#defaultValue}} = {{{.}}}{{/defaultValue}};
|
private {{{datatypeWithEnum}}} {{name}}{{#defaultValue}} = {{{.}}}{{/defaultValue}};
|
||||||
{{/isContainer}}
|
|
||||||
|
|
||||||
{{/vars}}
|
{{/vars}}
|
||||||
{{#parcelableModel}}
|
{{#parcelableModel}}
|
||||||
|
@ -30,10 +30,10 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class AdditionalPropertiesClass {
|
public class AdditionalPropertiesClass {
|
||||||
@JsonProperty("map_property")
|
@JsonProperty("map_property")
|
||||||
private Map<String, String> mapProperty = null;
|
private Map<String, String> mapProperty = new HashMap<String, String>();
|
||||||
|
|
||||||
@JsonProperty("map_of_map_property")
|
@JsonProperty("map_of_map_property")
|
||||||
private Map<String, Map<String, String>> mapOfMapProperty = null;
|
private Map<String, Map<String, String>> mapOfMapProperty = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
||||||
this.mapProperty = mapProperty;
|
this.mapProperty = mapProperty;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfArrayOfNumberOnly {
|
public class ArrayOfArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayArrayNumber")
|
@JsonProperty("ArrayArrayNumber")
|
||||||
private List<List<BigDecimal>> arrayArrayNumber = null;
|
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<List<BigDecimal>>();
|
||||||
|
|
||||||
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||||
this.arrayArrayNumber = arrayArrayNumber;
|
this.arrayArrayNumber = arrayArrayNumber;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfNumberOnly {
|
public class ArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayNumber")
|
@JsonProperty("ArrayNumber")
|
||||||
private List<BigDecimal> arrayNumber = null;
|
private List<BigDecimal> arrayNumber = new ArrayList<BigDecimal>();
|
||||||
|
|
||||||
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
||||||
this.arrayNumber = arrayNumber;
|
this.arrayNumber = arrayNumber;
|
||||||
|
@ -30,13 +30,13 @@ import org.openapitools.client.model.ReadOnlyFirst;
|
|||||||
|
|
||||||
public class ArrayTest {
|
public class ArrayTest {
|
||||||
@JsonProperty("array_of_string")
|
@JsonProperty("array_of_string")
|
||||||
private List<String> arrayOfString = null;
|
private List<String> arrayOfString = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_integer")
|
@JsonProperty("array_array_of_integer")
|
||||||
private List<List<Long>> arrayArrayOfInteger = null;
|
private List<List<Long>> arrayArrayOfInteger = new ArrayList<List<Long>>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_model")
|
@JsonProperty("array_array_of_model")
|
||||||
private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
|
private List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<List<ReadOnlyFirst>>();
|
||||||
|
|
||||||
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
||||||
this.arrayOfString = arrayOfString;
|
this.arrayOfString = arrayOfString;
|
||||||
|
@ -102,7 +102,7 @@ public class EnumArrays {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("array_enum")
|
@JsonProperty("array_enum")
|
||||||
private List<ArrayEnumEnum> arrayEnum = null;
|
private List<ArrayEnumEnum> arrayEnum = new ArrayList<ArrayEnumEnum>();
|
||||||
|
|
||||||
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
||||||
this.justSymbol = justSymbol;
|
this.justSymbol = justSymbol;
|
||||||
|
@ -32,7 +32,7 @@ public class FileSchemaTestClass {
|
|||||||
private java.io.File file = null;
|
private java.io.File file = null;
|
||||||
|
|
||||||
@JsonProperty("files")
|
@JsonProperty("files")
|
||||||
private List<java.io.File> files = null;
|
private List<java.io.File> files = new ArrayList<java.io.File>();
|
||||||
|
|
||||||
public FileSchemaTestClass file(java.io.File file) {
|
public FileSchemaTestClass file(java.io.File file) {
|
||||||
this.file = file;
|
this.file = file;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class MapTest {
|
public class MapTest {
|
||||||
@JsonProperty("map_map_of_string")
|
@JsonProperty("map_map_of_string")
|
||||||
private Map<String, Map<String, String>> mapMapOfString = null;
|
private Map<String, Map<String, String>> mapMapOfString = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets inner
|
* Gets or Sets inner
|
||||||
@ -68,13 +68,13 @@ public class MapTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("map_of_enum_string")
|
@JsonProperty("map_of_enum_string")
|
||||||
private Map<String, InnerEnum> mapOfEnumString = null;
|
private Map<String, InnerEnum> mapOfEnumString = new HashMap<String, InnerEnum>();
|
||||||
|
|
||||||
@JsonProperty("direct_map")
|
@JsonProperty("direct_map")
|
||||||
private Map<String, Boolean> directMap = null;
|
private Map<String, Boolean> directMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
@JsonProperty("indirect_map")
|
@JsonProperty("indirect_map")
|
||||||
private Map<String, Boolean> indirectMap = null;
|
private Map<String, Boolean> indirectMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||||
this.mapMapOfString = mapMapOfString;
|
this.mapMapOfString = mapMapOfString;
|
||||||
|
@ -39,7 +39,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
private OffsetDateTime dateTime;
|
private OffsetDateTime dateTime;
|
||||||
|
|
||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = null;
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
|
@ -43,7 +43,7 @@ public class Pet {
|
|||||||
private List<String> photoUrls = new ArrayList<String>();
|
private List<String> photoUrls = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("tags")
|
@JsonProperty("tags")
|
||||||
private List<Tag> tags = null;
|
private List<Tag> tags = new ArrayList<Tag>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
@ -30,10 +30,10 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class AdditionalPropertiesClass {
|
public class AdditionalPropertiesClass {
|
||||||
@JsonProperty("map_property")
|
@JsonProperty("map_property")
|
||||||
private Map<String, String> mapProperty = null;
|
private Map<String, String> mapProperty = new HashMap<String, String>();
|
||||||
|
|
||||||
@JsonProperty("map_of_map_property")
|
@JsonProperty("map_of_map_property")
|
||||||
private Map<String, Map<String, String>> mapOfMapProperty = null;
|
private Map<String, Map<String, String>> mapOfMapProperty = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
||||||
this.mapProperty = mapProperty;
|
this.mapProperty = mapProperty;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfArrayOfNumberOnly {
|
public class ArrayOfArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayArrayNumber")
|
@JsonProperty("ArrayArrayNumber")
|
||||||
private List<List<BigDecimal>> arrayArrayNumber = null;
|
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<List<BigDecimal>>();
|
||||||
|
|
||||||
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||||
this.arrayArrayNumber = arrayArrayNumber;
|
this.arrayArrayNumber = arrayArrayNumber;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfNumberOnly {
|
public class ArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayNumber")
|
@JsonProperty("ArrayNumber")
|
||||||
private List<BigDecimal> arrayNumber = null;
|
private List<BigDecimal> arrayNumber = new ArrayList<BigDecimal>();
|
||||||
|
|
||||||
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
||||||
this.arrayNumber = arrayNumber;
|
this.arrayNumber = arrayNumber;
|
||||||
|
@ -30,13 +30,13 @@ import org.openapitools.client.model.ReadOnlyFirst;
|
|||||||
|
|
||||||
public class ArrayTest {
|
public class ArrayTest {
|
||||||
@JsonProperty("array_of_string")
|
@JsonProperty("array_of_string")
|
||||||
private List<String> arrayOfString = null;
|
private List<String> arrayOfString = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_integer")
|
@JsonProperty("array_array_of_integer")
|
||||||
private List<List<Long>> arrayArrayOfInteger = null;
|
private List<List<Long>> arrayArrayOfInteger = new ArrayList<List<Long>>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_model")
|
@JsonProperty("array_array_of_model")
|
||||||
private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
|
private List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<List<ReadOnlyFirst>>();
|
||||||
|
|
||||||
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
||||||
this.arrayOfString = arrayOfString;
|
this.arrayOfString = arrayOfString;
|
||||||
|
@ -102,7 +102,7 @@ public class EnumArrays {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("array_enum")
|
@JsonProperty("array_enum")
|
||||||
private List<ArrayEnumEnum> arrayEnum = null;
|
private List<ArrayEnumEnum> arrayEnum = new ArrayList<ArrayEnumEnum>();
|
||||||
|
|
||||||
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
||||||
this.justSymbol = justSymbol;
|
this.justSymbol = justSymbol;
|
||||||
|
@ -32,7 +32,7 @@ public class FileSchemaTestClass {
|
|||||||
private java.io.File file = null;
|
private java.io.File file = null;
|
||||||
|
|
||||||
@JsonProperty("files")
|
@JsonProperty("files")
|
||||||
private List<java.io.File> files = null;
|
private List<java.io.File> files = new ArrayList<java.io.File>();
|
||||||
|
|
||||||
public FileSchemaTestClass file(java.io.File file) {
|
public FileSchemaTestClass file(java.io.File file) {
|
||||||
this.file = file;
|
this.file = file;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class MapTest {
|
public class MapTest {
|
||||||
@JsonProperty("map_map_of_string")
|
@JsonProperty("map_map_of_string")
|
||||||
private Map<String, Map<String, String>> mapMapOfString = null;
|
private Map<String, Map<String, String>> mapMapOfString = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets inner
|
* Gets or Sets inner
|
||||||
@ -68,13 +68,13 @@ public class MapTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("map_of_enum_string")
|
@JsonProperty("map_of_enum_string")
|
||||||
private Map<String, InnerEnum> mapOfEnumString = null;
|
private Map<String, InnerEnum> mapOfEnumString = new HashMap<String, InnerEnum>();
|
||||||
|
|
||||||
@JsonProperty("direct_map")
|
@JsonProperty("direct_map")
|
||||||
private Map<String, Boolean> directMap = null;
|
private Map<String, Boolean> directMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
@JsonProperty("indirect_map")
|
@JsonProperty("indirect_map")
|
||||||
private Map<String, Boolean> indirectMap = null;
|
private Map<String, Boolean> indirectMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||||
this.mapMapOfString = mapMapOfString;
|
this.mapMapOfString = mapMapOfString;
|
||||||
|
@ -39,7 +39,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
private OffsetDateTime dateTime;
|
private OffsetDateTime dateTime;
|
||||||
|
|
||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = null;
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
|
@ -43,7 +43,7 @@ public class Pet {
|
|||||||
private List<String> photoUrls = new ArrayList<String>();
|
private List<String> photoUrls = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("tags")
|
@JsonProperty("tags")
|
||||||
private List<Tag> tags = null;
|
private List<Tag> tags = new ArrayList<Tag>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
@ -30,10 +30,10 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class AdditionalPropertiesClass {
|
public class AdditionalPropertiesClass {
|
||||||
@JsonProperty("map_property")
|
@JsonProperty("map_property")
|
||||||
private Map<String, String> mapProperty = null;
|
private Map<String, String> mapProperty = new HashMap<String, String>();
|
||||||
|
|
||||||
@JsonProperty("map_of_map_property")
|
@JsonProperty("map_of_map_property")
|
||||||
private Map<String, Map<String, String>> mapOfMapProperty = null;
|
private Map<String, Map<String, String>> mapOfMapProperty = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
||||||
this.mapProperty = mapProperty;
|
this.mapProperty = mapProperty;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfArrayOfNumberOnly {
|
public class ArrayOfArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayArrayNumber")
|
@JsonProperty("ArrayArrayNumber")
|
||||||
private List<List<BigDecimal>> arrayArrayNumber = null;
|
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<List<BigDecimal>>();
|
||||||
|
|
||||||
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||||
this.arrayArrayNumber = arrayArrayNumber;
|
this.arrayArrayNumber = arrayArrayNumber;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfNumberOnly {
|
public class ArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayNumber")
|
@JsonProperty("ArrayNumber")
|
||||||
private List<BigDecimal> arrayNumber = null;
|
private List<BigDecimal> arrayNumber = new ArrayList<BigDecimal>();
|
||||||
|
|
||||||
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
||||||
this.arrayNumber = arrayNumber;
|
this.arrayNumber = arrayNumber;
|
||||||
|
@ -30,13 +30,13 @@ import org.openapitools.client.model.ReadOnlyFirst;
|
|||||||
|
|
||||||
public class ArrayTest {
|
public class ArrayTest {
|
||||||
@JsonProperty("array_of_string")
|
@JsonProperty("array_of_string")
|
||||||
private List<String> arrayOfString = null;
|
private List<String> arrayOfString = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_integer")
|
@JsonProperty("array_array_of_integer")
|
||||||
private List<List<Long>> arrayArrayOfInteger = null;
|
private List<List<Long>> arrayArrayOfInteger = new ArrayList<List<Long>>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_model")
|
@JsonProperty("array_array_of_model")
|
||||||
private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
|
private List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<List<ReadOnlyFirst>>();
|
||||||
|
|
||||||
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
||||||
this.arrayOfString = arrayOfString;
|
this.arrayOfString = arrayOfString;
|
||||||
|
@ -102,7 +102,7 @@ public class EnumArrays {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("array_enum")
|
@JsonProperty("array_enum")
|
||||||
private List<ArrayEnumEnum> arrayEnum = null;
|
private List<ArrayEnumEnum> arrayEnum = new ArrayList<ArrayEnumEnum>();
|
||||||
|
|
||||||
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
||||||
this.justSymbol = justSymbol;
|
this.justSymbol = justSymbol;
|
||||||
|
@ -32,7 +32,7 @@ public class FileSchemaTestClass {
|
|||||||
private java.io.File file = null;
|
private java.io.File file = null;
|
||||||
|
|
||||||
@JsonProperty("files")
|
@JsonProperty("files")
|
||||||
private List<java.io.File> files = null;
|
private List<java.io.File> files = new ArrayList<java.io.File>();
|
||||||
|
|
||||||
public FileSchemaTestClass file(java.io.File file) {
|
public FileSchemaTestClass file(java.io.File file) {
|
||||||
this.file = file;
|
this.file = file;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class MapTest {
|
public class MapTest {
|
||||||
@JsonProperty("map_map_of_string")
|
@JsonProperty("map_map_of_string")
|
||||||
private Map<String, Map<String, String>> mapMapOfString = null;
|
private Map<String, Map<String, String>> mapMapOfString = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets inner
|
* Gets or Sets inner
|
||||||
@ -68,13 +68,13 @@ public class MapTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("map_of_enum_string")
|
@JsonProperty("map_of_enum_string")
|
||||||
private Map<String, InnerEnum> mapOfEnumString = null;
|
private Map<String, InnerEnum> mapOfEnumString = new HashMap<String, InnerEnum>();
|
||||||
|
|
||||||
@JsonProperty("direct_map")
|
@JsonProperty("direct_map")
|
||||||
private Map<String, Boolean> directMap = null;
|
private Map<String, Boolean> directMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
@JsonProperty("indirect_map")
|
@JsonProperty("indirect_map")
|
||||||
private Map<String, Boolean> indirectMap = null;
|
private Map<String, Boolean> indirectMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||||
this.mapMapOfString = mapMapOfString;
|
this.mapMapOfString = mapMapOfString;
|
||||||
|
@ -39,7 +39,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
private OffsetDateTime dateTime;
|
private OffsetDateTime dateTime;
|
||||||
|
|
||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = null;
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
|
@ -43,7 +43,7 @@ public class Pet {
|
|||||||
private List<String> photoUrls = new ArrayList<String>();
|
private List<String> photoUrls = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("tags")
|
@JsonProperty("tags")
|
||||||
private List<Tag> tags = null;
|
private List<Tag> tags = new ArrayList<Tag>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
@ -30,10 +30,10 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class AdditionalPropertiesClass {
|
public class AdditionalPropertiesClass {
|
||||||
@JsonProperty("map_property")
|
@JsonProperty("map_property")
|
||||||
private Map<String, String> mapProperty = null;
|
private Map<String, String> mapProperty = new HashMap<String, String>();
|
||||||
|
|
||||||
@JsonProperty("map_of_map_property")
|
@JsonProperty("map_of_map_property")
|
||||||
private Map<String, Map<String, String>> mapOfMapProperty = null;
|
private Map<String, Map<String, String>> mapOfMapProperty = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
||||||
this.mapProperty = mapProperty;
|
this.mapProperty = mapProperty;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfArrayOfNumberOnly {
|
public class ArrayOfArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayArrayNumber")
|
@JsonProperty("ArrayArrayNumber")
|
||||||
private List<List<BigDecimal>> arrayArrayNumber = null;
|
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<List<BigDecimal>>();
|
||||||
|
|
||||||
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||||
this.arrayArrayNumber = arrayArrayNumber;
|
this.arrayArrayNumber = arrayArrayNumber;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfNumberOnly {
|
public class ArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayNumber")
|
@JsonProperty("ArrayNumber")
|
||||||
private List<BigDecimal> arrayNumber = null;
|
private List<BigDecimal> arrayNumber = new ArrayList<BigDecimal>();
|
||||||
|
|
||||||
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
||||||
this.arrayNumber = arrayNumber;
|
this.arrayNumber = arrayNumber;
|
||||||
|
@ -30,13 +30,13 @@ import org.openapitools.client.model.ReadOnlyFirst;
|
|||||||
|
|
||||||
public class ArrayTest {
|
public class ArrayTest {
|
||||||
@JsonProperty("array_of_string")
|
@JsonProperty("array_of_string")
|
||||||
private List<String> arrayOfString = null;
|
private List<String> arrayOfString = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_integer")
|
@JsonProperty("array_array_of_integer")
|
||||||
private List<List<Long>> arrayArrayOfInteger = null;
|
private List<List<Long>> arrayArrayOfInteger = new ArrayList<List<Long>>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_model")
|
@JsonProperty("array_array_of_model")
|
||||||
private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
|
private List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<List<ReadOnlyFirst>>();
|
||||||
|
|
||||||
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
||||||
this.arrayOfString = arrayOfString;
|
this.arrayOfString = arrayOfString;
|
||||||
|
@ -102,7 +102,7 @@ public class EnumArrays {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("array_enum")
|
@JsonProperty("array_enum")
|
||||||
private List<ArrayEnumEnum> arrayEnum = null;
|
private List<ArrayEnumEnum> arrayEnum = new ArrayList<ArrayEnumEnum>();
|
||||||
|
|
||||||
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
||||||
this.justSymbol = justSymbol;
|
this.justSymbol = justSymbol;
|
||||||
|
@ -32,7 +32,7 @@ public class FileSchemaTestClass {
|
|||||||
private java.io.File file = null;
|
private java.io.File file = null;
|
||||||
|
|
||||||
@JsonProperty("files")
|
@JsonProperty("files")
|
||||||
private List<java.io.File> files = null;
|
private List<java.io.File> files = new ArrayList<java.io.File>();
|
||||||
|
|
||||||
public FileSchemaTestClass file(java.io.File file) {
|
public FileSchemaTestClass file(java.io.File file) {
|
||||||
this.file = file;
|
this.file = file;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class MapTest {
|
public class MapTest {
|
||||||
@JsonProperty("map_map_of_string")
|
@JsonProperty("map_map_of_string")
|
||||||
private Map<String, Map<String, String>> mapMapOfString = null;
|
private Map<String, Map<String, String>> mapMapOfString = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets inner
|
* Gets or Sets inner
|
||||||
@ -68,13 +68,13 @@ public class MapTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("map_of_enum_string")
|
@JsonProperty("map_of_enum_string")
|
||||||
private Map<String, InnerEnum> mapOfEnumString = null;
|
private Map<String, InnerEnum> mapOfEnumString = new HashMap<String, InnerEnum>();
|
||||||
|
|
||||||
@JsonProperty("direct_map")
|
@JsonProperty("direct_map")
|
||||||
private Map<String, Boolean> directMap = null;
|
private Map<String, Boolean> directMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
@JsonProperty("indirect_map")
|
@JsonProperty("indirect_map")
|
||||||
private Map<String, Boolean> indirectMap = null;
|
private Map<String, Boolean> indirectMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||||
this.mapMapOfString = mapMapOfString;
|
this.mapMapOfString = mapMapOfString;
|
||||||
|
@ -39,7 +39,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
private OffsetDateTime dateTime;
|
private OffsetDateTime dateTime;
|
||||||
|
|
||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = null;
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
|
@ -43,7 +43,7 @@ public class Pet {
|
|||||||
private List<String> photoUrls = new ArrayList<String>();
|
private List<String> photoUrls = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("tags")
|
@JsonProperty("tags")
|
||||||
private List<Tag> tags = null;
|
private List<Tag> tags = new ArrayList<Tag>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
@ -29,10 +29,10 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class AdditionalPropertiesClass {
|
public class AdditionalPropertiesClass {
|
||||||
@JsonProperty("map_property")
|
@JsonProperty("map_property")
|
||||||
private Map<String, String> mapProperty = null;
|
private Map<String, String> mapProperty = new HashMap<String, String>();
|
||||||
|
|
||||||
@JsonProperty("map_of_map_property")
|
@JsonProperty("map_of_map_property")
|
||||||
private Map<String, Map<String, String>> mapOfMapProperty = null;
|
private Map<String, Map<String, String>> mapOfMapProperty = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
||||||
this.mapProperty = mapProperty;
|
this.mapProperty = mapProperty;
|
||||||
|
@ -29,7 +29,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfArrayOfNumberOnly {
|
public class ArrayOfArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayArrayNumber")
|
@JsonProperty("ArrayArrayNumber")
|
||||||
private List<List<BigDecimal>> arrayArrayNumber = null;
|
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<List<BigDecimal>>();
|
||||||
|
|
||||||
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||||
this.arrayArrayNumber = arrayArrayNumber;
|
this.arrayArrayNumber = arrayArrayNumber;
|
||||||
|
@ -29,7 +29,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfNumberOnly {
|
public class ArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayNumber")
|
@JsonProperty("ArrayNumber")
|
||||||
private List<BigDecimal> arrayNumber = null;
|
private List<BigDecimal> arrayNumber = new ArrayList<BigDecimal>();
|
||||||
|
|
||||||
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
||||||
this.arrayNumber = arrayNumber;
|
this.arrayNumber = arrayNumber;
|
||||||
|
@ -29,13 +29,13 @@ import org.openapitools.client.model.ReadOnlyFirst;
|
|||||||
|
|
||||||
public class ArrayTest {
|
public class ArrayTest {
|
||||||
@JsonProperty("array_of_string")
|
@JsonProperty("array_of_string")
|
||||||
private List<String> arrayOfString = null;
|
private List<String> arrayOfString = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_integer")
|
@JsonProperty("array_array_of_integer")
|
||||||
private List<List<Long>> arrayArrayOfInteger = null;
|
private List<List<Long>> arrayArrayOfInteger = new ArrayList<List<Long>>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_model")
|
@JsonProperty("array_array_of_model")
|
||||||
private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
|
private List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<List<ReadOnlyFirst>>();
|
||||||
|
|
||||||
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
||||||
this.arrayOfString = arrayOfString;
|
this.arrayOfString = arrayOfString;
|
||||||
|
@ -101,7 +101,7 @@ public class EnumArrays {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("array_enum")
|
@JsonProperty("array_enum")
|
||||||
private List<ArrayEnumEnum> arrayEnum = null;
|
private List<ArrayEnumEnum> arrayEnum = new ArrayList<ArrayEnumEnum>();
|
||||||
|
|
||||||
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
||||||
this.justSymbol = justSymbol;
|
this.justSymbol = justSymbol;
|
||||||
|
@ -31,7 +31,7 @@ public class FileSchemaTestClass {
|
|||||||
private java.io.File file = null;
|
private java.io.File file = null;
|
||||||
|
|
||||||
@JsonProperty("files")
|
@JsonProperty("files")
|
||||||
private List<java.io.File> files = null;
|
private List<java.io.File> files = new ArrayList<java.io.File>();
|
||||||
|
|
||||||
public FileSchemaTestClass file(java.io.File file) {
|
public FileSchemaTestClass file(java.io.File file) {
|
||||||
this.file = file;
|
this.file = file;
|
||||||
|
@ -29,7 +29,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class MapTest {
|
public class MapTest {
|
||||||
@JsonProperty("map_map_of_string")
|
@JsonProperty("map_map_of_string")
|
||||||
private Map<String, Map<String, String>> mapMapOfString = null;
|
private Map<String, Map<String, String>> mapMapOfString = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets inner
|
* Gets or Sets inner
|
||||||
@ -67,13 +67,13 @@ public class MapTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("map_of_enum_string")
|
@JsonProperty("map_of_enum_string")
|
||||||
private Map<String, InnerEnum> mapOfEnumString = null;
|
private Map<String, InnerEnum> mapOfEnumString = new HashMap<String, InnerEnum>();
|
||||||
|
|
||||||
@JsonProperty("direct_map")
|
@JsonProperty("direct_map")
|
||||||
private Map<String, Boolean> directMap = null;
|
private Map<String, Boolean> directMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
@JsonProperty("indirect_map")
|
@JsonProperty("indirect_map")
|
||||||
private Map<String, Boolean> indirectMap = null;
|
private Map<String, Boolean> indirectMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||||
this.mapMapOfString = mapMapOfString;
|
this.mapMapOfString = mapMapOfString;
|
||||||
|
@ -38,7 +38,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
private OffsetDateTime dateTime;
|
private OffsetDateTime dateTime;
|
||||||
|
|
||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = null;
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
|
@ -42,7 +42,7 @@ public class Pet {
|
|||||||
private List<String> photoUrls = new ArrayList<String>();
|
private List<String> photoUrls = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("tags")
|
@JsonProperty("tags")
|
||||||
private List<Tag> tags = null;
|
private List<Tag> tags = new ArrayList<Tag>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
@ -30,10 +30,10 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class AdditionalPropertiesClass {
|
public class AdditionalPropertiesClass {
|
||||||
@JsonProperty("map_property")
|
@JsonProperty("map_property")
|
||||||
private Map<String, String> mapProperty = null;
|
private Map<String, String> mapProperty = new HashMap<>();
|
||||||
|
|
||||||
@JsonProperty("map_of_map_property")
|
@JsonProperty("map_of_map_property")
|
||||||
private Map<String, Map<String, String>> mapOfMapProperty = null;
|
private Map<String, Map<String, String>> mapOfMapProperty = new HashMap<>();
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
||||||
this.mapProperty = mapProperty;
|
this.mapProperty = mapProperty;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfArrayOfNumberOnly {
|
public class ArrayOfArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayArrayNumber")
|
@JsonProperty("ArrayArrayNumber")
|
||||||
private List<List<BigDecimal>> arrayArrayNumber = null;
|
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<>();
|
||||||
|
|
||||||
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||||
this.arrayArrayNumber = arrayArrayNumber;
|
this.arrayArrayNumber = arrayArrayNumber;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfNumberOnly {
|
public class ArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayNumber")
|
@JsonProperty("ArrayNumber")
|
||||||
private List<BigDecimal> arrayNumber = null;
|
private List<BigDecimal> arrayNumber = new ArrayList<>();
|
||||||
|
|
||||||
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
||||||
this.arrayNumber = arrayNumber;
|
this.arrayNumber = arrayNumber;
|
||||||
|
@ -30,13 +30,13 @@ import org.openapitools.client.model.ReadOnlyFirst;
|
|||||||
|
|
||||||
public class ArrayTest {
|
public class ArrayTest {
|
||||||
@JsonProperty("array_of_string")
|
@JsonProperty("array_of_string")
|
||||||
private List<String> arrayOfString = null;
|
private List<String> arrayOfString = new ArrayList<>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_integer")
|
@JsonProperty("array_array_of_integer")
|
||||||
private List<List<Long>> arrayArrayOfInteger = null;
|
private List<List<Long>> arrayArrayOfInteger = new ArrayList<>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_model")
|
@JsonProperty("array_array_of_model")
|
||||||
private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
|
private List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<>();
|
||||||
|
|
||||||
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
||||||
this.arrayOfString = arrayOfString;
|
this.arrayOfString = arrayOfString;
|
||||||
|
@ -102,7 +102,7 @@ public class EnumArrays {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("array_enum")
|
@JsonProperty("array_enum")
|
||||||
private List<ArrayEnumEnum> arrayEnum = null;
|
private List<ArrayEnumEnum> arrayEnum = new ArrayList<>();
|
||||||
|
|
||||||
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
||||||
this.justSymbol = justSymbol;
|
this.justSymbol = justSymbol;
|
||||||
|
@ -32,7 +32,7 @@ public class FileSchemaTestClass {
|
|||||||
private java.io.File file = null;
|
private java.io.File file = null;
|
||||||
|
|
||||||
@JsonProperty("files")
|
@JsonProperty("files")
|
||||||
private List<java.io.File> files = null;
|
private List<java.io.File> files = new ArrayList<>();
|
||||||
|
|
||||||
public FileSchemaTestClass file(java.io.File file) {
|
public FileSchemaTestClass file(java.io.File file) {
|
||||||
this.file = file;
|
this.file = file;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class MapTest {
|
public class MapTest {
|
||||||
@JsonProperty("map_map_of_string")
|
@JsonProperty("map_map_of_string")
|
||||||
private Map<String, Map<String, String>> mapMapOfString = null;
|
private Map<String, Map<String, String>> mapMapOfString = new HashMap<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets inner
|
* Gets or Sets inner
|
||||||
@ -68,13 +68,13 @@ public class MapTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("map_of_enum_string")
|
@JsonProperty("map_of_enum_string")
|
||||||
private Map<String, InnerEnum> mapOfEnumString = null;
|
private Map<String, InnerEnum> mapOfEnumString = new HashMap<>();
|
||||||
|
|
||||||
@JsonProperty("direct_map")
|
@JsonProperty("direct_map")
|
||||||
private Map<String, Boolean> directMap = null;
|
private Map<String, Boolean> directMap = new HashMap<>();
|
||||||
|
|
||||||
@JsonProperty("indirect_map")
|
@JsonProperty("indirect_map")
|
||||||
private Map<String, Boolean> indirectMap = null;
|
private Map<String, Boolean> indirectMap = new HashMap<>();
|
||||||
|
|
||||||
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||||
this.mapMapOfString = mapMapOfString;
|
this.mapMapOfString = mapMapOfString;
|
||||||
|
@ -39,7 +39,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
private OffsetDateTime dateTime;
|
private OffsetDateTime dateTime;
|
||||||
|
|
||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = null;
|
private Map<String, Animal> map = new HashMap<>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
|
@ -43,7 +43,7 @@ public class Pet {
|
|||||||
private List<String> photoUrls = new ArrayList<>();
|
private List<String> photoUrls = new ArrayList<>();
|
||||||
|
|
||||||
@JsonProperty("tags")
|
@JsonProperty("tags")
|
||||||
private List<Tag> tags = null;
|
private List<Tag> tags = new ArrayList<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
@ -30,10 +30,10 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class AdditionalPropertiesClass {
|
public class AdditionalPropertiesClass {
|
||||||
@JsonProperty("map_property")
|
@JsonProperty("map_property")
|
||||||
private Map<String, String> mapProperty = null;
|
private Map<String, String> mapProperty = new HashMap<String, String>();
|
||||||
|
|
||||||
@JsonProperty("map_of_map_property")
|
@JsonProperty("map_of_map_property")
|
||||||
private Map<String, Map<String, String>> mapOfMapProperty = null;
|
private Map<String, Map<String, String>> mapOfMapProperty = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
||||||
this.mapProperty = mapProperty;
|
this.mapProperty = mapProperty;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfArrayOfNumberOnly {
|
public class ArrayOfArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayArrayNumber")
|
@JsonProperty("ArrayArrayNumber")
|
||||||
private List<List<BigDecimal>> arrayArrayNumber = null;
|
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<List<BigDecimal>>();
|
||||||
|
|
||||||
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||||
this.arrayArrayNumber = arrayArrayNumber;
|
this.arrayArrayNumber = arrayArrayNumber;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfNumberOnly {
|
public class ArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayNumber")
|
@JsonProperty("ArrayNumber")
|
||||||
private List<BigDecimal> arrayNumber = null;
|
private List<BigDecimal> arrayNumber = new ArrayList<BigDecimal>();
|
||||||
|
|
||||||
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
||||||
this.arrayNumber = arrayNumber;
|
this.arrayNumber = arrayNumber;
|
||||||
|
@ -30,13 +30,13 @@ import org.openapitools.client.model.ReadOnlyFirst;
|
|||||||
|
|
||||||
public class ArrayTest {
|
public class ArrayTest {
|
||||||
@JsonProperty("array_of_string")
|
@JsonProperty("array_of_string")
|
||||||
private List<String> arrayOfString = null;
|
private List<String> arrayOfString = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_integer")
|
@JsonProperty("array_array_of_integer")
|
||||||
private List<List<Long>> arrayArrayOfInteger = null;
|
private List<List<Long>> arrayArrayOfInteger = new ArrayList<List<Long>>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_model")
|
@JsonProperty("array_array_of_model")
|
||||||
private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
|
private List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<List<ReadOnlyFirst>>();
|
||||||
|
|
||||||
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
||||||
this.arrayOfString = arrayOfString;
|
this.arrayOfString = arrayOfString;
|
||||||
|
@ -102,7 +102,7 @@ public class EnumArrays {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("array_enum")
|
@JsonProperty("array_enum")
|
||||||
private List<ArrayEnumEnum> arrayEnum = null;
|
private List<ArrayEnumEnum> arrayEnum = new ArrayList<ArrayEnumEnum>();
|
||||||
|
|
||||||
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
||||||
this.justSymbol = justSymbol;
|
this.justSymbol = justSymbol;
|
||||||
|
@ -32,7 +32,7 @@ public class FileSchemaTestClass {
|
|||||||
private java.io.File file = null;
|
private java.io.File file = null;
|
||||||
|
|
||||||
@JsonProperty("files")
|
@JsonProperty("files")
|
||||||
private List<java.io.File> files = null;
|
private List<java.io.File> files = new ArrayList<java.io.File>();
|
||||||
|
|
||||||
public FileSchemaTestClass file(java.io.File file) {
|
public FileSchemaTestClass file(java.io.File file) {
|
||||||
this.file = file;
|
this.file = file;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class MapTest {
|
public class MapTest {
|
||||||
@JsonProperty("map_map_of_string")
|
@JsonProperty("map_map_of_string")
|
||||||
private Map<String, Map<String, String>> mapMapOfString = null;
|
private Map<String, Map<String, String>> mapMapOfString = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets inner
|
* Gets or Sets inner
|
||||||
@ -68,13 +68,13 @@ public class MapTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("map_of_enum_string")
|
@JsonProperty("map_of_enum_string")
|
||||||
private Map<String, InnerEnum> mapOfEnumString = null;
|
private Map<String, InnerEnum> mapOfEnumString = new HashMap<String, InnerEnum>();
|
||||||
|
|
||||||
@JsonProperty("direct_map")
|
@JsonProperty("direct_map")
|
||||||
private Map<String, Boolean> directMap = null;
|
private Map<String, Boolean> directMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
@JsonProperty("indirect_map")
|
@JsonProperty("indirect_map")
|
||||||
private Map<String, Boolean> indirectMap = null;
|
private Map<String, Boolean> indirectMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||||
this.mapMapOfString = mapMapOfString;
|
this.mapMapOfString = mapMapOfString;
|
||||||
|
@ -39,7 +39,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
private OffsetDateTime dateTime;
|
private OffsetDateTime dateTime;
|
||||||
|
|
||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = null;
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
|
@ -43,7 +43,7 @@ public class Pet {
|
|||||||
private List<String> photoUrls = new ArrayList<String>();
|
private List<String> photoUrls = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("tags")
|
@JsonProperty("tags")
|
||||||
private List<Tag> tags = null;
|
private List<Tag> tags = new ArrayList<Tag>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
@ -36,11 +36,11 @@ import android.os.Parcel;
|
|||||||
public class AdditionalPropertiesClass implements Parcelable {
|
public class AdditionalPropertiesClass implements Parcelable {
|
||||||
public static final String SERIALIZED_NAME_MAP_PROPERTY = "map_property";
|
public static final String SERIALIZED_NAME_MAP_PROPERTY = "map_property";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP_PROPERTY)
|
@SerializedName(SERIALIZED_NAME_MAP_PROPERTY)
|
||||||
private Map<String, String> mapProperty = null;
|
private Map<String, String> mapProperty = new HashMap<String, String>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_MAP_OF_MAP_PROPERTY = "map_of_map_property";
|
public static final String SERIALIZED_NAME_MAP_OF_MAP_PROPERTY = "map_of_map_property";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP_OF_MAP_PROPERTY)
|
@SerializedName(SERIALIZED_NAME_MAP_OF_MAP_PROPERTY)
|
||||||
private Map<String, Map<String, String>> mapOfMapProperty = null;
|
private Map<String, Map<String, String>> mapOfMapProperty = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
public AdditionalPropertiesClass() {
|
public AdditionalPropertiesClass() {
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ import android.os.Parcel;
|
|||||||
public class ArrayOfArrayOfNumberOnly implements Parcelable {
|
public class ArrayOfArrayOfNumberOnly implements Parcelable {
|
||||||
public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber";
|
public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER)
|
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER)
|
||||||
private List<List<BigDecimal>> arrayArrayNumber = null;
|
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<List<BigDecimal>>();
|
||||||
|
|
||||||
public ArrayOfArrayOfNumberOnly() {
|
public ArrayOfArrayOfNumberOnly() {
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ import android.os.Parcel;
|
|||||||
public class ArrayOfNumberOnly implements Parcelable {
|
public class ArrayOfNumberOnly implements Parcelable {
|
||||||
public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber";
|
public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_NUMBER)
|
@SerializedName(SERIALIZED_NAME_ARRAY_NUMBER)
|
||||||
private List<BigDecimal> arrayNumber = null;
|
private List<BigDecimal> arrayNumber = new ArrayList<BigDecimal>();
|
||||||
|
|
||||||
public ArrayOfNumberOnly() {
|
public ArrayOfNumberOnly() {
|
||||||
}
|
}
|
||||||
|
@ -36,15 +36,15 @@ import android.os.Parcel;
|
|||||||
public class ArrayTest implements Parcelable {
|
public class ArrayTest implements Parcelable {
|
||||||
public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string";
|
public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING)
|
@SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING)
|
||||||
private List<String> arrayOfString = null;
|
private List<String> arrayOfString = new ArrayList<String>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer";
|
public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER)
|
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER)
|
||||||
private List<List<Long>> arrayArrayOfInteger = null;
|
private List<List<Long>> arrayArrayOfInteger = new ArrayList<List<Long>>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model";
|
public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL)
|
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL)
|
||||||
private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
|
private List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<List<ReadOnlyFirst>>();
|
||||||
|
|
||||||
public ArrayTest() {
|
public ArrayTest() {
|
||||||
}
|
}
|
||||||
|
@ -133,7 +133,7 @@ public class EnumArrays implements Parcelable {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum";
|
public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_ENUM)
|
@SerializedName(SERIALIZED_NAME_ARRAY_ENUM)
|
||||||
private List<ArrayEnumEnum> arrayEnum = null;
|
private List<ArrayEnumEnum> arrayEnum = new ArrayList<ArrayEnumEnum>();
|
||||||
|
|
||||||
public EnumArrays() {
|
public EnumArrays() {
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ public class FileSchemaTestClass implements Parcelable {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_FILES = "files";
|
public static final String SERIALIZED_NAME_FILES = "files";
|
||||||
@SerializedName(SERIALIZED_NAME_FILES)
|
@SerializedName(SERIALIZED_NAME_FILES)
|
||||||
private List<java.io.File> files = null;
|
private List<java.io.File> files = new ArrayList<java.io.File>();
|
||||||
|
|
||||||
public FileSchemaTestClass() {
|
public FileSchemaTestClass() {
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ import android.os.Parcel;
|
|||||||
public class MapTest implements Parcelable {
|
public class MapTest implements Parcelable {
|
||||||
public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string";
|
public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING)
|
@SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING)
|
||||||
private Map<String, Map<String, String>> mapMapOfString = null;
|
private Map<String, Map<String, String>> mapMapOfString = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets inner
|
* Gets or Sets inner
|
||||||
@ -87,15 +87,15 @@ public class MapTest implements Parcelable {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string";
|
public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING)
|
@SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING)
|
||||||
private Map<String, InnerEnum> mapOfEnumString = null;
|
private Map<String, InnerEnum> mapOfEnumString = new HashMap<String, InnerEnum>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map";
|
public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map";
|
||||||
@SerializedName(SERIALIZED_NAME_DIRECT_MAP)
|
@SerializedName(SERIALIZED_NAME_DIRECT_MAP)
|
||||||
private Map<String, Boolean> directMap = null;
|
private Map<String, Boolean> directMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map";
|
public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map";
|
||||||
@SerializedName(SERIALIZED_NAME_INDIRECT_MAP)
|
@SerializedName(SERIALIZED_NAME_INDIRECT_MAP)
|
||||||
private Map<String, Boolean> indirectMap = null;
|
private Map<String, Boolean> indirectMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public MapTest() {
|
public MapTest() {
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Parcelable {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_MAP = "map";
|
public static final String SERIALIZED_NAME_MAP = "map";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP)
|
@SerializedName(SERIALIZED_NAME_MAP)
|
||||||
private Map<String, Animal> map = null;
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass() {
|
public MixedPropertiesAndAdditionalPropertiesClass() {
|
||||||
}
|
}
|
||||||
|
@ -53,7 +53,7 @@ public class Pet implements Parcelable {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_TAGS = "tags";
|
public static final String SERIALIZED_NAME_TAGS = "tags";
|
||||||
@SerializedName(SERIALIZED_NAME_TAGS)
|
@SerializedName(SERIALIZED_NAME_TAGS)
|
||||||
private List<Tag> tags = null;
|
private List<Tag> tags = new ArrayList<Tag>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
@ -34,11 +34,11 @@ import java.util.Map;
|
|||||||
public class AdditionalPropertiesClass {
|
public class AdditionalPropertiesClass {
|
||||||
public static final String SERIALIZED_NAME_MAP_PROPERTY = "map_property";
|
public static final String SERIALIZED_NAME_MAP_PROPERTY = "map_property";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP_PROPERTY)
|
@SerializedName(SERIALIZED_NAME_MAP_PROPERTY)
|
||||||
private Map<String, String> mapProperty = null;
|
private Map<String, String> mapProperty = new HashMap<String, String>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_MAP_OF_MAP_PROPERTY = "map_of_map_property";
|
public static final String SERIALIZED_NAME_MAP_OF_MAP_PROPERTY = "map_of_map_property";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP_OF_MAP_PROPERTY)
|
@SerializedName(SERIALIZED_NAME_MAP_OF_MAP_PROPERTY)
|
||||||
private Map<String, Map<String, String>> mapOfMapProperty = null;
|
private Map<String, Map<String, String>> mapOfMapProperty = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
||||||
this.mapProperty = mapProperty;
|
this.mapProperty = mapProperty;
|
||||||
|
@ -34,7 +34,7 @@ import java.util.List;
|
|||||||
public class ArrayOfArrayOfNumberOnly {
|
public class ArrayOfArrayOfNumberOnly {
|
||||||
public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber";
|
public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER)
|
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER)
|
||||||
private List<List<BigDecimal>> arrayArrayNumber = null;
|
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<List<BigDecimal>>();
|
||||||
|
|
||||||
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||||
this.arrayArrayNumber = arrayArrayNumber;
|
this.arrayArrayNumber = arrayArrayNumber;
|
||||||
|
@ -34,7 +34,7 @@ import java.util.List;
|
|||||||
public class ArrayOfNumberOnly {
|
public class ArrayOfNumberOnly {
|
||||||
public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber";
|
public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_NUMBER)
|
@SerializedName(SERIALIZED_NAME_ARRAY_NUMBER)
|
||||||
private List<BigDecimal> arrayNumber = null;
|
private List<BigDecimal> arrayNumber = new ArrayList<BigDecimal>();
|
||||||
|
|
||||||
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
||||||
this.arrayNumber = arrayNumber;
|
this.arrayNumber = arrayNumber;
|
||||||
|
@ -34,15 +34,15 @@ import org.openapitools.client.model.ReadOnlyFirst;
|
|||||||
public class ArrayTest {
|
public class ArrayTest {
|
||||||
public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string";
|
public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING)
|
@SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING)
|
||||||
private List<String> arrayOfString = null;
|
private List<String> arrayOfString = new ArrayList<String>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer";
|
public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER)
|
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER)
|
||||||
private List<List<Long>> arrayArrayOfInteger = null;
|
private List<List<Long>> arrayArrayOfInteger = new ArrayList<List<Long>>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model";
|
public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL)
|
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL)
|
||||||
private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
|
private List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<List<ReadOnlyFirst>>();
|
||||||
|
|
||||||
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
||||||
this.arrayOfString = arrayOfString;
|
this.arrayOfString = arrayOfString;
|
||||||
|
@ -131,7 +131,7 @@ public class EnumArrays {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum";
|
public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_ENUM)
|
@SerializedName(SERIALIZED_NAME_ARRAY_ENUM)
|
||||||
private List<ArrayEnumEnum> arrayEnum = null;
|
private List<ArrayEnumEnum> arrayEnum = new ArrayList<ArrayEnumEnum>();
|
||||||
|
|
||||||
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
||||||
this.justSymbol = justSymbol;
|
this.justSymbol = justSymbol;
|
||||||
|
@ -37,7 +37,7 @@ public class FileSchemaTestClass {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_FILES = "files";
|
public static final String SERIALIZED_NAME_FILES = "files";
|
||||||
@SerializedName(SERIALIZED_NAME_FILES)
|
@SerializedName(SERIALIZED_NAME_FILES)
|
||||||
private List<java.io.File> files = null;
|
private List<java.io.File> files = new ArrayList<java.io.File>();
|
||||||
|
|
||||||
public FileSchemaTestClass file(java.io.File file) {
|
public FileSchemaTestClass file(java.io.File file) {
|
||||||
this.file = file;
|
this.file = file;
|
||||||
|
@ -34,7 +34,7 @@ import java.util.Map;
|
|||||||
public class MapTest {
|
public class MapTest {
|
||||||
public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string";
|
public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING)
|
@SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING)
|
||||||
private Map<String, Map<String, String>> mapMapOfString = null;
|
private Map<String, Map<String, String>> mapMapOfString = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets inner
|
* Gets or Sets inner
|
||||||
@ -85,15 +85,15 @@ public class MapTest {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string";
|
public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING)
|
@SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING)
|
||||||
private Map<String, InnerEnum> mapOfEnumString = null;
|
private Map<String, InnerEnum> mapOfEnumString = new HashMap<String, InnerEnum>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map";
|
public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map";
|
||||||
@SerializedName(SERIALIZED_NAME_DIRECT_MAP)
|
@SerializedName(SERIALIZED_NAME_DIRECT_MAP)
|
||||||
private Map<String, Boolean> directMap = null;
|
private Map<String, Boolean> directMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map";
|
public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map";
|
||||||
@SerializedName(SERIALIZED_NAME_INDIRECT_MAP)
|
@SerializedName(SERIALIZED_NAME_INDIRECT_MAP)
|
||||||
private Map<String, Boolean> indirectMap = null;
|
private Map<String, Boolean> indirectMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||||
this.mapMapOfString = mapMapOfString;
|
this.mapMapOfString = mapMapOfString;
|
||||||
|
@ -45,7 +45,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_MAP = "map";
|
public static final String SERIALIZED_NAME_MAP = "map";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP)
|
@SerializedName(SERIALIZED_NAME_MAP)
|
||||||
private Map<String, Animal> map = null;
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
|
@ -51,7 +51,7 @@ public class Pet {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_TAGS = "tags";
|
public static final String SERIALIZED_NAME_TAGS = "tags";
|
||||||
@SerializedName(SERIALIZED_NAME_TAGS)
|
@SerializedName(SERIALIZED_NAME_TAGS)
|
||||||
private List<Tag> tags = null;
|
private List<Tag> tags = new ArrayList<Tag>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
@ -34,11 +34,11 @@ import java.util.Map;
|
|||||||
public class AdditionalPropertiesClass {
|
public class AdditionalPropertiesClass {
|
||||||
public static final String SERIALIZED_NAME_MAP_PROPERTY = "map_property";
|
public static final String SERIALIZED_NAME_MAP_PROPERTY = "map_property";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP_PROPERTY)
|
@SerializedName(SERIALIZED_NAME_MAP_PROPERTY)
|
||||||
private Map<String, String> mapProperty = null;
|
private Map<String, String> mapProperty = new HashMap<String, String>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_MAP_OF_MAP_PROPERTY = "map_of_map_property";
|
public static final String SERIALIZED_NAME_MAP_OF_MAP_PROPERTY = "map_of_map_property";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP_OF_MAP_PROPERTY)
|
@SerializedName(SERIALIZED_NAME_MAP_OF_MAP_PROPERTY)
|
||||||
private Map<String, Map<String, String>> mapOfMapProperty = null;
|
private Map<String, Map<String, String>> mapOfMapProperty = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
||||||
this.mapProperty = mapProperty;
|
this.mapProperty = mapProperty;
|
||||||
|
@ -34,7 +34,7 @@ import java.util.List;
|
|||||||
public class ArrayOfArrayOfNumberOnly {
|
public class ArrayOfArrayOfNumberOnly {
|
||||||
public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber";
|
public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER)
|
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER)
|
||||||
private List<List<BigDecimal>> arrayArrayNumber = null;
|
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<List<BigDecimal>>();
|
||||||
|
|
||||||
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||||
this.arrayArrayNumber = arrayArrayNumber;
|
this.arrayArrayNumber = arrayArrayNumber;
|
||||||
|
@ -34,7 +34,7 @@ import java.util.List;
|
|||||||
public class ArrayOfNumberOnly {
|
public class ArrayOfNumberOnly {
|
||||||
public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber";
|
public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_NUMBER)
|
@SerializedName(SERIALIZED_NAME_ARRAY_NUMBER)
|
||||||
private List<BigDecimal> arrayNumber = null;
|
private List<BigDecimal> arrayNumber = new ArrayList<BigDecimal>();
|
||||||
|
|
||||||
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
||||||
this.arrayNumber = arrayNumber;
|
this.arrayNumber = arrayNumber;
|
||||||
|
@ -34,15 +34,15 @@ import org.openapitools.client.model.ReadOnlyFirst;
|
|||||||
public class ArrayTest {
|
public class ArrayTest {
|
||||||
public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string";
|
public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING)
|
@SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING)
|
||||||
private List<String> arrayOfString = null;
|
private List<String> arrayOfString = new ArrayList<String>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer";
|
public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER)
|
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER)
|
||||||
private List<List<Long>> arrayArrayOfInteger = null;
|
private List<List<Long>> arrayArrayOfInteger = new ArrayList<List<Long>>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model";
|
public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL)
|
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL)
|
||||||
private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
|
private List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<List<ReadOnlyFirst>>();
|
||||||
|
|
||||||
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
||||||
this.arrayOfString = arrayOfString;
|
this.arrayOfString = arrayOfString;
|
||||||
|
@ -131,7 +131,7 @@ public class EnumArrays {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum";
|
public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum";
|
||||||
@SerializedName(SERIALIZED_NAME_ARRAY_ENUM)
|
@SerializedName(SERIALIZED_NAME_ARRAY_ENUM)
|
||||||
private List<ArrayEnumEnum> arrayEnum = null;
|
private List<ArrayEnumEnum> arrayEnum = new ArrayList<ArrayEnumEnum>();
|
||||||
|
|
||||||
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
||||||
this.justSymbol = justSymbol;
|
this.justSymbol = justSymbol;
|
||||||
|
@ -37,7 +37,7 @@ public class FileSchemaTestClass {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_FILES = "files";
|
public static final String SERIALIZED_NAME_FILES = "files";
|
||||||
@SerializedName(SERIALIZED_NAME_FILES)
|
@SerializedName(SERIALIZED_NAME_FILES)
|
||||||
private List<java.io.File> files = null;
|
private List<java.io.File> files = new ArrayList<java.io.File>();
|
||||||
|
|
||||||
public FileSchemaTestClass file(java.io.File file) {
|
public FileSchemaTestClass file(java.io.File file) {
|
||||||
this.file = file;
|
this.file = file;
|
||||||
|
@ -34,7 +34,7 @@ import java.util.Map;
|
|||||||
public class MapTest {
|
public class MapTest {
|
||||||
public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string";
|
public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING)
|
@SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING)
|
||||||
private Map<String, Map<String, String>> mapMapOfString = null;
|
private Map<String, Map<String, String>> mapMapOfString = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets inner
|
* Gets or Sets inner
|
||||||
@ -85,15 +85,15 @@ public class MapTest {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string";
|
public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING)
|
@SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING)
|
||||||
private Map<String, InnerEnum> mapOfEnumString = null;
|
private Map<String, InnerEnum> mapOfEnumString = new HashMap<String, InnerEnum>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map";
|
public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map";
|
||||||
@SerializedName(SERIALIZED_NAME_DIRECT_MAP)
|
@SerializedName(SERIALIZED_NAME_DIRECT_MAP)
|
||||||
private Map<String, Boolean> directMap = null;
|
private Map<String, Boolean> directMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map";
|
public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map";
|
||||||
@SerializedName(SERIALIZED_NAME_INDIRECT_MAP)
|
@SerializedName(SERIALIZED_NAME_INDIRECT_MAP)
|
||||||
private Map<String, Boolean> indirectMap = null;
|
private Map<String, Boolean> indirectMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||||
this.mapMapOfString = mapMapOfString;
|
this.mapMapOfString = mapMapOfString;
|
||||||
|
@ -45,7 +45,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_MAP = "map";
|
public static final String SERIALIZED_NAME_MAP = "map";
|
||||||
@SerializedName(SERIALIZED_NAME_MAP)
|
@SerializedName(SERIALIZED_NAME_MAP)
|
||||||
private Map<String, Animal> map = null;
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
|
@ -51,7 +51,7 @@ public class Pet {
|
|||||||
|
|
||||||
public static final String SERIALIZED_NAME_TAGS = "tags";
|
public static final String SERIALIZED_NAME_TAGS = "tags";
|
||||||
@SerializedName(SERIALIZED_NAME_TAGS)
|
@SerializedName(SERIALIZED_NAME_TAGS)
|
||||||
private List<Tag> tags = null;
|
private List<Tag> tags = new ArrayList<Tag>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
@ -30,10 +30,10 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class AdditionalPropertiesClass {
|
public class AdditionalPropertiesClass {
|
||||||
@JsonProperty("map_property")
|
@JsonProperty("map_property")
|
||||||
private Map<String, String> mapProperty = null;
|
private Map<String, String> mapProperty = new HashMap<String, String>();
|
||||||
|
|
||||||
@JsonProperty("map_of_map_property")
|
@JsonProperty("map_of_map_property")
|
||||||
private Map<String, Map<String, String>> mapOfMapProperty = null;
|
private Map<String, Map<String, String>> mapOfMapProperty = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
|
||||||
this.mapProperty = mapProperty;
|
this.mapProperty = mapProperty;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfArrayOfNumberOnly {
|
public class ArrayOfArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayArrayNumber")
|
@JsonProperty("ArrayArrayNumber")
|
||||||
private List<List<BigDecimal>> arrayArrayNumber = null;
|
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<List<BigDecimal>>();
|
||||||
|
|
||||||
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||||
this.arrayArrayNumber = arrayArrayNumber;
|
this.arrayArrayNumber = arrayArrayNumber;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class ArrayOfNumberOnly {
|
public class ArrayOfNumberOnly {
|
||||||
@JsonProperty("ArrayNumber")
|
@JsonProperty("ArrayNumber")
|
||||||
private List<BigDecimal> arrayNumber = null;
|
private List<BigDecimal> arrayNumber = new ArrayList<BigDecimal>();
|
||||||
|
|
||||||
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
|
||||||
this.arrayNumber = arrayNumber;
|
this.arrayNumber = arrayNumber;
|
||||||
|
@ -30,13 +30,13 @@ import org.openapitools.client.model.ReadOnlyFirst;
|
|||||||
|
|
||||||
public class ArrayTest {
|
public class ArrayTest {
|
||||||
@JsonProperty("array_of_string")
|
@JsonProperty("array_of_string")
|
||||||
private List<String> arrayOfString = null;
|
private List<String> arrayOfString = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_integer")
|
@JsonProperty("array_array_of_integer")
|
||||||
private List<List<Long>> arrayArrayOfInteger = null;
|
private List<List<Long>> arrayArrayOfInteger = new ArrayList<List<Long>>();
|
||||||
|
|
||||||
@JsonProperty("array_array_of_model")
|
@JsonProperty("array_array_of_model")
|
||||||
private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
|
private List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<List<ReadOnlyFirst>>();
|
||||||
|
|
||||||
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
public ArrayTest arrayOfString(List<String> arrayOfString) {
|
||||||
this.arrayOfString = arrayOfString;
|
this.arrayOfString = arrayOfString;
|
||||||
|
@ -102,7 +102,7 @@ public class EnumArrays {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("array_enum")
|
@JsonProperty("array_enum")
|
||||||
private List<ArrayEnumEnum> arrayEnum = null;
|
private List<ArrayEnumEnum> arrayEnum = new ArrayList<ArrayEnumEnum>();
|
||||||
|
|
||||||
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
|
||||||
this.justSymbol = justSymbol;
|
this.justSymbol = justSymbol;
|
||||||
|
@ -32,7 +32,7 @@ public class FileSchemaTestClass {
|
|||||||
private java.io.File file = null;
|
private java.io.File file = null;
|
||||||
|
|
||||||
@JsonProperty("files")
|
@JsonProperty("files")
|
||||||
private List<java.io.File> files = null;
|
private List<java.io.File> files = new ArrayList<java.io.File>();
|
||||||
|
|
||||||
public FileSchemaTestClass file(java.io.File file) {
|
public FileSchemaTestClass file(java.io.File file) {
|
||||||
this.file = file;
|
this.file = file;
|
||||||
|
@ -30,7 +30,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class MapTest {
|
public class MapTest {
|
||||||
@JsonProperty("map_map_of_string")
|
@JsonProperty("map_map_of_string")
|
||||||
private Map<String, Map<String, String>> mapMapOfString = null;
|
private Map<String, Map<String, String>> mapMapOfString = new HashMap<String, Map<String, String>>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets or Sets inner
|
* Gets or Sets inner
|
||||||
@ -68,13 +68,13 @@ public class MapTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty("map_of_enum_string")
|
@JsonProperty("map_of_enum_string")
|
||||||
private Map<String, InnerEnum> mapOfEnumString = null;
|
private Map<String, InnerEnum> mapOfEnumString = new HashMap<String, InnerEnum>();
|
||||||
|
|
||||||
@JsonProperty("direct_map")
|
@JsonProperty("direct_map")
|
||||||
private Map<String, Boolean> directMap = null;
|
private Map<String, Boolean> directMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
@JsonProperty("indirect_map")
|
@JsonProperty("indirect_map")
|
||||||
private Map<String, Boolean> indirectMap = null;
|
private Map<String, Boolean> indirectMap = new HashMap<String, Boolean>();
|
||||||
|
|
||||||
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||||
this.mapMapOfString = mapMapOfString;
|
this.mapMapOfString = mapMapOfString;
|
||||||
|
@ -39,7 +39,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
private OffsetDateTime dateTime;
|
private OffsetDateTime dateTime;
|
||||||
|
|
||||||
@JsonProperty("map")
|
@JsonProperty("map")
|
||||||
private Map<String, Animal> map = null;
|
private Map<String, Animal> map = new HashMap<String, Animal>();
|
||||||
|
|
||||||
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
|
||||||
this.uuid = uuid;
|
this.uuid = uuid;
|
||||||
|
@ -43,7 +43,7 @@ public class Pet {
|
|||||||
private List<String> photoUrls = new ArrayList<String>();
|
private List<String> photoUrls = new ArrayList<String>();
|
||||||
|
|
||||||
@JsonProperty("tags")
|
@JsonProperty("tags")
|
||||||
private List<Tag> tags = null;
|
private List<Tag> tags = new ArrayList<Tag>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pet status in the store
|
* pet status in the store
|
||||||
|
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