[JAVA][jaxrs-spec] Added custom methods to add/remove elements from Java Collections (#6468)

This commit is contained in:
Prakhar Gupta 2021-03-27 11:29:49 +05:30 committed by GitHub
parent 711ce5431a
commit b1837693b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
92 changed files with 1831 additions and 366 deletions

View File

@ -49,7 +49,45 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void {{setter}}({{{datatypeWithEnum}}} {{name}}) {
this.{{name}} = {{name}};
}{{/vars}}
}
{{#isListContainer}}
public {{classname}} add{{nameInCamelCase}}Item({{{items.datatypeWithEnum}}} {{name}}Item) {
if (this.{{name}} == null) {
this.{{name}} = {{{defaultValue}}};
}
this.{{name}}.add({{name}}Item);
return this;
}
public {{classname}} remove{{nameInCamelCase}}Item({{{items.datatypeWithEnum}}} {{name}}Item) {
if ({{name}}Item != null && this.{{name}} != null) {
this.{{name}}.remove({{name}}Item);
}
return this;
}
{{/isListContainer}}
{{#isMapContainer}}
public {{classname}} put{{nameInCamelCase}}Item(String key, {{{items.datatypeWithEnum}}} {{name}}Item) {
if (this.{{name}} == null) {
this.{{name}} = {{{defaultValue}}};
}
this.{{name}}.put(key, {{name}}Item);
return this;
}
public {{classname}} remove{{nameInCamelCase}}Item({{{items.datatypeWithEnum}}} {{name}}Item) {
if ({{name}}Item != null && this.{{name}} != null) {
this.{{name}}.remove({{name}}Item);
}
return this;
}
{{/isMapContainer}}
{{/vars}}
@Override
public boolean equals(Object o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -41,6 +41,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -50,7 +50,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapString(Map<String, String> mapString) {
this.mapString = mapString;
}/**
}
public AdditionalPropertiesClass putMapStringItem(String key, String mapStringItem) {
if (this.mapString == null) {
this.mapString = new HashMap<String, String>();
}
this.mapString.put(key, mapStringItem);
return this;
}
public AdditionalPropertiesClass removeMapStringItem(String mapStringItem) {
if (mapStringItem != null && this.mapString != null) {
this.mapString.remove(mapStringItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapNumber(Map<String, BigDecimal> mapNumber) {
this.mapNumber = mapNumber;
@ -68,7 +86,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapNumber(Map<String, BigDecimal> mapNumber) {
this.mapNumber = mapNumber;
}/**
}
public AdditionalPropertiesClass putMapNumberItem(String key, BigDecimal mapNumberItem) {
if (this.mapNumber == null) {
this.mapNumber = new HashMap<String, BigDecimal>();
}
this.mapNumber.put(key, mapNumberItem);
return this;
}
public AdditionalPropertiesClass removeMapNumberItem(BigDecimal mapNumberItem) {
if (mapNumberItem != null && this.mapNumber != null) {
this.mapNumber.remove(mapNumberItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapInteger(Map<String, Integer> mapInteger) {
this.mapInteger = mapInteger;
@ -86,7 +122,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapInteger(Map<String, Integer> mapInteger) {
this.mapInteger = mapInteger;
}/**
}
public AdditionalPropertiesClass putMapIntegerItem(String key, Integer mapIntegerItem) {
if (this.mapInteger == null) {
this.mapInteger = new HashMap<String, Integer>();
}
this.mapInteger.put(key, mapIntegerItem);
return this;
}
public AdditionalPropertiesClass removeMapIntegerItem(Integer mapIntegerItem) {
if (mapIntegerItem != null && this.mapInteger != null) {
this.mapInteger.remove(mapIntegerItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapBoolean(Map<String, Boolean> mapBoolean) {
this.mapBoolean = mapBoolean;
@ -104,7 +158,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapBoolean(Map<String, Boolean> mapBoolean) {
this.mapBoolean = mapBoolean;
}/**
}
public AdditionalPropertiesClass putMapBooleanItem(String key, Boolean mapBooleanItem) {
if (this.mapBoolean == null) {
this.mapBoolean = new HashMap<String, Boolean>();
}
this.mapBoolean.put(key, mapBooleanItem);
return this;
}
public AdditionalPropertiesClass removeMapBooleanItem(Boolean mapBooleanItem) {
if (mapBooleanItem != null && this.mapBoolean != null) {
this.mapBoolean.remove(mapBooleanItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
this.mapArrayInteger = mapArrayInteger;
@ -122,7 +194,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
this.mapArrayInteger = mapArrayInteger;
}/**
}
public AdditionalPropertiesClass putMapArrayIntegerItem(String key, List<Integer> mapArrayIntegerItem) {
if (this.mapArrayInteger == null) {
this.mapArrayInteger = new HashMap<String, List<Integer>>();
}
this.mapArrayInteger.put(key, mapArrayIntegerItem);
return this;
}
public AdditionalPropertiesClass removeMapArrayIntegerItem(List<Integer> mapArrayIntegerItem) {
if (mapArrayIntegerItem != null && this.mapArrayInteger != null) {
this.mapArrayInteger.remove(mapArrayIntegerItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
this.mapArrayAnytype = mapArrayAnytype;
@ -140,7 +230,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
this.mapArrayAnytype = mapArrayAnytype;
}/**
}
public AdditionalPropertiesClass putMapArrayAnytypeItem(String key, List<Object> mapArrayAnytypeItem) {
if (this.mapArrayAnytype == null) {
this.mapArrayAnytype = new HashMap<String, List<Object>>();
}
this.mapArrayAnytype.put(key, mapArrayAnytypeItem);
return this;
}
public AdditionalPropertiesClass removeMapArrayAnytypeItem(List<Object> mapArrayAnytypeItem) {
if (mapArrayAnytypeItem != null && this.mapArrayAnytype != null) {
this.mapArrayAnytype.remove(mapArrayAnytypeItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapMapString(Map<String, Map<String, String>> mapMapString) {
this.mapMapString = mapMapString;
@ -158,7 +266,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapMapString(Map<String, Map<String, String>> mapMapString) {
this.mapMapString = mapMapString;
}/**
}
public AdditionalPropertiesClass putMapMapStringItem(String key, Map<String, String> mapMapStringItem) {
if (this.mapMapString == null) {
this.mapMapString = new HashMap<String, Map<String, String>>();
}
this.mapMapString.put(key, mapMapStringItem);
return this;
}
public AdditionalPropertiesClass removeMapMapStringItem(Map<String, String> mapMapStringItem) {
if (mapMapStringItem != null && this.mapMapString != null) {
this.mapMapString.remove(mapMapStringItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
this.mapMapAnytype = mapMapAnytype;
@ -176,7 +302,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
this.mapMapAnytype = mapMapAnytype;
}/**
}
public AdditionalPropertiesClass putMapMapAnytypeItem(String key, Map<String, Object> mapMapAnytypeItem) {
if (this.mapMapAnytype == null) {
this.mapMapAnytype = new HashMap<String, Map<String, Object>>();
}
this.mapMapAnytype.put(key, mapMapAnytypeItem);
return this;
}
public AdditionalPropertiesClass removeMapMapAnytypeItem(Map<String, Object> mapMapAnytypeItem) {
if (mapMapAnytypeItem != null && this.mapMapAnytype != null) {
this.mapMapAnytype.remove(mapMapAnytypeItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass anytype1(Object anytype1) {
this.anytype1 = anytype1;
@ -194,7 +338,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setAnytype1(Object anytype1) {
this.anytype1 = anytype1;
}/**
}
/**
**/
public AdditionalPropertiesClass anytype2(Object anytype2) {
this.anytype2 = anytype2;
@ -212,7 +358,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setAnytype2(Object anytype2) {
this.anytype2 = anytype2;
}/**
}
/**
**/
public AdditionalPropertiesClass anytype3(Object anytype3) {
this.anytype3 = anytype3;
@ -232,6 +380,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.anytype3 = anytype3;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -41,6 +41,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -46,7 +46,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setClassName(String className) {
this.className = className;
}/**
}
/**
**/
public Animal color(String color) {
this.color = color;
@ -66,6 +68,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.color = color;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -41,6 +41,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.arrayArrayNumber = arrayArrayNumber;
}
public ArrayOfArrayOfNumberOnly addArrayArrayNumberItem(List<BigDecimal> arrayArrayNumberItem) {
if (this.arrayArrayNumber == null) {
this.arrayArrayNumber = new ArrayList<List<BigDecimal>>();
}
this.arrayArrayNumber.add(arrayArrayNumberItem);
return this;
}
public ArrayOfArrayOfNumberOnly removeArrayArrayNumberItem(List<BigDecimal> arrayArrayNumberItem) {
if (arrayArrayNumberItem != null && this.arrayArrayNumber != null) {
this.arrayArrayNumber.remove(arrayArrayNumberItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -41,6 +41,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.arrayNumber = arrayNumber;
}
public ArrayOfNumberOnly addArrayNumberItem(BigDecimal arrayNumberItem) {
if (this.arrayNumber == null) {
this.arrayNumber = new ArrayList<BigDecimal>();
}
this.arrayNumber.add(arrayNumberItem);
return this;
}
public ArrayOfNumberOnly removeArrayNumberItem(BigDecimal arrayNumberItem) {
if (arrayNumberItem != null && this.arrayNumber != null) {
this.arrayNumber.remove(arrayNumberItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -41,7 +41,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setArrayOfString(List<String> arrayOfString) {
this.arrayOfString = arrayOfString;
}/**
}
public ArrayTest addArrayOfStringItem(String arrayOfStringItem) {
if (this.arrayOfString == null) {
this.arrayOfString = new ArrayList<String>();
}
this.arrayOfString.add(arrayOfStringItem);
return this;
}
public ArrayTest removeArrayOfStringItem(String arrayOfStringItem) {
if (arrayOfStringItem != null && this.arrayOfString != null) {
this.arrayOfString.remove(arrayOfStringItem);
}
return this;
}
/**
**/
public ArrayTest arrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
this.arrayArrayOfInteger = arrayArrayOfInteger;
@ -59,7 +77,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setArrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
this.arrayArrayOfInteger = arrayArrayOfInteger;
}/**
}
public ArrayTest addArrayArrayOfIntegerItem(List<Long> arrayArrayOfIntegerItem) {
if (this.arrayArrayOfInteger == null) {
this.arrayArrayOfInteger = new ArrayList<List<Long>>();
}
this.arrayArrayOfInteger.add(arrayArrayOfIntegerItem);
return this;
}
public ArrayTest removeArrayArrayOfIntegerItem(List<Long> arrayArrayOfIntegerItem) {
if (arrayArrayOfIntegerItem != null && this.arrayArrayOfInteger != null) {
this.arrayArrayOfInteger.remove(arrayArrayOfIntegerItem);
}
return this;
}
/**
**/
public ArrayTest arrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) {
this.arrayArrayOfModel = arrayArrayOfModel;
@ -79,6 +115,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.arrayArrayOfModel = arrayArrayOfModel;
}
public ArrayTest addArrayArrayOfModelItem(List<ReadOnlyFirst> arrayArrayOfModelItem) {
if (this.arrayArrayOfModel == null) {
this.arrayArrayOfModel = new ArrayList<List<ReadOnlyFirst>>();
}
this.arrayArrayOfModel.add(arrayArrayOfModelItem);
return this;
}
public ArrayTest removeArrayArrayOfModelItem(List<ReadOnlyFirst> arrayArrayOfModelItem) {
if (arrayArrayOfModelItem != null && this.arrayArrayOfModel != null) {
this.arrayArrayOfModel.remove(arrayArrayOfModelItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -73,6 +73,7 @@ public enum KindEnum {
this.kind = kind;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -71,6 +71,7 @@ public enum KindEnum {
this.kind = kind;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -41,7 +41,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setSmallCamel(String smallCamel) {
this.smallCamel = smallCamel;
}/**
}
/**
**/
public Capitalization capitalCamel(String capitalCamel) {
this.capitalCamel = capitalCamel;
@ -59,7 +61,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setCapitalCamel(String capitalCamel) {
this.capitalCamel = capitalCamel;
}/**
}
/**
**/
public Capitalization smallSnake(String smallSnake) {
this.smallSnake = smallSnake;
@ -77,7 +81,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setSmallSnake(String smallSnake) {
this.smallSnake = smallSnake;
}/**
}
/**
**/
public Capitalization capitalSnake(String capitalSnake) {
this.capitalSnake = capitalSnake;
@ -95,7 +101,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setCapitalSnake(String capitalSnake) {
this.capitalSnake = capitalSnake;
}/**
}
/**
**/
public Capitalization scAETHFlowPoints(String scAETHFlowPoints) {
this.scAETHFlowPoints = scAETHFlowPoints;
@ -113,7 +121,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setScAETHFlowPoints(String scAETHFlowPoints) {
this.scAETHFlowPoints = scAETHFlowPoints;
}/**
}
/**
* Name of the pet
**/
public Capitalization ATT_NAME(String ATT_NAME) {
@ -134,6 +144,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.ATT_NAME = ATT_NAME;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.declawed = declawed;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.declawed = declawed;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -37,7 +37,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setId(Long id) {
this.id = id;
}/**
}
/**
**/
public Category name(String name) {
this.name = name;
@ -58,6 +60,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.propertyClass = propertyClass;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.client = client;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.breed = breed;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.breed = breed;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -105,7 +105,9 @@ public enum ArrayEnumEnum {
public void setJustSymbol(JustSymbolEnum justSymbol) {
this.justSymbol = justSymbol;
}/**
}
/**
**/
public EnumArrays arrayEnum(List<ArrayEnumEnum> arrayEnum) {
this.arrayEnum = arrayEnum;
@ -125,6 +127,23 @@ public enum ArrayEnumEnum {
this.arrayEnum = arrayEnum;
}
public EnumArrays addArrayEnumItem(ArrayEnumEnum arrayEnumItem) {
if (this.arrayEnum == null) {
this.arrayEnum = new ArrayList<ArrayEnumEnum>();
}
this.arrayEnum.add(arrayEnumItem);
return this;
}
public EnumArrays removeArrayEnumItem(ArrayEnumEnum arrayEnumItem) {
if (arrayEnumItem != null && this.arrayEnum != null) {
this.arrayEnum.remove(arrayEnumItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -173,7 +173,9 @@ public enum EnumNumberEnum {
public void setEnumString(EnumStringEnum enumString) {
this.enumString = enumString;
}/**
}
/**
**/
public EnumTest enumStringRequired(EnumStringRequiredEnum enumStringRequired) {
this.enumStringRequired = enumStringRequired;
@ -192,7 +194,9 @@ public enum EnumNumberEnum {
public void setEnumStringRequired(EnumStringRequiredEnum enumStringRequired) {
this.enumStringRequired = enumStringRequired;
}/**
}
/**
**/
public EnumTest enumInteger(EnumIntegerEnum enumInteger) {
this.enumInteger = enumInteger;
@ -210,7 +214,9 @@ public enum EnumNumberEnum {
public void setEnumInteger(EnumIntegerEnum enumInteger) {
this.enumInteger = enumInteger;
}/**
}
/**
**/
public EnumTest enumNumber(EnumNumberEnum enumNumber) {
this.enumNumber = enumNumber;
@ -228,7 +234,9 @@ public enum EnumNumberEnum {
public void setEnumNumber(EnumNumberEnum enumNumber) {
this.enumNumber = enumNumber;
}/**
}
/**
**/
public EnumTest outerEnum(OuterEnum outerEnum) {
this.outerEnum = outerEnum;
@ -248,6 +256,7 @@ public enum EnumNumberEnum {
this.outerEnum = outerEnum;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -39,7 +39,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setFile(java.io.File file) {
this.file = file;
}/**
}
/**
**/
public FileSchemaTestClass files(List<java.io.File> files) {
this.files = files;
@ -59,6 +61,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.files = files;
}
public FileSchemaTestClass addFilesItem(java.io.File filesItem) {
if (this.files == null) {
this.files = new ArrayList<java.io.File>();
}
this.files.add(filesItem);
return this;
}
public FileSchemaTestClass removeFilesItem(java.io.File filesItem) {
if (filesItem != null && this.files != null) {
this.files.remove(filesItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -56,7 +56,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setInteger(Integer integer) {
this.integer = integer;
}/**
}
/**
* minimum: 20
* maximum: 200
**/
@ -76,7 +78,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setInt32(Integer int32) {
this.int32 = int32;
}/**
}
/**
**/
public FormatTest int64(Long int64) {
this.int64 = int64;
@ -94,7 +98,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setInt64(Long int64) {
this.int64 = int64;
}/**
}
/**
* minimum: 32.1
* maximum: 543.2
**/
@ -115,7 +121,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNumber(BigDecimal number) {
this.number = number;
}/**
}
/**
* minimum: 54.3
* maximum: 987.6
**/
@ -135,7 +143,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setFloat(Float _float) {
this._float = _float;
}/**
}
/**
* minimum: 67.8
* maximum: 123.4
**/
@ -155,7 +165,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setDouble(Double _double) {
this._double = _double;
}/**
}
/**
**/
public FormatTest string(String string) {
this.string = string;
@ -173,7 +185,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setString(String string) {
this.string = string;
}/**
}
/**
**/
public FormatTest _byte(byte[] _byte) {
this._byte = _byte;
@ -192,7 +206,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setByte(byte[] _byte) {
this._byte = _byte;
}/**
}
/**
**/
public FormatTest binary(File binary) {
this.binary = binary;
@ -210,7 +226,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setBinary(File binary) {
this.binary = binary;
}/**
}
/**
**/
public FormatTest date(LocalDate date) {
this.date = date;
@ -229,7 +247,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setDate(LocalDate date) {
this.date = date;
}/**
}
/**
**/
public FormatTest dateTime(Date dateTime) {
this.dateTime = dateTime;
@ -247,7 +267,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setDateTime(Date dateTime) {
this.dateTime = dateTime;
}/**
}
/**
**/
public FormatTest uuid(UUID uuid) {
this.uuid = uuid;
@ -265,7 +287,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setUuid(UUID uuid) {
this.uuid = uuid;
}/**
}
/**
**/
public FormatTest password(String password) {
this.password = password;
@ -284,7 +308,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPassword(String password) {
this.password = password;
}/**
}
/**
**/
public FormatTest bigDecimal(BigDecimal bigDecimal) {
this.bigDecimal = bigDecimal;
@ -304,6 +330,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.bigDecimal = bigDecimal;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -37,7 +37,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setBar(String bar) {
this.bar = bar;
}/**
}
/**
**/
public HasOnlyReadOnly foo(String foo) {
this.foo = foo;
@ -57,6 +59,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.foo = foo;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -75,7 +75,25 @@ public enum InnerEnum {
public void setMapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
this.mapMapOfString = mapMapOfString;
}/**
}
public MapTest putMapMapOfStringItem(String key, Map<String, String> mapMapOfStringItem) {
if (this.mapMapOfString == null) {
this.mapMapOfString = new HashMap<String, Map<String, String>>();
}
this.mapMapOfString.put(key, mapMapOfStringItem);
return this;
}
public MapTest removeMapMapOfStringItem(Map<String, String> mapMapOfStringItem) {
if (mapMapOfStringItem != null && this.mapMapOfString != null) {
this.mapMapOfString.remove(mapMapOfStringItem);
}
return this;
}
/**
**/
public MapTest mapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
this.mapOfEnumString = mapOfEnumString;
@ -93,7 +111,25 @@ public enum InnerEnum {
public void setMapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
this.mapOfEnumString = mapOfEnumString;
}/**
}
public MapTest putMapOfEnumStringItem(String key, InnerEnum mapOfEnumStringItem) {
if (this.mapOfEnumString == null) {
this.mapOfEnumString = new HashMap<String, InnerEnum>();
}
this.mapOfEnumString.put(key, mapOfEnumStringItem);
return this;
}
public MapTest removeMapOfEnumStringItem(InnerEnum mapOfEnumStringItem) {
if (mapOfEnumStringItem != null && this.mapOfEnumString != null) {
this.mapOfEnumString.remove(mapOfEnumStringItem);
}
return this;
}
/**
**/
public MapTest directMap(Map<String, Boolean> directMap) {
this.directMap = directMap;
@ -111,7 +147,25 @@ public enum InnerEnum {
public void setDirectMap(Map<String, Boolean> directMap) {
this.directMap = directMap;
}/**
}
public MapTest putDirectMapItem(String key, Boolean directMapItem) {
if (this.directMap == null) {
this.directMap = new HashMap<String, Boolean>();
}
this.directMap.put(key, directMapItem);
return this;
}
public MapTest removeDirectMapItem(Boolean directMapItem) {
if (directMapItem != null && this.directMap != null) {
this.directMap.remove(directMapItem);
}
return this;
}
/**
**/
public MapTest indirectMap(Map<String, Boolean> indirectMap) {
this.indirectMap = indirectMap;
@ -131,6 +185,23 @@ public enum InnerEnum {
this.indirectMap = indirectMap;
}
public MapTest putIndirectMapItem(String key, Boolean indirectMapItem) {
if (this.indirectMap == null) {
this.indirectMap = new HashMap<String, Boolean>();
}
this.indirectMap.put(key, indirectMapItem);
return this;
}
public MapTest removeIndirectMapItem(Boolean indirectMapItem) {
if (indirectMapItem != null && this.indirectMap != null) {
this.indirectMap.remove(indirectMapItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -44,7 +44,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setUuid(UUID uuid) {
this.uuid = uuid;
}/**
}
/**
**/
public MixedPropertiesAndAdditionalPropertiesClass dateTime(Date dateTime) {
this.dateTime = dateTime;
@ -62,7 +64,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setDateTime(Date dateTime) {
this.dateTime = dateTime;
}/**
}
/**
**/
public MixedPropertiesAndAdditionalPropertiesClass map(Map<String, Animal> map) {
this.map = map;
@ -82,6 +86,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.map = map;
}
public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
if (this.map == null) {
this.map = new HashMap<String, Animal>();
}
this.map.put(key, mapItem);
return this;
}
public MixedPropertiesAndAdditionalPropertiesClass removeMapItem(Animal mapItem) {
if (mapItem != null && this.map != null) {
this.map.remove(mapItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -39,7 +39,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setName(Integer name) {
this.name = name;
}/**
}
/**
**/
public Model200Response propertyClass(String propertyClass) {
this.propertyClass = propertyClass;
@ -59,6 +61,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.propertyClass = propertyClass;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -38,7 +38,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setCode(Integer code) {
this.code = code;
}/**
}
/**
**/
public ModelApiResponse type(String type) {
this.type = type;
@ -56,7 +58,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setType(String type) {
this.type = type;
}/**
}
/**
**/
public ModelApiResponse message(String message) {
this.message = message;
@ -76,6 +80,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.message = message;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this._return = _return;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -42,7 +42,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setName(Integer name) {
this.name = name;
}/**
}
/**
**/
public Name snakeCase(Integer snakeCase) {
this.snakeCase = snakeCase;
@ -60,7 +62,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setSnakeCase(Integer snakeCase) {
this.snakeCase = snakeCase;
}/**
}
/**
**/
public Name property(String property) {
this.property = property;
@ -78,7 +82,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setProperty(String property) {
this.property = property;
}/**
}
/**
**/
public Name _123number(Integer _123number) {
this._123number = _123number;
@ -98,6 +104,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this._123number = _123number;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -39,6 +39,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.justNumber = justNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -75,7 +75,9 @@ public enum StatusEnum {
public void setId(Long id) {
this.id = id;
}/**
}
/**
**/
public Order petId(Long petId) {
this.petId = petId;
@ -93,7 +95,9 @@ public enum StatusEnum {
public void setPetId(Long petId) {
this.petId = petId;
}/**
}
/**
**/
public Order quantity(Integer quantity) {
this.quantity = quantity;
@ -111,7 +115,9 @@ public enum StatusEnum {
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}/**
}
/**
**/
public Order shipDate(Date shipDate) {
this.shipDate = shipDate;
@ -129,7 +135,9 @@ public enum StatusEnum {
public void setShipDate(Date shipDate) {
this.shipDate = shipDate;
}/**
}
/**
* Order Status
**/
public Order status(StatusEnum status) {
@ -148,7 +156,9 @@ public enum StatusEnum {
public void setStatus(StatusEnum status) {
this.status = status;
}/**
}
/**
**/
public Order complete(Boolean complete) {
this.complete = complete;
@ -168,6 +178,7 @@ public enum StatusEnum {
this.complete = complete;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -39,7 +39,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMyNumber(BigDecimal myNumber) {
this.myNumber = myNumber;
}/**
}
/**
**/
public OuterComposite myString(String myString) {
this.myString = myString;
@ -57,7 +59,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMyString(String myString) {
this.myString = myString;
}/**
}
/**
**/
public OuterComposite myBoolean(Boolean myBoolean) {
this.myBoolean = myBoolean;
@ -77,6 +81,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.myBoolean = myBoolean;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -80,7 +80,9 @@ public enum StatusEnum {
public void setId(Long id) {
this.id = id;
}/**
}
/**
**/
public Pet category(Category category) {
this.category = category;
@ -98,7 +100,9 @@ public enum StatusEnum {
public void setCategory(Category category) {
this.category = category;
}/**
}
/**
**/
public Pet name(String name) {
this.name = name;
@ -117,7 +121,9 @@ public enum StatusEnum {
public void setName(String name) {
this.name = name;
}/**
}
/**
**/
public Pet photoUrls(Set<String> photoUrls) {
this.photoUrls = photoUrls;
@ -136,7 +142,25 @@ public enum StatusEnum {
public void setPhotoUrls(Set<String> photoUrls) {
this.photoUrls = photoUrls;
}/**
}
public Pet addPhotoUrlsItem(String photoUrlsItem) {
if (this.photoUrls == null) {
this.photoUrls = new LinkedHashSet<String>();
}
this.photoUrls.add(photoUrlsItem);
return this;
}
public Pet removePhotoUrlsItem(String photoUrlsItem) {
if (photoUrlsItem != null && this.photoUrls != null) {
this.photoUrls.remove(photoUrlsItem);
}
return this;
}
/**
**/
public Pet tags(List<Tag> tags) {
this.tags = tags;
@ -154,7 +178,25 @@ public enum StatusEnum {
public void setTags(List<Tag> tags) {
this.tags = tags;
}/**
}
public Pet addTagsItem(Tag tagsItem) {
if (this.tags == null) {
this.tags = new ArrayList<Tag>();
}
this.tags.add(tagsItem);
return this;
}
public Pet removeTagsItem(Tag tagsItem) {
if (tagsItem != null && this.tags != null) {
this.tags.remove(tagsItem);
}
return this;
}
/**
* pet status in the store
**/
public Pet status(StatusEnum status) {
@ -175,6 +217,7 @@ public enum StatusEnum {
this.status = status;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -37,7 +37,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setBar(String bar) {
this.bar = bar;
}/**
}
/**
**/
public ReadOnlyFirst baz(String baz) {
this.baz = baz;
@ -57,6 +59,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.baz = baz;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.$specialPropertyName = $specialPropertyName;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -37,7 +37,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setId(Long id) {
this.id = id;
}/**
}
/**
**/
public Tag name(String name) {
this.name = name;
@ -57,6 +59,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -44,7 +44,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setStringItem(String stringItem) {
this.stringItem = stringItem;
}/**
}
/**
**/
public TypeHolderDefault numberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
@ -63,7 +65,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNumberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
}/**
}
/**
**/
public TypeHolderDefault integerItem(Integer integerItem) {
this.integerItem = integerItem;
@ -82,7 +86,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setIntegerItem(Integer integerItem) {
this.integerItem = integerItem;
}/**
}
/**
**/
public TypeHolderDefault boolItem(Boolean boolItem) {
this.boolItem = boolItem;
@ -101,7 +107,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setBoolItem(Boolean boolItem) {
this.boolItem = boolItem;
}/**
}
/**
**/
public TypeHolderDefault arrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem;
@ -122,6 +130,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.arrayItem = arrayItem;
}
public TypeHolderDefault addArrayItemItem(Integer arrayItemItem) {
if (this.arrayItem == null) {
this.arrayItem = new ArrayList<Integer>();
}
this.arrayItem.add(arrayItemItem);
return this;
}
public TypeHolderDefault removeArrayItemItem(Integer arrayItemItem) {
if (arrayItemItem != null && this.arrayItem != null) {
this.arrayItem.remove(arrayItemItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -45,7 +45,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setStringItem(String stringItem) {
this.stringItem = stringItem;
}/**
}
/**
**/
public TypeHolderExample numberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
@ -64,7 +66,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNumberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
}/**
}
/**
**/
public TypeHolderExample floatItem(Float floatItem) {
this.floatItem = floatItem;
@ -83,7 +87,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setFloatItem(Float floatItem) {
this.floatItem = floatItem;
}/**
}
/**
**/
public TypeHolderExample integerItem(Integer integerItem) {
this.integerItem = integerItem;
@ -102,7 +108,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setIntegerItem(Integer integerItem) {
this.integerItem = integerItem;
}/**
}
/**
**/
public TypeHolderExample boolItem(Boolean boolItem) {
this.boolItem = boolItem;
@ -121,7 +129,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setBoolItem(Boolean boolItem) {
this.boolItem = boolItem;
}/**
}
/**
**/
public TypeHolderExample arrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem;
@ -142,6 +152,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.arrayItem = arrayItem;
}
public TypeHolderExample addArrayItemItem(Integer arrayItemItem) {
if (this.arrayItem == null) {
this.arrayItem = new ArrayList<Integer>();
}
this.arrayItem.add(arrayItemItem);
return this;
}
public TypeHolderExample removeArrayItemItem(Integer arrayItemItem) {
if (arrayItemItem != null && this.arrayItem != null) {
this.arrayItem.remove(arrayItemItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -43,7 +43,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setId(Long id) {
this.id = id;
}/**
}
/**
**/
public User username(String username) {
this.username = username;
@ -61,7 +63,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setUsername(String username) {
this.username = username;
}/**
}
/**
**/
public User firstName(String firstName) {
this.firstName = firstName;
@ -79,7 +83,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setFirstName(String firstName) {
this.firstName = firstName;
}/**
}
/**
**/
public User lastName(String lastName) {
this.lastName = lastName;
@ -97,7 +103,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setLastName(String lastName) {
this.lastName = lastName;
}/**
}
/**
**/
public User email(String email) {
this.email = email;
@ -115,7 +123,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setEmail(String email) {
this.email = email;
}/**
}
/**
**/
public User password(String password) {
this.password = password;
@ -133,7 +143,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPassword(String password) {
this.password = password;
}/**
}
/**
**/
public User phone(String phone) {
this.phone = phone;
@ -151,7 +163,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPhone(String phone) {
this.phone = phone;
}/**
}
/**
* User Status
**/
public User userStatus(Integer userStatus) {
@ -172,6 +186,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.userStatus = userStatus;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -67,7 +67,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setAttributeString(String attributeString) {
this.attributeString = attributeString;
}/**
}
/**
**/
public XmlItem attributeNumber(BigDecimal attributeNumber) {
this.attributeNumber = attributeNumber;
@ -85,7 +87,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setAttributeNumber(BigDecimal attributeNumber) {
this.attributeNumber = attributeNumber;
}/**
}
/**
**/
public XmlItem attributeInteger(Integer attributeInteger) {
this.attributeInteger = attributeInteger;
@ -103,7 +107,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setAttributeInteger(Integer attributeInteger) {
this.attributeInteger = attributeInteger;
}/**
}
/**
**/
public XmlItem attributeBoolean(Boolean attributeBoolean) {
this.attributeBoolean = attributeBoolean;
@ -121,7 +127,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setAttributeBoolean(Boolean attributeBoolean) {
this.attributeBoolean = attributeBoolean;
}/**
}
/**
**/
public XmlItem wrappedArray(List<Integer> wrappedArray) {
this.wrappedArray = wrappedArray;
@ -139,7 +147,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setWrappedArray(List<Integer> wrappedArray) {
this.wrappedArray = wrappedArray;
}/**
}
public XmlItem addWrappedArrayItem(Integer wrappedArrayItem) {
if (this.wrappedArray == null) {
this.wrappedArray = new ArrayList<Integer>();
}
this.wrappedArray.add(wrappedArrayItem);
return this;
}
public XmlItem removeWrappedArrayItem(Integer wrappedArrayItem) {
if (wrappedArrayItem != null && this.wrappedArray != null) {
this.wrappedArray.remove(wrappedArrayItem);
}
return this;
}
/**
**/
public XmlItem nameString(String nameString) {
this.nameString = nameString;
@ -157,7 +183,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNameString(String nameString) {
this.nameString = nameString;
}/**
}
/**
**/
public XmlItem nameNumber(BigDecimal nameNumber) {
this.nameNumber = nameNumber;
@ -175,7 +203,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNameNumber(BigDecimal nameNumber) {
this.nameNumber = nameNumber;
}/**
}
/**
**/
public XmlItem nameInteger(Integer nameInteger) {
this.nameInteger = nameInteger;
@ -193,7 +223,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNameInteger(Integer nameInteger) {
this.nameInteger = nameInteger;
}/**
}
/**
**/
public XmlItem nameBoolean(Boolean nameBoolean) {
this.nameBoolean = nameBoolean;
@ -211,7 +243,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNameBoolean(Boolean nameBoolean) {
this.nameBoolean = nameBoolean;
}/**
}
/**
**/
public XmlItem nameArray(List<Integer> nameArray) {
this.nameArray = nameArray;
@ -229,7 +263,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNameArray(List<Integer> nameArray) {
this.nameArray = nameArray;
}/**
}
public XmlItem addNameArrayItem(Integer nameArrayItem) {
if (this.nameArray == null) {
this.nameArray = new ArrayList<Integer>();
}
this.nameArray.add(nameArrayItem);
return this;
}
public XmlItem removeNameArrayItem(Integer nameArrayItem) {
if (nameArrayItem != null && this.nameArray != null) {
this.nameArray.remove(nameArrayItem);
}
return this;
}
/**
**/
public XmlItem nameWrappedArray(List<Integer> nameWrappedArray) {
this.nameWrappedArray = nameWrappedArray;
@ -247,7 +299,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNameWrappedArray(List<Integer> nameWrappedArray) {
this.nameWrappedArray = nameWrappedArray;
}/**
}
public XmlItem addNameWrappedArrayItem(Integer nameWrappedArrayItem) {
if (this.nameWrappedArray == null) {
this.nameWrappedArray = new ArrayList<Integer>();
}
this.nameWrappedArray.add(nameWrappedArrayItem);
return this;
}
public XmlItem removeNameWrappedArrayItem(Integer nameWrappedArrayItem) {
if (nameWrappedArrayItem != null && this.nameWrappedArray != null) {
this.nameWrappedArray.remove(nameWrappedArrayItem);
}
return this;
}
/**
**/
public XmlItem prefixString(String prefixString) {
this.prefixString = prefixString;
@ -265,7 +335,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixString(String prefixString) {
this.prefixString = prefixString;
}/**
}
/**
**/
public XmlItem prefixNumber(BigDecimal prefixNumber) {
this.prefixNumber = prefixNumber;
@ -283,7 +355,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixNumber(BigDecimal prefixNumber) {
this.prefixNumber = prefixNumber;
}/**
}
/**
**/
public XmlItem prefixInteger(Integer prefixInteger) {
this.prefixInteger = prefixInteger;
@ -301,7 +375,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixInteger(Integer prefixInteger) {
this.prefixInteger = prefixInteger;
}/**
}
/**
**/
public XmlItem prefixBoolean(Boolean prefixBoolean) {
this.prefixBoolean = prefixBoolean;
@ -319,7 +395,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixBoolean(Boolean prefixBoolean) {
this.prefixBoolean = prefixBoolean;
}/**
}
/**
**/
public XmlItem prefixArray(List<Integer> prefixArray) {
this.prefixArray = prefixArray;
@ -337,7 +415,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixArray(List<Integer> prefixArray) {
this.prefixArray = prefixArray;
}/**
}
public XmlItem addPrefixArrayItem(Integer prefixArrayItem) {
if (this.prefixArray == null) {
this.prefixArray = new ArrayList<Integer>();
}
this.prefixArray.add(prefixArrayItem);
return this;
}
public XmlItem removePrefixArrayItem(Integer prefixArrayItem) {
if (prefixArrayItem != null && this.prefixArray != null) {
this.prefixArray.remove(prefixArrayItem);
}
return this;
}
/**
**/
public XmlItem prefixWrappedArray(List<Integer> prefixWrappedArray) {
this.prefixWrappedArray = prefixWrappedArray;
@ -355,7 +451,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixWrappedArray(List<Integer> prefixWrappedArray) {
this.prefixWrappedArray = prefixWrappedArray;
}/**
}
public XmlItem addPrefixWrappedArrayItem(Integer prefixWrappedArrayItem) {
if (this.prefixWrappedArray == null) {
this.prefixWrappedArray = new ArrayList<Integer>();
}
this.prefixWrappedArray.add(prefixWrappedArrayItem);
return this;
}
public XmlItem removePrefixWrappedArrayItem(Integer prefixWrappedArrayItem) {
if (prefixWrappedArrayItem != null && this.prefixWrappedArray != null) {
this.prefixWrappedArray.remove(prefixWrappedArrayItem);
}
return this;
}
/**
**/
public XmlItem namespaceString(String namespaceString) {
this.namespaceString = namespaceString;
@ -373,7 +487,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNamespaceString(String namespaceString) {
this.namespaceString = namespaceString;
}/**
}
/**
**/
public XmlItem namespaceNumber(BigDecimal namespaceNumber) {
this.namespaceNumber = namespaceNumber;
@ -391,7 +507,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNamespaceNumber(BigDecimal namespaceNumber) {
this.namespaceNumber = namespaceNumber;
}/**
}
/**
**/
public XmlItem namespaceInteger(Integer namespaceInteger) {
this.namespaceInteger = namespaceInteger;
@ -409,7 +527,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNamespaceInteger(Integer namespaceInteger) {
this.namespaceInteger = namespaceInteger;
}/**
}
/**
**/
public XmlItem namespaceBoolean(Boolean namespaceBoolean) {
this.namespaceBoolean = namespaceBoolean;
@ -427,7 +547,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNamespaceBoolean(Boolean namespaceBoolean) {
this.namespaceBoolean = namespaceBoolean;
}/**
}
/**
**/
public XmlItem namespaceArray(List<Integer> namespaceArray) {
this.namespaceArray = namespaceArray;
@ -445,7 +567,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNamespaceArray(List<Integer> namespaceArray) {
this.namespaceArray = namespaceArray;
}/**
}
public XmlItem addNamespaceArrayItem(Integer namespaceArrayItem) {
if (this.namespaceArray == null) {
this.namespaceArray = new ArrayList<Integer>();
}
this.namespaceArray.add(namespaceArrayItem);
return this;
}
public XmlItem removeNamespaceArrayItem(Integer namespaceArrayItem) {
if (namespaceArrayItem != null && this.namespaceArray != null) {
this.namespaceArray.remove(namespaceArrayItem);
}
return this;
}
/**
**/
public XmlItem namespaceWrappedArray(List<Integer> namespaceWrappedArray) {
this.namespaceWrappedArray = namespaceWrappedArray;
@ -463,7 +603,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNamespaceWrappedArray(List<Integer> namespaceWrappedArray) {
this.namespaceWrappedArray = namespaceWrappedArray;
}/**
}
public XmlItem addNamespaceWrappedArrayItem(Integer namespaceWrappedArrayItem) {
if (this.namespaceWrappedArray == null) {
this.namespaceWrappedArray = new ArrayList<Integer>();
}
this.namespaceWrappedArray.add(namespaceWrappedArrayItem);
return this;
}
public XmlItem removeNamespaceWrappedArrayItem(Integer namespaceWrappedArrayItem) {
if (namespaceWrappedArrayItem != null && this.namespaceWrappedArray != null) {
this.namespaceWrappedArray.remove(namespaceWrappedArrayItem);
}
return this;
}
/**
**/
public XmlItem prefixNsString(String prefixNsString) {
this.prefixNsString = prefixNsString;
@ -481,7 +639,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixNsString(String prefixNsString) {
this.prefixNsString = prefixNsString;
}/**
}
/**
**/
public XmlItem prefixNsNumber(BigDecimal prefixNsNumber) {
this.prefixNsNumber = prefixNsNumber;
@ -499,7 +659,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixNsNumber(BigDecimal prefixNsNumber) {
this.prefixNsNumber = prefixNsNumber;
}/**
}
/**
**/
public XmlItem prefixNsInteger(Integer prefixNsInteger) {
this.prefixNsInteger = prefixNsInteger;
@ -517,7 +679,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixNsInteger(Integer prefixNsInteger) {
this.prefixNsInteger = prefixNsInteger;
}/**
}
/**
**/
public XmlItem prefixNsBoolean(Boolean prefixNsBoolean) {
this.prefixNsBoolean = prefixNsBoolean;
@ -535,7 +699,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixNsBoolean(Boolean prefixNsBoolean) {
this.prefixNsBoolean = prefixNsBoolean;
}/**
}
/**
**/
public XmlItem prefixNsArray(List<Integer> prefixNsArray) {
this.prefixNsArray = prefixNsArray;
@ -553,7 +719,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixNsArray(List<Integer> prefixNsArray) {
this.prefixNsArray = prefixNsArray;
}/**
}
public XmlItem addPrefixNsArrayItem(Integer prefixNsArrayItem) {
if (this.prefixNsArray == null) {
this.prefixNsArray = new ArrayList<Integer>();
}
this.prefixNsArray.add(prefixNsArrayItem);
return this;
}
public XmlItem removePrefixNsArrayItem(Integer prefixNsArrayItem) {
if (prefixNsArrayItem != null && this.prefixNsArray != null) {
this.prefixNsArray.remove(prefixNsArrayItem);
}
return this;
}
/**
**/
public XmlItem prefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
this.prefixNsWrappedArray = prefixNsWrappedArray;
@ -573,6 +757,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.prefixNsWrappedArray = prefixNsWrappedArray;
}
public XmlItem addPrefixNsWrappedArrayItem(Integer prefixNsWrappedArrayItem) {
if (this.prefixNsWrappedArray == null) {
this.prefixNsWrappedArray = new ArrayList<Integer>();
}
this.prefixNsWrappedArray.add(prefixNsWrappedArrayItem);
return this;
}
public XmlItem removePrefixNsWrappedArrayItem(Integer prefixNsWrappedArrayItem) {
if (prefixNsWrappedArrayItem != null && this.prefixNsWrappedArray != null) {
this.prefixNsWrappedArray.remove(prefixNsWrappedArrayItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -1,32 +0,0 @@
package org.openapitools.api;
import org.openapitools.model.Client;
import javax.ws.rs.*;
import javax.ws.rs.core.Response;
import io.swagger.annotations.*;
import java.io.InputStream;
import java.util.Map;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
@Path("/FakeClassnameTags123")
@Api(description = "the FakeClassnameTags123 API")
public class FakeClassnameTags123Api {
@PATCH
@Consumes({ "application/json" })
@Produces({ "application/json" })
@ApiOperation(value = "To test class name in snake case", notes = "To test class name in snake case", response = Client.class, authorizations = {
@Authorization(value = "api_key_query")
}, tags={ "fake_classname_tags 123#$%^" })
@ApiResponses(value = {
@ApiResponse(code = 200, message = "successful operation", response = Client.class)
})
public Response testClassname(@Valid Client body) {
return Response.ok().entity("magic!").build();
}
}

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -41,6 +41,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -50,7 +50,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapString(Map<String, String> mapString) {
this.mapString = mapString;
}/**
}
public AdditionalPropertiesClass putMapStringItem(String key, String mapStringItem) {
if (this.mapString == null) {
this.mapString = new HashMap<String, String>();
}
this.mapString.put(key, mapStringItem);
return this;
}
public AdditionalPropertiesClass removeMapStringItem(String mapStringItem) {
if (mapStringItem != null && this.mapString != null) {
this.mapString.remove(mapStringItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapNumber(Map<String, BigDecimal> mapNumber) {
this.mapNumber = mapNumber;
@ -68,7 +86,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapNumber(Map<String, BigDecimal> mapNumber) {
this.mapNumber = mapNumber;
}/**
}
public AdditionalPropertiesClass putMapNumberItem(String key, BigDecimal mapNumberItem) {
if (this.mapNumber == null) {
this.mapNumber = new HashMap<String, BigDecimal>();
}
this.mapNumber.put(key, mapNumberItem);
return this;
}
public AdditionalPropertiesClass removeMapNumberItem(BigDecimal mapNumberItem) {
if (mapNumberItem != null && this.mapNumber != null) {
this.mapNumber.remove(mapNumberItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapInteger(Map<String, Integer> mapInteger) {
this.mapInteger = mapInteger;
@ -86,7 +122,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapInteger(Map<String, Integer> mapInteger) {
this.mapInteger = mapInteger;
}/**
}
public AdditionalPropertiesClass putMapIntegerItem(String key, Integer mapIntegerItem) {
if (this.mapInteger == null) {
this.mapInteger = new HashMap<String, Integer>();
}
this.mapInteger.put(key, mapIntegerItem);
return this;
}
public AdditionalPropertiesClass removeMapIntegerItem(Integer mapIntegerItem) {
if (mapIntegerItem != null && this.mapInteger != null) {
this.mapInteger.remove(mapIntegerItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapBoolean(Map<String, Boolean> mapBoolean) {
this.mapBoolean = mapBoolean;
@ -104,7 +158,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapBoolean(Map<String, Boolean> mapBoolean) {
this.mapBoolean = mapBoolean;
}/**
}
public AdditionalPropertiesClass putMapBooleanItem(String key, Boolean mapBooleanItem) {
if (this.mapBoolean == null) {
this.mapBoolean = new HashMap<String, Boolean>();
}
this.mapBoolean.put(key, mapBooleanItem);
return this;
}
public AdditionalPropertiesClass removeMapBooleanItem(Boolean mapBooleanItem) {
if (mapBooleanItem != null && this.mapBoolean != null) {
this.mapBoolean.remove(mapBooleanItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
this.mapArrayInteger = mapArrayInteger;
@ -122,7 +194,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
this.mapArrayInteger = mapArrayInteger;
}/**
}
public AdditionalPropertiesClass putMapArrayIntegerItem(String key, List<Integer> mapArrayIntegerItem) {
if (this.mapArrayInteger == null) {
this.mapArrayInteger = new HashMap<String, List<Integer>>();
}
this.mapArrayInteger.put(key, mapArrayIntegerItem);
return this;
}
public AdditionalPropertiesClass removeMapArrayIntegerItem(List<Integer> mapArrayIntegerItem) {
if (mapArrayIntegerItem != null && this.mapArrayInteger != null) {
this.mapArrayInteger.remove(mapArrayIntegerItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
this.mapArrayAnytype = mapArrayAnytype;
@ -140,7 +230,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
this.mapArrayAnytype = mapArrayAnytype;
}/**
}
public AdditionalPropertiesClass putMapArrayAnytypeItem(String key, List<Object> mapArrayAnytypeItem) {
if (this.mapArrayAnytype == null) {
this.mapArrayAnytype = new HashMap<String, List<Object>>();
}
this.mapArrayAnytype.put(key, mapArrayAnytypeItem);
return this;
}
public AdditionalPropertiesClass removeMapArrayAnytypeItem(List<Object> mapArrayAnytypeItem) {
if (mapArrayAnytypeItem != null && this.mapArrayAnytype != null) {
this.mapArrayAnytype.remove(mapArrayAnytypeItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapMapString(Map<String, Map<String, String>> mapMapString) {
this.mapMapString = mapMapString;
@ -158,7 +266,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapMapString(Map<String, Map<String, String>> mapMapString) {
this.mapMapString = mapMapString;
}/**
}
public AdditionalPropertiesClass putMapMapStringItem(String key, Map<String, String> mapMapStringItem) {
if (this.mapMapString == null) {
this.mapMapString = new HashMap<String, Map<String, String>>();
}
this.mapMapString.put(key, mapMapStringItem);
return this;
}
public AdditionalPropertiesClass removeMapMapStringItem(Map<String, String> mapMapStringItem) {
if (mapMapStringItem != null && this.mapMapString != null) {
this.mapMapString.remove(mapMapStringItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass mapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
this.mapMapAnytype = mapMapAnytype;
@ -176,7 +302,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
this.mapMapAnytype = mapMapAnytype;
}/**
}
public AdditionalPropertiesClass putMapMapAnytypeItem(String key, Map<String, Object> mapMapAnytypeItem) {
if (this.mapMapAnytype == null) {
this.mapMapAnytype = new HashMap<String, Map<String, Object>>();
}
this.mapMapAnytype.put(key, mapMapAnytypeItem);
return this;
}
public AdditionalPropertiesClass removeMapMapAnytypeItem(Map<String, Object> mapMapAnytypeItem) {
if (mapMapAnytypeItem != null && this.mapMapAnytype != null) {
this.mapMapAnytype.remove(mapMapAnytypeItem);
}
return this;
}
/**
**/
public AdditionalPropertiesClass anytype1(Object anytype1) {
this.anytype1 = anytype1;
@ -194,7 +338,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setAnytype1(Object anytype1) {
this.anytype1 = anytype1;
}/**
}
/**
**/
public AdditionalPropertiesClass anytype2(Object anytype2) {
this.anytype2 = anytype2;
@ -212,7 +358,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setAnytype2(Object anytype2) {
this.anytype2 = anytype2;
}/**
}
/**
**/
public AdditionalPropertiesClass anytype3(Object anytype3) {
this.anytype3 = anytype3;
@ -232,6 +380,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.anytype3 = anytype3;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -41,6 +41,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -46,7 +46,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setClassName(String className) {
this.className = className;
}/**
}
/**
**/
public Animal color(String color) {
this.color = color;
@ -66,6 +68,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.color = color;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -1,59 +0,0 @@
package org.openapitools.model;
import java.util.ArrayList;
import java.util.List;
import org.openapitools.model.Animal;
import java.io.Serializable;
import javax.validation.constraints.*;
import javax.validation.Valid;
import io.swagger.annotations.*;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
public class AnimalFarm extends ArrayList<Animal> implements Serializable {
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AnimalFarm animalFarm = (AnimalFarm) o;
return true;
}
@Override
public int hashCode() {
return Objects.hash();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AnimalFarm {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}

View File

@ -41,6 +41,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.arrayArrayNumber = arrayArrayNumber;
}
public ArrayOfArrayOfNumberOnly addArrayArrayNumberItem(List<BigDecimal> arrayArrayNumberItem) {
if (this.arrayArrayNumber == null) {
this.arrayArrayNumber = new ArrayList<List<BigDecimal>>();
}
this.arrayArrayNumber.add(arrayArrayNumberItem);
return this;
}
public ArrayOfArrayOfNumberOnly removeArrayArrayNumberItem(List<BigDecimal> arrayArrayNumberItem) {
if (arrayArrayNumberItem != null && this.arrayArrayNumber != null) {
this.arrayArrayNumber.remove(arrayArrayNumberItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -41,6 +41,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.arrayNumber = arrayNumber;
}
public ArrayOfNumberOnly addArrayNumberItem(BigDecimal arrayNumberItem) {
if (this.arrayNumber == null) {
this.arrayNumber = new ArrayList<BigDecimal>();
}
this.arrayNumber.add(arrayNumberItem);
return this;
}
public ArrayOfNumberOnly removeArrayNumberItem(BigDecimal arrayNumberItem) {
if (arrayNumberItem != null && this.arrayNumber != null) {
this.arrayNumber.remove(arrayNumberItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -41,7 +41,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setArrayOfString(List<String> arrayOfString) {
this.arrayOfString = arrayOfString;
}/**
}
public ArrayTest addArrayOfStringItem(String arrayOfStringItem) {
if (this.arrayOfString == null) {
this.arrayOfString = new ArrayList<String>();
}
this.arrayOfString.add(arrayOfStringItem);
return this;
}
public ArrayTest removeArrayOfStringItem(String arrayOfStringItem) {
if (arrayOfStringItem != null && this.arrayOfString != null) {
this.arrayOfString.remove(arrayOfStringItem);
}
return this;
}
/**
**/
public ArrayTest arrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
this.arrayArrayOfInteger = arrayArrayOfInteger;
@ -59,7 +77,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setArrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
this.arrayArrayOfInteger = arrayArrayOfInteger;
}/**
}
public ArrayTest addArrayArrayOfIntegerItem(List<Long> arrayArrayOfIntegerItem) {
if (this.arrayArrayOfInteger == null) {
this.arrayArrayOfInteger = new ArrayList<List<Long>>();
}
this.arrayArrayOfInteger.add(arrayArrayOfIntegerItem);
return this;
}
public ArrayTest removeArrayArrayOfIntegerItem(List<Long> arrayArrayOfIntegerItem) {
if (arrayArrayOfIntegerItem != null && this.arrayArrayOfInteger != null) {
this.arrayArrayOfInteger.remove(arrayArrayOfIntegerItem);
}
return this;
}
/**
**/
public ArrayTest arrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) {
this.arrayArrayOfModel = arrayArrayOfModel;
@ -79,6 +115,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.arrayArrayOfModel = arrayArrayOfModel;
}
public ArrayTest addArrayArrayOfModelItem(List<ReadOnlyFirst> arrayArrayOfModelItem) {
if (this.arrayArrayOfModel == null) {
this.arrayArrayOfModel = new ArrayList<List<ReadOnlyFirst>>();
}
this.arrayArrayOfModel.add(arrayArrayOfModelItem);
return this;
}
public ArrayTest removeArrayArrayOfModelItem(List<ReadOnlyFirst> arrayArrayOfModelItem) {
if (arrayArrayOfModelItem != null && this.arrayArrayOfModel != null) {
this.arrayArrayOfModel.remove(arrayArrayOfModelItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -73,6 +73,7 @@ public enum KindEnum {
this.kind = kind;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -71,6 +71,7 @@ public enum KindEnum {
this.kind = kind;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -41,7 +41,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setSmallCamel(String smallCamel) {
this.smallCamel = smallCamel;
}/**
}
/**
**/
public Capitalization capitalCamel(String capitalCamel) {
this.capitalCamel = capitalCamel;
@ -59,7 +61,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setCapitalCamel(String capitalCamel) {
this.capitalCamel = capitalCamel;
}/**
}
/**
**/
public Capitalization smallSnake(String smallSnake) {
this.smallSnake = smallSnake;
@ -77,7 +81,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setSmallSnake(String smallSnake) {
this.smallSnake = smallSnake;
}/**
}
/**
**/
public Capitalization capitalSnake(String capitalSnake) {
this.capitalSnake = capitalSnake;
@ -95,7 +101,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setCapitalSnake(String capitalSnake) {
this.capitalSnake = capitalSnake;
}/**
}
/**
**/
public Capitalization scAETHFlowPoints(String scAETHFlowPoints) {
this.scAETHFlowPoints = scAETHFlowPoints;
@ -113,7 +121,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setScAETHFlowPoints(String scAETHFlowPoints) {
this.scAETHFlowPoints = scAETHFlowPoints;
}/**
}
/**
* Name of the pet
**/
public Capitalization ATT_NAME(String ATT_NAME) {
@ -134,6 +144,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.ATT_NAME = ATT_NAME;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.declawed = declawed;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.declawed = declawed;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -37,7 +37,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setId(Long id) {
this.id = id;
}/**
}
/**
**/
public Category name(String name) {
this.name = name;
@ -58,6 +60,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.propertyClass = propertyClass;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.client = client;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.breed = breed;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.breed = breed;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -105,7 +105,9 @@ public enum ArrayEnumEnum {
public void setJustSymbol(JustSymbolEnum justSymbol) {
this.justSymbol = justSymbol;
}/**
}
/**
**/
public EnumArrays arrayEnum(List<ArrayEnumEnum> arrayEnum) {
this.arrayEnum = arrayEnum;
@ -125,6 +127,23 @@ public enum ArrayEnumEnum {
this.arrayEnum = arrayEnum;
}
public EnumArrays addArrayEnumItem(ArrayEnumEnum arrayEnumItem) {
if (this.arrayEnum == null) {
this.arrayEnum = new ArrayList<ArrayEnumEnum>();
}
this.arrayEnum.add(arrayEnumItem);
return this;
}
public EnumArrays removeArrayEnumItem(ArrayEnumEnum arrayEnumItem) {
if (arrayEnumItem != null && this.arrayEnum != null) {
this.arrayEnum.remove(arrayEnumItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -173,7 +173,9 @@ public enum EnumNumberEnum {
public void setEnumString(EnumStringEnum enumString) {
this.enumString = enumString;
}/**
}
/**
**/
public EnumTest enumStringRequired(EnumStringRequiredEnum enumStringRequired) {
this.enumStringRequired = enumStringRequired;
@ -192,7 +194,9 @@ public enum EnumNumberEnum {
public void setEnumStringRequired(EnumStringRequiredEnum enumStringRequired) {
this.enumStringRequired = enumStringRequired;
}/**
}
/**
**/
public EnumTest enumInteger(EnumIntegerEnum enumInteger) {
this.enumInteger = enumInteger;
@ -210,7 +214,9 @@ public enum EnumNumberEnum {
public void setEnumInteger(EnumIntegerEnum enumInteger) {
this.enumInteger = enumInteger;
}/**
}
/**
**/
public EnumTest enumNumber(EnumNumberEnum enumNumber) {
this.enumNumber = enumNumber;
@ -228,7 +234,9 @@ public enum EnumNumberEnum {
public void setEnumNumber(EnumNumberEnum enumNumber) {
this.enumNumber = enumNumber;
}/**
}
/**
**/
public EnumTest outerEnum(OuterEnum outerEnum) {
this.outerEnum = outerEnum;
@ -248,6 +256,7 @@ public enum EnumNumberEnum {
this.outerEnum = outerEnum;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -39,7 +39,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setFile(java.io.File file) {
this.file = file;
}/**
}
/**
**/
public FileSchemaTestClass files(List<java.io.File> files) {
this.files = files;
@ -59,6 +61,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.files = files;
}
public FileSchemaTestClass addFilesItem(java.io.File filesItem) {
if (this.files == null) {
this.files = new ArrayList<java.io.File>();
}
this.files.add(filesItem);
return this;
}
public FileSchemaTestClass removeFilesItem(java.io.File filesItem) {
if (filesItem != null && this.files != null) {
this.files.remove(filesItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -56,7 +56,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setInteger(Integer integer) {
this.integer = integer;
}/**
}
/**
* minimum: 20
* maximum: 200
**/
@ -76,7 +78,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setInt32(Integer int32) {
this.int32 = int32;
}/**
}
/**
**/
public FormatTest int64(Long int64) {
this.int64 = int64;
@ -94,7 +98,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setInt64(Long int64) {
this.int64 = int64;
}/**
}
/**
* minimum: 32.1
* maximum: 543.2
**/
@ -115,7 +121,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNumber(BigDecimal number) {
this.number = number;
}/**
}
/**
* minimum: 54.3
* maximum: 987.6
**/
@ -135,7 +143,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setFloat(Float _float) {
this._float = _float;
}/**
}
/**
* minimum: 67.8
* maximum: 123.4
**/
@ -155,7 +165,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setDouble(Double _double) {
this._double = _double;
}/**
}
/**
**/
public FormatTest string(String string) {
this.string = string;
@ -173,7 +185,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setString(String string) {
this.string = string;
}/**
}
/**
**/
public FormatTest _byte(byte[] _byte) {
this._byte = _byte;
@ -192,7 +206,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setByte(byte[] _byte) {
this._byte = _byte;
}/**
}
/**
**/
public FormatTest binary(File binary) {
this.binary = binary;
@ -210,7 +226,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setBinary(File binary) {
this.binary = binary;
}/**
}
/**
**/
public FormatTest date(LocalDate date) {
this.date = date;
@ -229,7 +247,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setDate(LocalDate date) {
this.date = date;
}/**
}
/**
**/
public FormatTest dateTime(Date dateTime) {
this.dateTime = dateTime;
@ -247,7 +267,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setDateTime(Date dateTime) {
this.dateTime = dateTime;
}/**
}
/**
**/
public FormatTest uuid(UUID uuid) {
this.uuid = uuid;
@ -265,7 +287,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setUuid(UUID uuid) {
this.uuid = uuid;
}/**
}
/**
**/
public FormatTest password(String password) {
this.password = password;
@ -284,7 +308,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPassword(String password) {
this.password = password;
}/**
}
/**
**/
public FormatTest bigDecimal(BigDecimal bigDecimal) {
this.bigDecimal = bigDecimal;
@ -304,6 +330,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.bigDecimal = bigDecimal;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -37,7 +37,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setBar(String bar) {
this.bar = bar;
}/**
}
/**
**/
public HasOnlyReadOnly foo(String foo) {
this.foo = foo;
@ -57,6 +59,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.foo = foo;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -75,7 +75,25 @@ public enum InnerEnum {
public void setMapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
this.mapMapOfString = mapMapOfString;
}/**
}
public MapTest putMapMapOfStringItem(String key, Map<String, String> mapMapOfStringItem) {
if (this.mapMapOfString == null) {
this.mapMapOfString = new HashMap<String, Map<String, String>>();
}
this.mapMapOfString.put(key, mapMapOfStringItem);
return this;
}
public MapTest removeMapMapOfStringItem(Map<String, String> mapMapOfStringItem) {
if (mapMapOfStringItem != null && this.mapMapOfString != null) {
this.mapMapOfString.remove(mapMapOfStringItem);
}
return this;
}
/**
**/
public MapTest mapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
this.mapOfEnumString = mapOfEnumString;
@ -93,7 +111,25 @@ public enum InnerEnum {
public void setMapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
this.mapOfEnumString = mapOfEnumString;
}/**
}
public MapTest putMapOfEnumStringItem(String key, InnerEnum mapOfEnumStringItem) {
if (this.mapOfEnumString == null) {
this.mapOfEnumString = new HashMap<String, InnerEnum>();
}
this.mapOfEnumString.put(key, mapOfEnumStringItem);
return this;
}
public MapTest removeMapOfEnumStringItem(InnerEnum mapOfEnumStringItem) {
if (mapOfEnumStringItem != null && this.mapOfEnumString != null) {
this.mapOfEnumString.remove(mapOfEnumStringItem);
}
return this;
}
/**
**/
public MapTest directMap(Map<String, Boolean> directMap) {
this.directMap = directMap;
@ -111,7 +147,25 @@ public enum InnerEnum {
public void setDirectMap(Map<String, Boolean> directMap) {
this.directMap = directMap;
}/**
}
public MapTest putDirectMapItem(String key, Boolean directMapItem) {
if (this.directMap == null) {
this.directMap = new HashMap<String, Boolean>();
}
this.directMap.put(key, directMapItem);
return this;
}
public MapTest removeDirectMapItem(Boolean directMapItem) {
if (directMapItem != null && this.directMap != null) {
this.directMap.remove(directMapItem);
}
return this;
}
/**
**/
public MapTest indirectMap(Map<String, Boolean> indirectMap) {
this.indirectMap = indirectMap;
@ -131,6 +185,23 @@ public enum InnerEnum {
this.indirectMap = indirectMap;
}
public MapTest putIndirectMapItem(String key, Boolean indirectMapItem) {
if (this.indirectMap == null) {
this.indirectMap = new HashMap<String, Boolean>();
}
this.indirectMap.put(key, indirectMapItem);
return this;
}
public MapTest removeIndirectMapItem(Boolean indirectMapItem) {
if (indirectMapItem != null && this.indirectMap != null) {
this.indirectMap.remove(indirectMapItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -44,7 +44,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setUuid(UUID uuid) {
this.uuid = uuid;
}/**
}
/**
**/
public MixedPropertiesAndAdditionalPropertiesClass dateTime(Date dateTime) {
this.dateTime = dateTime;
@ -62,7 +64,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setDateTime(Date dateTime) {
this.dateTime = dateTime;
}/**
}
/**
**/
public MixedPropertiesAndAdditionalPropertiesClass map(Map<String, Animal> map) {
this.map = map;
@ -82,6 +86,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.map = map;
}
public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
if (this.map == null) {
this.map = new HashMap<String, Animal>();
}
this.map.put(key, mapItem);
return this;
}
public MixedPropertiesAndAdditionalPropertiesClass removeMapItem(Animal mapItem) {
if (mapItem != null && this.map != null) {
this.map.remove(mapItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -39,7 +39,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setName(Integer name) {
this.name = name;
}/**
}
/**
**/
public Model200Response propertyClass(String propertyClass) {
this.propertyClass = propertyClass;
@ -59,6 +61,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.propertyClass = propertyClass;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -38,7 +38,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setCode(Integer code) {
this.code = code;
}/**
}
/**
**/
public ModelApiResponse type(String type) {
this.type = type;
@ -56,7 +58,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setType(String type) {
this.type = type;
}/**
}
/**
**/
public ModelApiResponse message(String message) {
this.message = message;
@ -76,6 +80,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.message = message;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -40,6 +40,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this._return = _return;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -42,7 +42,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setName(Integer name) {
this.name = name;
}/**
}
/**
**/
public Name snakeCase(Integer snakeCase) {
this.snakeCase = snakeCase;
@ -60,7 +62,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setSnakeCase(Integer snakeCase) {
this.snakeCase = snakeCase;
}/**
}
/**
**/
public Name property(String property) {
this.property = property;
@ -78,7 +82,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setProperty(String property) {
this.property = property;
}/**
}
/**
**/
public Name _123number(Integer _123number) {
this._123number = _123number;
@ -98,6 +104,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this._123number = _123number;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -39,6 +39,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.justNumber = justNumber;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -75,7 +75,9 @@ public enum StatusEnum {
public void setId(Long id) {
this.id = id;
}/**
}
/**
**/
public Order petId(Long petId) {
this.petId = petId;
@ -93,7 +95,9 @@ public enum StatusEnum {
public void setPetId(Long petId) {
this.petId = petId;
}/**
}
/**
**/
public Order quantity(Integer quantity) {
this.quantity = quantity;
@ -111,7 +115,9 @@ public enum StatusEnum {
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}/**
}
/**
**/
public Order shipDate(Date shipDate) {
this.shipDate = shipDate;
@ -129,7 +135,9 @@ public enum StatusEnum {
public void setShipDate(Date shipDate) {
this.shipDate = shipDate;
}/**
}
/**
* Order Status
**/
public Order status(StatusEnum status) {
@ -148,7 +156,9 @@ public enum StatusEnum {
public void setStatus(StatusEnum status) {
this.status = status;
}/**
}
/**
**/
public Order complete(Boolean complete) {
this.complete = complete;
@ -168,6 +178,7 @@ public enum StatusEnum {
this.complete = complete;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -39,7 +39,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMyNumber(BigDecimal myNumber) {
this.myNumber = myNumber;
}/**
}
/**
**/
public OuterComposite myString(String myString) {
this.myString = myString;
@ -57,7 +59,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setMyString(String myString) {
this.myString = myString;
}/**
}
/**
**/
public OuterComposite myBoolean(Boolean myBoolean) {
this.myBoolean = myBoolean;
@ -77,6 +81,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.myBoolean = myBoolean;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -80,7 +80,9 @@ public enum StatusEnum {
public void setId(Long id) {
this.id = id;
}/**
}
/**
**/
public Pet category(Category category) {
this.category = category;
@ -98,7 +100,9 @@ public enum StatusEnum {
public void setCategory(Category category) {
this.category = category;
}/**
}
/**
**/
public Pet name(String name) {
this.name = name;
@ -117,7 +121,9 @@ public enum StatusEnum {
public void setName(String name) {
this.name = name;
}/**
}
/**
**/
public Pet photoUrls(Set<String> photoUrls) {
this.photoUrls = photoUrls;
@ -136,7 +142,25 @@ public enum StatusEnum {
public void setPhotoUrls(Set<String> photoUrls) {
this.photoUrls = photoUrls;
}/**
}
public Pet addPhotoUrlsItem(String photoUrlsItem) {
if (this.photoUrls == null) {
this.photoUrls = new LinkedHashSet<String>();
}
this.photoUrls.add(photoUrlsItem);
return this;
}
public Pet removePhotoUrlsItem(String photoUrlsItem) {
if (photoUrlsItem != null && this.photoUrls != null) {
this.photoUrls.remove(photoUrlsItem);
}
return this;
}
/**
**/
public Pet tags(List<Tag> tags) {
this.tags = tags;
@ -154,7 +178,25 @@ public enum StatusEnum {
public void setTags(List<Tag> tags) {
this.tags = tags;
}/**
}
public Pet addTagsItem(Tag tagsItem) {
if (this.tags == null) {
this.tags = new ArrayList<Tag>();
}
this.tags.add(tagsItem);
return this;
}
public Pet removeTagsItem(Tag tagsItem) {
if (tagsItem != null && this.tags != null) {
this.tags.remove(tagsItem);
}
return this;
}
/**
* pet status in the store
**/
public Pet status(StatusEnum status) {
@ -175,6 +217,7 @@ public enum StatusEnum {
this.status = status;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -37,7 +37,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setBar(String bar) {
this.bar = bar;
}/**
}
/**
**/
public ReadOnlyFirst baz(String baz) {
this.baz = baz;
@ -57,6 +59,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.baz = baz;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.$specialPropertyName = $specialPropertyName;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -1,58 +0,0 @@
package org.openapitools.model;
import java.util.HashMap;
import java.util.Map;
import java.io.Serializable;
import javax.validation.constraints.*;
import javax.validation.Valid;
import io.swagger.annotations.*;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
public class StringBooleanMap extends HashMap<String, Boolean> implements Serializable {
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
StringBooleanMap stringBooleanMap = (StringBooleanMap) o;
return true;
}
@Override
public int hashCode() {
return Objects.hash();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class StringBooleanMap {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}

View File

@ -37,7 +37,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setId(Long id) {
this.id = id;
}/**
}
/**
**/
public Tag name(String name) {
this.name = name;
@ -57,6 +59,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -44,7 +44,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setStringItem(String stringItem) {
this.stringItem = stringItem;
}/**
}
/**
**/
public TypeHolderDefault numberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
@ -63,7 +65,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNumberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
}/**
}
/**
**/
public TypeHolderDefault integerItem(Integer integerItem) {
this.integerItem = integerItem;
@ -82,7 +86,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setIntegerItem(Integer integerItem) {
this.integerItem = integerItem;
}/**
}
/**
**/
public TypeHolderDefault boolItem(Boolean boolItem) {
this.boolItem = boolItem;
@ -101,7 +107,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setBoolItem(Boolean boolItem) {
this.boolItem = boolItem;
}/**
}
/**
**/
public TypeHolderDefault arrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem;
@ -122,6 +130,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.arrayItem = arrayItem;
}
public TypeHolderDefault addArrayItemItem(Integer arrayItemItem) {
if (this.arrayItem == null) {
this.arrayItem = new ArrayList<Integer>();
}
this.arrayItem.add(arrayItemItem);
return this;
}
public TypeHolderDefault removeArrayItemItem(Integer arrayItemItem) {
if (arrayItemItem != null && this.arrayItem != null) {
this.arrayItem.remove(arrayItemItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -45,7 +45,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setStringItem(String stringItem) {
this.stringItem = stringItem;
}/**
}
/**
**/
public TypeHolderExample numberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
@ -64,7 +66,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNumberItem(BigDecimal numberItem) {
this.numberItem = numberItem;
}/**
}
/**
**/
public TypeHolderExample floatItem(Float floatItem) {
this.floatItem = floatItem;
@ -83,7 +87,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setFloatItem(Float floatItem) {
this.floatItem = floatItem;
}/**
}
/**
**/
public TypeHolderExample integerItem(Integer integerItem) {
this.integerItem = integerItem;
@ -102,7 +108,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setIntegerItem(Integer integerItem) {
this.integerItem = integerItem;
}/**
}
/**
**/
public TypeHolderExample boolItem(Boolean boolItem) {
this.boolItem = boolItem;
@ -121,7 +129,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setBoolItem(Boolean boolItem) {
this.boolItem = boolItem;
}/**
}
/**
**/
public TypeHolderExample arrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem;
@ -142,6 +152,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.arrayItem = arrayItem;
}
public TypeHolderExample addArrayItemItem(Integer arrayItemItem) {
if (this.arrayItem == null) {
this.arrayItem = new ArrayList<Integer>();
}
this.arrayItem.add(arrayItemItem);
return this;
}
public TypeHolderExample removeArrayItemItem(Integer arrayItemItem) {
if (arrayItemItem != null && this.arrayItem != null) {
this.arrayItem.remove(arrayItemItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -43,7 +43,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setId(Long id) {
this.id = id;
}/**
}
/**
**/
public User username(String username) {
this.username = username;
@ -61,7 +63,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setUsername(String username) {
this.username = username;
}/**
}
/**
**/
public User firstName(String firstName) {
this.firstName = firstName;
@ -79,7 +83,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setFirstName(String firstName) {
this.firstName = firstName;
}/**
}
/**
**/
public User lastName(String lastName) {
this.lastName = lastName;
@ -97,7 +103,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setLastName(String lastName) {
this.lastName = lastName;
}/**
}
/**
**/
public User email(String email) {
this.email = email;
@ -115,7 +123,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setEmail(String email) {
this.email = email;
}/**
}
/**
**/
public User password(String password) {
this.password = password;
@ -133,7 +143,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPassword(String password) {
this.password = password;
}/**
}
/**
**/
public User phone(String phone) {
this.phone = phone;
@ -151,7 +163,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPhone(String phone) {
this.phone = phone;
}/**
}
/**
* User Status
**/
public User userStatus(Integer userStatus) {
@ -172,6 +186,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.userStatus = userStatus;
}
@Override
public boolean equals(Object o) {
if (this == o) {

View File

@ -67,7 +67,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setAttributeString(String attributeString) {
this.attributeString = attributeString;
}/**
}
/**
**/
public XmlItem attributeNumber(BigDecimal attributeNumber) {
this.attributeNumber = attributeNumber;
@ -85,7 +87,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setAttributeNumber(BigDecimal attributeNumber) {
this.attributeNumber = attributeNumber;
}/**
}
/**
**/
public XmlItem attributeInteger(Integer attributeInteger) {
this.attributeInteger = attributeInteger;
@ -103,7 +107,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setAttributeInteger(Integer attributeInteger) {
this.attributeInteger = attributeInteger;
}/**
}
/**
**/
public XmlItem attributeBoolean(Boolean attributeBoolean) {
this.attributeBoolean = attributeBoolean;
@ -121,7 +127,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setAttributeBoolean(Boolean attributeBoolean) {
this.attributeBoolean = attributeBoolean;
}/**
}
/**
**/
public XmlItem wrappedArray(List<Integer> wrappedArray) {
this.wrappedArray = wrappedArray;
@ -139,7 +147,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setWrappedArray(List<Integer> wrappedArray) {
this.wrappedArray = wrappedArray;
}/**
}
public XmlItem addWrappedArrayItem(Integer wrappedArrayItem) {
if (this.wrappedArray == null) {
this.wrappedArray = new ArrayList<Integer>();
}
this.wrappedArray.add(wrappedArrayItem);
return this;
}
public XmlItem removeWrappedArrayItem(Integer wrappedArrayItem) {
if (wrappedArrayItem != null && this.wrappedArray != null) {
this.wrappedArray.remove(wrappedArrayItem);
}
return this;
}
/**
**/
public XmlItem nameString(String nameString) {
this.nameString = nameString;
@ -157,7 +183,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNameString(String nameString) {
this.nameString = nameString;
}/**
}
/**
**/
public XmlItem nameNumber(BigDecimal nameNumber) {
this.nameNumber = nameNumber;
@ -175,7 +203,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNameNumber(BigDecimal nameNumber) {
this.nameNumber = nameNumber;
}/**
}
/**
**/
public XmlItem nameInteger(Integer nameInteger) {
this.nameInteger = nameInteger;
@ -193,7 +223,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNameInteger(Integer nameInteger) {
this.nameInteger = nameInteger;
}/**
}
/**
**/
public XmlItem nameBoolean(Boolean nameBoolean) {
this.nameBoolean = nameBoolean;
@ -211,7 +243,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNameBoolean(Boolean nameBoolean) {
this.nameBoolean = nameBoolean;
}/**
}
/**
**/
public XmlItem nameArray(List<Integer> nameArray) {
this.nameArray = nameArray;
@ -229,7 +263,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNameArray(List<Integer> nameArray) {
this.nameArray = nameArray;
}/**
}
public XmlItem addNameArrayItem(Integer nameArrayItem) {
if (this.nameArray == null) {
this.nameArray = new ArrayList<Integer>();
}
this.nameArray.add(nameArrayItem);
return this;
}
public XmlItem removeNameArrayItem(Integer nameArrayItem) {
if (nameArrayItem != null && this.nameArray != null) {
this.nameArray.remove(nameArrayItem);
}
return this;
}
/**
**/
public XmlItem nameWrappedArray(List<Integer> nameWrappedArray) {
this.nameWrappedArray = nameWrappedArray;
@ -247,7 +299,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNameWrappedArray(List<Integer> nameWrappedArray) {
this.nameWrappedArray = nameWrappedArray;
}/**
}
public XmlItem addNameWrappedArrayItem(Integer nameWrappedArrayItem) {
if (this.nameWrappedArray == null) {
this.nameWrappedArray = new ArrayList<Integer>();
}
this.nameWrappedArray.add(nameWrappedArrayItem);
return this;
}
public XmlItem removeNameWrappedArrayItem(Integer nameWrappedArrayItem) {
if (nameWrappedArrayItem != null && this.nameWrappedArray != null) {
this.nameWrappedArray.remove(nameWrappedArrayItem);
}
return this;
}
/**
**/
public XmlItem prefixString(String prefixString) {
this.prefixString = prefixString;
@ -265,7 +335,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixString(String prefixString) {
this.prefixString = prefixString;
}/**
}
/**
**/
public XmlItem prefixNumber(BigDecimal prefixNumber) {
this.prefixNumber = prefixNumber;
@ -283,7 +355,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixNumber(BigDecimal prefixNumber) {
this.prefixNumber = prefixNumber;
}/**
}
/**
**/
public XmlItem prefixInteger(Integer prefixInteger) {
this.prefixInteger = prefixInteger;
@ -301,7 +375,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixInteger(Integer prefixInteger) {
this.prefixInteger = prefixInteger;
}/**
}
/**
**/
public XmlItem prefixBoolean(Boolean prefixBoolean) {
this.prefixBoolean = prefixBoolean;
@ -319,7 +395,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixBoolean(Boolean prefixBoolean) {
this.prefixBoolean = prefixBoolean;
}/**
}
/**
**/
public XmlItem prefixArray(List<Integer> prefixArray) {
this.prefixArray = prefixArray;
@ -337,7 +415,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixArray(List<Integer> prefixArray) {
this.prefixArray = prefixArray;
}/**
}
public XmlItem addPrefixArrayItem(Integer prefixArrayItem) {
if (this.prefixArray == null) {
this.prefixArray = new ArrayList<Integer>();
}
this.prefixArray.add(prefixArrayItem);
return this;
}
public XmlItem removePrefixArrayItem(Integer prefixArrayItem) {
if (prefixArrayItem != null && this.prefixArray != null) {
this.prefixArray.remove(prefixArrayItem);
}
return this;
}
/**
**/
public XmlItem prefixWrappedArray(List<Integer> prefixWrappedArray) {
this.prefixWrappedArray = prefixWrappedArray;
@ -355,7 +451,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixWrappedArray(List<Integer> prefixWrappedArray) {
this.prefixWrappedArray = prefixWrappedArray;
}/**
}
public XmlItem addPrefixWrappedArrayItem(Integer prefixWrappedArrayItem) {
if (this.prefixWrappedArray == null) {
this.prefixWrappedArray = new ArrayList<Integer>();
}
this.prefixWrappedArray.add(prefixWrappedArrayItem);
return this;
}
public XmlItem removePrefixWrappedArrayItem(Integer prefixWrappedArrayItem) {
if (prefixWrappedArrayItem != null && this.prefixWrappedArray != null) {
this.prefixWrappedArray.remove(prefixWrappedArrayItem);
}
return this;
}
/**
**/
public XmlItem namespaceString(String namespaceString) {
this.namespaceString = namespaceString;
@ -373,7 +487,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNamespaceString(String namespaceString) {
this.namespaceString = namespaceString;
}/**
}
/**
**/
public XmlItem namespaceNumber(BigDecimal namespaceNumber) {
this.namespaceNumber = namespaceNumber;
@ -391,7 +507,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNamespaceNumber(BigDecimal namespaceNumber) {
this.namespaceNumber = namespaceNumber;
}/**
}
/**
**/
public XmlItem namespaceInteger(Integer namespaceInteger) {
this.namespaceInteger = namespaceInteger;
@ -409,7 +527,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNamespaceInteger(Integer namespaceInteger) {
this.namespaceInteger = namespaceInteger;
}/**
}
/**
**/
public XmlItem namespaceBoolean(Boolean namespaceBoolean) {
this.namespaceBoolean = namespaceBoolean;
@ -427,7 +547,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNamespaceBoolean(Boolean namespaceBoolean) {
this.namespaceBoolean = namespaceBoolean;
}/**
}
/**
**/
public XmlItem namespaceArray(List<Integer> namespaceArray) {
this.namespaceArray = namespaceArray;
@ -445,7 +567,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNamespaceArray(List<Integer> namespaceArray) {
this.namespaceArray = namespaceArray;
}/**
}
public XmlItem addNamespaceArrayItem(Integer namespaceArrayItem) {
if (this.namespaceArray == null) {
this.namespaceArray = new ArrayList<Integer>();
}
this.namespaceArray.add(namespaceArrayItem);
return this;
}
public XmlItem removeNamespaceArrayItem(Integer namespaceArrayItem) {
if (namespaceArrayItem != null && this.namespaceArray != null) {
this.namespaceArray.remove(namespaceArrayItem);
}
return this;
}
/**
**/
public XmlItem namespaceWrappedArray(List<Integer> namespaceWrappedArray) {
this.namespaceWrappedArray = namespaceWrappedArray;
@ -463,7 +603,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setNamespaceWrappedArray(List<Integer> namespaceWrappedArray) {
this.namespaceWrappedArray = namespaceWrappedArray;
}/**
}
public XmlItem addNamespaceWrappedArrayItem(Integer namespaceWrappedArrayItem) {
if (this.namespaceWrappedArray == null) {
this.namespaceWrappedArray = new ArrayList<Integer>();
}
this.namespaceWrappedArray.add(namespaceWrappedArrayItem);
return this;
}
public XmlItem removeNamespaceWrappedArrayItem(Integer namespaceWrappedArrayItem) {
if (namespaceWrappedArrayItem != null && this.namespaceWrappedArray != null) {
this.namespaceWrappedArray.remove(namespaceWrappedArrayItem);
}
return this;
}
/**
**/
public XmlItem prefixNsString(String prefixNsString) {
this.prefixNsString = prefixNsString;
@ -481,7 +639,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixNsString(String prefixNsString) {
this.prefixNsString = prefixNsString;
}/**
}
/**
**/
public XmlItem prefixNsNumber(BigDecimal prefixNsNumber) {
this.prefixNsNumber = prefixNsNumber;
@ -499,7 +659,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixNsNumber(BigDecimal prefixNsNumber) {
this.prefixNsNumber = prefixNsNumber;
}/**
}
/**
**/
public XmlItem prefixNsInteger(Integer prefixNsInteger) {
this.prefixNsInteger = prefixNsInteger;
@ -517,7 +679,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixNsInteger(Integer prefixNsInteger) {
this.prefixNsInteger = prefixNsInteger;
}/**
}
/**
**/
public XmlItem prefixNsBoolean(Boolean prefixNsBoolean) {
this.prefixNsBoolean = prefixNsBoolean;
@ -535,7 +699,9 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixNsBoolean(Boolean prefixNsBoolean) {
this.prefixNsBoolean = prefixNsBoolean;
}/**
}
/**
**/
public XmlItem prefixNsArray(List<Integer> prefixNsArray) {
this.prefixNsArray = prefixNsArray;
@ -553,7 +719,25 @@ import com.fasterxml.jackson.annotation.JsonValue;
public void setPrefixNsArray(List<Integer> prefixNsArray) {
this.prefixNsArray = prefixNsArray;
}/**
}
public XmlItem addPrefixNsArrayItem(Integer prefixNsArrayItem) {
if (this.prefixNsArray == null) {
this.prefixNsArray = new ArrayList<Integer>();
}
this.prefixNsArray.add(prefixNsArrayItem);
return this;
}
public XmlItem removePrefixNsArrayItem(Integer prefixNsArrayItem) {
if (prefixNsArrayItem != null && this.prefixNsArray != null) {
this.prefixNsArray.remove(prefixNsArrayItem);
}
return this;
}
/**
**/
public XmlItem prefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
this.prefixNsWrappedArray = prefixNsWrappedArray;
@ -573,6 +757,23 @@ import com.fasterxml.jackson.annotation.JsonValue;
this.prefixNsWrappedArray = prefixNsWrappedArray;
}
public XmlItem addPrefixNsWrappedArrayItem(Integer prefixNsWrappedArrayItem) {
if (this.prefixNsWrappedArray == null) {
this.prefixNsWrappedArray = new ArrayList<Integer>();
}
this.prefixNsWrappedArray.add(prefixNsWrappedArrayItem);
return this;
}
public XmlItem removePrefixNsWrappedArrayItem(Integer prefixNsWrappedArrayItem) {
if (prefixNsWrappedArrayItem != null && this.prefixNsWrappedArray != null) {
this.prefixNsWrappedArray.remove(prefixNsWrappedArrayItem);
}
return this;
}
@Override
public boolean equals(Object o) {
if (this == o) {