[Java][client] make it possible to send explicit nulls for nullable fields (#3474)

* [Java][client] make it possible to send explicit nulls for nullable fields

* Regenerate samples
This commit is contained in:
Slavek Kabrda
2019-08-16 10:26:06 +02:00
committed by William Cheng
parent cd9eea2fe5
commit 5182955cca
1117 changed files with 23253 additions and 2935 deletions

View File

@@ -35,7 +35,9 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public AdditionalPropertiesAnyType name(String name) {
this.name = name;
return this;
}
@@ -46,10 +48,13 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}

View File

@@ -36,7 +36,9 @@ public class AdditionalPropertiesArray extends HashMap<String, List> {
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public AdditionalPropertiesArray name(String name) {
this.name = name;
return this;
}
@@ -47,10 +49,13 @@ public class AdditionalPropertiesArray extends HashMap<String, List> {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}

View File

@@ -35,7 +35,9 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public AdditionalPropertiesBoolean name(String name) {
this.name = name;
return this;
}
@@ -46,10 +48,13 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}

View File

@@ -67,17 +67,19 @@ public class AdditionalPropertiesClass {
public static final String SERIALIZED_NAME_ANYTYPE1 = "anytype_1";
@SerializedName(SERIALIZED_NAME_ANYTYPE1)
private Object anytype1 = null;
private Object anytype1;
public static final String SERIALIZED_NAME_ANYTYPE2 = "anytype_2";
@SerializedName(SERIALIZED_NAME_ANYTYPE2)
private Object anytype2 = null;
private Object anytype2;
public static final String SERIALIZED_NAME_ANYTYPE3 = "anytype_3";
@SerializedName(SERIALIZED_NAME_ANYTYPE3)
private Object anytype3 = null;
private Object anytype3;
public AdditionalPropertiesClass mapString(Map<String, String> mapString) {
this.mapString = mapString;
return this;
}
@@ -96,15 +98,20 @@ public class AdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, String> getMapString() {
return mapString;
}
public void setMapString(Map<String, String> mapString) {
this.mapString = mapString;
}
public AdditionalPropertiesClass mapNumber(Map<String, BigDecimal> mapNumber) {
this.mapNumber = mapNumber;
return this;
}
@@ -123,15 +130,20 @@ public class AdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, BigDecimal> getMapNumber() {
return mapNumber;
}
public void setMapNumber(Map<String, BigDecimal> mapNumber) {
this.mapNumber = mapNumber;
}
public AdditionalPropertiesClass mapInteger(Map<String, Integer> mapInteger) {
this.mapInteger = mapInteger;
return this;
}
@@ -150,15 +162,20 @@ public class AdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Integer> getMapInteger() {
return mapInteger;
}
public void setMapInteger(Map<String, Integer> mapInteger) {
this.mapInteger = mapInteger;
}
public AdditionalPropertiesClass mapBoolean(Map<String, Boolean> mapBoolean) {
this.mapBoolean = mapBoolean;
return this;
}
@@ -177,15 +194,20 @@ public class AdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Boolean> getMapBoolean() {
return mapBoolean;
}
public void setMapBoolean(Map<String, Boolean> mapBoolean) {
this.mapBoolean = mapBoolean;
}
public AdditionalPropertiesClass mapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
this.mapArrayInteger = mapArrayInteger;
return this;
}
@@ -204,15 +226,20 @@ public class AdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, List<Integer>> getMapArrayInteger() {
return mapArrayInteger;
}
public void setMapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
this.mapArrayInteger = mapArrayInteger;
}
public AdditionalPropertiesClass mapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
this.mapArrayAnytype = mapArrayAnytype;
return this;
}
@@ -231,15 +258,20 @@ public class AdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, List<Object>> getMapArrayAnytype() {
return mapArrayAnytype;
}
public void setMapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
this.mapArrayAnytype = mapArrayAnytype;
}
public AdditionalPropertiesClass mapMapString(Map<String, Map<String, String>> mapMapString) {
this.mapMapString = mapMapString;
return this;
}
@@ -258,15 +290,20 @@ public class AdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Map<String, String>> getMapMapString() {
return mapMapString;
}
public void setMapMapString(Map<String, Map<String, String>> mapMapString) {
this.mapMapString = mapMapString;
}
public AdditionalPropertiesClass mapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
this.mapMapAnytype = mapMapAnytype;
return this;
}
@@ -285,15 +322,20 @@ public class AdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Map<String, Object>> getMapMapAnytype() {
return mapMapAnytype;
}
public void setMapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
this.mapMapAnytype = mapMapAnytype;
}
public AdditionalPropertiesClass anytype1(Object anytype1) {
this.anytype1 = anytype1;
return this;
}
@@ -304,15 +346,20 @@ public class AdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Object getAnytype1() {
return anytype1;
}
public void setAnytype1(Object anytype1) {
this.anytype1 = anytype1;
}
public AdditionalPropertiesClass anytype2(Object anytype2) {
this.anytype2 = anytype2;
return this;
}
@@ -323,15 +370,20 @@ public class AdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Object getAnytype2() {
return anytype2;
}
public void setAnytype2(Object anytype2) {
this.anytype2 = anytype2;
}
public AdditionalPropertiesClass anytype3(Object anytype3) {
this.anytype3 = anytype3;
return this;
}
@@ -342,10 +394,13 @@ public class AdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Object getAnytype3() {
return anytype3;
}
public void setAnytype3(Object anytype3) {
this.anytype3 = anytype3;
}

View File

@@ -35,7 +35,9 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public AdditionalPropertiesInteger name(String name) {
this.name = name;
return this;
}
@@ -46,10 +48,13 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}

View File

@@ -36,7 +36,9 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public AdditionalPropertiesNumber name(String name) {
this.name = name;
return this;
}
@@ -47,10 +49,13 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}

View File

@@ -35,7 +35,9 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> {
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public AdditionalPropertiesObject name(String name) {
this.name = name;
return this;
}
@@ -46,10 +48,13 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}

View File

@@ -35,7 +35,9 @@ public class AdditionalPropertiesString extends HashMap<String, String> {
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public AdditionalPropertiesString name(String name) {
this.name = name;
return this;
}
@@ -46,10 +48,13 @@ public class AdditionalPropertiesString extends HashMap<String, String> {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}

View File

@@ -41,7 +41,9 @@ public class Animal {
public Animal() {
this.className = this.getClass().getSimpleName();
}
public Animal className(String className) {
this.className = className;
return this;
}
@@ -51,15 +53,20 @@ public class Animal {
* @return className
**/
@ApiModelProperty(required = true, value = "")
public String getClassName() {
return className;
}
public void setClassName(String className) {
this.className = className;
}
public Animal color(String color) {
this.color = color;
return this;
}
@@ -70,10 +77,13 @@ public class Animal {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color;
}

View File

@@ -36,7 +36,9 @@ public class ArrayOfArrayOfNumberOnly {
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER)
private List<List<BigDecimal>> arrayArrayNumber = null;
public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
this.arrayArrayNumber = arrayArrayNumber;
return this;
}
@@ -55,10 +57,13 @@ public class ArrayOfArrayOfNumberOnly {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<List<BigDecimal>> getArrayArrayNumber() {
return arrayArrayNumber;
}
public void setArrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
this.arrayArrayNumber = arrayArrayNumber;
}

View File

@@ -36,7 +36,9 @@ public class ArrayOfNumberOnly {
@SerializedName(SERIALIZED_NAME_ARRAY_NUMBER)
private List<BigDecimal> arrayNumber = null;
public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
this.arrayNumber = arrayNumber;
return this;
}
@@ -55,10 +57,13 @@ public class ArrayOfNumberOnly {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<BigDecimal> getArrayNumber() {
return arrayNumber;
}
public void setArrayNumber(List<BigDecimal> arrayNumber) {
this.arrayNumber = arrayNumber;
}

View File

@@ -44,7 +44,9 @@ public class ArrayTest {
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL)
private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
public ArrayTest arrayOfString(List<String> arrayOfString) {
this.arrayOfString = arrayOfString;
return this;
}
@@ -63,15 +65,20 @@ public class ArrayTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<String> getArrayOfString() {
return arrayOfString;
}
public void setArrayOfString(List<String> arrayOfString) {
this.arrayOfString = arrayOfString;
}
public ArrayTest arrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
this.arrayArrayOfInteger = arrayArrayOfInteger;
return this;
}
@@ -90,15 +97,20 @@ public class ArrayTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<List<Long>> getArrayArrayOfInteger() {
return arrayArrayOfInteger;
}
public void setArrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
this.arrayArrayOfInteger = arrayArrayOfInteger;
}
public ArrayTest arrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) {
this.arrayArrayOfModel = arrayArrayOfModel;
return this;
}
@@ -117,10 +129,13 @@ public class ArrayTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
return arrayArrayOfModel;
}
public void setArrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) {
this.arrayArrayOfModel = arrayArrayOfModel;
}

View File

@@ -53,7 +53,9 @@ public class Capitalization {
@SerializedName(SERIALIZED_NAME_A_T_T_N_A_M_E)
private String ATT_NAME;
public Capitalization smallCamel(String smallCamel) {
this.smallCamel = smallCamel;
return this;
}
@@ -64,15 +66,20 @@ public class Capitalization {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getSmallCamel() {
return smallCamel;
}
public void setSmallCamel(String smallCamel) {
this.smallCamel = smallCamel;
}
public Capitalization capitalCamel(String capitalCamel) {
this.capitalCamel = capitalCamel;
return this;
}
@@ -83,15 +90,20 @@ public class Capitalization {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getCapitalCamel() {
return capitalCamel;
}
public void setCapitalCamel(String capitalCamel) {
this.capitalCamel = capitalCamel;
}
public Capitalization smallSnake(String smallSnake) {
this.smallSnake = smallSnake;
return this;
}
@@ -102,15 +114,20 @@ public class Capitalization {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getSmallSnake() {
return smallSnake;
}
public void setSmallSnake(String smallSnake) {
this.smallSnake = smallSnake;
}
public Capitalization capitalSnake(String capitalSnake) {
this.capitalSnake = capitalSnake;
return this;
}
@@ -121,15 +138,20 @@ public class Capitalization {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getCapitalSnake() {
return capitalSnake;
}
public void setCapitalSnake(String capitalSnake) {
this.capitalSnake = capitalSnake;
}
public Capitalization scAETHFlowPoints(String scAETHFlowPoints) {
this.scAETHFlowPoints = scAETHFlowPoints;
return this;
}
@@ -140,15 +162,20 @@ public class Capitalization {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getScAETHFlowPoints() {
return scAETHFlowPoints;
}
public void setScAETHFlowPoints(String scAETHFlowPoints) {
this.scAETHFlowPoints = scAETHFlowPoints;
}
public Capitalization ATT_NAME(String ATT_NAME) {
this.ATT_NAME = ATT_NAME;
return this;
}
@@ -159,10 +186,13 @@ public class Capitalization {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Name of the pet ")
public String getATTNAME() {
return ATT_NAME;
}
public void setATTNAME(String ATT_NAME) {
this.ATT_NAME = ATT_NAME;
}

View File

@@ -35,7 +35,9 @@ public class Cat extends Animal {
@SerializedName(SERIALIZED_NAME_DECLAWED)
private Boolean declawed;
public Cat declawed(Boolean declawed) {
this.declawed = declawed;
return this;
}
@@ -46,10 +48,13 @@ public class Cat extends Animal {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getDeclawed() {
return declawed;
}
public void setDeclawed(Boolean declawed) {
this.declawed = declawed;
}

View File

@@ -33,7 +33,9 @@ public class CatAllOf {
@SerializedName(SERIALIZED_NAME_DECLAWED)
private Boolean declawed;
public CatAllOf declawed(Boolean declawed) {
this.declawed = declawed;
return this;
}
@@ -44,10 +46,13 @@ public class CatAllOf {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getDeclawed() {
return declawed;
}
public void setDeclawed(Boolean declawed) {
this.declawed = declawed;
}

View File

@@ -37,7 +37,9 @@ public class Category {
@SerializedName(SERIALIZED_NAME_NAME)
private String name = "default-name";
public Category id(Long id) {
this.id = id;
return this;
}
@@ -48,15 +50,20 @@ public class Category {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Category name(String name) {
this.name = name;
return this;
}
@@ -66,10 +73,13 @@ public class Category {
* @return name
**/
@ApiModelProperty(required = true, value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}

View File

@@ -34,7 +34,9 @@ public class ClassModel {
@SerializedName(SERIALIZED_NAME_PROPERTY_CLASS)
private String propertyClass;
public ClassModel propertyClass(String propertyClass) {
this.propertyClass = propertyClass;
return this;
}
@@ -45,10 +47,13 @@ public class ClassModel {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getPropertyClass() {
return propertyClass;
}
public void setPropertyClass(String propertyClass) {
this.propertyClass = propertyClass;
}

View File

@@ -33,7 +33,9 @@ public class Client {
@SerializedName(SERIALIZED_NAME_CLIENT)
private String client;
public Client client(String client) {
this.client = client;
return this;
}
@@ -44,10 +46,13 @@ public class Client {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getClient() {
return client;
}
public void setClient(String client) {
this.client = client;
}

View File

@@ -35,7 +35,9 @@ public class Dog extends Animal {
@SerializedName(SERIALIZED_NAME_BREED)
private String breed;
public Dog breed(String breed) {
this.breed = breed;
return this;
}
@@ -46,10 +48,13 @@ public class Dog extends Animal {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBreed() {
return breed;
}
public void setBreed(String breed) {
this.breed = breed;
}

View File

@@ -33,7 +33,9 @@ public class DogAllOf {
@SerializedName(SERIALIZED_NAME_BREED)
private String breed;
public DogAllOf breed(String breed) {
this.breed = breed;
return this;
}
@@ -44,10 +46,13 @@ public class DogAllOf {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBreed() {
return breed;
}
public void setBreed(String breed) {
this.breed = breed;
}

View File

@@ -133,7 +133,9 @@ public class EnumArrays {
@SerializedName(SERIALIZED_NAME_ARRAY_ENUM)
private List<ArrayEnumEnum> arrayEnum = null;
public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
this.justSymbol = justSymbol;
return this;
}
@@ -144,15 +146,20 @@ public class EnumArrays {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public JustSymbolEnum getJustSymbol() {
return justSymbol;
}
public void setJustSymbol(JustSymbolEnum justSymbol) {
this.justSymbol = justSymbol;
}
public EnumArrays arrayEnum(List<ArrayEnumEnum> arrayEnum) {
this.arrayEnum = arrayEnum;
return this;
}
@@ -171,10 +178,13 @@ public class EnumArrays {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<ArrayEnumEnum> getArrayEnum() {
return arrayEnum;
}
public void setArrayEnum(List<ArrayEnumEnum> arrayEnum) {
this.arrayEnum = arrayEnum;
}

View File

@@ -242,7 +242,9 @@ public class EnumTest {
@SerializedName(SERIALIZED_NAME_OUTER_ENUM)
private OuterEnum outerEnum;
public EnumTest enumString(EnumStringEnum enumString) {
this.enumString = enumString;
return this;
}
@@ -253,15 +255,20 @@ public class EnumTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EnumStringEnum getEnumString() {
return enumString;
}
public void setEnumString(EnumStringEnum enumString) {
this.enumString = enumString;
}
public EnumTest enumStringRequired(EnumStringRequiredEnum enumStringRequired) {
this.enumStringRequired = enumStringRequired;
return this;
}
@@ -271,15 +278,20 @@ public class EnumTest {
* @return enumStringRequired
**/
@ApiModelProperty(required = true, value = "")
public EnumStringRequiredEnum getEnumStringRequired() {
return enumStringRequired;
}
public void setEnumStringRequired(EnumStringRequiredEnum enumStringRequired) {
this.enumStringRequired = enumStringRequired;
}
public EnumTest enumInteger(EnumIntegerEnum enumInteger) {
this.enumInteger = enumInteger;
return this;
}
@@ -290,15 +302,20 @@ public class EnumTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EnumIntegerEnum getEnumInteger() {
return enumInteger;
}
public void setEnumInteger(EnumIntegerEnum enumInteger) {
this.enumInteger = enumInteger;
}
public EnumTest enumNumber(EnumNumberEnum enumNumber) {
this.enumNumber = enumNumber;
return this;
}
@@ -309,15 +326,20 @@ public class EnumTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EnumNumberEnum getEnumNumber() {
return enumNumber;
}
public void setEnumNumber(EnumNumberEnum enumNumber) {
this.enumNumber = enumNumber;
}
public EnumTest outerEnum(OuterEnum outerEnum) {
this.outerEnum = outerEnum;
return this;
}
@@ -328,10 +350,13 @@ public class EnumTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OuterEnum getOuterEnum() {
return outerEnum;
}
public void setOuterEnum(OuterEnum outerEnum) {
this.outerEnum = outerEnum;
}

View File

@@ -33,13 +33,15 @@ import java.util.List;
public class FileSchemaTestClass {
public static final String SERIALIZED_NAME_FILE = "file";
@SerializedName(SERIALIZED_NAME_FILE)
private java.io.File file = null;
private java.io.File file;
public static final String SERIALIZED_NAME_FILES = "files";
@SerializedName(SERIALIZED_NAME_FILES)
private List<java.io.File> files = null;
public FileSchemaTestClass file(java.io.File file) {
this.file = file;
return this;
}
@@ -50,15 +52,20 @@ public class FileSchemaTestClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public java.io.File getFile() {
return file;
}
public void setFile(java.io.File file) {
this.file = file;
}
public FileSchemaTestClass files(List<java.io.File> files) {
this.files = files;
return this;
}
@@ -77,10 +84,13 @@ public class FileSchemaTestClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<java.io.File> getFiles() {
return files;
}
public void setFiles(List<java.io.File> files) {
this.files = files;
}

View File

@@ -86,7 +86,9 @@ public class FormatTest {
@SerializedName(SERIALIZED_NAME_PASSWORD)
private String password;
public FormatTest integer(Integer integer) {
this.integer = integer;
return this;
}
@@ -99,15 +101,20 @@ public class FormatTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getInteger() {
return integer;
}
public void setInteger(Integer integer) {
this.integer = integer;
}
public FormatTest int32(Integer int32) {
this.int32 = int32;
return this;
}
@@ -120,15 +127,20 @@ public class FormatTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getInt32() {
return int32;
}
public void setInt32(Integer int32) {
this.int32 = int32;
}
public FormatTest int64(Long int64) {
this.int64 = int64;
return this;
}
@@ -139,15 +151,20 @@ public class FormatTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getInt64() {
return int64;
}
public void setInt64(Long int64) {
this.int64 = int64;
}
public FormatTest number(BigDecimal number) {
this.number = number;
return this;
}
@@ -159,15 +176,20 @@ public class FormatTest {
* @return number
**/
@ApiModelProperty(required = true, value = "")
public BigDecimal getNumber() {
return number;
}
public void setNumber(BigDecimal number) {
this.number = number;
}
public FormatTest _float(Float _float) {
this._float = _float;
return this;
}
@@ -180,15 +202,20 @@ public class FormatTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Float getFloat() {
return _float;
}
public void setFloat(Float _float) {
this._float = _float;
}
public FormatTest _double(Double _double) {
this._double = _double;
return this;
}
@@ -201,15 +228,20 @@ public class FormatTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Double getDouble() {
return _double;
}
public void setDouble(Double _double) {
this._double = _double;
}
public FormatTest string(String string) {
this.string = string;
return this;
}
@@ -220,15 +252,20 @@ public class FormatTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getString() {
return string;
}
public void setString(String string) {
this.string = string;
}
public FormatTest _byte(byte[] _byte) {
this._byte = _byte;
return this;
}
@@ -238,15 +275,20 @@ public class FormatTest {
* @return _byte
**/
@ApiModelProperty(required = true, value = "")
public byte[] getByte() {
return _byte;
}
public void setByte(byte[] _byte) {
this._byte = _byte;
}
public FormatTest binary(File binary) {
this.binary = binary;
return this;
}
@@ -257,15 +299,20 @@ public class FormatTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public File getBinary() {
return binary;
}
public void setBinary(File binary) {
this.binary = binary;
}
public FormatTest date(LocalDate date) {
this.date = date;
return this;
}
@@ -275,15 +322,20 @@ public class FormatTest {
* @return date
**/
@ApiModelProperty(required = true, value = "")
public LocalDate getDate() {
return date;
}
public void setDate(LocalDate date) {
this.date = date;
}
public FormatTest dateTime(OffsetDateTime dateTime) {
this.dateTime = dateTime;
return this;
}
@@ -294,15 +346,20 @@ public class FormatTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OffsetDateTime getDateTime() {
return dateTime;
}
public void setDateTime(OffsetDateTime dateTime) {
this.dateTime = dateTime;
}
public FormatTest uuid(UUID uuid) {
this.uuid = uuid;
return this;
}
@@ -313,15 +370,20 @@ public class FormatTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", value = "")
public UUID getUuid() {
return uuid;
}
public void setUuid(UUID uuid) {
this.uuid = uuid;
}
public FormatTest password(String password) {
this.password = password;
return this;
}
@@ -331,10 +393,13 @@ public class FormatTest {
* @return password
**/
@ApiModelProperty(required = true, value = "")
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}

View File

@@ -37,27 +37,35 @@ public class HasOnlyReadOnly {
@SerializedName(SERIALIZED_NAME_FOO)
private String foo;
/**
* Get bar
* @return bar
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBar() {
return bar;
}
/**
* Get foo
* @return foo
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getFoo() {
return foo;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {

View File

@@ -95,7 +95,9 @@ public class MapTest {
@SerializedName(SERIALIZED_NAME_INDIRECT_MAP)
private Map<String, Boolean> indirectMap = null;
public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
this.mapMapOfString = mapMapOfString;
return this;
}
@@ -114,15 +116,20 @@ public class MapTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Map<String, String>> getMapMapOfString() {
return mapMapOfString;
}
public void setMapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
this.mapMapOfString = mapMapOfString;
}
public MapTest mapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
this.mapOfEnumString = mapOfEnumString;
return this;
}
@@ -141,15 +148,20 @@ public class MapTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, InnerEnum> getMapOfEnumString() {
return mapOfEnumString;
}
public void setMapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
this.mapOfEnumString = mapOfEnumString;
}
public MapTest directMap(Map<String, Boolean> directMap) {
this.directMap = directMap;
return this;
}
@@ -168,15 +180,20 @@ public class MapTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Boolean> getDirectMap() {
return directMap;
}
public void setDirectMap(Map<String, Boolean> directMap) {
this.directMap = directMap;
}
public MapTest indirectMap(Map<String, Boolean> indirectMap) {
this.indirectMap = indirectMap;
return this;
}
@@ -195,10 +212,13 @@ public class MapTest {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Boolean> getIndirectMap() {
return indirectMap;
}
public void setIndirectMap(Map<String, Boolean> indirectMap) {
this.indirectMap = indirectMap;
}

View File

@@ -47,7 +47,9 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
@SerializedName(SERIALIZED_NAME_MAP)
private Map<String, Animal> map = null;
public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
this.uuid = uuid;
return this;
}
@@ -58,15 +60,20 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public UUID getUuid() {
return uuid;
}
public void setUuid(UUID uuid) {
this.uuid = uuid;
}
public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateTime) {
this.dateTime = dateTime;
return this;
}
@@ -77,15 +84,20 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OffsetDateTime getDateTime() {
return dateTime;
}
public void setDateTime(OffsetDateTime dateTime) {
this.dateTime = dateTime;
}
public MixedPropertiesAndAdditionalPropertiesClass map(Map<String, Animal> map) {
this.map = map;
return this;
}
@@ -104,10 +116,13 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Animal> getMap() {
return map;
}
public void setMap(Map<String, Animal> map) {
this.map = map;
}

View File

@@ -38,7 +38,9 @@ public class Model200Response {
@SerializedName(SERIALIZED_NAME_PROPERTY_CLASS)
private String propertyClass;
public Model200Response name(Integer name) {
this.name = name;
return this;
}
@@ -49,15 +51,20 @@ public class Model200Response {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getName() {
return name;
}
public void setName(Integer name) {
this.name = name;
}
public Model200Response propertyClass(String propertyClass) {
this.propertyClass = propertyClass;
return this;
}
@@ -68,10 +75,13 @@ public class Model200Response {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getPropertyClass() {
return propertyClass;
}
public void setPropertyClass(String propertyClass) {
this.propertyClass = propertyClass;
}

View File

@@ -41,7 +41,9 @@ public class ModelApiResponse {
@SerializedName(SERIALIZED_NAME_MESSAGE)
private String message;
public ModelApiResponse code(Integer code) {
this.code = code;
return this;
}
@@ -52,15 +54,20 @@ public class ModelApiResponse {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getCode() {
return code;
}
public void setCode(Integer code) {
this.code = code;
}
public ModelApiResponse type(String type) {
this.type = type;
return this;
}
@@ -71,15 +78,20 @@ public class ModelApiResponse {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public ModelApiResponse message(String message) {
this.message = message;
return this;
}
@@ -90,10 +102,13 @@ public class ModelApiResponse {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}

View File

@@ -34,7 +34,9 @@ public class ModelReturn {
@SerializedName(SERIALIZED_NAME_RETURN)
private Integer _return;
public ModelReturn _return(Integer _return) {
this._return = _return;
return this;
}
@@ -45,10 +47,13 @@ public class ModelReturn {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getReturn() {
return _return;
}
public void setReturn(Integer _return) {
this._return = _return;
}

View File

@@ -46,7 +46,9 @@ public class Name {
@SerializedName(SERIALIZED_NAME_123NUMBER)
private Integer _123number;
public Name name(Integer name) {
this.name = name;
return this;
}
@@ -56,25 +58,34 @@ public class Name {
* @return name
**/
@ApiModelProperty(required = true, value = "")
public Integer getName() {
return name;
}
public void setName(Integer name) {
this.name = name;
}
/**
* Get snakeCase
* @return snakeCase
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getSnakeCase() {
return snakeCase;
}
public Name property(String property) {
this.property = property;
return this;
}
@@ -85,25 +96,32 @@ public class Name {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getProperty() {
return property;
}
public void setProperty(String property) {
this.property = property;
}
/**
* Get _123number
* @return _123number
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer get123number() {
return _123number;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {

View File

@@ -34,7 +34,9 @@ public class NumberOnly {
@SerializedName(SERIALIZED_NAME_JUST_NUMBER)
private BigDecimal justNumber;
public NumberOnly justNumber(BigDecimal justNumber) {
this.justNumber = justNumber;
return this;
}
@@ -45,10 +47,13 @@ public class NumberOnly {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BigDecimal getJustNumber() {
return justNumber;
}
public void setJustNumber(BigDecimal justNumber) {
this.justNumber = justNumber;
}

View File

@@ -103,7 +103,9 @@ public class Order {
@SerializedName(SERIALIZED_NAME_COMPLETE)
private Boolean complete = false;
public Order id(Long id) {
this.id = id;
return this;
}
@@ -114,15 +116,20 @@ public class Order {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Order petId(Long petId) {
this.petId = petId;
return this;
}
@@ -133,15 +140,20 @@ public class Order {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getPetId() {
return petId;
}
public void setPetId(Long petId) {
this.petId = petId;
}
public Order quantity(Integer quantity) {
this.quantity = quantity;
return this;
}
@@ -152,15 +164,20 @@ public class Order {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getQuantity() {
return quantity;
}
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
public Order shipDate(OffsetDateTime shipDate) {
this.shipDate = shipDate;
return this;
}
@@ -171,15 +188,20 @@ public class Order {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OffsetDateTime getShipDate() {
return shipDate;
}
public void setShipDate(OffsetDateTime shipDate) {
this.shipDate = shipDate;
}
public Order status(StatusEnum status) {
this.status = status;
return this;
}
@@ -190,15 +212,20 @@ public class Order {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Order Status")
public StatusEnum getStatus() {
return status;
}
public void setStatus(StatusEnum status) {
this.status = status;
}
public Order complete(Boolean complete) {
this.complete = complete;
return this;
}
@@ -209,10 +236,13 @@ public class Order {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getComplete() {
return complete;
}
public void setComplete(Boolean complete) {
this.complete = complete;
}

View File

@@ -42,7 +42,9 @@ public class OuterComposite {
@SerializedName(SERIALIZED_NAME_MY_BOOLEAN)
private Boolean myBoolean;
public OuterComposite myNumber(BigDecimal myNumber) {
this.myNumber = myNumber;
return this;
}
@@ -53,15 +55,20 @@ public class OuterComposite {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BigDecimal getMyNumber() {
return myNumber;
}
public void setMyNumber(BigDecimal myNumber) {
this.myNumber = myNumber;
}
public OuterComposite myString(String myString) {
this.myString = myString;
return this;
}
@@ -72,15 +79,20 @@ public class OuterComposite {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getMyString() {
return myString;
}
public void setMyString(String myString) {
this.myString = myString;
}
public OuterComposite myBoolean(Boolean myBoolean) {
this.myBoolean = myBoolean;
return this;
}
@@ -91,10 +103,13 @@ public class OuterComposite {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean getMyBoolean() {
return myBoolean;
}
public void setMyBoolean(Boolean myBoolean) {
this.myBoolean = myBoolean;
}

View File

@@ -39,7 +39,7 @@ public class Pet {
public static final String SERIALIZED_NAME_CATEGORY = "category";
@SerializedName(SERIALIZED_NAME_CATEGORY)
private Category category = null;
private Category category;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -106,7 +106,9 @@ public class Pet {
@SerializedName(SERIALIZED_NAME_STATUS)
private StatusEnum status;
public Pet id(Long id) {
this.id = id;
return this;
}
@@ -117,15 +119,20 @@ public class Pet {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Pet category(Category category) {
this.category = category;
return this;
}
@@ -136,15 +143,20 @@ public class Pet {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Category getCategory() {
return category;
}
public void setCategory(Category category) {
this.category = category;
}
public Pet name(String name) {
this.name = name;
return this;
}
@@ -154,15 +166,20 @@ public class Pet {
* @return name
**/
@ApiModelProperty(example = "doggie", required = true, value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Pet photoUrls(List<String> photoUrls) {
this.photoUrls = photoUrls;
return this;
}
@@ -177,15 +194,20 @@ public class Pet {
* @return photoUrls
**/
@ApiModelProperty(required = true, value = "")
public List<String> getPhotoUrls() {
return photoUrls;
}
public void setPhotoUrls(List<String> photoUrls) {
this.photoUrls = photoUrls;
}
public Pet tags(List<Tag> tags) {
this.tags = tags;
return this;
}
@@ -204,15 +226,20 @@ public class Pet {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Tag> getTags() {
return tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public Pet status(StatusEnum status) {
this.status = status;
return this;
}
@@ -223,10 +250,13 @@ public class Pet {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "pet status in the store")
public StatusEnum getStatus() {
return status;
}
public void setStatus(StatusEnum status) {
this.status = status;
}

View File

@@ -37,17 +37,23 @@ public class ReadOnlyFirst {
@SerializedName(SERIALIZED_NAME_BAZ)
private String baz;
/**
* Get bar
* @return bar
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBar() {
return bar;
}
public ReadOnlyFirst baz(String baz) {
this.baz = baz;
return this;
}
@@ -58,10 +64,13 @@ public class ReadOnlyFirst {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBaz() {
return baz;
}
public void setBaz(String baz) {
this.baz = baz;
}

View File

@@ -33,7 +33,9 @@ public class SpecialModelName {
@SerializedName(SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME)
private Long $specialPropertyName;
public SpecialModelName $specialPropertyName(Long $specialPropertyName) {
this.$specialPropertyName = $specialPropertyName;
return this;
}
@@ -44,10 +46,13 @@ public class SpecialModelName {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long get$SpecialPropertyName() {
return $specialPropertyName;
}
public void set$SpecialPropertyName(Long $specialPropertyName) {
this.$specialPropertyName = $specialPropertyName;
}

View File

@@ -37,7 +37,9 @@ public class Tag {
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public Tag id(Long id) {
this.id = id;
return this;
}
@@ -48,15 +50,20 @@ public class Tag {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Tag name(String name) {
this.name = name;
return this;
}
@@ -67,10 +74,13 @@ public class Tag {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}

View File

@@ -52,7 +52,9 @@ public class TypeHolderDefault {
@SerializedName(SERIALIZED_NAME_ARRAY_ITEM)
private List<Integer> arrayItem = new ArrayList<Integer>();
public TypeHolderDefault stringItem(String stringItem) {
this.stringItem = stringItem;
return this;
}
@@ -62,15 +64,20 @@ public class TypeHolderDefault {
* @return stringItem
**/
@ApiModelProperty(required = true, value = "")
public String getStringItem() {
return stringItem;
}
public void setStringItem(String stringItem) {
this.stringItem = stringItem;
}
public TypeHolderDefault numberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
return this;
}
@@ -80,15 +87,20 @@ public class TypeHolderDefault {
* @return numberItem
**/
@ApiModelProperty(required = true, value = "")
public BigDecimal getNumberItem() {
return numberItem;
}
public void setNumberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
}
public TypeHolderDefault integerItem(Integer integerItem) {
this.integerItem = integerItem;
return this;
}
@@ -98,15 +110,20 @@ public class TypeHolderDefault {
* @return integerItem
**/
@ApiModelProperty(required = true, value = "")
public Integer getIntegerItem() {
return integerItem;
}
public void setIntegerItem(Integer integerItem) {
this.integerItem = integerItem;
}
public TypeHolderDefault boolItem(Boolean boolItem) {
this.boolItem = boolItem;
return this;
}
@@ -116,15 +133,20 @@ public class TypeHolderDefault {
* @return boolItem
**/
@ApiModelProperty(required = true, value = "")
public Boolean getBoolItem() {
return boolItem;
}
public void setBoolItem(Boolean boolItem) {
this.boolItem = boolItem;
}
public TypeHolderDefault arrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem;
return this;
}
@@ -139,10 +161,13 @@ public class TypeHolderDefault {
* @return arrayItem
**/
@ApiModelProperty(required = true, value = "")
public List<Integer> getArrayItem() {
return arrayItem;
}
public void setArrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem;
}

View File

@@ -52,7 +52,9 @@ public class TypeHolderExample {
@SerializedName(SERIALIZED_NAME_ARRAY_ITEM)
private List<Integer> arrayItem = new ArrayList<Integer>();
public TypeHolderExample stringItem(String stringItem) {
this.stringItem = stringItem;
return this;
}
@@ -62,15 +64,20 @@ public class TypeHolderExample {
* @return stringItem
**/
@ApiModelProperty(example = "what", required = true, value = "")
public String getStringItem() {
return stringItem;
}
public void setStringItem(String stringItem) {
this.stringItem = stringItem;
}
public TypeHolderExample numberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
return this;
}
@@ -80,15 +87,20 @@ public class TypeHolderExample {
* @return numberItem
**/
@ApiModelProperty(example = "1.234", required = true, value = "")
public BigDecimal getNumberItem() {
return numberItem;
}
public void setNumberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
}
public TypeHolderExample integerItem(Integer integerItem) {
this.integerItem = integerItem;
return this;
}
@@ -98,15 +110,20 @@ public class TypeHolderExample {
* @return integerItem
**/
@ApiModelProperty(example = "-2", required = true, value = "")
public Integer getIntegerItem() {
return integerItem;
}
public void setIntegerItem(Integer integerItem) {
this.integerItem = integerItem;
}
public TypeHolderExample boolItem(Boolean boolItem) {
this.boolItem = boolItem;
return this;
}
@@ -116,15 +133,20 @@ public class TypeHolderExample {
* @return boolItem
**/
@ApiModelProperty(example = "true", required = true, value = "")
public Boolean getBoolItem() {
return boolItem;
}
public void setBoolItem(Boolean boolItem) {
this.boolItem = boolItem;
}
public TypeHolderExample arrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem;
return this;
}
@@ -139,10 +161,13 @@ public class TypeHolderExample {
* @return arrayItem
**/
@ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "")
public List<Integer> getArrayItem() {
return arrayItem;
}
public void setArrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem;
}

View File

@@ -61,7 +61,9 @@ public class User {
@SerializedName(SERIALIZED_NAME_USER_STATUS)
private Integer userStatus;
public User id(Long id) {
this.id = id;
return this;
}
@@ -72,15 +74,20 @@ public class User {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public User username(String username) {
this.username = username;
return this;
}
@@ -91,15 +98,20 @@ public class User {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public User firstName(String firstName) {
this.firstName = firstName;
return this;
}
@@ -110,15 +122,20 @@ public class User {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public User lastName(String lastName) {
this.lastName = lastName;
return this;
}
@@ -129,15 +146,20 @@ public class User {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public User email(String email) {
this.email = email;
return this;
}
@@ -148,15 +170,20 @@ public class User {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public User password(String password) {
this.password = password;
return this;
}
@@ -167,15 +194,20 @@ public class User {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public User phone(String phone) {
this.phone = phone;
return this;
}
@@ -186,15 +218,20 @@ public class User {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public User userStatus(Integer userStatus) {
this.userStatus = userStatus;
return this;
}
@@ -205,10 +242,13 @@ public class User {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "User Status")
public Integer getUserStatus() {
return userStatus;
}
public void setUserStatus(Integer userStatus) {
this.userStatus = userStatus;
}

View File

@@ -148,7 +148,9 @@ public class XmlItem {
@SerializedName(SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY)
private List<Integer> prefixNsWrappedArray = null;
public XmlItem attributeString(String attributeString) {
this.attributeString = attributeString;
return this;
}
@@ -159,15 +161,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "string", value = "")
public String getAttributeString() {
return attributeString;
}
public void setAttributeString(String attributeString) {
this.attributeString = attributeString;
}
public XmlItem attributeNumber(BigDecimal attributeNumber) {
this.attributeNumber = attributeNumber;
return this;
}
@@ -178,15 +185,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "1.234", value = "")
public BigDecimal getAttributeNumber() {
return attributeNumber;
}
public void setAttributeNumber(BigDecimal attributeNumber) {
this.attributeNumber = attributeNumber;
}
public XmlItem attributeInteger(Integer attributeInteger) {
this.attributeInteger = attributeInteger;
return this;
}
@@ -197,15 +209,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "-2", value = "")
public Integer getAttributeInteger() {
return attributeInteger;
}
public void setAttributeInteger(Integer attributeInteger) {
this.attributeInteger = attributeInteger;
}
public XmlItem attributeBoolean(Boolean attributeBoolean) {
this.attributeBoolean = attributeBoolean;
return this;
}
@@ -216,15 +233,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "true", value = "")
public Boolean getAttributeBoolean() {
return attributeBoolean;
}
public void setAttributeBoolean(Boolean attributeBoolean) {
this.attributeBoolean = attributeBoolean;
}
public XmlItem wrappedArray(List<Integer> wrappedArray) {
this.wrappedArray = wrappedArray;
return this;
}
@@ -243,15 +265,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getWrappedArray() {
return wrappedArray;
}
public void setWrappedArray(List<Integer> wrappedArray) {
this.wrappedArray = wrappedArray;
}
public XmlItem nameString(String nameString) {
this.nameString = nameString;
return this;
}
@@ -262,15 +289,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "string", value = "")
public String getNameString() {
return nameString;
}
public void setNameString(String nameString) {
this.nameString = nameString;
}
public XmlItem nameNumber(BigDecimal nameNumber) {
this.nameNumber = nameNumber;
return this;
}
@@ -281,15 +313,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "1.234", value = "")
public BigDecimal getNameNumber() {
return nameNumber;
}
public void setNameNumber(BigDecimal nameNumber) {
this.nameNumber = nameNumber;
}
public XmlItem nameInteger(Integer nameInteger) {
this.nameInteger = nameInteger;
return this;
}
@@ -300,15 +337,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "-2", value = "")
public Integer getNameInteger() {
return nameInteger;
}
public void setNameInteger(Integer nameInteger) {
this.nameInteger = nameInteger;
}
public XmlItem nameBoolean(Boolean nameBoolean) {
this.nameBoolean = nameBoolean;
return this;
}
@@ -319,15 +361,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "true", value = "")
public Boolean getNameBoolean() {
return nameBoolean;
}
public void setNameBoolean(Boolean nameBoolean) {
this.nameBoolean = nameBoolean;
}
public XmlItem nameArray(List<Integer> nameArray) {
this.nameArray = nameArray;
return this;
}
@@ -346,15 +393,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getNameArray() {
return nameArray;
}
public void setNameArray(List<Integer> nameArray) {
this.nameArray = nameArray;
}
public XmlItem nameWrappedArray(List<Integer> nameWrappedArray) {
this.nameWrappedArray = nameWrappedArray;
return this;
}
@@ -373,15 +425,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getNameWrappedArray() {
return nameWrappedArray;
}
public void setNameWrappedArray(List<Integer> nameWrappedArray) {
this.nameWrappedArray = nameWrappedArray;
}
public XmlItem prefixString(String prefixString) {
this.prefixString = prefixString;
return this;
}
@@ -392,15 +449,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "string", value = "")
public String getPrefixString() {
return prefixString;
}
public void setPrefixString(String prefixString) {
this.prefixString = prefixString;
}
public XmlItem prefixNumber(BigDecimal prefixNumber) {
this.prefixNumber = prefixNumber;
return this;
}
@@ -411,15 +473,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "1.234", value = "")
public BigDecimal getPrefixNumber() {
return prefixNumber;
}
public void setPrefixNumber(BigDecimal prefixNumber) {
this.prefixNumber = prefixNumber;
}
public XmlItem prefixInteger(Integer prefixInteger) {
this.prefixInteger = prefixInteger;
return this;
}
@@ -430,15 +497,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "-2", value = "")
public Integer getPrefixInteger() {
return prefixInteger;
}
public void setPrefixInteger(Integer prefixInteger) {
this.prefixInteger = prefixInteger;
}
public XmlItem prefixBoolean(Boolean prefixBoolean) {
this.prefixBoolean = prefixBoolean;
return this;
}
@@ -449,15 +521,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "true", value = "")
public Boolean getPrefixBoolean() {
return prefixBoolean;
}
public void setPrefixBoolean(Boolean prefixBoolean) {
this.prefixBoolean = prefixBoolean;
}
public XmlItem prefixArray(List<Integer> prefixArray) {
this.prefixArray = prefixArray;
return this;
}
@@ -476,15 +553,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getPrefixArray() {
return prefixArray;
}
public void setPrefixArray(List<Integer> prefixArray) {
this.prefixArray = prefixArray;
}
public XmlItem prefixWrappedArray(List<Integer> prefixWrappedArray) {
this.prefixWrappedArray = prefixWrappedArray;
return this;
}
@@ -503,15 +585,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getPrefixWrappedArray() {
return prefixWrappedArray;
}
public void setPrefixWrappedArray(List<Integer> prefixWrappedArray) {
this.prefixWrappedArray = prefixWrappedArray;
}
public XmlItem namespaceString(String namespaceString) {
this.namespaceString = namespaceString;
return this;
}
@@ -522,15 +609,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "string", value = "")
public String getNamespaceString() {
return namespaceString;
}
public void setNamespaceString(String namespaceString) {
this.namespaceString = namespaceString;
}
public XmlItem namespaceNumber(BigDecimal namespaceNumber) {
this.namespaceNumber = namespaceNumber;
return this;
}
@@ -541,15 +633,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "1.234", value = "")
public BigDecimal getNamespaceNumber() {
return namespaceNumber;
}
public void setNamespaceNumber(BigDecimal namespaceNumber) {
this.namespaceNumber = namespaceNumber;
}
public XmlItem namespaceInteger(Integer namespaceInteger) {
this.namespaceInteger = namespaceInteger;
return this;
}
@@ -560,15 +657,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "-2", value = "")
public Integer getNamespaceInteger() {
return namespaceInteger;
}
public void setNamespaceInteger(Integer namespaceInteger) {
this.namespaceInteger = namespaceInteger;
}
public XmlItem namespaceBoolean(Boolean namespaceBoolean) {
this.namespaceBoolean = namespaceBoolean;
return this;
}
@@ -579,15 +681,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "true", value = "")
public Boolean getNamespaceBoolean() {
return namespaceBoolean;
}
public void setNamespaceBoolean(Boolean namespaceBoolean) {
this.namespaceBoolean = namespaceBoolean;
}
public XmlItem namespaceArray(List<Integer> namespaceArray) {
this.namespaceArray = namespaceArray;
return this;
}
@@ -606,15 +713,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getNamespaceArray() {
return namespaceArray;
}
public void setNamespaceArray(List<Integer> namespaceArray) {
this.namespaceArray = namespaceArray;
}
public XmlItem namespaceWrappedArray(List<Integer> namespaceWrappedArray) {
this.namespaceWrappedArray = namespaceWrappedArray;
return this;
}
@@ -633,15 +745,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getNamespaceWrappedArray() {
return namespaceWrappedArray;
}
public void setNamespaceWrappedArray(List<Integer> namespaceWrappedArray) {
this.namespaceWrappedArray = namespaceWrappedArray;
}
public XmlItem prefixNsString(String prefixNsString) {
this.prefixNsString = prefixNsString;
return this;
}
@@ -652,15 +769,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "string", value = "")
public String getPrefixNsString() {
return prefixNsString;
}
public void setPrefixNsString(String prefixNsString) {
this.prefixNsString = prefixNsString;
}
public XmlItem prefixNsNumber(BigDecimal prefixNsNumber) {
this.prefixNsNumber = prefixNsNumber;
return this;
}
@@ -671,15 +793,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "1.234", value = "")
public BigDecimal getPrefixNsNumber() {
return prefixNsNumber;
}
public void setPrefixNsNumber(BigDecimal prefixNsNumber) {
this.prefixNsNumber = prefixNsNumber;
}
public XmlItem prefixNsInteger(Integer prefixNsInteger) {
this.prefixNsInteger = prefixNsInteger;
return this;
}
@@ -690,15 +817,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "-2", value = "")
public Integer getPrefixNsInteger() {
return prefixNsInteger;
}
public void setPrefixNsInteger(Integer prefixNsInteger) {
this.prefixNsInteger = prefixNsInteger;
}
public XmlItem prefixNsBoolean(Boolean prefixNsBoolean) {
this.prefixNsBoolean = prefixNsBoolean;
return this;
}
@@ -709,15 +841,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "true", value = "")
public Boolean getPrefixNsBoolean() {
return prefixNsBoolean;
}
public void setPrefixNsBoolean(Boolean prefixNsBoolean) {
this.prefixNsBoolean = prefixNsBoolean;
}
public XmlItem prefixNsArray(List<Integer> prefixNsArray) {
this.prefixNsArray = prefixNsArray;
return this;
}
@@ -736,15 +873,20 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getPrefixNsArray() {
return prefixNsArray;
}
public void setPrefixNsArray(List<Integer> prefixNsArray) {
this.prefixNsArray = prefixNsArray;
}
public XmlItem prefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
this.prefixNsWrappedArray = prefixNsWrappedArray;
return this;
}
@@ -763,10 +905,13 @@ public class XmlItem {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getPrefixNsWrappedArray() {
return prefixNsWrappedArray;
}
public void setPrefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
this.prefixNsWrappedArray = prefixNsWrappedArray;
}