mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-07 20:56:11 +00:00
[Java] add jackson annotations to setters (#9041)
* [Java] add jackson annotations to setters Closes #6856 * [Java] fix conflictiong setter with JsonNullable
This commit is contained in:
@@ -59,6 +59,8 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,8 @@ public class AdditionalPropertiesArray extends HashMap<String, List> {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,8 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@@ -109,6 +109,8 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMapString(Map<String, String> mapString) {
|
||||
this.mapString = mapString;
|
||||
}
|
||||
@@ -142,6 +144,8 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMapNumber(Map<String, BigDecimal> mapNumber) {
|
||||
this.mapNumber = mapNumber;
|
||||
}
|
||||
@@ -175,6 +179,8 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP_INTEGER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMapInteger(Map<String, Integer> mapInteger) {
|
||||
this.mapInteger = mapInteger;
|
||||
}
|
||||
@@ -208,6 +214,8 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP_BOOLEAN)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMapBoolean(Map<String, Boolean> mapBoolean) {
|
||||
this.mapBoolean = mapBoolean;
|
||||
}
|
||||
@@ -241,6 +249,8 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP_ARRAY_INTEGER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
|
||||
this.mapArrayInteger = mapArrayInteger;
|
||||
}
|
||||
@@ -274,6 +284,8 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
|
||||
this.mapArrayAnytype = mapArrayAnytype;
|
||||
}
|
||||
@@ -307,6 +319,8 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP_MAP_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMapMapString(Map<String, Map<String, String>> mapMapString) {
|
||||
this.mapMapString = mapMapString;
|
||||
}
|
||||
@@ -340,6 +354,8 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP_MAP_ANYTYPE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
|
||||
this.mapMapAnytype = mapMapAnytype;
|
||||
}
|
||||
@@ -365,6 +381,8 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ANYTYPE1)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setAnytype1(Object anytype1) {
|
||||
this.anytype1 = anytype1;
|
||||
}
|
||||
@@ -390,6 +408,8 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ANYTYPE2)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setAnytype2(Object anytype2) {
|
||||
this.anytype2 = anytype2;
|
||||
}
|
||||
@@ -415,6 +435,8 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ANYTYPE3)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setAnytype3(Object anytype3) {
|
||||
this.anytype3 = anytype3;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,8 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@@ -60,6 +60,8 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,8 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,8 @@ public class AdditionalPropertiesString extends HashMap<String, String> {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@@ -72,6 +72,8 @@ public class Animal {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setClassName(String className) {
|
||||
this.className = className;
|
||||
}
|
||||
@@ -97,6 +99,8 @@ public class Animal {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_COLOR)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setColor(String color) {
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
@@ -68,6 +68,8 @@ public class ArrayOfArrayOfNumberOnly {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setArrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
|
||||
this.arrayArrayNumber = arrayArrayNumber;
|
||||
}
|
||||
|
||||
@@ -68,6 +68,8 @@ public class ArrayOfNumberOnly {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setArrayNumber(List<BigDecimal> arrayNumber) {
|
||||
this.arrayNumber = arrayNumber;
|
||||
}
|
||||
|
||||
@@ -76,6 +76,8 @@ public class ArrayTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setArrayOfString(List<String> arrayOfString) {
|
||||
this.arrayOfString = arrayOfString;
|
||||
}
|
||||
@@ -109,6 +111,8 @@ public class ArrayTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setArrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
|
||||
this.arrayArrayOfInteger = arrayArrayOfInteger;
|
||||
}
|
||||
@@ -142,6 +146,8 @@ public class ArrayTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setArrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) {
|
||||
this.arrayArrayOfModel = arrayArrayOfModel;
|
||||
}
|
||||
|
||||
@@ -102,6 +102,8 @@ public class BigCat extends Cat {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_KIND)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setKind(KindEnum kind) {
|
||||
this.kind = kind;
|
||||
}
|
||||
|
||||
@@ -96,6 +96,8 @@ public class BigCatAllOf {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_KIND)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setKind(KindEnum kind) {
|
||||
this.kind = kind;
|
||||
}
|
||||
|
||||
@@ -77,6 +77,8 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_SMALL_CAMEL)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setSmallCamel(String smallCamel) {
|
||||
this.smallCamel = smallCamel;
|
||||
}
|
||||
@@ -102,6 +104,8 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setCapitalCamel(String capitalCamel) {
|
||||
this.capitalCamel = capitalCamel;
|
||||
}
|
||||
@@ -127,6 +131,8 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_SMALL_SNAKE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setSmallSnake(String smallSnake) {
|
||||
this.smallSnake = smallSnake;
|
||||
}
|
||||
@@ -152,6 +158,8 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setCapitalSnake(String capitalSnake) {
|
||||
this.capitalSnake = capitalSnake;
|
||||
}
|
||||
@@ -177,6 +185,8 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setScAETHFlowPoints(String scAETHFlowPoints) {
|
||||
this.scAETHFlowPoints = scAETHFlowPoints;
|
||||
}
|
||||
@@ -202,6 +212,8 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setATTNAME(String ATT_NAME) {
|
||||
this.ATT_NAME = ATT_NAME;
|
||||
}
|
||||
|
||||
@@ -67,6 +67,8 @@ public class Cat extends Animal {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DECLAWED)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDeclawed(Boolean declawed) {
|
||||
this.declawed = declawed;
|
||||
}
|
||||
|
||||
@@ -57,6 +57,8 @@ public class CatAllOf {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DECLAWED)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDeclawed(Boolean declawed) {
|
||||
this.declawed = declawed;
|
||||
}
|
||||
|
||||
@@ -61,6 +61,8 @@ public class Category {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
@@ -85,6 +87,8 @@ public class Category {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@@ -58,6 +58,8 @@ public class ClassModel {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPropertyClass(String propertyClass) {
|
||||
this.propertyClass = propertyClass;
|
||||
}
|
||||
|
||||
@@ -57,6 +57,8 @@ public class Client {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_CLIENT)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setClient(String client) {
|
||||
this.client = client;
|
||||
}
|
||||
|
||||
@@ -63,6 +63,8 @@ public class Dog extends Animal {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BREED)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setBreed(String breed) {
|
||||
this.breed = breed;
|
||||
}
|
||||
|
||||
@@ -57,6 +57,8 @@ public class DogAllOf {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BREED)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setBreed(String breed) {
|
||||
this.breed = breed;
|
||||
}
|
||||
|
||||
@@ -133,6 +133,8 @@ public class EnumArrays {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_JUST_SYMBOL)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setJustSymbol(JustSymbolEnum justSymbol) {
|
||||
this.justSymbol = justSymbol;
|
||||
}
|
||||
@@ -166,6 +168,8 @@ public class EnumArrays {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_ENUM)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setArrayEnum(List<ArrayEnumEnum> arrayEnum) {
|
||||
this.arrayEnum = arrayEnum;
|
||||
}
|
||||
|
||||
@@ -218,6 +218,8 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ENUM_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setEnumString(EnumStringEnum enumString) {
|
||||
this.enumString = enumString;
|
||||
}
|
||||
@@ -242,6 +244,8 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setEnumStringRequired(EnumStringRequiredEnum enumStringRequired) {
|
||||
this.enumStringRequired = enumStringRequired;
|
||||
}
|
||||
@@ -267,6 +271,8 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ENUM_INTEGER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setEnumInteger(EnumIntegerEnum enumInteger) {
|
||||
this.enumInteger = enumInteger;
|
||||
}
|
||||
@@ -292,6 +298,8 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ENUM_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setEnumNumber(EnumNumberEnum enumNumber) {
|
||||
this.enumNumber = enumNumber;
|
||||
}
|
||||
@@ -317,6 +325,8 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_OUTER_ENUM)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setOuterEnum(OuterEnum outerEnum) {
|
||||
this.outerEnum = outerEnum;
|
||||
}
|
||||
|
||||
@@ -63,6 +63,8 @@ public class FileSchemaTestClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_FILE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setFile(java.io.File file) {
|
||||
this.file = file;
|
||||
}
|
||||
@@ -96,6 +98,8 @@ public class FileSchemaTestClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_FILES)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setFiles(List<java.io.File> files) {
|
||||
this.files = files;
|
||||
}
|
||||
|
||||
@@ -116,6 +116,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_INTEGER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setInteger(Integer integer) {
|
||||
this.integer = integer;
|
||||
}
|
||||
@@ -143,6 +145,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_INT32)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setInt32(Integer int32) {
|
||||
this.int32 = int32;
|
||||
}
|
||||
@@ -168,6 +172,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_INT64)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setInt64(Long int64) {
|
||||
this.int64 = int64;
|
||||
}
|
||||
@@ -194,6 +200,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setNumber(BigDecimal number) {
|
||||
this.number = number;
|
||||
}
|
||||
@@ -221,6 +229,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_FLOAT)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setFloat(Float _float) {
|
||||
this._float = _float;
|
||||
}
|
||||
@@ -248,6 +258,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DOUBLE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDouble(Double _double) {
|
||||
this._double = _double;
|
||||
}
|
||||
@@ -273,6 +285,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setString(String string) {
|
||||
this.string = string;
|
||||
}
|
||||
@@ -297,6 +311,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BYTE)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setByte(byte[] _byte) {
|
||||
this._byte = _byte;
|
||||
}
|
||||
@@ -322,6 +338,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BINARY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setBinary(File binary) {
|
||||
this.binary = binary;
|
||||
}
|
||||
@@ -346,6 +364,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DATE)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setDate(LocalDate date) {
|
||||
this.date = date;
|
||||
}
|
||||
@@ -371,6 +391,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DATE_TIME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDateTime(OffsetDateTime dateTime) {
|
||||
this.dateTime = dateTime;
|
||||
}
|
||||
@@ -396,6 +418,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_UUID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setUuid(UUID uuid) {
|
||||
this.uuid = uuid;
|
||||
}
|
||||
@@ -420,6 +444,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PASSWORD)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
@@ -445,6 +471,8 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||
this.bigDecimal = bigDecimal;
|
||||
}
|
||||
|
||||
@@ -115,6 +115,8 @@ public class MapTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
|
||||
this.mapMapOfString = mapMapOfString;
|
||||
}
|
||||
@@ -148,6 +150,8 @@ public class MapTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
|
||||
this.mapOfEnumString = mapOfEnumString;
|
||||
}
|
||||
@@ -181,6 +185,8 @@ public class MapTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DIRECT_MAP)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDirectMap(Map<String, Boolean> directMap) {
|
||||
this.directMap = directMap;
|
||||
}
|
||||
@@ -214,6 +220,8 @@ public class MapTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_INDIRECT_MAP)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setIndirectMap(Map<String, Boolean> indirectMap) {
|
||||
this.indirectMap = indirectMap;
|
||||
}
|
||||
|
||||
@@ -71,6 +71,8 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_UUID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setUuid(UUID uuid) {
|
||||
this.uuid = uuid;
|
||||
}
|
||||
@@ -96,6 +98,8 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DATE_TIME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDateTime(OffsetDateTime dateTime) {
|
||||
this.dateTime = dateTime;
|
||||
}
|
||||
@@ -129,6 +133,8 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMap(Map<String, Animal> map) {
|
||||
this.map = map;
|
||||
}
|
||||
|
||||
@@ -62,6 +62,8 @@ public class Model200Response {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setName(Integer name) {
|
||||
this.name = name;
|
||||
}
|
||||
@@ -87,6 +89,8 @@ public class Model200Response {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPropertyClass(String propertyClass) {
|
||||
this.propertyClass = propertyClass;
|
||||
}
|
||||
|
||||
@@ -65,6 +65,8 @@ public class ModelApiResponse {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_CODE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setCode(Integer code) {
|
||||
this.code = code;
|
||||
}
|
||||
@@ -90,6 +92,8 @@ public class ModelApiResponse {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_TYPE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
@@ -115,6 +119,8 @@ public class ModelApiResponse {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MESSAGE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
@@ -58,6 +58,8 @@ public class ModelReturn {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_RETURN)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setReturn(Integer _return) {
|
||||
this._return = _return;
|
||||
}
|
||||
|
||||
@@ -69,6 +69,8 @@ public class Name {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setName(Integer name) {
|
||||
this.name = name;
|
||||
}
|
||||
@@ -110,6 +112,8 @@ public class Name {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PROPERTY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setProperty(String property) {
|
||||
this.property = property;
|
||||
}
|
||||
|
||||
@@ -58,6 +58,8 @@ public class NumberOnly {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_JUST_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setJustNumber(BigDecimal justNumber) {
|
||||
this.justNumber = justNumber;
|
||||
}
|
||||
|
||||
@@ -115,6 +115,8 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
@@ -140,6 +142,8 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PET_ID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPetId(Long petId) {
|
||||
this.petId = petId;
|
||||
}
|
||||
@@ -165,6 +169,8 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_QUANTITY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setQuantity(Integer quantity) {
|
||||
this.quantity = quantity;
|
||||
}
|
||||
@@ -190,6 +196,8 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_SHIP_DATE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setShipDate(OffsetDateTime shipDate) {
|
||||
this.shipDate = shipDate;
|
||||
}
|
||||
@@ -215,6 +223,8 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_STATUS)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setStatus(StatusEnum status) {
|
||||
this.status = status;
|
||||
}
|
||||
@@ -240,6 +250,8 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_COMPLETE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setComplete(Boolean complete) {
|
||||
this.complete = complete;
|
||||
}
|
||||
|
||||
@@ -66,6 +66,8 @@ public class OuterComposite {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MY_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMyNumber(BigDecimal myNumber) {
|
||||
this.myNumber = myNumber;
|
||||
}
|
||||
@@ -91,6 +93,8 @@ public class OuterComposite {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MY_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMyString(String myString) {
|
||||
this.myString = myString;
|
||||
}
|
||||
@@ -116,6 +120,8 @@ public class OuterComposite {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MY_BOOLEAN)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMyBoolean(Boolean myBoolean) {
|
||||
this.myBoolean = myBoolean;
|
||||
}
|
||||
|
||||
@@ -120,6 +120,8 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
@@ -145,6 +147,8 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_CATEGORY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setCategory(Category category) {
|
||||
this.category = category;
|
||||
}
|
||||
@@ -169,6 +173,8 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
@@ -198,6 +204,8 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PHOTO_URLS)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setPhotoUrls(Set<String> photoUrls) {
|
||||
this.photoUrls = photoUrls;
|
||||
}
|
||||
@@ -231,6 +239,8 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_TAGS)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setTags(List<Tag> tags) {
|
||||
this.tags = tags;
|
||||
}
|
||||
@@ -256,6 +266,8 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_STATUS)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setStatus(StatusEnum status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
@@ -77,6 +77,8 @@ public class ReadOnlyFirst {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BAZ)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setBaz(String baz) {
|
||||
this.baz = baz;
|
||||
}
|
||||
|
||||
@@ -57,6 +57,8 @@ public class SpecialModelName {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void set$SpecialPropertyName(Long $specialPropertyName) {
|
||||
this.$specialPropertyName = $specialPropertyName;
|
||||
}
|
||||
|
||||
@@ -61,6 +61,8 @@ public class Tag {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
@@ -86,6 +88,8 @@ public class Tag {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@@ -75,6 +75,8 @@ public class TypeHolderDefault {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_STRING_ITEM)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setStringItem(String stringItem) {
|
||||
this.stringItem = stringItem;
|
||||
}
|
||||
@@ -99,6 +101,8 @@ public class TypeHolderDefault {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NUMBER_ITEM)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setNumberItem(BigDecimal numberItem) {
|
||||
this.numberItem = numberItem;
|
||||
}
|
||||
@@ -123,6 +127,8 @@ public class TypeHolderDefault {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_INTEGER_ITEM)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setIntegerItem(Integer integerItem) {
|
||||
this.integerItem = integerItem;
|
||||
}
|
||||
@@ -147,6 +153,8 @@ public class TypeHolderDefault {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BOOL_ITEM)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setBoolItem(Boolean boolItem) {
|
||||
this.boolItem = boolItem;
|
||||
}
|
||||
@@ -176,6 +184,8 @@ public class TypeHolderDefault {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_ITEM)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setArrayItem(List<Integer> arrayItem) {
|
||||
this.arrayItem = arrayItem;
|
||||
}
|
||||
|
||||
@@ -79,6 +79,8 @@ public class TypeHolderExample {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_STRING_ITEM)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setStringItem(String stringItem) {
|
||||
this.stringItem = stringItem;
|
||||
}
|
||||
@@ -103,6 +105,8 @@ public class TypeHolderExample {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NUMBER_ITEM)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setNumberItem(BigDecimal numberItem) {
|
||||
this.numberItem = numberItem;
|
||||
}
|
||||
@@ -127,6 +131,8 @@ public class TypeHolderExample {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_FLOAT_ITEM)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setFloatItem(Float floatItem) {
|
||||
this.floatItem = floatItem;
|
||||
}
|
||||
@@ -151,6 +157,8 @@ public class TypeHolderExample {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_INTEGER_ITEM)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setIntegerItem(Integer integerItem) {
|
||||
this.integerItem = integerItem;
|
||||
}
|
||||
@@ -175,6 +183,8 @@ public class TypeHolderExample {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BOOL_ITEM)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setBoolItem(Boolean boolItem) {
|
||||
this.boolItem = boolItem;
|
||||
}
|
||||
@@ -204,6 +214,8 @@ public class TypeHolderExample {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_ITEM)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setArrayItem(List<Integer> arrayItem) {
|
||||
this.arrayItem = arrayItem;
|
||||
}
|
||||
|
||||
@@ -85,6 +85,8 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
@@ -110,6 +112,8 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_USERNAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
@@ -135,6 +139,8 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_FIRST_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setFirstName(String firstName) {
|
||||
this.firstName = firstName;
|
||||
}
|
||||
@@ -160,6 +166,8 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_LAST_NAME)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setLastName(String lastName) {
|
||||
this.lastName = lastName;
|
||||
}
|
||||
@@ -185,6 +193,8 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_EMAIL)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
@@ -210,6 +220,8 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PASSWORD)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
@@ -235,6 +247,8 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PHONE)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
@@ -260,6 +274,8 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_USER_STATUS)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setUserStatus(Integer userStatus) {
|
||||
this.userStatus = userStatus;
|
||||
}
|
||||
|
||||
@@ -172,6 +172,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setAttributeString(String attributeString) {
|
||||
this.attributeString = attributeString;
|
||||
}
|
||||
@@ -197,6 +199,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setAttributeNumber(BigDecimal attributeNumber) {
|
||||
this.attributeNumber = attributeNumber;
|
||||
}
|
||||
@@ -222,6 +226,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setAttributeInteger(Integer attributeInteger) {
|
||||
this.attributeInteger = attributeInteger;
|
||||
}
|
||||
@@ -247,6 +253,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setAttributeBoolean(Boolean attributeBoolean) {
|
||||
this.attributeBoolean = attributeBoolean;
|
||||
}
|
||||
@@ -280,6 +288,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setWrappedArray(List<Integer> wrappedArray) {
|
||||
this.wrappedArray = wrappedArray;
|
||||
}
|
||||
@@ -305,6 +315,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setNameString(String nameString) {
|
||||
this.nameString = nameString;
|
||||
}
|
||||
@@ -330,6 +342,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setNameNumber(BigDecimal nameNumber) {
|
||||
this.nameNumber = nameNumber;
|
||||
}
|
||||
@@ -355,6 +369,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME_INTEGER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setNameInteger(Integer nameInteger) {
|
||||
this.nameInteger = nameInteger;
|
||||
}
|
||||
@@ -380,6 +396,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME_BOOLEAN)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setNameBoolean(Boolean nameBoolean) {
|
||||
this.nameBoolean = nameBoolean;
|
||||
}
|
||||
@@ -413,6 +431,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME_ARRAY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setNameArray(List<Integer> nameArray) {
|
||||
this.nameArray = nameArray;
|
||||
}
|
||||
@@ -446,6 +466,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setNameWrappedArray(List<Integer> nameWrappedArray) {
|
||||
this.nameWrappedArray = nameWrappedArray;
|
||||
}
|
||||
@@ -471,6 +493,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PREFIX_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPrefixString(String prefixString) {
|
||||
this.prefixString = prefixString;
|
||||
}
|
||||
@@ -496,6 +520,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PREFIX_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPrefixNumber(BigDecimal prefixNumber) {
|
||||
this.prefixNumber = prefixNumber;
|
||||
}
|
||||
@@ -521,6 +547,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PREFIX_INTEGER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPrefixInteger(Integer prefixInteger) {
|
||||
this.prefixInteger = prefixInteger;
|
||||
}
|
||||
@@ -546,6 +574,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPrefixBoolean(Boolean prefixBoolean) {
|
||||
this.prefixBoolean = prefixBoolean;
|
||||
}
|
||||
@@ -579,6 +609,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PREFIX_ARRAY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPrefixArray(List<Integer> prefixArray) {
|
||||
this.prefixArray = prefixArray;
|
||||
}
|
||||
@@ -612,6 +644,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPrefixWrappedArray(List<Integer> prefixWrappedArray) {
|
||||
this.prefixWrappedArray = prefixWrappedArray;
|
||||
}
|
||||
@@ -637,6 +671,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAMESPACE_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setNamespaceString(String namespaceString) {
|
||||
this.namespaceString = namespaceString;
|
||||
}
|
||||
@@ -662,6 +698,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setNamespaceNumber(BigDecimal namespaceNumber) {
|
||||
this.namespaceNumber = namespaceNumber;
|
||||
}
|
||||
@@ -687,6 +725,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setNamespaceInteger(Integer namespaceInteger) {
|
||||
this.namespaceInteger = namespaceInteger;
|
||||
}
|
||||
@@ -712,6 +752,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setNamespaceBoolean(Boolean namespaceBoolean) {
|
||||
this.namespaceBoolean = namespaceBoolean;
|
||||
}
|
||||
@@ -745,6 +787,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setNamespaceArray(List<Integer> namespaceArray) {
|
||||
this.namespaceArray = namespaceArray;
|
||||
}
|
||||
@@ -778,6 +822,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setNamespaceWrappedArray(List<Integer> namespaceWrappedArray) {
|
||||
this.namespaceWrappedArray = namespaceWrappedArray;
|
||||
}
|
||||
@@ -803,6 +849,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPrefixNsString(String prefixNsString) {
|
||||
this.prefixNsString = prefixNsString;
|
||||
}
|
||||
@@ -828,6 +876,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPrefixNsNumber(BigDecimal prefixNsNumber) {
|
||||
this.prefixNsNumber = prefixNsNumber;
|
||||
}
|
||||
@@ -853,6 +903,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPrefixNsInteger(Integer prefixNsInteger) {
|
||||
this.prefixNsInteger = prefixNsInteger;
|
||||
}
|
||||
@@ -878,6 +930,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPrefixNsBoolean(Boolean prefixNsBoolean) {
|
||||
this.prefixNsBoolean = prefixNsBoolean;
|
||||
}
|
||||
@@ -911,6 +965,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPrefixNsArray(List<Integer> prefixNsArray) {
|
||||
this.prefixNsArray = prefixNsArray;
|
||||
}
|
||||
@@ -944,6 +1000,8 @@ public class XmlItem {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPrefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
|
||||
this.prefixNsWrappedArray = prefixNsWrappedArray;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user