mirror of
				https://github.com/OpenAPITools/openapi-generator.git
				synced 2025-11-04 10:43:44 +00:00 
			
		
		
		
	Java gson: add @SerializedName value as constant (#22)
* Java gson: add @SerializedName value as constant Fix #21 * Run bin/java-petstore-all.sh
This commit is contained in:
		
							parent
							
								
									41b0ff351b
								
							
						
					
					
						commit
						bf7e4e7df7
					
				@ -57,7 +57,8 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#parcela
 | 
			
		||||
  {{/isXmlAttribute}}
 | 
			
		||||
  {{/withXml}}
 | 
			
		||||
  {{#gson}}
 | 
			
		||||
  @SerializedName("{{baseName}}")
 | 
			
		||||
  public static final String SERIALIZED_NAME_{{nameInCamelCase}} = "{{baseName}}";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_{{nameInCamelCase}})
 | 
			
		||||
  {{/gson}}
 | 
			
		||||
  {{#isContainer}}
 | 
			
		||||
  private {{{datatypeWithEnum}}} {{name}}{{#required}} = {{{defaultValue}}}{{/required}}{{^required}} = null{{/required}};
 | 
			
		||||
 | 
			
		||||
@ -18,7 +18,6 @@ repositories {
 | 
			
		||||
    jcenter()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if(hasProperty('target') && target == 'android') {
 | 
			
		||||
 | 
			
		||||
    apply plugin: 'com.android.library'
 | 
			
		||||
@ -91,6 +90,21 @@ if(hasProperty('target') && target == 'android') {
 | 
			
		||||
       main = System.getProperty('mainClass')
 | 
			
		||||
       classpath = sourceSets.main.runtimeClasspath
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    task sourcesJar(type: Jar, dependsOn: classes) {
 | 
			
		||||
        classifier = 'sources'
 | 
			
		||||
        from sourceSets.main.allSource
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    task javadocJar(type: Jar, dependsOn: javadoc) {
 | 
			
		||||
        classifier = 'javadoc'
 | 
			
		||||
        from javadoc.destinationDir
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    artifacts {
 | 
			
		||||
        archives sourcesJar
 | 
			
		||||
        archives javadocJar
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ext {
 | 
			
		||||
@ -113,3 +127,4 @@ dependencies {
 | 
			
		||||
    compile "com.brsanthu:migbase64:2.2"
 | 
			
		||||
    testCompile "junit:junit:$junit_version"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -34,10 +34,12 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class AdditionalPropertiesClass implements Parcelable {
 | 
			
		||||
  @SerializedName("map_property")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapProperty = "map_property";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapProperty)
 | 
			
		||||
  private Map<String, String> mapProperty = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("map_of_map_property")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapOfMapProperty = "map_of_map_property";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapOfMapProperty)
 | 
			
		||||
  private Map<String, Map<String, String>> mapOfMapProperty = null;
 | 
			
		||||
 | 
			
		||||
  public AdditionalPropertiesClass() {
 | 
			
		||||
 | 
			
		||||
@ -32,10 +32,12 @@ import android.os.Parcel;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
public class Animal implements Parcelable {
 | 
			
		||||
  @SerializedName("className")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ClassName = "className";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ClassName)
 | 
			
		||||
  private String className = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("color")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Color = "color";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Color)
 | 
			
		||||
  private String color = "red";
 | 
			
		||||
 | 
			
		||||
  public Animal() {
 | 
			
		||||
 | 
			
		||||
@ -34,7 +34,8 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ArrayOfArrayOfNumberOnly implements Parcelable {
 | 
			
		||||
  @SerializedName("ArrayArrayNumber")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayArrayNumber = "ArrayArrayNumber";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayArrayNumber)
 | 
			
		||||
  private List<List<BigDecimal>> arrayArrayNumber = null;
 | 
			
		||||
 | 
			
		||||
  public ArrayOfArrayOfNumberOnly() {
 | 
			
		||||
 | 
			
		||||
@ -34,7 +34,8 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ArrayOfNumberOnly implements Parcelable {
 | 
			
		||||
  @SerializedName("ArrayNumber")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayNumber = "ArrayNumber";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayNumber)
 | 
			
		||||
  private List<BigDecimal> arrayNumber = null;
 | 
			
		||||
 | 
			
		||||
  public ArrayOfNumberOnly() {
 | 
			
		||||
 | 
			
		||||
@ -34,13 +34,16 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ArrayTest implements Parcelable {
 | 
			
		||||
  @SerializedName("array_of_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayOfString = "array_of_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayOfString)
 | 
			
		||||
  private List<String> arrayOfString = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("array_array_of_integer")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayArrayOfInteger = "array_array_of_integer";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayArrayOfInteger)
 | 
			
		||||
  private List<List<Long>> arrayArrayOfInteger = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("array_array_of_model")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayArrayOfModel = "array_array_of_model";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayArrayOfModel)
 | 
			
		||||
  private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
 | 
			
		||||
 | 
			
		||||
  public ArrayTest() {
 | 
			
		||||
 | 
			
		||||
@ -31,22 +31,28 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Capitalization implements Parcelable {
 | 
			
		||||
  @SerializedName("smallCamel")
 | 
			
		||||
  public static final String SERIALIZED_NAME_SmallCamel = "smallCamel";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_SmallCamel)
 | 
			
		||||
  private String smallCamel = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("CapitalCamel")
 | 
			
		||||
  public static final String SERIALIZED_NAME_CapitalCamel = "CapitalCamel";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_CapitalCamel)
 | 
			
		||||
  private String capitalCamel = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("small_Snake")
 | 
			
		||||
  public static final String SERIALIZED_NAME_SmallSnake = "small_Snake";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_SmallSnake)
 | 
			
		||||
  private String smallSnake = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("Capital_Snake")
 | 
			
		||||
  public static final String SERIALIZED_NAME_CapitalSnake = "Capital_Snake";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_CapitalSnake)
 | 
			
		||||
  private String capitalSnake = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("SCA_ETH_Flow_Points")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ScAETHFlowPoints = "SCA_ETH_Flow_Points";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ScAETHFlowPoints)
 | 
			
		||||
  private String scAETHFlowPoints = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("ATT_NAME")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ATTNAME = "ATT_NAME";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ATTNAME)
 | 
			
		||||
  private String ATT_NAME = null;
 | 
			
		||||
 | 
			
		||||
  public Capitalization() {
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Cat extends Animal implements Parcelable {
 | 
			
		||||
  @SerializedName("declawed")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Declawed = "declawed";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Declawed)
 | 
			
		||||
  private Boolean declawed = null;
 | 
			
		||||
 | 
			
		||||
  public Cat() {
 | 
			
		||||
 | 
			
		||||
@ -31,10 +31,12 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Category implements Parcelable {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private String name = null;
 | 
			
		||||
 | 
			
		||||
  public Category() {
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import android.os.Parcel;
 | 
			
		||||
@ApiModel(description = "Model for testing model with \"_class\" property")
 | 
			
		||||
 | 
			
		||||
public class ClassModel implements Parcelable {
 | 
			
		||||
  @SerializedName("_class")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PropertyClass = "_class";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PropertyClass)
 | 
			
		||||
  private String propertyClass = null;
 | 
			
		||||
 | 
			
		||||
  public ClassModel() {
 | 
			
		||||
 | 
			
		||||
@ -31,7 +31,8 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Client implements Parcelable {
 | 
			
		||||
  @SerializedName("client")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Client = "client";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Client)
 | 
			
		||||
  private String client = null;
 | 
			
		||||
 | 
			
		||||
  public Client() {
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Dog extends Animal implements Parcelable {
 | 
			
		||||
  @SerializedName("breed")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Breed = "breed";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Breed)
 | 
			
		||||
  private String breed = null;
 | 
			
		||||
 | 
			
		||||
  public Dog() {
 | 
			
		||||
 | 
			
		||||
@ -80,7 +80,8 @@ public class EnumArrays implements Parcelable {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("just_symbol")
 | 
			
		||||
  public static final String SERIALIZED_NAME_JustSymbol = "just_symbol";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_JustSymbol)
 | 
			
		||||
  private JustSymbolEnum justSymbol = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -130,7 +131,8 @@ public class EnumArrays implements Parcelable {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("array_enum")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayEnum = "array_enum";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayEnum)
 | 
			
		||||
  private List<ArrayEnumEnum> arrayEnum = null;
 | 
			
		||||
 | 
			
		||||
  public EnumArrays() {
 | 
			
		||||
 | 
			
		||||
@ -81,7 +81,8 @@ public class EnumTest implements Parcelable {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("enum_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_EnumString = "enum_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_EnumString)
 | 
			
		||||
  private EnumStringEnum enumString = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -133,7 +134,8 @@ public class EnumTest implements Parcelable {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("enum_string_required")
 | 
			
		||||
  public static final String SERIALIZED_NAME_EnumStringRequired = "enum_string_required";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_EnumStringRequired)
 | 
			
		||||
  private EnumStringRequiredEnum enumStringRequired = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -183,7 +185,8 @@ public class EnumTest implements Parcelable {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("enum_integer")
 | 
			
		||||
  public static final String SERIALIZED_NAME_EnumInteger = "enum_integer";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_EnumInteger)
 | 
			
		||||
  private EnumIntegerEnum enumInteger = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -233,10 +236,12 @@ public class EnumTest implements Parcelable {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("enum_number")
 | 
			
		||||
  public static final String SERIALIZED_NAME_EnumNumber = "enum_number";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_EnumNumber)
 | 
			
		||||
  private EnumNumberEnum enumNumber = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("outerEnum")
 | 
			
		||||
  public static final String SERIALIZED_NAME_OuterEnum = "outerEnum";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_OuterEnum)
 | 
			
		||||
  private OuterEnum outerEnum = null;
 | 
			
		||||
 | 
			
		||||
  public EnumTest() {
 | 
			
		||||
 | 
			
		||||
@ -36,43 +36,56 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class FormatTest implements Parcelable {
 | 
			
		||||
  @SerializedName("integer")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Integer = "integer";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Integer)
 | 
			
		||||
  private Integer integer = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("int32")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Int32 = "int32";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Int32)
 | 
			
		||||
  private Integer int32 = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("int64")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Int64 = "int64";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Int64)
 | 
			
		||||
  private Long int64 = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("number")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Number = "number";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Number)
 | 
			
		||||
  private BigDecimal number = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("float")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Float = "float";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Float)
 | 
			
		||||
  private Float _float = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("double")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Double = "double";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Double)
 | 
			
		||||
  private Double _double = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_String = "string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_String)
 | 
			
		||||
  private String string = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("byte")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Byte = "byte";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Byte)
 | 
			
		||||
  private byte[] _byte = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("binary")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Binary = "binary";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Binary)
 | 
			
		||||
  private File binary = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("date")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Date = "date";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Date)
 | 
			
		||||
  private LocalDate date = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("dateTime")
 | 
			
		||||
  public static final String SERIALIZED_NAME_DateTime = "dateTime";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_DateTime)
 | 
			
		||||
  private OffsetDateTime dateTime = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("uuid")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Uuid = "uuid";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Uuid)
 | 
			
		||||
  private UUID uuid = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("password")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Password = "password";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Password)
 | 
			
		||||
  private String password = null;
 | 
			
		||||
 | 
			
		||||
  public FormatTest() {
 | 
			
		||||
 | 
			
		||||
@ -31,10 +31,12 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class HasOnlyReadOnly implements Parcelable {
 | 
			
		||||
  @SerializedName("bar")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Bar = "bar";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Bar)
 | 
			
		||||
  private String bar = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("foo")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Foo = "foo";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Foo)
 | 
			
		||||
  private String foo = null;
 | 
			
		||||
 | 
			
		||||
  public HasOnlyReadOnly() {
 | 
			
		||||
 | 
			
		||||
@ -34,7 +34,8 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class MapTest implements Parcelable {
 | 
			
		||||
  @SerializedName("map_map_of_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapMapOfString = "map_map_of_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapMapOfString)
 | 
			
		||||
  private Map<String, Map<String, String>> mapMapOfString = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -84,7 +85,8 @@ public class MapTest implements Parcelable {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("map_of_enum_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapOfEnumString = "map_of_enum_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapOfEnumString)
 | 
			
		||||
  private Map<String, InnerEnum> mapOfEnumString = null;
 | 
			
		||||
 | 
			
		||||
  public MapTest() {
 | 
			
		||||
 | 
			
		||||
@ -37,13 +37,16 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class MixedPropertiesAndAdditionalPropertiesClass implements Parcelable {
 | 
			
		||||
  @SerializedName("uuid")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Uuid = "uuid";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Uuid)
 | 
			
		||||
  private UUID uuid = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("dateTime")
 | 
			
		||||
  public static final String SERIALIZED_NAME_DateTime = "dateTime";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_DateTime)
 | 
			
		||||
  private OffsetDateTime dateTime = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("map")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Map = "map";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Map)
 | 
			
		||||
  private Map<String, Animal> map = null;
 | 
			
		||||
 | 
			
		||||
  public MixedPropertiesAndAdditionalPropertiesClass() {
 | 
			
		||||
 | 
			
		||||
@ -32,10 +32,12 @@ import android.os.Parcel;
 | 
			
		||||
@ApiModel(description = "Model for testing model name starting with number")
 | 
			
		||||
 | 
			
		||||
public class Model200Response implements Parcelable {
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private Integer name = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("class")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PropertyClass = "class";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PropertyClass)
 | 
			
		||||
  private String propertyClass = null;
 | 
			
		||||
 | 
			
		||||
  public Model200Response() {
 | 
			
		||||
 | 
			
		||||
@ -31,13 +31,16 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ModelApiResponse implements Parcelable {
 | 
			
		||||
  @SerializedName("code")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Code = "code";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Code)
 | 
			
		||||
  private Integer code = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("type")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Type = "type";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Type)
 | 
			
		||||
  private String type = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("message")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Message = "message";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Message)
 | 
			
		||||
  private String message = null;
 | 
			
		||||
 | 
			
		||||
  public ModelApiResponse() {
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import android.os.Parcel;
 | 
			
		||||
@ApiModel(description = "Model for testing reserved words")
 | 
			
		||||
 | 
			
		||||
public class ModelReturn implements Parcelable {
 | 
			
		||||
  @SerializedName("return")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Return = "return";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Return)
 | 
			
		||||
  private Integer _return = null;
 | 
			
		||||
 | 
			
		||||
  public ModelReturn() {
 | 
			
		||||
 | 
			
		||||
@ -32,16 +32,20 @@ import android.os.Parcel;
 | 
			
		||||
@ApiModel(description = "Model for testing model name same as property name")
 | 
			
		||||
 | 
			
		||||
public class Name implements Parcelable {
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private Integer name = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("snake_case")
 | 
			
		||||
  public static final String SERIALIZED_NAME_SnakeCase = "snake_case";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_SnakeCase)
 | 
			
		||||
  private Integer snakeCase = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("property")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Property = "property";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Property)
 | 
			
		||||
  private String property = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("123Number")
 | 
			
		||||
  public static final String SERIALIZED_NAME_123number = "123Number";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_123number)
 | 
			
		||||
  private Integer _123number = null;
 | 
			
		||||
 | 
			
		||||
  public Name() {
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class NumberOnly implements Parcelable {
 | 
			
		||||
  @SerializedName("JustNumber")
 | 
			
		||||
  public static final String SERIALIZED_NAME_JustNumber = "JustNumber";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_JustNumber)
 | 
			
		||||
  private BigDecimal justNumber = null;
 | 
			
		||||
 | 
			
		||||
  public NumberOnly() {
 | 
			
		||||
 | 
			
		||||
@ -32,16 +32,20 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Order implements Parcelable {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("petId")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PetId = "petId";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PetId)
 | 
			
		||||
  private Long petId = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("quantity")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Quantity = "quantity";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Quantity)
 | 
			
		||||
  private Integer quantity = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("shipDate")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ShipDate = "shipDate";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ShipDate)
 | 
			
		||||
  private OffsetDateTime shipDate = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -93,10 +97,12 @@ public class Order implements Parcelable {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("status")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Status = "status";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Status)
 | 
			
		||||
  private StatusEnum status = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("complete")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Complete = "complete";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Complete)
 | 
			
		||||
  private Boolean complete = false;
 | 
			
		||||
 | 
			
		||||
  public Order() {
 | 
			
		||||
 | 
			
		||||
@ -32,13 +32,16 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class OuterComposite implements Parcelable {
 | 
			
		||||
  @SerializedName("my_number")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MyNumber = "my_number";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MyNumber)
 | 
			
		||||
  private BigDecimal myNumber = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("my_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MyString = "my_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MyString)
 | 
			
		||||
  private String myString = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("my_boolean")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MyBoolean = "my_boolean";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MyBoolean)
 | 
			
		||||
  private Boolean myBoolean = null;
 | 
			
		||||
 | 
			
		||||
  public OuterComposite() {
 | 
			
		||||
 | 
			
		||||
@ -35,19 +35,24 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Pet implements Parcelable {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("category")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Category = "category";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Category)
 | 
			
		||||
  private Category category = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private String name = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("photoUrls")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PhotoUrls = "photoUrls";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PhotoUrls)
 | 
			
		||||
  private List<String> photoUrls = new ArrayList<String>();
 | 
			
		||||
 | 
			
		||||
  @SerializedName("tags")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Tags = "tags";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Tags)
 | 
			
		||||
  private List<Tag> tags = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -99,7 +104,8 @@ public class Pet implements Parcelable {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("status")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Status = "status";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Status)
 | 
			
		||||
  private StatusEnum status = null;
 | 
			
		||||
 | 
			
		||||
  public Pet() {
 | 
			
		||||
 | 
			
		||||
@ -31,10 +31,12 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ReadOnlyFirst implements Parcelable {
 | 
			
		||||
  @SerializedName("bar")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Bar = "bar";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Bar)
 | 
			
		||||
  private String bar = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("baz")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Baz = "baz";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Baz)
 | 
			
		||||
  private String baz = null;
 | 
			
		||||
 | 
			
		||||
  public ReadOnlyFirst() {
 | 
			
		||||
 | 
			
		||||
@ -31,7 +31,8 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class SpecialModelName implements Parcelable {
 | 
			
		||||
  @SerializedName("$special[property.name]")
 | 
			
		||||
  public static final String SERIALIZED_NAME_$SpecialPropertyName = "$special[property.name]";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_$SpecialPropertyName)
 | 
			
		||||
  private Long $specialPropertyName = null;
 | 
			
		||||
 | 
			
		||||
  public SpecialModelName() {
 | 
			
		||||
 | 
			
		||||
@ -31,10 +31,12 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Tag implements Parcelable {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private String name = null;
 | 
			
		||||
 | 
			
		||||
  public Tag() {
 | 
			
		||||
 | 
			
		||||
@ -31,28 +31,36 @@ import android.os.Parcel;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class User implements Parcelable {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("username")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Username = "username";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Username)
 | 
			
		||||
  private String username = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("firstName")
 | 
			
		||||
  public static final String SERIALIZED_NAME_FirstName = "firstName";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_FirstName)
 | 
			
		||||
  private String firstName = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("lastName")
 | 
			
		||||
  public static final String SERIALIZED_NAME_LastName = "lastName";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_LastName)
 | 
			
		||||
  private String lastName = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("email")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Email = "email";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Email)
 | 
			
		||||
  private String email = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("password")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Password = "password";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Password)
 | 
			
		||||
  private String password = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("phone")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Phone = "phone";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Phone)
 | 
			
		||||
  private String phone = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("userStatus")
 | 
			
		||||
  public static final String SERIALIZED_NAME_UserStatus = "userStatus";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_UserStatus)
 | 
			
		||||
  private Integer userStatus = null;
 | 
			
		||||
 | 
			
		||||
  public User() {
 | 
			
		||||
 | 
			
		||||
@ -32,10 +32,12 @@ import java.util.Map;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class AdditionalPropertiesClass {
 | 
			
		||||
  @SerializedName("map_property")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapProperty = "map_property";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapProperty)
 | 
			
		||||
  private Map<String, String> mapProperty = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("map_of_map_property")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapOfMapProperty = "map_of_map_property";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapOfMapProperty)
 | 
			
		||||
  private Map<String, Map<String, String>> mapOfMapProperty = null;
 | 
			
		||||
 | 
			
		||||
  public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
 | 
			
		||||
 | 
			
		||||
@ -30,10 +30,12 @@ import java.io.IOException;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
public class Animal {
 | 
			
		||||
  @SerializedName("className")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ClassName = "className";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ClassName)
 | 
			
		||||
  private String className = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("color")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Color = "color";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Color)
 | 
			
		||||
  private String color = "red";
 | 
			
		||||
 | 
			
		||||
  public Animal() {
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import java.util.List;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ArrayOfArrayOfNumberOnly {
 | 
			
		||||
  @SerializedName("ArrayArrayNumber")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayArrayNumber = "ArrayArrayNumber";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayArrayNumber)
 | 
			
		||||
  private List<List<BigDecimal>> arrayArrayNumber = null;
 | 
			
		||||
 | 
			
		||||
  public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import java.util.List;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ArrayOfNumberOnly {
 | 
			
		||||
  @SerializedName("ArrayNumber")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayNumber = "ArrayNumber";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayNumber)
 | 
			
		||||
  private List<BigDecimal> arrayNumber = null;
 | 
			
		||||
 | 
			
		||||
  public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
 | 
			
		||||
 | 
			
		||||
@ -32,13 +32,16 @@ import org.openapitools.client.model.ReadOnlyFirst;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ArrayTest {
 | 
			
		||||
  @SerializedName("array_of_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayOfString = "array_of_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayOfString)
 | 
			
		||||
  private List<String> arrayOfString = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("array_array_of_integer")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayArrayOfInteger = "array_array_of_integer";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayArrayOfInteger)
 | 
			
		||||
  private List<List<Long>> arrayArrayOfInteger = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("array_array_of_model")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayArrayOfModel = "array_array_of_model";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayArrayOfModel)
 | 
			
		||||
  private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
 | 
			
		||||
 | 
			
		||||
  public ArrayTest arrayOfString(List<String> arrayOfString) {
 | 
			
		||||
 | 
			
		||||
@ -29,22 +29,28 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Capitalization {
 | 
			
		||||
  @SerializedName("smallCamel")
 | 
			
		||||
  public static final String SERIALIZED_NAME_SmallCamel = "smallCamel";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_SmallCamel)
 | 
			
		||||
  private String smallCamel = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("CapitalCamel")
 | 
			
		||||
  public static final String SERIALIZED_NAME_CapitalCamel = "CapitalCamel";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_CapitalCamel)
 | 
			
		||||
  private String capitalCamel = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("small_Snake")
 | 
			
		||||
  public static final String SERIALIZED_NAME_SmallSnake = "small_Snake";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_SmallSnake)
 | 
			
		||||
  private String smallSnake = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("Capital_Snake")
 | 
			
		||||
  public static final String SERIALIZED_NAME_CapitalSnake = "Capital_Snake";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_CapitalSnake)
 | 
			
		||||
  private String capitalSnake = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("SCA_ETH_Flow_Points")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ScAETHFlowPoints = "SCA_ETH_Flow_Points";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ScAETHFlowPoints)
 | 
			
		||||
  private String scAETHFlowPoints = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("ATT_NAME")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ATTNAME = "ATT_NAME";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ATTNAME)
 | 
			
		||||
  private String ATT_NAME = null;
 | 
			
		||||
 | 
			
		||||
  public Capitalization smallCamel(String smallCamel) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import org.openapitools.client.model.Animal;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Cat extends Animal {
 | 
			
		||||
  @SerializedName("declawed")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Declawed = "declawed";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Declawed)
 | 
			
		||||
  private Boolean declawed = null;
 | 
			
		||||
 | 
			
		||||
  public Cat declawed(Boolean declawed) {
 | 
			
		||||
 | 
			
		||||
@ -29,10 +29,12 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Category {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private String name = null;
 | 
			
		||||
 | 
			
		||||
  public Category id(Long id) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import java.io.IOException;
 | 
			
		||||
@ApiModel(description = "Model for testing model with \"_class\" property")
 | 
			
		||||
 | 
			
		||||
public class ClassModel {
 | 
			
		||||
  @SerializedName("_class")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PropertyClass = "_class";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PropertyClass)
 | 
			
		||||
  private String propertyClass = null;
 | 
			
		||||
 | 
			
		||||
  public ClassModel propertyClass(String propertyClass) {
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,8 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Client {
 | 
			
		||||
  @SerializedName("client")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Client = "client";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Client)
 | 
			
		||||
  private String client = null;
 | 
			
		||||
 | 
			
		||||
  public Client client(String client) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import org.openapitools.client.model.Animal;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Dog extends Animal {
 | 
			
		||||
  @SerializedName("breed")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Breed = "breed";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Breed)
 | 
			
		||||
  private String breed = null;
 | 
			
		||||
 | 
			
		||||
  public Dog breed(String breed) {
 | 
			
		||||
 | 
			
		||||
@ -78,7 +78,8 @@ public class EnumArrays {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("just_symbol")
 | 
			
		||||
  public static final String SERIALIZED_NAME_JustSymbol = "just_symbol";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_JustSymbol)
 | 
			
		||||
  private JustSymbolEnum justSymbol = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -128,7 +129,8 @@ public class EnumArrays {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("array_enum")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayEnum = "array_enum";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayEnum)
 | 
			
		||||
  private List<ArrayEnumEnum> arrayEnum = null;
 | 
			
		||||
 | 
			
		||||
  public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
 | 
			
		||||
 | 
			
		||||
@ -79,7 +79,8 @@ public class EnumTest {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("enum_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_EnumString = "enum_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_EnumString)
 | 
			
		||||
  private EnumStringEnum enumString = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -131,7 +132,8 @@ public class EnumTest {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("enum_string_required")
 | 
			
		||||
  public static final String SERIALIZED_NAME_EnumStringRequired = "enum_string_required";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_EnumStringRequired)
 | 
			
		||||
  private EnumStringRequiredEnum enumStringRequired = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -181,7 +183,8 @@ public class EnumTest {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("enum_integer")
 | 
			
		||||
  public static final String SERIALIZED_NAME_EnumInteger = "enum_integer";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_EnumInteger)
 | 
			
		||||
  private EnumIntegerEnum enumInteger = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -231,10 +234,12 @@ public class EnumTest {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("enum_number")
 | 
			
		||||
  public static final String SERIALIZED_NAME_EnumNumber = "enum_number";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_EnumNumber)
 | 
			
		||||
  private EnumNumberEnum enumNumber = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("outerEnum")
 | 
			
		||||
  public static final String SERIALIZED_NAME_OuterEnum = "outerEnum";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_OuterEnum)
 | 
			
		||||
  private OuterEnum outerEnum = null;
 | 
			
		||||
 | 
			
		||||
  public EnumTest enumString(EnumStringEnum enumString) {
 | 
			
		||||
 | 
			
		||||
@ -34,43 +34,56 @@ import org.threeten.bp.OffsetDateTime;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class FormatTest {
 | 
			
		||||
  @SerializedName("integer")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Integer = "integer";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Integer)
 | 
			
		||||
  private Integer integer = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("int32")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Int32 = "int32";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Int32)
 | 
			
		||||
  private Integer int32 = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("int64")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Int64 = "int64";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Int64)
 | 
			
		||||
  private Long int64 = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("number")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Number = "number";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Number)
 | 
			
		||||
  private BigDecimal number = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("float")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Float = "float";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Float)
 | 
			
		||||
  private Float _float = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("double")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Double = "double";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Double)
 | 
			
		||||
  private Double _double = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_String = "string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_String)
 | 
			
		||||
  private String string = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("byte")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Byte = "byte";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Byte)
 | 
			
		||||
  private byte[] _byte = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("binary")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Binary = "binary";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Binary)
 | 
			
		||||
  private File binary = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("date")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Date = "date";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Date)
 | 
			
		||||
  private LocalDate date = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("dateTime")
 | 
			
		||||
  public static final String SERIALIZED_NAME_DateTime = "dateTime";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_DateTime)
 | 
			
		||||
  private OffsetDateTime dateTime = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("uuid")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Uuid = "uuid";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Uuid)
 | 
			
		||||
  private UUID uuid = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("password")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Password = "password";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Password)
 | 
			
		||||
  private String password = null;
 | 
			
		||||
 | 
			
		||||
  public FormatTest integer(Integer integer) {
 | 
			
		||||
 | 
			
		||||
@ -29,10 +29,12 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class HasOnlyReadOnly {
 | 
			
		||||
  @SerializedName("bar")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Bar = "bar";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Bar)
 | 
			
		||||
  private String bar = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("foo")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Foo = "foo";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Foo)
 | 
			
		||||
  private String foo = null;
 | 
			
		||||
 | 
			
		||||
   /**
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import java.util.Map;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class MapTest {
 | 
			
		||||
  @SerializedName("map_map_of_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapMapOfString = "map_map_of_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapMapOfString)
 | 
			
		||||
  private Map<String, Map<String, String>> mapMapOfString = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -82,7 +83,8 @@ public class MapTest {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("map_of_enum_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapOfEnumString = "map_of_enum_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapOfEnumString)
 | 
			
		||||
  private Map<String, InnerEnum> mapOfEnumString = null;
 | 
			
		||||
 | 
			
		||||
  public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
 | 
			
		||||
 | 
			
		||||
@ -35,13 +35,16 @@ import org.threeten.bp.OffsetDateTime;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class MixedPropertiesAndAdditionalPropertiesClass {
 | 
			
		||||
  @SerializedName("uuid")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Uuid = "uuid";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Uuid)
 | 
			
		||||
  private UUID uuid = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("dateTime")
 | 
			
		||||
  public static final String SERIALIZED_NAME_DateTime = "dateTime";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_DateTime)
 | 
			
		||||
  private OffsetDateTime dateTime = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("map")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Map = "map";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Map)
 | 
			
		||||
  private Map<String, Animal> map = null;
 | 
			
		||||
 | 
			
		||||
  public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
 | 
			
		||||
 | 
			
		||||
@ -30,10 +30,12 @@ import java.io.IOException;
 | 
			
		||||
@ApiModel(description = "Model for testing model name starting with number")
 | 
			
		||||
 | 
			
		||||
public class Model200Response {
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private Integer name = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("class")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PropertyClass = "class";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PropertyClass)
 | 
			
		||||
  private String propertyClass = null;
 | 
			
		||||
 | 
			
		||||
  public Model200Response name(Integer name) {
 | 
			
		||||
 | 
			
		||||
@ -29,13 +29,16 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ModelApiResponse {
 | 
			
		||||
  @SerializedName("code")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Code = "code";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Code)
 | 
			
		||||
  private Integer code = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("type")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Type = "type";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Type)
 | 
			
		||||
  private String type = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("message")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Message = "message";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Message)
 | 
			
		||||
  private String message = null;
 | 
			
		||||
 | 
			
		||||
  public ModelApiResponse code(Integer code) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import java.io.IOException;
 | 
			
		||||
@ApiModel(description = "Model for testing reserved words")
 | 
			
		||||
 | 
			
		||||
public class ModelReturn {
 | 
			
		||||
  @SerializedName("return")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Return = "return";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Return)
 | 
			
		||||
  private Integer _return = null;
 | 
			
		||||
 | 
			
		||||
  public ModelReturn _return(Integer _return) {
 | 
			
		||||
 | 
			
		||||
@ -30,16 +30,20 @@ import java.io.IOException;
 | 
			
		||||
@ApiModel(description = "Model for testing model name same as property name")
 | 
			
		||||
 | 
			
		||||
public class Name {
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private Integer name = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("snake_case")
 | 
			
		||||
  public static final String SERIALIZED_NAME_SnakeCase = "snake_case";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_SnakeCase)
 | 
			
		||||
  private Integer snakeCase = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("property")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Property = "property";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Property)
 | 
			
		||||
  private String property = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("123Number")
 | 
			
		||||
  public static final String SERIALIZED_NAME_123number = "123Number";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_123number)
 | 
			
		||||
  private Integer _123number = null;
 | 
			
		||||
 | 
			
		||||
  public Name name(Integer name) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import java.math.BigDecimal;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class NumberOnly {
 | 
			
		||||
  @SerializedName("JustNumber")
 | 
			
		||||
  public static final String SERIALIZED_NAME_JustNumber = "JustNumber";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_JustNumber)
 | 
			
		||||
  private BigDecimal justNumber = null;
 | 
			
		||||
 | 
			
		||||
  public NumberOnly justNumber(BigDecimal justNumber) {
 | 
			
		||||
 | 
			
		||||
@ -30,16 +30,20 @@ import org.threeten.bp.OffsetDateTime;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Order {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("petId")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PetId = "petId";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PetId)
 | 
			
		||||
  private Long petId = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("quantity")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Quantity = "quantity";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Quantity)
 | 
			
		||||
  private Integer quantity = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("shipDate")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ShipDate = "shipDate";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ShipDate)
 | 
			
		||||
  private OffsetDateTime shipDate = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -91,10 +95,12 @@ public class Order {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("status")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Status = "status";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Status)
 | 
			
		||||
  private StatusEnum status = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("complete")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Complete = "complete";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Complete)
 | 
			
		||||
  private Boolean complete = false;
 | 
			
		||||
 | 
			
		||||
  public Order id(Long id) {
 | 
			
		||||
 | 
			
		||||
@ -30,13 +30,16 @@ import java.math.BigDecimal;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class OuterComposite {
 | 
			
		||||
  @SerializedName("my_number")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MyNumber = "my_number";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MyNumber)
 | 
			
		||||
  private BigDecimal myNumber = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("my_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MyString = "my_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MyString)
 | 
			
		||||
  private String myString = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("my_boolean")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MyBoolean = "my_boolean";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MyBoolean)
 | 
			
		||||
  private Boolean myBoolean = null;
 | 
			
		||||
 | 
			
		||||
  public OuterComposite myNumber(BigDecimal myNumber) {
 | 
			
		||||
 | 
			
		||||
@ -33,19 +33,24 @@ import org.openapitools.client.model.Tag;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Pet {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("category")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Category = "category";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Category)
 | 
			
		||||
  private Category category = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private String name = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("photoUrls")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PhotoUrls = "photoUrls";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PhotoUrls)
 | 
			
		||||
  private List<String> photoUrls = new ArrayList<String>();
 | 
			
		||||
 | 
			
		||||
  @SerializedName("tags")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Tags = "tags";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Tags)
 | 
			
		||||
  private List<Tag> tags = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -97,7 +102,8 @@ public class Pet {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("status")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Status = "status";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Status)
 | 
			
		||||
  private StatusEnum status = null;
 | 
			
		||||
 | 
			
		||||
  public Pet id(Long id) {
 | 
			
		||||
 | 
			
		||||
@ -29,10 +29,12 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ReadOnlyFirst {
 | 
			
		||||
  @SerializedName("bar")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Bar = "bar";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Bar)
 | 
			
		||||
  private String bar = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("baz")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Baz = "baz";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Baz)
 | 
			
		||||
  private String baz = null;
 | 
			
		||||
 | 
			
		||||
   /**
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,8 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class SpecialModelName {
 | 
			
		||||
  @SerializedName("$special[property.name]")
 | 
			
		||||
  public static final String SERIALIZED_NAME_$SpecialPropertyName = "$special[property.name]";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_$SpecialPropertyName)
 | 
			
		||||
  private Long $specialPropertyName = null;
 | 
			
		||||
 | 
			
		||||
  public SpecialModelName $specialPropertyName(Long $specialPropertyName) {
 | 
			
		||||
 | 
			
		||||
@ -29,10 +29,12 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Tag {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private String name = null;
 | 
			
		||||
 | 
			
		||||
  public Tag id(Long id) {
 | 
			
		||||
 | 
			
		||||
@ -29,28 +29,36 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class User {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("username")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Username = "username";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Username)
 | 
			
		||||
  private String username = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("firstName")
 | 
			
		||||
  public static final String SERIALIZED_NAME_FirstName = "firstName";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_FirstName)
 | 
			
		||||
  private String firstName = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("lastName")
 | 
			
		||||
  public static final String SERIALIZED_NAME_LastName = "lastName";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_LastName)
 | 
			
		||||
  private String lastName = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("email")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Email = "email";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Email)
 | 
			
		||||
  private String email = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("password")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Password = "password";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Password)
 | 
			
		||||
  private String password = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("phone")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Phone = "phone";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Phone)
 | 
			
		||||
  private String phone = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("userStatus")
 | 
			
		||||
  public static final String SERIALIZED_NAME_UserStatus = "userStatus";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_UserStatus)
 | 
			
		||||
  private Integer userStatus = null;
 | 
			
		||||
 | 
			
		||||
  public User id(Long id) {
 | 
			
		||||
 | 
			
		||||
@ -32,10 +32,12 @@ import java.util.Map;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class AdditionalPropertiesClass {
 | 
			
		||||
  @SerializedName("map_property")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapProperty = "map_property";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapProperty)
 | 
			
		||||
  private Map<String, String> mapProperty = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("map_of_map_property")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapOfMapProperty = "map_of_map_property";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapOfMapProperty)
 | 
			
		||||
  private Map<String, Map<String, String>> mapOfMapProperty = null;
 | 
			
		||||
 | 
			
		||||
  public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
 | 
			
		||||
 | 
			
		||||
@ -30,10 +30,12 @@ import java.io.IOException;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
public class Animal {
 | 
			
		||||
  @SerializedName("className")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ClassName = "className";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ClassName)
 | 
			
		||||
  private String className = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("color")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Color = "color";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Color)
 | 
			
		||||
  private String color = "red";
 | 
			
		||||
 | 
			
		||||
  public Animal() {
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import java.util.List;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ArrayOfArrayOfNumberOnly {
 | 
			
		||||
  @SerializedName("ArrayArrayNumber")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayArrayNumber = "ArrayArrayNumber";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayArrayNumber)
 | 
			
		||||
  private List<List<BigDecimal>> arrayArrayNumber = null;
 | 
			
		||||
 | 
			
		||||
  public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import java.util.List;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ArrayOfNumberOnly {
 | 
			
		||||
  @SerializedName("ArrayNumber")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayNumber = "ArrayNumber";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayNumber)
 | 
			
		||||
  private List<BigDecimal> arrayNumber = null;
 | 
			
		||||
 | 
			
		||||
  public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
 | 
			
		||||
 | 
			
		||||
@ -32,13 +32,16 @@ import org.openapitools.client.model.ReadOnlyFirst;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ArrayTest {
 | 
			
		||||
  @SerializedName("array_of_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayOfString = "array_of_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayOfString)
 | 
			
		||||
  private List<String> arrayOfString = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("array_array_of_integer")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayArrayOfInteger = "array_array_of_integer";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayArrayOfInteger)
 | 
			
		||||
  private List<List<Long>> arrayArrayOfInteger = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("array_array_of_model")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayArrayOfModel = "array_array_of_model";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayArrayOfModel)
 | 
			
		||||
  private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
 | 
			
		||||
 | 
			
		||||
  public ArrayTest arrayOfString(List<String> arrayOfString) {
 | 
			
		||||
 | 
			
		||||
@ -29,22 +29,28 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Capitalization {
 | 
			
		||||
  @SerializedName("smallCamel")
 | 
			
		||||
  public static final String SERIALIZED_NAME_SmallCamel = "smallCamel";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_SmallCamel)
 | 
			
		||||
  private String smallCamel = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("CapitalCamel")
 | 
			
		||||
  public static final String SERIALIZED_NAME_CapitalCamel = "CapitalCamel";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_CapitalCamel)
 | 
			
		||||
  private String capitalCamel = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("small_Snake")
 | 
			
		||||
  public static final String SERIALIZED_NAME_SmallSnake = "small_Snake";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_SmallSnake)
 | 
			
		||||
  private String smallSnake = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("Capital_Snake")
 | 
			
		||||
  public static final String SERIALIZED_NAME_CapitalSnake = "Capital_Snake";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_CapitalSnake)
 | 
			
		||||
  private String capitalSnake = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("SCA_ETH_Flow_Points")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ScAETHFlowPoints = "SCA_ETH_Flow_Points";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ScAETHFlowPoints)
 | 
			
		||||
  private String scAETHFlowPoints = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("ATT_NAME")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ATTNAME = "ATT_NAME";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ATTNAME)
 | 
			
		||||
  private String ATT_NAME = null;
 | 
			
		||||
 | 
			
		||||
  public Capitalization smallCamel(String smallCamel) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import org.openapitools.client.model.Animal;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Cat extends Animal {
 | 
			
		||||
  @SerializedName("declawed")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Declawed = "declawed";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Declawed)
 | 
			
		||||
  private Boolean declawed = null;
 | 
			
		||||
 | 
			
		||||
  public Cat declawed(Boolean declawed) {
 | 
			
		||||
 | 
			
		||||
@ -29,10 +29,12 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Category {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private String name = null;
 | 
			
		||||
 | 
			
		||||
  public Category id(Long id) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import java.io.IOException;
 | 
			
		||||
@ApiModel(description = "Model for testing model with \"_class\" property")
 | 
			
		||||
 | 
			
		||||
public class ClassModel {
 | 
			
		||||
  @SerializedName("_class")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PropertyClass = "_class";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PropertyClass)
 | 
			
		||||
  private String propertyClass = null;
 | 
			
		||||
 | 
			
		||||
  public ClassModel propertyClass(String propertyClass) {
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,8 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Client {
 | 
			
		||||
  @SerializedName("client")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Client = "client";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Client)
 | 
			
		||||
  private String client = null;
 | 
			
		||||
 | 
			
		||||
  public Client client(String client) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import org.openapitools.client.model.Animal;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Dog extends Animal {
 | 
			
		||||
  @SerializedName("breed")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Breed = "breed";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Breed)
 | 
			
		||||
  private String breed = null;
 | 
			
		||||
 | 
			
		||||
  public Dog breed(String breed) {
 | 
			
		||||
 | 
			
		||||
@ -78,7 +78,8 @@ public class EnumArrays {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("just_symbol")
 | 
			
		||||
  public static final String SERIALIZED_NAME_JustSymbol = "just_symbol";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_JustSymbol)
 | 
			
		||||
  private JustSymbolEnum justSymbol = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -128,7 +129,8 @@ public class EnumArrays {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("array_enum")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayEnum = "array_enum";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayEnum)
 | 
			
		||||
  private List<ArrayEnumEnum> arrayEnum = null;
 | 
			
		||||
 | 
			
		||||
  public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
 | 
			
		||||
 | 
			
		||||
@ -79,7 +79,8 @@ public class EnumTest {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("enum_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_EnumString = "enum_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_EnumString)
 | 
			
		||||
  private EnumStringEnum enumString = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -131,7 +132,8 @@ public class EnumTest {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("enum_string_required")
 | 
			
		||||
  public static final String SERIALIZED_NAME_EnumStringRequired = "enum_string_required";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_EnumStringRequired)
 | 
			
		||||
  private EnumStringRequiredEnum enumStringRequired = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -181,7 +183,8 @@ public class EnumTest {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("enum_integer")
 | 
			
		||||
  public static final String SERIALIZED_NAME_EnumInteger = "enum_integer";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_EnumInteger)
 | 
			
		||||
  private EnumIntegerEnum enumInteger = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -231,10 +234,12 @@ public class EnumTest {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("enum_number")
 | 
			
		||||
  public static final String SERIALIZED_NAME_EnumNumber = "enum_number";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_EnumNumber)
 | 
			
		||||
  private EnumNumberEnum enumNumber = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("outerEnum")
 | 
			
		||||
  public static final String SERIALIZED_NAME_OuterEnum = "outerEnum";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_OuterEnum)
 | 
			
		||||
  private OuterEnum outerEnum = null;
 | 
			
		||||
 | 
			
		||||
  public EnumTest enumString(EnumStringEnum enumString) {
 | 
			
		||||
 | 
			
		||||
@ -34,43 +34,56 @@ import org.threeten.bp.OffsetDateTime;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class FormatTest {
 | 
			
		||||
  @SerializedName("integer")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Integer = "integer";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Integer)
 | 
			
		||||
  private Integer integer = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("int32")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Int32 = "int32";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Int32)
 | 
			
		||||
  private Integer int32 = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("int64")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Int64 = "int64";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Int64)
 | 
			
		||||
  private Long int64 = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("number")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Number = "number";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Number)
 | 
			
		||||
  private BigDecimal number = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("float")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Float = "float";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Float)
 | 
			
		||||
  private Float _float = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("double")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Double = "double";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Double)
 | 
			
		||||
  private Double _double = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_String = "string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_String)
 | 
			
		||||
  private String string = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("byte")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Byte = "byte";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Byte)
 | 
			
		||||
  private byte[] _byte = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("binary")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Binary = "binary";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Binary)
 | 
			
		||||
  private File binary = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("date")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Date = "date";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Date)
 | 
			
		||||
  private LocalDate date = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("dateTime")
 | 
			
		||||
  public static final String SERIALIZED_NAME_DateTime = "dateTime";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_DateTime)
 | 
			
		||||
  private OffsetDateTime dateTime = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("uuid")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Uuid = "uuid";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Uuid)
 | 
			
		||||
  private UUID uuid = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("password")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Password = "password";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Password)
 | 
			
		||||
  private String password = null;
 | 
			
		||||
 | 
			
		||||
  public FormatTest integer(Integer integer) {
 | 
			
		||||
 | 
			
		||||
@ -29,10 +29,12 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class HasOnlyReadOnly {
 | 
			
		||||
  @SerializedName("bar")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Bar = "bar";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Bar)
 | 
			
		||||
  private String bar = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("foo")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Foo = "foo";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Foo)
 | 
			
		||||
  private String foo = null;
 | 
			
		||||
 | 
			
		||||
   /**
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import java.util.Map;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class MapTest {
 | 
			
		||||
  @SerializedName("map_map_of_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapMapOfString = "map_map_of_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapMapOfString)
 | 
			
		||||
  private Map<String, Map<String, String>> mapMapOfString = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -82,7 +83,8 @@ public class MapTest {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("map_of_enum_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapOfEnumString = "map_of_enum_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapOfEnumString)
 | 
			
		||||
  private Map<String, InnerEnum> mapOfEnumString = null;
 | 
			
		||||
 | 
			
		||||
  public MapTest mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
 | 
			
		||||
 | 
			
		||||
@ -35,13 +35,16 @@ import org.threeten.bp.OffsetDateTime;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class MixedPropertiesAndAdditionalPropertiesClass {
 | 
			
		||||
  @SerializedName("uuid")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Uuid = "uuid";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Uuid)
 | 
			
		||||
  private UUID uuid = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("dateTime")
 | 
			
		||||
  public static final String SERIALIZED_NAME_DateTime = "dateTime";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_DateTime)
 | 
			
		||||
  private OffsetDateTime dateTime = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("map")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Map = "map";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Map)
 | 
			
		||||
  private Map<String, Animal> map = null;
 | 
			
		||||
 | 
			
		||||
  public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) {
 | 
			
		||||
 | 
			
		||||
@ -30,10 +30,12 @@ import java.io.IOException;
 | 
			
		||||
@ApiModel(description = "Model for testing model name starting with number")
 | 
			
		||||
 | 
			
		||||
public class Model200Response {
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private Integer name = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("class")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PropertyClass = "class";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PropertyClass)
 | 
			
		||||
  private String propertyClass = null;
 | 
			
		||||
 | 
			
		||||
  public Model200Response name(Integer name) {
 | 
			
		||||
 | 
			
		||||
@ -29,13 +29,16 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ModelApiResponse {
 | 
			
		||||
  @SerializedName("code")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Code = "code";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Code)
 | 
			
		||||
  private Integer code = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("type")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Type = "type";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Type)
 | 
			
		||||
  private String type = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("message")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Message = "message";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Message)
 | 
			
		||||
  private String message = null;
 | 
			
		||||
 | 
			
		||||
  public ModelApiResponse code(Integer code) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import java.io.IOException;
 | 
			
		||||
@ApiModel(description = "Model for testing reserved words")
 | 
			
		||||
 | 
			
		||||
public class ModelReturn {
 | 
			
		||||
  @SerializedName("return")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Return = "return";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Return)
 | 
			
		||||
  private Integer _return = null;
 | 
			
		||||
 | 
			
		||||
  public ModelReturn _return(Integer _return) {
 | 
			
		||||
 | 
			
		||||
@ -30,16 +30,20 @@ import java.io.IOException;
 | 
			
		||||
@ApiModel(description = "Model for testing model name same as property name")
 | 
			
		||||
 | 
			
		||||
public class Name {
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private Integer name = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("snake_case")
 | 
			
		||||
  public static final String SERIALIZED_NAME_SnakeCase = "snake_case";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_SnakeCase)
 | 
			
		||||
  private Integer snakeCase = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("property")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Property = "property";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Property)
 | 
			
		||||
  private String property = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("123Number")
 | 
			
		||||
  public static final String SERIALIZED_NAME_123number = "123Number";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_123number)
 | 
			
		||||
  private Integer _123number = null;
 | 
			
		||||
 | 
			
		||||
  public Name name(Integer name) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import java.math.BigDecimal;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class NumberOnly {
 | 
			
		||||
  @SerializedName("JustNumber")
 | 
			
		||||
  public static final String SERIALIZED_NAME_JustNumber = "JustNumber";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_JustNumber)
 | 
			
		||||
  private BigDecimal justNumber = null;
 | 
			
		||||
 | 
			
		||||
  public NumberOnly justNumber(BigDecimal justNumber) {
 | 
			
		||||
 | 
			
		||||
@ -30,16 +30,20 @@ import org.threeten.bp.OffsetDateTime;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Order {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("petId")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PetId = "petId";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PetId)
 | 
			
		||||
  private Long petId = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("quantity")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Quantity = "quantity";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Quantity)
 | 
			
		||||
  private Integer quantity = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("shipDate")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ShipDate = "shipDate";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ShipDate)
 | 
			
		||||
  private OffsetDateTime shipDate = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -91,10 +95,12 @@ public class Order {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("status")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Status = "status";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Status)
 | 
			
		||||
  private StatusEnum status = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("complete")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Complete = "complete";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Complete)
 | 
			
		||||
  private Boolean complete = false;
 | 
			
		||||
 | 
			
		||||
  public Order id(Long id) {
 | 
			
		||||
 | 
			
		||||
@ -30,13 +30,16 @@ import java.math.BigDecimal;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class OuterComposite {
 | 
			
		||||
  @SerializedName("my_number")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MyNumber = "my_number";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MyNumber)
 | 
			
		||||
  private BigDecimal myNumber = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("my_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MyString = "my_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MyString)
 | 
			
		||||
  private String myString = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("my_boolean")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MyBoolean = "my_boolean";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MyBoolean)
 | 
			
		||||
  private Boolean myBoolean = null;
 | 
			
		||||
 | 
			
		||||
  public OuterComposite myNumber(BigDecimal myNumber) {
 | 
			
		||||
 | 
			
		||||
@ -33,19 +33,24 @@ import org.openapitools.client.model.Tag;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Pet {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("category")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Category = "category";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Category)
 | 
			
		||||
  private Category category = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private String name = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("photoUrls")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PhotoUrls = "photoUrls";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PhotoUrls)
 | 
			
		||||
  private List<String> photoUrls = new ArrayList<String>();
 | 
			
		||||
 | 
			
		||||
  @SerializedName("tags")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Tags = "tags";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Tags)
 | 
			
		||||
  private List<Tag> tags = null;
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -97,7 +102,8 @@ public class Pet {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @SerializedName("status")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Status = "status";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Status)
 | 
			
		||||
  private StatusEnum status = null;
 | 
			
		||||
 | 
			
		||||
  public Pet id(Long id) {
 | 
			
		||||
 | 
			
		||||
@ -29,10 +29,12 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ReadOnlyFirst {
 | 
			
		||||
  @SerializedName("bar")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Bar = "bar";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Bar)
 | 
			
		||||
  private String bar = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("baz")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Baz = "baz";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Baz)
 | 
			
		||||
  private String baz = null;
 | 
			
		||||
 | 
			
		||||
   /**
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,8 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class SpecialModelName {
 | 
			
		||||
  @SerializedName("$special[property.name]")
 | 
			
		||||
  public static final String SERIALIZED_NAME_$SpecialPropertyName = "$special[property.name]";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_$SpecialPropertyName)
 | 
			
		||||
  private Long $specialPropertyName = null;
 | 
			
		||||
 | 
			
		||||
  public SpecialModelName $specialPropertyName(Long $specialPropertyName) {
 | 
			
		||||
 | 
			
		||||
@ -29,10 +29,12 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Tag {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private String name = null;
 | 
			
		||||
 | 
			
		||||
  public Tag id(Long id) {
 | 
			
		||||
 | 
			
		||||
@ -29,28 +29,36 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class User {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("username")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Username = "username";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Username)
 | 
			
		||||
  private String username = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("firstName")
 | 
			
		||||
  public static final String SERIALIZED_NAME_FirstName = "firstName";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_FirstName)
 | 
			
		||||
  private String firstName = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("lastName")
 | 
			
		||||
  public static final String SERIALIZED_NAME_LastName = "lastName";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_LastName)
 | 
			
		||||
  private String lastName = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("email")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Email = "email";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Email)
 | 
			
		||||
  private String email = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("password")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Password = "password";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Password)
 | 
			
		||||
  private String password = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("phone")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Phone = "phone";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Phone)
 | 
			
		||||
  private String phone = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("userStatus")
 | 
			
		||||
  public static final String SERIALIZED_NAME_UserStatus = "userStatus";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_UserStatus)
 | 
			
		||||
  private Integer userStatus = null;
 | 
			
		||||
 | 
			
		||||
  public User id(Long id) {
 | 
			
		||||
 | 
			
		||||
@ -32,10 +32,12 @@ import java.util.Map;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class AdditionalPropertiesClass {
 | 
			
		||||
  @SerializedName("map_property")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapProperty = "map_property";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapProperty)
 | 
			
		||||
  private Map<String, String> mapProperty = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("map_of_map_property")
 | 
			
		||||
  public static final String SERIALIZED_NAME_MapOfMapProperty = "map_of_map_property";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_MapOfMapProperty)
 | 
			
		||||
  private Map<String, Map<String, String>> mapOfMapProperty = null;
 | 
			
		||||
 | 
			
		||||
  public AdditionalPropertiesClass mapProperty(Map<String, String> mapProperty) {
 | 
			
		||||
 | 
			
		||||
@ -30,10 +30,12 @@ import java.io.IOException;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
public class Animal {
 | 
			
		||||
  @SerializedName("className")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ClassName = "className";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ClassName)
 | 
			
		||||
  private String className = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("color")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Color = "color";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Color)
 | 
			
		||||
  private String color = "red";
 | 
			
		||||
 | 
			
		||||
  public Animal() {
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import java.util.List;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ArrayOfArrayOfNumberOnly {
 | 
			
		||||
  @SerializedName("ArrayArrayNumber")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayArrayNumber = "ArrayArrayNumber";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayArrayNumber)
 | 
			
		||||
  private List<List<BigDecimal>> arrayArrayNumber = null;
 | 
			
		||||
 | 
			
		||||
  public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
 | 
			
		||||
 | 
			
		||||
@ -32,7 +32,8 @@ import java.util.List;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ArrayOfNumberOnly {
 | 
			
		||||
  @SerializedName("ArrayNumber")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayNumber = "ArrayNumber";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayNumber)
 | 
			
		||||
  private List<BigDecimal> arrayNumber = null;
 | 
			
		||||
 | 
			
		||||
  public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
 | 
			
		||||
 | 
			
		||||
@ -32,13 +32,16 @@ import org.openapitools.client.model.ReadOnlyFirst;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class ArrayTest {
 | 
			
		||||
  @SerializedName("array_of_string")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayOfString = "array_of_string";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayOfString)
 | 
			
		||||
  private List<String> arrayOfString = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("array_array_of_integer")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayArrayOfInteger = "array_array_of_integer";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayArrayOfInteger)
 | 
			
		||||
  private List<List<Long>> arrayArrayOfInteger = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("array_array_of_model")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ArrayArrayOfModel = "array_array_of_model";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ArrayArrayOfModel)
 | 
			
		||||
  private List<List<ReadOnlyFirst>> arrayArrayOfModel = null;
 | 
			
		||||
 | 
			
		||||
  public ArrayTest arrayOfString(List<String> arrayOfString) {
 | 
			
		||||
 | 
			
		||||
@ -29,22 +29,28 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Capitalization {
 | 
			
		||||
  @SerializedName("smallCamel")
 | 
			
		||||
  public static final String SERIALIZED_NAME_SmallCamel = "smallCamel";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_SmallCamel)
 | 
			
		||||
  private String smallCamel = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("CapitalCamel")
 | 
			
		||||
  public static final String SERIALIZED_NAME_CapitalCamel = "CapitalCamel";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_CapitalCamel)
 | 
			
		||||
  private String capitalCamel = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("small_Snake")
 | 
			
		||||
  public static final String SERIALIZED_NAME_SmallSnake = "small_Snake";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_SmallSnake)
 | 
			
		||||
  private String smallSnake = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("Capital_Snake")
 | 
			
		||||
  public static final String SERIALIZED_NAME_CapitalSnake = "Capital_Snake";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_CapitalSnake)
 | 
			
		||||
  private String capitalSnake = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("SCA_ETH_Flow_Points")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ScAETHFlowPoints = "SCA_ETH_Flow_Points";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ScAETHFlowPoints)
 | 
			
		||||
  private String scAETHFlowPoints = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("ATT_NAME")
 | 
			
		||||
  public static final String SERIALIZED_NAME_ATTNAME = "ATT_NAME";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_ATTNAME)
 | 
			
		||||
  private String ATT_NAME = null;
 | 
			
		||||
 | 
			
		||||
  public Capitalization smallCamel(String smallCamel) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import org.openapitools.client.model.Animal;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Cat extends Animal {
 | 
			
		||||
  @SerializedName("declawed")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Declawed = "declawed";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Declawed)
 | 
			
		||||
  private Boolean declawed = null;
 | 
			
		||||
 | 
			
		||||
  public Cat declawed(Boolean declawed) {
 | 
			
		||||
 | 
			
		||||
@ -29,10 +29,12 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Category {
 | 
			
		||||
  @SerializedName("id")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Id = "id";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Id)
 | 
			
		||||
  private Long id = null;
 | 
			
		||||
 | 
			
		||||
  @SerializedName("name")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Name = "name";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Name)
 | 
			
		||||
  private String name = null;
 | 
			
		||||
 | 
			
		||||
  public Category id(Long id) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import java.io.IOException;
 | 
			
		||||
@ApiModel(description = "Model for testing model with \"_class\" property")
 | 
			
		||||
 | 
			
		||||
public class ClassModel {
 | 
			
		||||
  @SerializedName("_class")
 | 
			
		||||
  public static final String SERIALIZED_NAME_PropertyClass = "_class";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_PropertyClass)
 | 
			
		||||
  private String propertyClass = null;
 | 
			
		||||
 | 
			
		||||
  public ClassModel propertyClass(String propertyClass) {
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,8 @@ import java.io.IOException;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Client {
 | 
			
		||||
  @SerializedName("client")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Client = "client";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Client)
 | 
			
		||||
  private String client = null;
 | 
			
		||||
 | 
			
		||||
  public Client client(String client) {
 | 
			
		||||
 | 
			
		||||
@ -30,7 +30,8 @@ import org.openapitools.client.model.Animal;
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
public class Dog extends Animal {
 | 
			
		||||
  @SerializedName("breed")
 | 
			
		||||
  public static final String SERIALIZED_NAME_Breed = "breed";
 | 
			
		||||
  @SerializedName(SERIALIZED_NAME_Breed)
 | 
			
		||||
  private String breed = null;
 | 
			
		||||
 | 
			
		||||
  public Dog breed(String breed) {
 | 
			
		||||
 | 
			
		||||
Some files were not shown because too many files have changed in this diff Show More
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user