fix Parcelable option (#8513)

This commit is contained in:
William Cheng 2021-01-23 14:16:41 +08:00 committed by GitHub
parent 030b75b012
commit 0068932470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
89 changed files with 243 additions and 67 deletions

View File

@ -855,6 +855,7 @@ public class JavaClientCodegen extends AbstractJavaCodegen
} }
} }
} }
}
// add implements for serializable/parcelable to all models // add implements for serializable/parcelable to all models
for (Object _mo : models) { for (Object _mo : models) {
@ -884,7 +885,6 @@ public class JavaClientCodegen extends AbstractJavaCodegen
((ArrayList<String>) cm.getVendorExtensions().get("x-implements")).add("Serializable"); ((ArrayList<String>) cm.getVendorExtensions().get("x-implements")).add("Serializable");
} }
} }
}
return objs; return objs;
} }

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**name** | **String** | | [optional] **name** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**name** | **String** | | [optional] **name** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**name** | **String** | | [optional] **name** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -19,4 +19,8 @@ Name | Type | Description | Notes
**anytype3** | **Object** | | [optional] **anytype3** | **Object** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**name** | **String** | | [optional] **name** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**name** | **String** | | [optional] **name** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**name** | **String** | | [optional] **name** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**name** | **String** | | [optional] **name** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -10,4 +10,8 @@ Name | Type | Description | Notes
**color** | **String** | | [optional] **color** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**arrayArrayNumber** | **List&lt;List&lt;BigDecimal&gt;&gt;** | | [optional] **arrayArrayNumber** | **List&lt;List&lt;BigDecimal&gt;&gt;** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**arrayNumber** | **List&lt;BigDecimal&gt;** | | [optional] **arrayNumber** | **List&lt;BigDecimal&gt;** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -11,4 +11,8 @@ Name | Type | Description | Notes
**arrayArrayOfModel** | **List&lt;List&lt;ReadOnlyFirst&gt;&gt;** | | [optional] **arrayArrayOfModel** | **List&lt;List&lt;ReadOnlyFirst&gt;&gt;** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -20,4 +20,8 @@ LEOPARDS | &quot;leopards&quot;
JAGUARS | &quot;jaguars&quot; JAGUARS | &quot;jaguars&quot;
## Implemented Interfaces
* Parcelable

View File

@ -20,4 +20,8 @@ LEOPARDS | &quot;leopards&quot;
JAGUARS | &quot;jaguars&quot; JAGUARS | &quot;jaguars&quot;
## Implemented Interfaces
* Parcelable

View File

@ -14,4 +14,8 @@ Name | Type | Description | Notes
**ATT_NAME** | **String** | Name of the pet | [optional] **ATT_NAME** | **String** | Name of the pet | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**declawed** | **Boolean** | | [optional] **declawed** | **Boolean** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**declawed** | **Boolean** | | [optional] **declawed** | **Boolean** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -10,4 +10,8 @@ Name | Type | Description | Notes
**name** | **String** | | **name** | **String** | |
## Implemented Interfaces
* Parcelable

View File

@ -10,4 +10,8 @@ Name | Type | Description | Notes
**propertyClass** | **String** | | [optional] **propertyClass** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**client** | **String** | | [optional] **client** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**breed** | **String** | | [optional] **breed** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**breed** | **String** | | [optional] **breed** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -28,4 +28,8 @@ FISH | &quot;fish&quot;
CRAB | &quot;crab&quot; CRAB | &quot;crab&quot;
## Implemented Interfaces
* Parcelable

View File

@ -51,4 +51,8 @@ NUMBER_1_DOT_1 | 1.1
NUMBER_MINUS_1_DOT_2 | -1.2 NUMBER_MINUS_1_DOT_2 | -1.2
## Implemented Interfaces
* Parcelable

View File

@ -10,4 +10,8 @@ Name | Type | Description | Notes
**files** | [**List&lt;java.io.File&gt;**](java.io.File.md) | | [optional] **files** | [**List&lt;java.io.File&gt;**](java.io.File.md) | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -22,4 +22,8 @@ Name | Type | Description | Notes
**bigDecimal** | **BigDecimal** | | [optional] **bigDecimal** | **BigDecimal** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -10,4 +10,8 @@ Name | Type | Description | Notes
**foo** | **String** | | [optional] [readonly] **foo** | **String** | | [optional] [readonly]
## Implemented Interfaces
* Parcelable

View File

@ -21,4 +21,8 @@ UPPER | &quot;UPPER&quot;
LOWER | &quot;lower&quot; LOWER | &quot;lower&quot;
## Implemented Interfaces
* Parcelable

View File

@ -11,4 +11,8 @@ Name | Type | Description | Notes
**map** | [**Map&lt;String, Animal&gt;**](Animal.md) | | [optional] **map** | [**Map&lt;String, Animal&gt;**](Animal.md) | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -11,4 +11,8 @@ Name | Type | Description | Notes
**propertyClass** | **String** | | [optional] **propertyClass** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -11,4 +11,8 @@ Name | Type | Description | Notes
**message** | **String** | | [optional] **message** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -10,4 +10,8 @@ Name | Type | Description | Notes
**_return** | **Integer** | | [optional] **_return** | **Integer** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -13,4 +13,8 @@ Name | Type | Description | Notes
**_123number** | **Integer** | | [optional] [readonly] **_123number** | **Integer** | | [optional] [readonly]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**justNumber** | **BigDecimal** | | [optional] **justNumber** | **BigDecimal** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -24,4 +24,8 @@ APPROVED | &quot;approved&quot;
DELIVERED | &quot;delivered&quot; DELIVERED | &quot;delivered&quot;
## Implemented Interfaces
* Parcelable

View File

@ -11,4 +11,8 @@ Name | Type | Description | Notes
**myBoolean** | **Boolean** | | [optional] **myBoolean** | **Boolean** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -24,4 +24,8 @@ PENDING | &quot;pending&quot;
SOLD | &quot;sold&quot; SOLD | &quot;sold&quot;
## Implemented Interfaces
* Parcelable

View File

@ -10,4 +10,8 @@ Name | Type | Description | Notes
**baz** | **String** | | [optional] **baz** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**$specialPropertyName** | **Long** | | [optional] **$specialPropertyName** | **Long** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -10,4 +10,8 @@ Name | Type | Description | Notes
**name** | **String** | | [optional] **name** | **String** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -13,4 +13,8 @@ Name | Type | Description | Notes
**arrayItem** | **List&lt;Integer&gt;** | | **arrayItem** | **List&lt;Integer&gt;** | |
## Implemented Interfaces
* Parcelable

View File

@ -14,4 +14,8 @@ Name | Type | Description | Notes
**arrayItem** | **List&lt;Integer&gt;** | | **arrayItem** | **List&lt;Integer&gt;** | |
## Implemented Interfaces
* Parcelable

View File

@ -16,4 +16,8 @@ Name | Type | Description | Notes
**userStatus** | **Integer** | User Status | [optional] **userStatus** | **Integer** | User Status | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -37,4 +37,8 @@ Name | Type | Description | Notes
**prefixNsWrappedArray** | **List&lt;Integer&gt;** | | [optional] **prefixNsWrappedArray** | **List&lt;Integer&gt;** | | [optional]
## Implemented Interfaces
* Parcelable

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* AdditionalPropertiesAnyType * AdditionalPropertiesAnyType
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdditionalPropertiesAnyType extends HashMap<String, Object> { public class AdditionalPropertiesAnyType extends HashMap<String, Object> implements Parcelable {
public static final String SERIALIZED_NAME_NAME = "name"; public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME) @SerializedName(SERIALIZED_NAME_NAME)
private String name; private String name;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* AdditionalPropertiesArray * AdditionalPropertiesArray
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdditionalPropertiesArray extends HashMap<String, List> { public class AdditionalPropertiesArray extends HashMap<String, List> implements Parcelable {
public static final String SERIALIZED_NAME_NAME = "name"; public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME) @SerializedName(SERIALIZED_NAME_NAME)
private String name; private String name;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* AdditionalPropertiesBoolean * AdditionalPropertiesBoolean
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> { public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> implements Parcelable {
public static final String SERIALIZED_NAME_NAME = "name"; public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME) @SerializedName(SERIALIZED_NAME_NAME)
private String name; private String name;

View File

@ -34,7 +34,7 @@ import android.os.Parcel;
* AdditionalPropertiesClass * AdditionalPropertiesClass
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdditionalPropertiesClass { public class AdditionalPropertiesClass implements Parcelable {
public static final String SERIALIZED_NAME_MAP_STRING = "map_string"; public static final String SERIALIZED_NAME_MAP_STRING = "map_string";
@SerializedName(SERIALIZED_NAME_MAP_STRING) @SerializedName(SERIALIZED_NAME_MAP_STRING)
private Map<String, String> mapString = null; private Map<String, String> mapString = null;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* AdditionalPropertiesInteger * AdditionalPropertiesInteger
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdditionalPropertiesInteger extends HashMap<String, Integer> { public class AdditionalPropertiesInteger extends HashMap<String, Integer> implements Parcelable {
public static final String SERIALIZED_NAME_NAME = "name"; public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME) @SerializedName(SERIALIZED_NAME_NAME)
private String name; private String name;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* AdditionalPropertiesNumber * AdditionalPropertiesNumber
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> { public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> implements Parcelable {
public static final String SERIALIZED_NAME_NAME = "name"; public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME) @SerializedName(SERIALIZED_NAME_NAME)
private String name; private String name;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* AdditionalPropertiesObject * AdditionalPropertiesObject
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdditionalPropertiesObject extends HashMap<String, Map> { public class AdditionalPropertiesObject extends HashMap<String, Map> implements Parcelable {
public static final String SERIALIZED_NAME_NAME = "name"; public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME) @SerializedName(SERIALIZED_NAME_NAME)
private String name; private String name;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* AdditionalPropertiesString * AdditionalPropertiesString
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class AdditionalPropertiesString extends HashMap<String, String> { public class AdditionalPropertiesString extends HashMap<String, String> implements Parcelable {
public static final String SERIALIZED_NAME_NAME = "name"; public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME) @SerializedName(SERIALIZED_NAME_NAME)
private String name; private String name;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* Animal * Animal
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Animal { public class Animal implements Parcelable {
public static final String SERIALIZED_NAME_CLASS_NAME = "className"; public static final String SERIALIZED_NAME_CLASS_NAME = "className";
@SerializedName(SERIALIZED_NAME_CLASS_NAME) @SerializedName(SERIALIZED_NAME_CLASS_NAME)
protected String className; protected String className;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* ArrayOfArrayOfNumberOnly * ArrayOfArrayOfNumberOnly
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ArrayOfArrayOfNumberOnly { public class ArrayOfArrayOfNumberOnly implements Parcelable {
public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber";
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER) @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER)
private List<List<BigDecimal>> arrayArrayNumber = null; private List<List<BigDecimal>> arrayArrayNumber = null;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* ArrayOfNumberOnly * ArrayOfNumberOnly
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ArrayOfNumberOnly { public class ArrayOfNumberOnly implements Parcelable {
public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber"; public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber";
@SerializedName(SERIALIZED_NAME_ARRAY_NUMBER) @SerializedName(SERIALIZED_NAME_ARRAY_NUMBER)
private List<BigDecimal> arrayNumber = null; private List<BigDecimal> arrayNumber = null;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* ArrayTest * ArrayTest
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ArrayTest { public class ArrayTest implements Parcelable {
public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string"; public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string";
@SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING) @SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING)
private List<String> arrayOfString = null; private List<String> arrayOfString = null;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* BigCat * BigCat
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class BigCat extends Cat { public class BigCat extends Cat implements Parcelable {
/** /**
* Gets or Sets kind * Gets or Sets kind
*/ */

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* BigCatAllOf * BigCatAllOf
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class BigCatAllOf { public class BigCatAllOf implements Parcelable {
/** /**
* Gets or Sets kind * Gets or Sets kind
*/ */

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* Capitalization * Capitalization
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Capitalization { public class Capitalization implements Parcelable {
public static final String SERIALIZED_NAME_SMALL_CAMEL = "smallCamel"; public static final String SERIALIZED_NAME_SMALL_CAMEL = "smallCamel";
@SerializedName(SERIALIZED_NAME_SMALL_CAMEL) @SerializedName(SERIALIZED_NAME_SMALL_CAMEL)
private String smallCamel; private String smallCamel;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* Cat * Cat
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Cat extends Animal { public class Cat extends Animal implements Parcelable {
public static final String SERIALIZED_NAME_DECLAWED = "declawed"; public static final String SERIALIZED_NAME_DECLAWED = "declawed";
@SerializedName(SERIALIZED_NAME_DECLAWED) @SerializedName(SERIALIZED_NAME_DECLAWED)
private Boolean declawed; private Boolean declawed;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* CatAllOf * CatAllOf
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class CatAllOf { public class CatAllOf implements Parcelable {
public static final String SERIALIZED_NAME_DECLAWED = "declawed"; public static final String SERIALIZED_NAME_DECLAWED = "declawed";
@SerializedName(SERIALIZED_NAME_DECLAWED) @SerializedName(SERIALIZED_NAME_DECLAWED)
private Boolean declawed; private Boolean declawed;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* Category * Category
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Category { public class Category implements Parcelable {
public static final String SERIALIZED_NAME_ID = "id"; public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID) @SerializedName(SERIALIZED_NAME_ID)
private Long id; private Long id;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
*/ */
@ApiModel(description = "Model for testing model with \"_class\" property") @ApiModel(description = "Model for testing model with \"_class\" property")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ClassModel { public class ClassModel implements Parcelable {
public static final String SERIALIZED_NAME_PROPERTY_CLASS = "_class"; public static final String SERIALIZED_NAME_PROPERTY_CLASS = "_class";
@SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS)
private String propertyClass; private String propertyClass;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* Client * Client
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Client { public class Client implements Parcelable {
public static final String SERIALIZED_NAME_CLIENT = "client"; public static final String SERIALIZED_NAME_CLIENT = "client";
@SerializedName(SERIALIZED_NAME_CLIENT) @SerializedName(SERIALIZED_NAME_CLIENT)
private String client; private String client;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* Dog * Dog
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Dog extends Animal { public class Dog extends Animal implements Parcelable {
public static final String SERIALIZED_NAME_BREED = "breed"; public static final String SERIALIZED_NAME_BREED = "breed";
@SerializedName(SERIALIZED_NAME_BREED) @SerializedName(SERIALIZED_NAME_BREED)
private String breed; private String breed;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* DogAllOf * DogAllOf
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class DogAllOf { public class DogAllOf implements Parcelable {
public static final String SERIALIZED_NAME_BREED = "breed"; public static final String SERIALIZED_NAME_BREED = "breed";
@SerializedName(SERIALIZED_NAME_BREED) @SerializedName(SERIALIZED_NAME_BREED)
private String breed; private String breed;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* EnumArrays * EnumArrays
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class EnumArrays { public class EnumArrays implements Parcelable {
/** /**
* Gets or Sets justSymbol * Gets or Sets justSymbol
*/ */

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
* EnumTest * EnumTest
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class EnumTest { public class EnumTest implements Parcelable {
/** /**
* Gets or Sets enumString * Gets or Sets enumString
*/ */

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* FileSchemaTestClass * FileSchemaTestClass
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class FileSchemaTestClass { public class FileSchemaTestClass implements Parcelable {
public static final String SERIALIZED_NAME_FILE = "file"; public static final String SERIALIZED_NAME_FILE = "file";
@SerializedName(SERIALIZED_NAME_FILE) @SerializedName(SERIALIZED_NAME_FILE)
private java.io.File file; private java.io.File file;

View File

@ -35,7 +35,7 @@ import android.os.Parcel;
* FormatTest * FormatTest
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class FormatTest { public class FormatTest implements Parcelable {
public static final String SERIALIZED_NAME_INTEGER = "integer"; public static final String SERIALIZED_NAME_INTEGER = "integer";
@SerializedName(SERIALIZED_NAME_INTEGER) @SerializedName(SERIALIZED_NAME_INTEGER)
private Integer integer; private Integer integer;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* HasOnlyReadOnly * HasOnlyReadOnly
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class HasOnlyReadOnly { public class HasOnlyReadOnly implements Parcelable {
public static final String SERIALIZED_NAME_BAR = "bar"; public static final String SERIALIZED_NAME_BAR = "bar";
@SerializedName(SERIALIZED_NAME_BAR) @SerializedName(SERIALIZED_NAME_BAR)
private String bar; private String bar;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* MapTest * MapTest
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class MapTest { public class MapTest implements Parcelable {
public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string"; public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string";
@SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING) @SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING)
private Map<String, Map<String, String>> mapMapOfString = null; private Map<String, Map<String, String>> mapMapOfString = null;

View File

@ -36,7 +36,7 @@ import android.os.Parcel;
* MixedPropertiesAndAdditionalPropertiesClass * MixedPropertiesAndAdditionalPropertiesClass
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class MixedPropertiesAndAdditionalPropertiesClass { public class MixedPropertiesAndAdditionalPropertiesClass implements Parcelable {
public static final String SERIALIZED_NAME_UUID = "uuid"; public static final String SERIALIZED_NAME_UUID = "uuid";
@SerializedName(SERIALIZED_NAME_UUID) @SerializedName(SERIALIZED_NAME_UUID)
private UUID uuid; private UUID uuid;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
*/ */
@ApiModel(description = "Model for testing model name starting with number") @ApiModel(description = "Model for testing model name starting with number")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Model200Response { public class Model200Response implements Parcelable {
public static final String SERIALIZED_NAME_NAME = "name"; public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME) @SerializedName(SERIALIZED_NAME_NAME)
private Integer name; private Integer name;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* ModelApiResponse * ModelApiResponse
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ModelApiResponse { public class ModelApiResponse implements Parcelable {
public static final String SERIALIZED_NAME_CODE = "code"; public static final String SERIALIZED_NAME_CODE = "code";
@SerializedName(SERIALIZED_NAME_CODE) @SerializedName(SERIALIZED_NAME_CODE)
private Integer code; private Integer code;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
*/ */
@ApiModel(description = "Model for testing reserved words") @ApiModel(description = "Model for testing reserved words")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ModelReturn { public class ModelReturn implements Parcelable {
public static final String SERIALIZED_NAME_RETURN = "return"; public static final String SERIALIZED_NAME_RETURN = "return";
@SerializedName(SERIALIZED_NAME_RETURN) @SerializedName(SERIALIZED_NAME_RETURN)
private Integer _return; private Integer _return;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
*/ */
@ApiModel(description = "Model for testing model name same as property name") @ApiModel(description = "Model for testing model name same as property name")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Name { public class Name implements Parcelable {
public static final String SERIALIZED_NAME_NAME = "name"; public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME) @SerializedName(SERIALIZED_NAME_NAME)
private Integer name; private Integer name;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
* NumberOnly * NumberOnly
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class NumberOnly { public class NumberOnly implements Parcelable {
public static final String SERIALIZED_NAME_JUST_NUMBER = "JustNumber"; public static final String SERIALIZED_NAME_JUST_NUMBER = "JustNumber";
@SerializedName(SERIALIZED_NAME_JUST_NUMBER) @SerializedName(SERIALIZED_NAME_JUST_NUMBER)
private BigDecimal justNumber; private BigDecimal justNumber;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
* Order * Order
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Order { public class Order implements Parcelable {
public static final String SERIALIZED_NAME_ID = "id"; public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID) @SerializedName(SERIALIZED_NAME_ID)
private Long id; private Long id;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
* OuterComposite * OuterComposite
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class OuterComposite { public class OuterComposite implements Parcelable {
public static final String SERIALIZED_NAME_MY_NUMBER = "my_number"; public static final String SERIALIZED_NAME_MY_NUMBER = "my_number";
@SerializedName(SERIALIZED_NAME_MY_NUMBER) @SerializedName(SERIALIZED_NAME_MY_NUMBER)
private BigDecimal myNumber; private BigDecimal myNumber;

View File

@ -36,7 +36,7 @@ import android.os.Parcel;
* Pet * Pet
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Pet { public class Pet implements Parcelable {
public static final String SERIALIZED_NAME_ID = "id"; public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID) @SerializedName(SERIALIZED_NAME_ID)
private Long id; private Long id;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* ReadOnlyFirst * ReadOnlyFirst
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class ReadOnlyFirst { public class ReadOnlyFirst implements Parcelable {
public static final String SERIALIZED_NAME_BAR = "bar"; public static final String SERIALIZED_NAME_BAR = "bar";
@SerializedName(SERIALIZED_NAME_BAR) @SerializedName(SERIALIZED_NAME_BAR)
private String bar; private String bar;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* SpecialModelName * SpecialModelName
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class SpecialModelName { public class SpecialModelName implements Parcelable {
public static final String SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; public static final String SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME = "$special[property.name]";
@SerializedName(SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME) @SerializedName(SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME)
private Long $specialPropertyName; private Long $specialPropertyName;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* Tag * Tag
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Tag { public class Tag implements Parcelable {
public static final String SERIALIZED_NAME_ID = "id"; public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID) @SerializedName(SERIALIZED_NAME_ID)
private Long id; private Long id;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* TypeHolderDefault * TypeHolderDefault
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class TypeHolderDefault { public class TypeHolderDefault implements Parcelable {
public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; public static final String SERIALIZED_NAME_STRING_ITEM = "string_item";
@SerializedName(SERIALIZED_NAME_STRING_ITEM) @SerializedName(SERIALIZED_NAME_STRING_ITEM)
private String stringItem = "what"; private String stringItem = "what";

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* TypeHolderExample * TypeHolderExample
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class TypeHolderExample { public class TypeHolderExample implements Parcelable {
public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; public static final String SERIALIZED_NAME_STRING_ITEM = "string_item";
@SerializedName(SERIALIZED_NAME_STRING_ITEM) @SerializedName(SERIALIZED_NAME_STRING_ITEM)
private String stringItem; private String stringItem;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* User * User
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class User { public class User implements Parcelable {
public static final String SERIALIZED_NAME_ID = "id"; public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID) @SerializedName(SERIALIZED_NAME_ID)
private Long id; private Long id;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* XmlItem * XmlItem
*/ */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class XmlItem { public class XmlItem implements Parcelable {
public static final String SERIALIZED_NAME_ATTRIBUTE_STRING = "attribute_string"; public static final String SERIALIZED_NAME_ATTRIBUTE_STRING = "attribute_string";
@SerializedName(SERIALIZED_NAME_ATTRIBUTE_STRING) @SerializedName(SERIALIZED_NAME_ATTRIBUTE_STRING)
private String attributeString; private String attributeString;