[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:
Jakob
2021-03-30 05:17:15 +02:00
committed by GitHub
parent becb424455
commit 0af45b3823
804 changed files with 5397 additions and 3 deletions

View File

@@ -233,7 +233,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
{{/vendorExtensions.x-is-jackson-optional-nullable}} {{/vendorExtensions.x-is-jackson-optional-nullable}}
{{^isReadOnly}} {{^isReadOnly}}
public void {{setter}}({{{datatypeWithEnum}}} {{name}}) { {{#jackson}}{{^vendorExtensions.x-is-jackson-optional-nullable}}{{> jackson_annotations}}{{/vendorExtensions.x-is-jackson-optional-nullable}}{{/jackson}} public void {{setter}}({{{datatypeWithEnum}}} {{name}}) {
{{#vendorExtensions.x-enum-as-string}} {{#vendorExtensions.x-enum-as-string}}
if (!{{{nameInSnakeCase}}}_VALUES.contains({{name}})) { if (!{{{nameInSnakeCase}}}_VALUES.contains({{name}})) {
throw new IllegalArgumentException({{name}} + " is invalid. Possible values for {{name}}: " + String.join(", ", {{{nameInSnakeCase}}}_VALUES)); throw new IllegalArgumentException({{name}} + " is invalid. Possible values for {{name}}: " + String.join(", ", {{{nameInSnakeCase}}}_VALUES));

View File

@@ -236,7 +236,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
{{/vendorExtensions.x-is-jackson-optional-nullable}} {{/vendorExtensions.x-is-jackson-optional-nullable}}
{{^isReadOnly}} {{^isReadOnly}}
public void {{setter}}({{{datatypeWithEnum}}} {{name}}) { {{#jackson}}{{^vendorExtensions.x-is-jackson-optional-nullable}}{{> jackson_annotations}}{{/vendorExtensions.x-is-jackson-optional-nullable}}{{/jackson}} public void {{setter}}({{{datatypeWithEnum}}} {{name}}) {
{{#vendorExtensions.x-enum-as-string}} {{#vendorExtensions.x-enum-as-string}}
if (!{{{nameInSnakeCase}}}_VALUES.contains({{name}})) { if (!{{{nameInSnakeCase}}}_VALUES.contains({{name}})) {
throw new IllegalArgumentException({{name}} + " is invalid. Possible values for {{name}}: " + String.join(", ", {{{nameInSnakeCase}}}_VALUES)); throw new IllegalArgumentException({{name}} + " is invalid. Possible values for {{name}}: " + String.join(", ", {{{nameInSnakeCase}}}_VALUES));

View File

@@ -219,7 +219,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
{{/vendorExtensions.x-is-jackson-optional-nullable}} {{/vendorExtensions.x-is-jackson-optional-nullable}}
{{^isReadOnly}} {{^isReadOnly}}
public void {{setter}}({{{datatypeWithEnum}}} {{name}}) { {{#jackson}}{{^vendorExtensions.x-is-jackson-optional-nullable}}{{> jackson_annotations}}{{/vendorExtensions.x-is-jackson-optional-nullable}}{{/jackson}} public void {{setter}}({{{datatypeWithEnum}}} {{name}}) {
{{#vendorExtensions.x-is-jackson-optional-nullable}} {{#vendorExtensions.x-is-jackson-optional-nullable}}
this.{{name}} = JsonNullable.<{{{datatypeWithEnum}}}>of({{name}}); this.{{name}} = JsonNullable.<{{{datatypeWithEnum}}}>of({{name}});
{{/vendorExtensions.x-is-jackson-optional-nullable}} {{/vendorExtensions.x-is-jackson-optional-nullable}}

View File

@@ -60,6 +60,8 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -61,6 +61,8 @@ public class AdditionalPropertiesArray extends HashMap<String, List> {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -60,6 +60,8 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -110,6 +110,8 @@ public class AdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_MAP_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapString(Map<String, String> mapString) { public void setMapString(Map<String, String> mapString) {
this.mapString = mapString; this.mapString = mapString;
} }
@@ -143,6 +145,8 @@ public class AdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_MAP_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapNumber(Map<String, BigDecimal> mapNumber) { public void setMapNumber(Map<String, BigDecimal> mapNumber) {
this.mapNumber = mapNumber; this.mapNumber = mapNumber;
} }
@@ -176,6 +180,8 @@ public class AdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_MAP_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapInteger(Map<String, Integer> mapInteger) { public void setMapInteger(Map<String, Integer> mapInteger) {
this.mapInteger = mapInteger; this.mapInteger = mapInteger;
} }
@@ -209,6 +215,8 @@ public class AdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_MAP_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapBoolean(Map<String, Boolean> mapBoolean) { public void setMapBoolean(Map<String, Boolean> mapBoolean) {
this.mapBoolean = mapBoolean; this.mapBoolean = mapBoolean;
} }
@@ -242,6 +250,8 @@ public class AdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_MAP_ARRAY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapArrayInteger(Map<String, List<Integer>> mapArrayInteger) { public void setMapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
this.mapArrayInteger = mapArrayInteger; this.mapArrayInteger = mapArrayInteger;
} }
@@ -275,6 +285,8 @@ public class AdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) { public void setMapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
this.mapArrayAnytype = mapArrayAnytype; this.mapArrayAnytype = mapArrayAnytype;
} }
@@ -308,6 +320,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) { public void setMapMapString(Map<String, Map<String, String>> mapMapString) {
this.mapMapString = mapMapString; this.mapMapString = mapMapString;
} }
@@ -341,6 +355,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) { public void setMapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
this.mapMapAnytype = mapMapAnytype; this.mapMapAnytype = mapMapAnytype;
} }
@@ -366,6 +382,8 @@ public class AdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_ANYTYPE1)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAnytype1(Object anytype1) { public void setAnytype1(Object anytype1) {
this.anytype1 = anytype1; this.anytype1 = anytype1;
} }
@@ -391,6 +409,8 @@ public class AdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_ANYTYPE2)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAnytype2(Object anytype2) { public void setAnytype2(Object anytype2) {
this.anytype2 = anytype2; this.anytype2 = anytype2;
} }
@@ -416,6 +436,8 @@ public class AdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_ANYTYPE3)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAnytype3(Object anytype3) { public void setAnytype3(Object anytype3) {
this.anytype3 = anytype3; this.anytype3 = anytype3;
} }

View File

@@ -60,6 +60,8 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -61,6 +61,8 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -60,6 +60,8 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -60,6 +60,8 @@ public class AdditionalPropertiesString extends HashMap<String, String> {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -73,6 +73,8 @@ public class Animal {
} }
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setClassName(String className) { public void setClassName(String className) {
this.className = className; this.className = className;
} }
@@ -98,6 +100,8 @@ public class Animal {
} }
@JsonProperty(JSON_PROPERTY_COLOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setColor(String color) { public void setColor(String color) {
this.color = color; this.color = color;
} }

View File

@@ -69,6 +69,8 @@ public class ArrayOfArrayOfNumberOnly {
} }
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) { public void setArrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
this.arrayArrayNumber = arrayArrayNumber; this.arrayArrayNumber = arrayArrayNumber;
} }

View File

@@ -69,6 +69,8 @@ public class ArrayOfNumberOnly {
} }
@JsonProperty(JSON_PROPERTY_ARRAY_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayNumber(List<BigDecimal> arrayNumber) { public void setArrayNumber(List<BigDecimal> arrayNumber) {
this.arrayNumber = arrayNumber; this.arrayNumber = arrayNumber;
} }

View File

@@ -77,6 +77,8 @@ public class ArrayTest {
} }
@JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayOfString(List<String> arrayOfString) { public void setArrayOfString(List<String> arrayOfString) {
this.arrayOfString = arrayOfString; this.arrayOfString = arrayOfString;
} }
@@ -110,6 +112,8 @@ public class ArrayTest {
} }
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) { public void setArrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
this.arrayArrayOfInteger = arrayArrayOfInteger; this.arrayArrayOfInteger = arrayArrayOfInteger;
} }
@@ -143,6 +147,8 @@ public class ArrayTest {
} }
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) { public void setArrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) {
this.arrayArrayOfModel = arrayArrayOfModel; this.arrayArrayOfModel = arrayArrayOfModel;
} }

View File

@@ -103,6 +103,8 @@ public class BigCat extends Cat {
} }
@JsonProperty(JSON_PROPERTY_KIND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setKind(KindEnum kind) { public void setKind(KindEnum kind) {
this.kind = kind; this.kind = kind;
} }

View File

@@ -97,6 +97,8 @@ public class BigCatAllOf {
} }
@JsonProperty(JSON_PROPERTY_KIND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setKind(KindEnum kind) { public void setKind(KindEnum kind) {
this.kind = kind; this.kind = kind;
} }

View File

@@ -78,6 +78,8 @@ public class Capitalization {
} }
@JsonProperty(JSON_PROPERTY_SMALL_CAMEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSmallCamel(String smallCamel) { public void setSmallCamel(String smallCamel) {
this.smallCamel = smallCamel; this.smallCamel = smallCamel;
} }
@@ -103,6 +105,8 @@ public class Capitalization {
} }
@JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCapitalCamel(String capitalCamel) { public void setCapitalCamel(String capitalCamel) {
this.capitalCamel = capitalCamel; this.capitalCamel = capitalCamel;
} }
@@ -128,6 +132,8 @@ public class Capitalization {
} }
@JsonProperty(JSON_PROPERTY_SMALL_SNAKE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSmallSnake(String smallSnake) { public void setSmallSnake(String smallSnake) {
this.smallSnake = smallSnake; this.smallSnake = smallSnake;
} }
@@ -153,6 +159,8 @@ public class Capitalization {
} }
@JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCapitalSnake(String capitalSnake) { public void setCapitalSnake(String capitalSnake) {
this.capitalSnake = capitalSnake; this.capitalSnake = capitalSnake;
} }
@@ -178,6 +186,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) { public void setScAETHFlowPoints(String scAETHFlowPoints) {
this.scAETHFlowPoints = scAETHFlowPoints; this.scAETHFlowPoints = scAETHFlowPoints;
} }
@@ -203,6 +213,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) { public void setATTNAME(String ATT_NAME) {
this.ATT_NAME = ATT_NAME; this.ATT_NAME = ATT_NAME;
} }

View File

@@ -68,6 +68,8 @@ public class Cat extends Animal {
} }
@JsonProperty(JSON_PROPERTY_DECLAWED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeclawed(Boolean declawed) { public void setDeclawed(Boolean declawed) {
this.declawed = declawed; this.declawed = declawed;
} }

View File

@@ -58,6 +58,8 @@ public class CatAllOf {
} }
@JsonProperty(JSON_PROPERTY_DECLAWED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeclawed(Boolean declawed) { public void setDeclawed(Boolean declawed) {
this.declawed = declawed; this.declawed = declawed;
} }

View File

@@ -62,6 +62,8 @@ public class Category {
} }
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(Long id) { public void setId(Long id) {
this.id = id; this.id = id;
} }
@@ -86,6 +88,8 @@ public class Category {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -59,6 +59,8 @@ public class ClassModel {
} }
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPropertyClass(String propertyClass) { public void setPropertyClass(String propertyClass) {
this.propertyClass = propertyClass; this.propertyClass = propertyClass;
} }

View File

@@ -58,6 +58,8 @@ public class Client {
} }
@JsonProperty(JSON_PROPERTY_CLIENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setClient(String client) { public void setClient(String client) {
this.client = client; this.client = client;
} }

View File

@@ -64,6 +64,8 @@ public class Dog extends Animal {
} }
@JsonProperty(JSON_PROPERTY_BREED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBreed(String breed) { public void setBreed(String breed) {
this.breed = breed; this.breed = breed;
} }

View File

@@ -58,6 +58,8 @@ public class DogAllOf {
} }
@JsonProperty(JSON_PROPERTY_BREED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBreed(String breed) { public void setBreed(String breed) {
this.breed = breed; this.breed = breed;
} }

View File

@@ -134,6 +134,8 @@ public class EnumArrays {
} }
@JsonProperty(JSON_PROPERTY_JUST_SYMBOL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setJustSymbol(JustSymbolEnum justSymbol) { public void setJustSymbol(JustSymbolEnum justSymbol) {
this.justSymbol = justSymbol; this.justSymbol = justSymbol;
} }
@@ -167,6 +169,8 @@ public class EnumArrays {
} }
@JsonProperty(JSON_PROPERTY_ARRAY_ENUM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayEnum(List<ArrayEnumEnum> arrayEnum) { public void setArrayEnum(List<ArrayEnumEnum> arrayEnum) {
this.arrayEnum = arrayEnum; this.arrayEnum = arrayEnum;
} }

View File

@@ -219,6 +219,8 @@ public class EnumTest {
} }
@JsonProperty(JSON_PROPERTY_ENUM_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEnumString(EnumStringEnum enumString) { public void setEnumString(EnumStringEnum enumString) {
this.enumString = enumString; this.enumString = enumString;
} }
@@ -243,6 +245,8 @@ public class EnumTest {
} }
@JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEnumStringRequired(EnumStringRequiredEnum enumStringRequired) { public void setEnumStringRequired(EnumStringRequiredEnum enumStringRequired) {
this.enumStringRequired = enumStringRequired; this.enumStringRequired = enumStringRequired;
} }
@@ -268,6 +272,8 @@ public class EnumTest {
} }
@JsonProperty(JSON_PROPERTY_ENUM_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEnumInteger(EnumIntegerEnum enumInteger) { public void setEnumInteger(EnumIntegerEnum enumInteger) {
this.enumInteger = enumInteger; this.enumInteger = enumInteger;
} }
@@ -293,6 +299,8 @@ public class EnumTest {
} }
@JsonProperty(JSON_PROPERTY_ENUM_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEnumNumber(EnumNumberEnum enumNumber) { public void setEnumNumber(EnumNumberEnum enumNumber) {
this.enumNumber = enumNumber; this.enumNumber = enumNumber;
} }
@@ -318,6 +326,8 @@ public class EnumTest {
} }
@JsonProperty(JSON_PROPERTY_OUTER_ENUM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOuterEnum(OuterEnum outerEnum) { public void setOuterEnum(OuterEnum outerEnum) {
this.outerEnum = outerEnum; this.outerEnum = outerEnum;
} }

View File

@@ -64,6 +64,8 @@ public class FileSchemaTestClass {
} }
@JsonProperty(JSON_PROPERTY_FILE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFile(java.io.File file) { public void setFile(java.io.File file) {
this.file = file; this.file = file;
} }
@@ -97,6 +99,8 @@ public class FileSchemaTestClass {
} }
@JsonProperty(JSON_PROPERTY_FILES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFiles(List<java.io.File> files) { public void setFiles(List<java.io.File> files) {
this.files = files; this.files = files;
} }

View File

@@ -117,6 +117,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setInteger(Integer integer) { public void setInteger(Integer integer) {
this.integer = integer; this.integer = integer;
} }
@@ -144,6 +146,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_INT32)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setInt32(Integer int32) { public void setInt32(Integer int32) {
this.int32 = int32; this.int32 = int32;
} }
@@ -169,6 +173,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_INT64)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setInt64(Long int64) { public void setInt64(Long int64) {
this.int64 = int64; this.int64 = int64;
} }
@@ -195,6 +201,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_NUMBER)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setNumber(BigDecimal number) { public void setNumber(BigDecimal number) {
this.number = number; this.number = number;
} }
@@ -222,6 +230,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_FLOAT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFloat(Float _float) { public void setFloat(Float _float) {
this._float = _float; this._float = _float;
} }
@@ -249,6 +259,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_DOUBLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDouble(Double _double) { public void setDouble(Double _double) {
this._double = _double; this._double = _double;
} }
@@ -274,6 +286,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setString(String string) { public void setString(String string) {
this.string = string; this.string = string;
} }
@@ -298,6 +312,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_BYTE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setByte(byte[] _byte) { public void setByte(byte[] _byte) {
this._byte = _byte; this._byte = _byte;
} }
@@ -323,6 +339,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_BINARY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBinary(File binary) { public void setBinary(File binary) {
this.binary = binary; this.binary = binary;
} }
@@ -347,6 +365,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDate(LocalDate date) { public void setDate(LocalDate date) {
this.date = date; this.date = date;
} }
@@ -372,6 +392,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDateTime(OffsetDateTime dateTime) { public void setDateTime(OffsetDateTime dateTime) {
this.dateTime = dateTime; this.dateTime = dateTime;
} }
@@ -397,6 +419,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUuid(UUID uuid) { public void setUuid(UUID uuid) {
this.uuid = uuid; this.uuid = uuid;
} }
@@ -421,6 +445,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_PASSWORD)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setPassword(String password) { public void setPassword(String password) {
this.password = password; this.password = password;
} }
@@ -446,6 +472,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBigDecimal(BigDecimal bigDecimal) { public void setBigDecimal(BigDecimal bigDecimal) {
this.bigDecimal = bigDecimal; this.bigDecimal = bigDecimal;
} }

View File

@@ -116,6 +116,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) { public void setMapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
this.mapMapOfString = mapMapOfString; this.mapMapOfString = mapMapOfString;
} }
@@ -149,6 +151,8 @@ public class MapTest {
} }
@JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapOfEnumString(Map<String, InnerEnum> mapOfEnumString) { public void setMapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
this.mapOfEnumString = mapOfEnumString; this.mapOfEnumString = mapOfEnumString;
} }
@@ -182,6 +186,8 @@ public class MapTest {
} }
@JsonProperty(JSON_PROPERTY_DIRECT_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDirectMap(Map<String, Boolean> directMap) { public void setDirectMap(Map<String, Boolean> directMap) {
this.directMap = directMap; this.directMap = directMap;
} }
@@ -215,6 +221,8 @@ public class MapTest {
} }
@JsonProperty(JSON_PROPERTY_INDIRECT_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIndirectMap(Map<String, Boolean> indirectMap) { public void setIndirectMap(Map<String, Boolean> indirectMap) {
this.indirectMap = indirectMap; this.indirectMap = indirectMap;
} }

View File

@@ -72,6 +72,8 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUuid(UUID uuid) { public void setUuid(UUID uuid) {
this.uuid = uuid; this.uuid = uuid;
} }
@@ -97,6 +99,8 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDateTime(OffsetDateTime dateTime) { public void setDateTime(OffsetDateTime dateTime) {
this.dateTime = dateTime; this.dateTime = dateTime;
} }
@@ -130,6 +134,8 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMap(Map<String, Animal> map) { public void setMap(Map<String, Animal> map) {
this.map = map; this.map = map;
} }

View File

@@ -63,6 +63,8 @@ public class Model200Response {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(Integer name) { public void setName(Integer name) {
this.name = name; this.name = name;
} }
@@ -88,6 +90,8 @@ public class Model200Response {
} }
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPropertyClass(String propertyClass) { public void setPropertyClass(String propertyClass) {
this.propertyClass = propertyClass; this.propertyClass = propertyClass;
} }

View File

@@ -66,6 +66,8 @@ public class ModelApiResponse {
} }
@JsonProperty(JSON_PROPERTY_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCode(Integer code) { public void setCode(Integer code) {
this.code = code; this.code = code;
} }
@@ -91,6 +93,8 @@ public class ModelApiResponse {
} }
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setType(String type) { public void setType(String type) {
this.type = type; this.type = type;
} }
@@ -116,6 +120,8 @@ public class ModelApiResponse {
} }
@JsonProperty(JSON_PROPERTY_MESSAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMessage(String message) { public void setMessage(String message) {
this.message = message; this.message = message;
} }

View File

@@ -59,6 +59,8 @@ public class ModelReturn {
} }
@JsonProperty(JSON_PROPERTY_RETURN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReturn(Integer _return) { public void setReturn(Integer _return) {
this._return = _return; this._return = _return;
} }

View File

@@ -70,6 +70,8 @@ public class Name {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(Integer name) { public void setName(Integer name) {
this.name = name; this.name = name;
} }
@@ -111,6 +113,8 @@ public class Name {
} }
@JsonProperty(JSON_PROPERTY_PROPERTY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProperty(String property) { public void setProperty(String property) {
this.property = property; this.property = property;
} }

View File

@@ -59,6 +59,8 @@ public class NumberOnly {
} }
@JsonProperty(JSON_PROPERTY_JUST_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setJustNumber(BigDecimal justNumber) { public void setJustNumber(BigDecimal justNumber) {
this.justNumber = justNumber; this.justNumber = justNumber;
} }

View File

@@ -116,6 +116,8 @@ public class Order {
} }
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(Long id) { public void setId(Long id) {
this.id = id; this.id = id;
} }
@@ -141,6 +143,8 @@ public class Order {
} }
@JsonProperty(JSON_PROPERTY_PET_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPetId(Long petId) { public void setPetId(Long petId) {
this.petId = petId; this.petId = petId;
} }
@@ -166,6 +170,8 @@ public class Order {
} }
@JsonProperty(JSON_PROPERTY_QUANTITY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setQuantity(Integer quantity) { public void setQuantity(Integer quantity) {
this.quantity = quantity; this.quantity = quantity;
} }
@@ -191,6 +197,8 @@ public class Order {
} }
@JsonProperty(JSON_PROPERTY_SHIP_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setShipDate(OffsetDateTime shipDate) { public void setShipDate(OffsetDateTime shipDate) {
this.shipDate = shipDate; this.shipDate = shipDate;
} }
@@ -216,6 +224,8 @@ public class Order {
} }
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStatus(StatusEnum status) { public void setStatus(StatusEnum status) {
this.status = status; this.status = status;
} }
@@ -241,6 +251,8 @@ public class Order {
} }
@JsonProperty(JSON_PROPERTY_COMPLETE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setComplete(Boolean complete) { public void setComplete(Boolean complete) {
this.complete = complete; this.complete = complete;
} }

View File

@@ -67,6 +67,8 @@ public class OuterComposite {
} }
@JsonProperty(JSON_PROPERTY_MY_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMyNumber(BigDecimal myNumber) { public void setMyNumber(BigDecimal myNumber) {
this.myNumber = myNumber; this.myNumber = myNumber;
} }
@@ -92,6 +94,8 @@ public class OuterComposite {
} }
@JsonProperty(JSON_PROPERTY_MY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMyString(String myString) { public void setMyString(String myString) {
this.myString = myString; this.myString = myString;
} }
@@ -117,6 +121,8 @@ public class OuterComposite {
} }
@JsonProperty(JSON_PROPERTY_MY_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMyBoolean(Boolean myBoolean) { public void setMyBoolean(Boolean myBoolean) {
this.myBoolean = myBoolean; this.myBoolean = myBoolean;
} }

View File

@@ -121,6 +121,8 @@ public class Pet {
} }
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(Long id) { public void setId(Long id) {
this.id = id; this.id = id;
} }
@@ -146,6 +148,8 @@ public class Pet {
} }
@JsonProperty(JSON_PROPERTY_CATEGORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCategory(Category category) { public void setCategory(Category category) {
this.category = category; this.category = category;
} }
@@ -170,6 +174,8 @@ public class Pet {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }
@@ -199,6 +205,8 @@ public class Pet {
} }
@JsonProperty(JSON_PROPERTY_PHOTO_URLS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setPhotoUrls(Set<String> photoUrls) { public void setPhotoUrls(Set<String> photoUrls) {
this.photoUrls = photoUrls; this.photoUrls = photoUrls;
} }
@@ -232,6 +240,8 @@ public class Pet {
} }
@JsonProperty(JSON_PROPERTY_TAGS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTags(List<Tag> tags) { public void setTags(List<Tag> tags) {
this.tags = tags; this.tags = tags;
} }
@@ -257,6 +267,8 @@ public class Pet {
} }
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStatus(StatusEnum status) { public void setStatus(StatusEnum status) {
this.status = status; this.status = status;
} }

View File

@@ -78,6 +78,8 @@ public class ReadOnlyFirst {
} }
@JsonProperty(JSON_PROPERTY_BAZ)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBaz(String baz) { public void setBaz(String baz) {
this.baz = baz; this.baz = baz;
} }

View File

@@ -58,6 +58,8 @@ public class SpecialModelName {
} }
@JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void set$SpecialPropertyName(Long $specialPropertyName) { public void set$SpecialPropertyName(Long $specialPropertyName) {
this.$specialPropertyName = $specialPropertyName; this.$specialPropertyName = $specialPropertyName;
} }

View File

@@ -62,6 +62,8 @@ public class Tag {
} }
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(Long id) { public void setId(Long id) {
this.id = id; this.id = id;
} }
@@ -87,6 +89,8 @@ public class Tag {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -76,6 +76,8 @@ public class TypeHolderDefault {
} }
@JsonProperty(JSON_PROPERTY_STRING_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setStringItem(String stringItem) { public void setStringItem(String stringItem) {
this.stringItem = stringItem; this.stringItem = stringItem;
} }
@@ -100,6 +102,8 @@ public class TypeHolderDefault {
} }
@JsonProperty(JSON_PROPERTY_NUMBER_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setNumberItem(BigDecimal numberItem) { public void setNumberItem(BigDecimal numberItem) {
this.numberItem = numberItem; this.numberItem = numberItem;
} }
@@ -124,6 +128,8 @@ public class TypeHolderDefault {
} }
@JsonProperty(JSON_PROPERTY_INTEGER_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIntegerItem(Integer integerItem) { public void setIntegerItem(Integer integerItem) {
this.integerItem = integerItem; this.integerItem = integerItem;
} }
@@ -148,6 +154,8 @@ public class TypeHolderDefault {
} }
@JsonProperty(JSON_PROPERTY_BOOL_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setBoolItem(Boolean boolItem) { public void setBoolItem(Boolean boolItem) {
this.boolItem = boolItem; this.boolItem = boolItem;
} }
@@ -177,6 +185,8 @@ public class TypeHolderDefault {
} }
@JsonProperty(JSON_PROPERTY_ARRAY_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setArrayItem(List<Integer> arrayItem) { public void setArrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem; this.arrayItem = arrayItem;
} }

View File

@@ -80,6 +80,8 @@ public class TypeHolderExample {
} }
@JsonProperty(JSON_PROPERTY_STRING_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setStringItem(String stringItem) { public void setStringItem(String stringItem) {
this.stringItem = stringItem; this.stringItem = stringItem;
} }
@@ -104,6 +106,8 @@ public class TypeHolderExample {
} }
@JsonProperty(JSON_PROPERTY_NUMBER_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setNumberItem(BigDecimal numberItem) { public void setNumberItem(BigDecimal numberItem) {
this.numberItem = numberItem; this.numberItem = numberItem;
} }
@@ -128,6 +132,8 @@ public class TypeHolderExample {
} }
@JsonProperty(JSON_PROPERTY_FLOAT_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFloatItem(Float floatItem) { public void setFloatItem(Float floatItem) {
this.floatItem = floatItem; this.floatItem = floatItem;
} }
@@ -152,6 +158,8 @@ public class TypeHolderExample {
} }
@JsonProperty(JSON_PROPERTY_INTEGER_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setIntegerItem(Integer integerItem) { public void setIntegerItem(Integer integerItem) {
this.integerItem = integerItem; this.integerItem = integerItem;
} }
@@ -176,6 +184,8 @@ public class TypeHolderExample {
} }
@JsonProperty(JSON_PROPERTY_BOOL_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setBoolItem(Boolean boolItem) { public void setBoolItem(Boolean boolItem) {
this.boolItem = boolItem; this.boolItem = boolItem;
} }
@@ -205,6 +215,8 @@ public class TypeHolderExample {
} }
@JsonProperty(JSON_PROPERTY_ARRAY_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setArrayItem(List<Integer> arrayItem) { public void setArrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem; this.arrayItem = arrayItem;
} }

View File

@@ -86,6 +86,8 @@ public class User {
} }
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(Long id) { public void setId(Long id) {
this.id = id; this.id = id;
} }
@@ -111,6 +113,8 @@ public class User {
} }
@JsonProperty(JSON_PROPERTY_USERNAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUsername(String username) { public void setUsername(String username) {
this.username = username; this.username = username;
} }
@@ -136,6 +140,8 @@ public class User {
} }
@JsonProperty(JSON_PROPERTY_FIRST_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFirstName(String firstName) { public void setFirstName(String firstName) {
this.firstName = firstName; this.firstName = firstName;
} }
@@ -161,6 +167,8 @@ public class User {
} }
@JsonProperty(JSON_PROPERTY_LAST_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLastName(String lastName) { public void setLastName(String lastName) {
this.lastName = lastName; this.lastName = lastName;
} }
@@ -186,6 +194,8 @@ public class User {
} }
@JsonProperty(JSON_PROPERTY_EMAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEmail(String email) { public void setEmail(String email) {
this.email = email; this.email = email;
} }
@@ -211,6 +221,8 @@ public class User {
} }
@JsonProperty(JSON_PROPERTY_PASSWORD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPassword(String password) { public void setPassword(String password) {
this.password = password; this.password = password;
} }
@@ -236,6 +248,8 @@ public class User {
} }
@JsonProperty(JSON_PROPERTY_PHONE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPhone(String phone) { public void setPhone(String phone) {
this.phone = phone; this.phone = phone;
} }
@@ -261,6 +275,8 @@ public class User {
} }
@JsonProperty(JSON_PROPERTY_USER_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUserStatus(Integer userStatus) { public void setUserStatus(Integer userStatus) {
this.userStatus = userStatus; this.userStatus = userStatus;
} }

View File

@@ -173,6 +173,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAttributeString(String attributeString) { public void setAttributeString(String attributeString) {
this.attributeString = attributeString; this.attributeString = attributeString;
} }
@@ -198,6 +200,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAttributeNumber(BigDecimal attributeNumber) { public void setAttributeNumber(BigDecimal attributeNumber) {
this.attributeNumber = attributeNumber; this.attributeNumber = attributeNumber;
} }
@@ -223,6 +227,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAttributeInteger(Integer attributeInteger) { public void setAttributeInteger(Integer attributeInteger) {
this.attributeInteger = attributeInteger; this.attributeInteger = attributeInteger;
} }
@@ -248,6 +254,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAttributeBoolean(Boolean attributeBoolean) { public void setAttributeBoolean(Boolean attributeBoolean) {
this.attributeBoolean = attributeBoolean; this.attributeBoolean = attributeBoolean;
} }
@@ -281,6 +289,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWrappedArray(List<Integer> wrappedArray) { public void setWrappedArray(List<Integer> wrappedArray) {
this.wrappedArray = wrappedArray; this.wrappedArray = wrappedArray;
} }
@@ -306,6 +316,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_NAME_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNameString(String nameString) { public void setNameString(String nameString) {
this.nameString = nameString; this.nameString = nameString;
} }
@@ -331,6 +343,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_NAME_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNameNumber(BigDecimal nameNumber) { public void setNameNumber(BigDecimal nameNumber) {
this.nameNumber = nameNumber; this.nameNumber = nameNumber;
} }
@@ -356,6 +370,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_NAME_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNameInteger(Integer nameInteger) { public void setNameInteger(Integer nameInteger) {
this.nameInteger = nameInteger; this.nameInteger = nameInteger;
} }
@@ -381,6 +397,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_NAME_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNameBoolean(Boolean nameBoolean) { public void setNameBoolean(Boolean nameBoolean) {
this.nameBoolean = nameBoolean; this.nameBoolean = nameBoolean;
} }
@@ -414,6 +432,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_NAME_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNameArray(List<Integer> nameArray) { public void setNameArray(List<Integer> nameArray) {
this.nameArray = nameArray; this.nameArray = nameArray;
} }
@@ -447,6 +467,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNameWrappedArray(List<Integer> nameWrappedArray) { public void setNameWrappedArray(List<Integer> nameWrappedArray) {
this.nameWrappedArray = nameWrappedArray; this.nameWrappedArray = nameWrappedArray;
} }
@@ -472,6 +494,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_PREFIX_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixString(String prefixString) { public void setPrefixString(String prefixString) {
this.prefixString = prefixString; this.prefixString = prefixString;
} }
@@ -497,6 +521,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_PREFIX_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixNumber(BigDecimal prefixNumber) { public void setPrefixNumber(BigDecimal prefixNumber) {
this.prefixNumber = prefixNumber; this.prefixNumber = prefixNumber;
} }
@@ -522,6 +548,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_PREFIX_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixInteger(Integer prefixInteger) { public void setPrefixInteger(Integer prefixInteger) {
this.prefixInteger = prefixInteger; this.prefixInteger = prefixInteger;
} }
@@ -547,6 +575,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixBoolean(Boolean prefixBoolean) { public void setPrefixBoolean(Boolean prefixBoolean) {
this.prefixBoolean = prefixBoolean; this.prefixBoolean = prefixBoolean;
} }
@@ -580,6 +610,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_PREFIX_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixArray(List<Integer> prefixArray) { public void setPrefixArray(List<Integer> prefixArray) {
this.prefixArray = prefixArray; this.prefixArray = prefixArray;
} }
@@ -613,6 +645,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixWrappedArray(List<Integer> prefixWrappedArray) { public void setPrefixWrappedArray(List<Integer> prefixWrappedArray) {
this.prefixWrappedArray = prefixWrappedArray; this.prefixWrappedArray = prefixWrappedArray;
} }
@@ -638,6 +672,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_NAMESPACE_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNamespaceString(String namespaceString) { public void setNamespaceString(String namespaceString) {
this.namespaceString = namespaceString; this.namespaceString = namespaceString;
} }
@@ -663,6 +699,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNamespaceNumber(BigDecimal namespaceNumber) { public void setNamespaceNumber(BigDecimal namespaceNumber) {
this.namespaceNumber = namespaceNumber; this.namespaceNumber = namespaceNumber;
} }
@@ -688,6 +726,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNamespaceInteger(Integer namespaceInteger) { public void setNamespaceInteger(Integer namespaceInteger) {
this.namespaceInteger = namespaceInteger; this.namespaceInteger = namespaceInteger;
} }
@@ -713,6 +753,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNamespaceBoolean(Boolean namespaceBoolean) { public void setNamespaceBoolean(Boolean namespaceBoolean) {
this.namespaceBoolean = namespaceBoolean; this.namespaceBoolean = namespaceBoolean;
} }
@@ -746,6 +788,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNamespaceArray(List<Integer> namespaceArray) { public void setNamespaceArray(List<Integer> namespaceArray) {
this.namespaceArray = namespaceArray; this.namespaceArray = namespaceArray;
} }
@@ -779,6 +823,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNamespaceWrappedArray(List<Integer> namespaceWrappedArray) { public void setNamespaceWrappedArray(List<Integer> namespaceWrappedArray) {
this.namespaceWrappedArray = namespaceWrappedArray; this.namespaceWrappedArray = namespaceWrappedArray;
} }
@@ -804,6 +850,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixNsString(String prefixNsString) { public void setPrefixNsString(String prefixNsString) {
this.prefixNsString = prefixNsString; this.prefixNsString = prefixNsString;
} }
@@ -829,6 +877,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixNsNumber(BigDecimal prefixNsNumber) { public void setPrefixNsNumber(BigDecimal prefixNsNumber) {
this.prefixNsNumber = prefixNsNumber; this.prefixNsNumber = prefixNsNumber;
} }
@@ -854,6 +904,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixNsInteger(Integer prefixNsInteger) { public void setPrefixNsInteger(Integer prefixNsInteger) {
this.prefixNsInteger = prefixNsInteger; this.prefixNsInteger = prefixNsInteger;
} }
@@ -879,6 +931,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixNsBoolean(Boolean prefixNsBoolean) { public void setPrefixNsBoolean(Boolean prefixNsBoolean) {
this.prefixNsBoolean = prefixNsBoolean; this.prefixNsBoolean = prefixNsBoolean;
} }
@@ -912,6 +966,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixNsArray(List<Integer> prefixNsArray) { public void setPrefixNsArray(List<Integer> prefixNsArray) {
this.prefixNsArray = prefixNsArray; this.prefixNsArray = prefixNsArray;
} }
@@ -945,6 +1001,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPrefixNsWrappedArray(List<Integer> prefixNsWrappedArray) { public void setPrefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
this.prefixNsWrappedArray = prefixNsWrappedArray; this.prefixNsWrappedArray = prefixNsWrappedArray;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -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) { public void setMapString(Map<String, String> mapString) {
this.mapString = 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) { public void setMapNumber(Map<String, BigDecimal> mapNumber) {
this.mapNumber = 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) { public void setMapInteger(Map<String, Integer> mapInteger) {
this.mapInteger = 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) { public void setMapBoolean(Map<String, Boolean> mapBoolean) {
this.mapBoolean = 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) { public void setMapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
this.mapArrayInteger = 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) { public void setMapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
this.mapArrayAnytype = 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) { public void setMapMapString(Map<String, Map<String, String>> mapMapString) {
this.mapMapString = 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) { public void setMapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
this.mapMapAnytype = 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) { public void setAnytype1(Object anytype1) {
this.anytype1 = 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) { public void setAnytype2(Object anytype2) {
this.anytype2 = 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) { public void setAnytype3(Object anytype3) {
this.anytype3 = anytype3; this.anytype3 = anytype3;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -72,6 +72,8 @@ public class Animal {
} }
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setClassName(String className) { public void setClassName(String className) {
this.className = 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) { public void setColor(String color) {
this.color = color; this.color = color;
} }

View File

@@ -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) { public void setArrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
this.arrayArrayNumber = arrayArrayNumber; this.arrayArrayNumber = arrayArrayNumber;
} }

View File

@@ -68,6 +68,8 @@ public class ArrayOfNumberOnly {
} }
@JsonProperty(JSON_PROPERTY_ARRAY_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayNumber(List<BigDecimal> arrayNumber) { public void setArrayNumber(List<BigDecimal> arrayNumber) {
this.arrayNumber = arrayNumber; this.arrayNumber = arrayNumber;
} }

View File

@@ -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) { public void setArrayOfString(List<String> arrayOfString) {
this.arrayOfString = 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) { public void setArrayArrayOfInteger(List<List<Long>> arrayArrayOfInteger) {
this.arrayArrayOfInteger = 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) { public void setArrayArrayOfModel(List<List<ReadOnlyFirst>> arrayArrayOfModel) {
this.arrayArrayOfModel = arrayArrayOfModel; this.arrayArrayOfModel = arrayArrayOfModel;
} }

View File

@@ -102,6 +102,8 @@ public class BigCat extends Cat {
} }
@JsonProperty(JSON_PROPERTY_KIND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setKind(KindEnum kind) { public void setKind(KindEnum kind) {
this.kind = kind; this.kind = kind;
} }

View File

@@ -96,6 +96,8 @@ public class BigCatAllOf {
} }
@JsonProperty(JSON_PROPERTY_KIND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setKind(KindEnum kind) { public void setKind(KindEnum kind) {
this.kind = kind; this.kind = kind;
} }

View File

@@ -77,6 +77,8 @@ public class Capitalization {
} }
@JsonProperty(JSON_PROPERTY_SMALL_CAMEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSmallCamel(String smallCamel) { public void setSmallCamel(String smallCamel) {
this.smallCamel = 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) { public void setCapitalCamel(String capitalCamel) {
this.capitalCamel = 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) { public void setSmallSnake(String smallSnake) {
this.smallSnake = 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) { public void setCapitalSnake(String capitalSnake) {
this.capitalSnake = 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) { public void setScAETHFlowPoints(String scAETHFlowPoints) {
this.scAETHFlowPoints = 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) { public void setATTNAME(String ATT_NAME) {
this.ATT_NAME = ATT_NAME; this.ATT_NAME = ATT_NAME;
} }

View File

@@ -67,6 +67,8 @@ public class Cat extends Animal {
} }
@JsonProperty(JSON_PROPERTY_DECLAWED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeclawed(Boolean declawed) { public void setDeclawed(Boolean declawed) {
this.declawed = declawed; this.declawed = declawed;
} }

View File

@@ -57,6 +57,8 @@ public class CatAllOf {
} }
@JsonProperty(JSON_PROPERTY_DECLAWED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeclawed(Boolean declawed) { public void setDeclawed(Boolean declawed) {
this.declawed = declawed; this.declawed = declawed;
} }

View File

@@ -61,6 +61,8 @@ public class Category {
} }
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(Long id) { public void setId(Long id) {
this.id = 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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -58,6 +58,8 @@ public class ClassModel {
} }
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPropertyClass(String propertyClass) { public void setPropertyClass(String propertyClass) {
this.propertyClass = propertyClass; this.propertyClass = propertyClass;
} }

View File

@@ -57,6 +57,8 @@ public class Client {
} }
@JsonProperty(JSON_PROPERTY_CLIENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setClient(String client) { public void setClient(String client) {
this.client = client; this.client = client;
} }

View File

@@ -63,6 +63,8 @@ public class Dog extends Animal {
} }
@JsonProperty(JSON_PROPERTY_BREED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBreed(String breed) { public void setBreed(String breed) {
this.breed = breed; this.breed = breed;
} }

View File

@@ -57,6 +57,8 @@ public class DogAllOf {
} }
@JsonProperty(JSON_PROPERTY_BREED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBreed(String breed) { public void setBreed(String breed) {
this.breed = breed; this.breed = breed;
} }

View File

@@ -133,6 +133,8 @@ public class EnumArrays {
} }
@JsonProperty(JSON_PROPERTY_JUST_SYMBOL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setJustSymbol(JustSymbolEnum justSymbol) { public void setJustSymbol(JustSymbolEnum justSymbol) {
this.justSymbol = 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) { public void setArrayEnum(List<ArrayEnumEnum> arrayEnum) {
this.arrayEnum = arrayEnum; this.arrayEnum = arrayEnum;
} }

View File

@@ -218,6 +218,8 @@ public class EnumTest {
} }
@JsonProperty(JSON_PROPERTY_ENUM_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEnumString(EnumStringEnum enumString) { public void setEnumString(EnumStringEnum enumString) {
this.enumString = 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) { public void setEnumStringRequired(EnumStringRequiredEnum enumStringRequired) {
this.enumStringRequired = 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) { public void setEnumInteger(EnumIntegerEnum enumInteger) {
this.enumInteger = 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) { public void setEnumNumber(EnumNumberEnum enumNumber) {
this.enumNumber = 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) { public void setOuterEnum(OuterEnum outerEnum) {
this.outerEnum = outerEnum; this.outerEnum = outerEnum;
} }

View File

@@ -63,6 +63,8 @@ public class FileSchemaTestClass {
} }
@JsonProperty(JSON_PROPERTY_FILE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFile(java.io.File file) { public void setFile(java.io.File file) {
this.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) { public void setFiles(List<java.io.File> files) {
this.files = files; this.files = files;
} }

View File

@@ -116,6 +116,8 @@ public class FormatTest {
} }
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setInteger(Integer integer) { public void setInteger(Integer integer) {
this.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) { public void setInt32(Integer int32) {
this.int32 = 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) { public void setInt64(Long int64) {
this.int64 = 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) { public void setNumber(BigDecimal number) {
this.number = 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) { public void setFloat(Float _float) {
this._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) { public void setDouble(Double _double) {
this._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) { public void setString(String string) {
this.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) { public void setByte(byte[] _byte) {
this._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) { public void setBinary(File binary) {
this.binary = 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) { public void setDate(LocalDate date) {
this.date = 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) { public void setDateTime(OffsetDateTime dateTime) {
this.dateTime = 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) { public void setUuid(UUID uuid) {
this.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) { public void setPassword(String password) {
this.password = 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) { public void setBigDecimal(BigDecimal bigDecimal) {
this.bigDecimal = bigDecimal; this.bigDecimal = bigDecimal;
} }

View File

@@ -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) { public void setMapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
this.mapMapOfString = 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) { public void setMapOfEnumString(Map<String, InnerEnum> mapOfEnumString) {
this.mapOfEnumString = 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) { public void setDirectMap(Map<String, Boolean> directMap) {
this.directMap = 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) { public void setIndirectMap(Map<String, Boolean> indirectMap) {
this.indirectMap = indirectMap; this.indirectMap = indirectMap;
} }

View File

@@ -71,6 +71,8 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
} }
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUuid(UUID uuid) { public void setUuid(UUID uuid) {
this.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) { public void setDateTime(OffsetDateTime dateTime) {
this.dateTime = 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) { public void setMap(Map<String, Animal> map) {
this.map = map; this.map = map;
} }

View File

@@ -62,6 +62,8 @@ public class Model200Response {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(Integer name) { public void setName(Integer name) {
this.name = 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) { public void setPropertyClass(String propertyClass) {
this.propertyClass = propertyClass; this.propertyClass = propertyClass;
} }

View File

@@ -65,6 +65,8 @@ public class ModelApiResponse {
} }
@JsonProperty(JSON_PROPERTY_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCode(Integer code) { public void setCode(Integer code) {
this.code = 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) { public void setType(String type) {
this.type = 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) { public void setMessage(String message) {
this.message = message; this.message = message;
} }

View File

@@ -58,6 +58,8 @@ public class ModelReturn {
} }
@JsonProperty(JSON_PROPERTY_RETURN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReturn(Integer _return) { public void setReturn(Integer _return) {
this._return = _return; this._return = _return;
} }

View File

@@ -69,6 +69,8 @@ public class Name {
} }
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(Integer name) { public void setName(Integer name) {
this.name = 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) { public void setProperty(String property) {
this.property = property; this.property = property;
} }

View File

@@ -58,6 +58,8 @@ public class NumberOnly {
} }
@JsonProperty(JSON_PROPERTY_JUST_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setJustNumber(BigDecimal justNumber) { public void setJustNumber(BigDecimal justNumber) {
this.justNumber = justNumber; this.justNumber = justNumber;
} }

View File

@@ -115,6 +115,8 @@ public class Order {
} }
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(Long id) { public void setId(Long id) {
this.id = 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) { public void setPetId(Long petId) {
this.petId = 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) { public void setQuantity(Integer quantity) {
this.quantity = 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) { public void setShipDate(OffsetDateTime shipDate) {
this.shipDate = 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) { public void setStatus(StatusEnum status) {
this.status = 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) { public void setComplete(Boolean complete) {
this.complete = complete; this.complete = complete;
} }

View File

@@ -66,6 +66,8 @@ public class OuterComposite {
} }
@JsonProperty(JSON_PROPERTY_MY_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMyNumber(BigDecimal myNumber) { public void setMyNumber(BigDecimal myNumber) {
this.myNumber = 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) { public void setMyString(String myString) {
this.myString = 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) { public void setMyBoolean(Boolean myBoolean) {
this.myBoolean = myBoolean; this.myBoolean = myBoolean;
} }

View File

@@ -120,6 +120,8 @@ public class Pet {
} }
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(Long id) { public void setId(Long id) {
this.id = 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) { public void setCategory(Category category) {
this.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) { public void setName(String name) {
this.name = 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) { public void setPhotoUrls(Set<String> photoUrls) {
this.photoUrls = 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) { public void setTags(List<Tag> tags) {
this.tags = 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) { public void setStatus(StatusEnum status) {
this.status = status; this.status = status;
} }

View File

@@ -77,6 +77,8 @@ public class ReadOnlyFirst {
} }
@JsonProperty(JSON_PROPERTY_BAZ)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBaz(String baz) { public void setBaz(String baz) {
this.baz = baz; this.baz = baz;
} }

View File

@@ -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) { public void set$SpecialPropertyName(Long $specialPropertyName) {
this.$specialPropertyName = $specialPropertyName; this.$specialPropertyName = $specialPropertyName;
} }

View File

@@ -61,6 +61,8 @@ public class Tag {
} }
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(Long id) { public void setId(Long id) {
this.id = 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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -75,6 +75,8 @@ public class TypeHolderDefault {
} }
@JsonProperty(JSON_PROPERTY_STRING_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setStringItem(String stringItem) { public void setStringItem(String stringItem) {
this.stringItem = 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) { public void setNumberItem(BigDecimal numberItem) {
this.numberItem = 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) { public void setIntegerItem(Integer integerItem) {
this.integerItem = 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) { public void setBoolItem(Boolean boolItem) {
this.boolItem = 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) { public void setArrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem; this.arrayItem = arrayItem;
} }

View File

@@ -79,6 +79,8 @@ public class TypeHolderExample {
} }
@JsonProperty(JSON_PROPERTY_STRING_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setStringItem(String stringItem) { public void setStringItem(String stringItem) {
this.stringItem = 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) { public void setNumberItem(BigDecimal numberItem) {
this.numberItem = 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) { public void setFloatItem(Float floatItem) {
this.floatItem = 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) { public void setIntegerItem(Integer integerItem) {
this.integerItem = 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) { public void setBoolItem(Boolean boolItem) {
this.boolItem = 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) { public void setArrayItem(List<Integer> arrayItem) {
this.arrayItem = arrayItem; this.arrayItem = arrayItem;
} }

View File

@@ -85,6 +85,8 @@ public class User {
} }
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(Long id) { public void setId(Long id) {
this.id = 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) { public void setUsername(String username) {
this.username = 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) { public void setFirstName(String firstName) {
this.firstName = 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) { public void setLastName(String lastName) {
this.lastName = 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) { public void setEmail(String email) {
this.email = 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) { public void setPassword(String password) {
this.password = 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) { public void setPhone(String phone) {
this.phone = 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) { public void setUserStatus(Integer userStatus) {
this.userStatus = userStatus; this.userStatus = userStatus;
} }

View File

@@ -172,6 +172,8 @@ public class XmlItem {
} }
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAttributeString(String attributeString) { public void setAttributeString(String attributeString) {
this.attributeString = 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) { public void setAttributeNumber(BigDecimal attributeNumber) {
this.attributeNumber = 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) { public void setAttributeInteger(Integer attributeInteger) {
this.attributeInteger = 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) { public void setAttributeBoolean(Boolean attributeBoolean) {
this.attributeBoolean = 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) { public void setWrappedArray(List<Integer> wrappedArray) {
this.wrappedArray = 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) { public void setNameString(String nameString) {
this.nameString = 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) { public void setNameNumber(BigDecimal nameNumber) {
this.nameNumber = 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) { public void setNameInteger(Integer nameInteger) {
this.nameInteger = 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) { public void setNameBoolean(Boolean nameBoolean) {
this.nameBoolean = 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) { public void setNameArray(List<Integer> nameArray) {
this.nameArray = 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) { public void setNameWrappedArray(List<Integer> nameWrappedArray) {
this.nameWrappedArray = 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) { public void setPrefixString(String prefixString) {
this.prefixString = 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) { public void setPrefixNumber(BigDecimal prefixNumber) {
this.prefixNumber = 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) { public void setPrefixInteger(Integer prefixInteger) {
this.prefixInteger = 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) { public void setPrefixBoolean(Boolean prefixBoolean) {
this.prefixBoolean = 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) { public void setPrefixArray(List<Integer> prefixArray) {
this.prefixArray = 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) { public void setPrefixWrappedArray(List<Integer> prefixWrappedArray) {
this.prefixWrappedArray = 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) { public void setNamespaceString(String namespaceString) {
this.namespaceString = 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) { public void setNamespaceNumber(BigDecimal namespaceNumber) {
this.namespaceNumber = 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) { public void setNamespaceInteger(Integer namespaceInteger) {
this.namespaceInteger = 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) { public void setNamespaceBoolean(Boolean namespaceBoolean) {
this.namespaceBoolean = 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) { public void setNamespaceArray(List<Integer> namespaceArray) {
this.namespaceArray = 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) { public void setNamespaceWrappedArray(List<Integer> namespaceWrappedArray) {
this.namespaceWrappedArray = 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) { public void setPrefixNsString(String prefixNsString) {
this.prefixNsString = 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) { public void setPrefixNsNumber(BigDecimal prefixNsNumber) {
this.prefixNsNumber = 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) { public void setPrefixNsInteger(Integer prefixNsInteger) {
this.prefixNsInteger = 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) { public void setPrefixNsBoolean(Boolean prefixNsBoolean) {
this.prefixNsBoolean = 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) { public void setPrefixNsArray(List<Integer> prefixNsArray) {
this.prefixNsArray = 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) { public void setPrefixNsWrappedArray(List<Integer> prefixNsWrappedArray) {
this.prefixNsWrappedArray = prefixNsWrappedArray; this.prefixNsWrappedArray = prefixNsWrappedArray;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -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) { public void setMapString(Map<String, String> mapString) {
this.mapString = 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) { public void setMapNumber(Map<String, BigDecimal> mapNumber) {
this.mapNumber = 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) { public void setMapInteger(Map<String, Integer> mapInteger) {
this.mapInteger = 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) { public void setMapBoolean(Map<String, Boolean> mapBoolean) {
this.mapBoolean = 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) { public void setMapArrayInteger(Map<String, List<Integer>> mapArrayInteger) {
this.mapArrayInteger = 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) { public void setMapArrayAnytype(Map<String, List<Object>> mapArrayAnytype) {
this.mapArrayAnytype = 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) { public void setMapMapString(Map<String, Map<String, String>> mapMapString) {
this.mapMapString = 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) { public void setMapMapAnytype(Map<String, Map<String, Object>> mapMapAnytype) {
this.mapMapAnytype = 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) { public void setAnytype1(Object anytype1) {
this.anytype1 = 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) { public void setAnytype2(Object anytype2) {
this.anytype2 = 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) { public void setAnytype3(Object anytype3) {
this.anytype3 = anytype3; this.anytype3 = anytype3;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -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) { public void setName(String name) {
this.name = name; this.name = name;
} }

View File

@@ -72,6 +72,8 @@ public class Animal {
} }
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setClassName(String className) { public void setClassName(String className) {
this.className = 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) { public void setColor(String color) {
this.color = color; this.color = color;
} }

View File

@@ -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) { public void setArrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
this.arrayArrayNumber = arrayArrayNumber; this.arrayArrayNumber = arrayArrayNumber;
} }

View File

@@ -68,6 +68,8 @@ public class ArrayOfNumberOnly {
} }
@JsonProperty(JSON_PROPERTY_ARRAY_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayNumber(List<BigDecimal> arrayNumber) { public void setArrayNumber(List<BigDecimal> arrayNumber) {
this.arrayNumber = arrayNumber; this.arrayNumber = arrayNumber;
} }

Some files were not shown because too many files have changed in this diff Show More