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
for (Object _mo : models) {
@ -884,7 +885,6 @@ public class JavaClientCodegen extends AbstractJavaCodegen
((ArrayList<String>) cm.getVendorExtensions().get("x-implements")).add("Serializable");
}
}
}
return objs;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -10,4 +10,8 @@ Name | Type | Description | Notes
**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]
## Implemented Interfaces
* Parcelable

View File

@ -9,4 +9,8 @@ Name | Type | Description | Notes
**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]
## Implemented Interfaces
* Parcelable

View File

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

View File

@ -20,4 +20,8 @@ LEOPARDS | &quot;leopards&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]
## Implemented Interfaces
* Parcelable

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -28,4 +28,8 @@ FISH | &quot;fish&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
## 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]
## Implemented Interfaces
* Parcelable

View File

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

View File

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

View File

@ -21,4 +21,8 @@ UPPER | &quot;UPPER&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]
## Implemented Interfaces
* Parcelable

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* AdditionalPropertiesAnyType
*/
@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";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* AdditionalPropertiesArray
*/
@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";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* AdditionalPropertiesBoolean
*/
@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";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;

View File

@ -34,7 +34,7 @@ import android.os.Parcel;
* AdditionalPropertiesClass
*/
@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";
@SerializedName(SERIALIZED_NAME_MAP_STRING)
private Map<String, String> mapString = null;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* AdditionalPropertiesInteger
*/
@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";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* AdditionalPropertiesNumber
*/
@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";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* AdditionalPropertiesObject
*/
@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";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* AdditionalPropertiesString
*/
@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";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* Animal
*/
@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";
@SerializedName(SERIALIZED_NAME_CLASS_NAME)
protected String className;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* ArrayOfArrayOfNumberOnly
*/
@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";
@SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER)
private List<List<BigDecimal>> arrayArrayNumber = null;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* ArrayOfNumberOnly
*/
@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";
@SerializedName(SERIALIZED_NAME_ARRAY_NUMBER)
private List<BigDecimal> arrayNumber = null;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* ArrayTest
*/
@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";
@SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING)
private List<String> arrayOfString = null;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* BigCat
*/
@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
*/

View File

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

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* Capitalization
*/
@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";
@SerializedName(SERIALIZED_NAME_SMALL_CAMEL)
private String smallCamel;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* Cat
*/
@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";
@SerializedName(SERIALIZED_NAME_DECLAWED)
private Boolean declawed;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* CatAllOf
*/
@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";
@SerializedName(SERIALIZED_NAME_DECLAWED)
private Boolean declawed;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* Category
*/
@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";
@SerializedName(SERIALIZED_NAME_ID)
private Long id;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
*/
@ApiModel(description = "Model for testing model with \"_class\" property")
@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";
@SerializedName(SERIALIZED_NAME_PROPERTY_CLASS)
private String propertyClass;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* Client
*/
@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";
@SerializedName(SERIALIZED_NAME_CLIENT)
private String client;

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* Dog
*/
@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";
@SerializedName(SERIALIZED_NAME_BREED)
private String breed;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* DogAllOf
*/
@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";
@SerializedName(SERIALIZED_NAME_BREED)
private String breed;

View File

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

View File

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

View File

@ -32,7 +32,7 @@ import android.os.Parcel;
* FileSchemaTestClass
*/
@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";
@SerializedName(SERIALIZED_NAME_FILE)
private java.io.File file;

View File

@ -35,7 +35,7 @@ import android.os.Parcel;
* FormatTest
*/
@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";
@SerializedName(SERIALIZED_NAME_INTEGER)
private Integer integer;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* HasOnlyReadOnly
*/
@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";
@SerializedName(SERIALIZED_NAME_BAR)
private String bar;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* MapTest
*/
@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";
@SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING)
private Map<String, Map<String, String>> mapMapOfString = null;

View File

@ -36,7 +36,7 @@ import android.os.Parcel;
* MixedPropertiesAndAdditionalPropertiesClass
*/
@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";
@SerializedName(SERIALIZED_NAME_UUID)
private UUID uuid;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
*/
@ApiModel(description = "Model for testing model name starting with number")
@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";
@SerializedName(SERIALIZED_NAME_NAME)
private Integer name;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* ModelApiResponse
*/
@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";
@SerializedName(SERIALIZED_NAME_CODE)
private Integer code;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
*/
@ApiModel(description = "Model for testing reserved words")
@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";
@SerializedName(SERIALIZED_NAME_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")
@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";
@SerializedName(SERIALIZED_NAME_NAME)
private Integer name;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
* NumberOnly
*/
@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";
@SerializedName(SERIALIZED_NAME_JUST_NUMBER)
private BigDecimal justNumber;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
* Order
*/
@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";
@SerializedName(SERIALIZED_NAME_ID)
private Long id;

View File

@ -31,7 +31,7 @@ import android.os.Parcel;
* OuterComposite
*/
@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";
@SerializedName(SERIALIZED_NAME_MY_NUMBER)
private BigDecimal myNumber;

View File

@ -36,7 +36,7 @@ import android.os.Parcel;
* Pet
*/
@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";
@SerializedName(SERIALIZED_NAME_ID)
private Long id;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* ReadOnlyFirst
*/
@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";
@SerializedName(SERIALIZED_NAME_BAR)
private String bar;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* SpecialModelName
*/
@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]";
@SerializedName(SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME)
private Long $specialPropertyName;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* Tag
*/
@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";
@SerializedName(SERIALIZED_NAME_ID)
private Long id;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* TypeHolderDefault
*/
@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";
@SerializedName(SERIALIZED_NAME_STRING_ITEM)
private String stringItem = "what";

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* TypeHolderExample
*/
@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";
@SerializedName(SERIALIZED_NAME_STRING_ITEM)
private String stringItem;

View File

@ -30,7 +30,7 @@ import android.os.Parcel;
* User
*/
@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";
@SerializedName(SERIALIZED_NAME_ID)
private Long id;

View File

@ -33,7 +33,7 @@ import android.os.Parcel;
* XmlItem
*/
@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";
@SerializedName(SERIALIZED_NAME_ATTRIBUTE_STRING)
private String attributeString;