fix duplicate call in JS (#1270)

This commit is contained in:
William Cheng 2018-10-26 18:28:37 +08:00 committed by GitHub
parent 1b115bb4f7
commit 3b53ac435f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
107 changed files with 165 additions and 441 deletions

View File

@ -1,4 +1,3 @@
{{#models}}{{#model}} {{#models}}{{#model}}
{{#emitJSDoc}} {{#emitJSDoc}}
/** /**
@ -21,11 +20,28 @@
var _this = this; var _this = this;
{{#parent}}{{^parentModel}}{{#vendorExtensions.x-isArray}} _this = new Array(); {{#parent}}{{^parentModel}}{{#vendorExtensions.x-isArray}} _this = new Array();
Object.setPrototypeOf(_this, exports); Object.setPrototypeOf(_this, exports);
{{/vendorExtensions.x-isArray}}{{/parentModel}}{{/parent}}{{#useInheritance}}{{#parentModel}} {{classname}}.call(_this{{#vendorExtensions.x-all-required}}, {{name}}{{/vendorExtensions.x-all-required}});{{/parentModel}} {{/vendorExtensions.x-isArray}}{{/parentModel}}{{/parent}}
{{#interfaceModels}} {{classname}}.call(_this{{#vendorExtensions.x-all-required}}, {{name}}{{/vendorExtensions.x-all-required}}); {{#useInheritance}}
{{/interfaceModels}}{{/useInheritance}}{{#vars}}{{#required}} _this['{{baseName}}'] = {{name}};{{/required}} {{#parentModel}}
{{/vars}}{{#parent}}{{^parentModel}} return _this; {{classname}}.call(_this{{#vendorExtensions.x-all-required}}, {{name}}{{/vendorExtensions.x-all-required}});
{{/parentModel}}{{/parent}} }; {{/parentModel}}
{{^parentModel}}
{{#interfaceModels}}
{{classname}}.call(_this{{#vendorExtensions.x-all-required}}, {{name}}{{/vendorExtensions.x-all-required}});
{{/interfaceModels}}
{{/parentModel}}
{{/useInheritance}}
{{#vars}}
{{#required}}
_this['{{baseName}}'] = {{name}};
{{/required}}
{{/vars}}
{{#parent}}
{{^parentModel}}
return _this;
{{/parentModel}}
{{/parent}}
};
{{#emitJSDoc}} {{#emitJSDoc}}
/** /**
@ -45,13 +61,27 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data){{! TODO: support polymorphism: discriminator property on data determines class to instantiate.}} { if (data){{! TODO: support polymorphism: discriminator property on data determines class to instantiate.}} {
obj = obj || new exports(); obj = obj || new exports();
{{#parent}}{{^parentModel}} ApiClient.constructFromObject(data, obj, '{{vendorExtensions.x-itemType}}'); {{#parent}}
{{/parentModel}}{{/parent}}{{#useInheritance}}{{#parentModel}} {{classname}}.constructFromObject(data, obj);{{/parentModel}} {{^parentModel}}
{{#interfaces}} {{.}}.constructFromObject(data, obj); ApiClient.constructFromObject(data, obj, '{{vendorExtensions.x-itemType}}');
{{/interfaces}}{{/useInheritance}}{{#vars}} if (data.hasOwnProperty('{{baseName}}')) { {{/parentModel}}
{{/parent}}
{{#useInheritance}}
{{#parentModel}}
{{classname}}.constructFromObject(data, obj);
{{/parentModel}}
{{^parentModel}}
{{#interfaces}}
{{.}}.constructFromObject(data, obj);
{{/interfaces}}
{{/parentModel}}
{{/useInheritance}}
{{#vars}}
if (data.hasOwnProperty('{{baseName}}')) {
obj['{{baseName}}']{{{defaultValueWithParam}}} obj['{{baseName}}']{{{defaultValueWithParam}}}
} }
{{/vars}} } {{/vars}}
}
return obj; return obj;
} }
{{/vendorExtensions.x-isPrimitive}} {{/vendorExtensions.x-isPrimitive}}

View File

@ -1 +1 @@
3.3.0-SNAPSHOT 3.3.2-SNAPSHOT

View File

@ -464,7 +464,7 @@ test inline additionalProperties
import OpenApiPetstore from 'open_api_petstore'; import OpenApiPetstore from 'open_api_petstore';
let apiInstance = new OpenApiPetstore.FakeApi(); let apiInstance = new OpenApiPetstore.FakeApi();
let requestBody = {key: "inner_example"}; // {String: String} | request body let requestBody = {key: "null"}; // {String: String} | request body
apiInstance.testInlineAdditionalProperties(requestBody, (error, data, response) => { apiInstance.testInlineAdditionalProperties(requestBody, (error, data, response) => {
if (error) { if (error) {
console.error(error); console.error(error);

View File

@ -6,7 +6,7 @@ Name | Type | Description | Notes
**mapMapOfString** | **{String: {String: String}}** | | [optional] **mapMapOfString** | **{String: {String: String}}** | | [optional]
**mapOfEnumString** | **{String: String}** | | [optional] **mapOfEnumString** | **{String: String}** | | [optional]
**directMap** | **{String: Boolean}** | | [optional] **directMap** | **{String: Boolean}** | | [optional]
**indirectMap** | [**StringBooleanMap**](StringBooleanMap.md) | | [optional] **indirectMap** | **{String: Boolean}** | | [optional]
<a name="{String: String}"></a> <a name="{String: String}"></a>

View File

@ -174,7 +174,7 @@ let petstore_auth = defaultClient.authentications['petstore_auth'];
petstore_auth.accessToken = 'YOUR ACCESS TOKEN'; petstore_auth.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new OpenApiPetstore.PetApi(); let apiInstance = new OpenApiPetstore.PetApi();
let tags = ["inner_example"]; // [String] | Tags to filter by let tags = ["null"]; // [String] | Tags to filter by
apiInstance.findPetsByTags(tags, (error, data, response) => { apiInstance.findPetsByTags(tags, (error, data, response) => {
if (error) { if (error) {
console.error(error); console.error(error);

View File

@ -12,7 +12,6 @@
*/ */
import ApiClient from '../ApiClient'; import ApiClient from '../ApiClient';
import StringBooleanMap from './StringBooleanMap';
/** /**
* The MapTest model module. * The MapTest model module.
@ -58,7 +57,7 @@ class MapTest {
obj['direct_map'] = ApiClient.convertToType(data['direct_map'], {'String': 'Boolean'}); obj['direct_map'] = ApiClient.convertToType(data['direct_map'], {'String': 'Boolean'});
} }
if (data.hasOwnProperty('indirect_map')) { if (data.hasOwnProperty('indirect_map')) {
obj['indirect_map'] = StringBooleanMap.constructFromObject(data['indirect_map']); obj['indirect_map'] = ApiClient.convertToType(data['indirect_map'], {'String': 'Boolean'});
} }
} }
return obj; return obj;
@ -83,7 +82,7 @@ MapTest.prototype['map_of_enum_string'] = undefined;
MapTest.prototype['direct_map'] = undefined; MapTest.prototype['direct_map'] = undefined;
/** /**
* @member {module:model/StringBooleanMap} indirect_map * @member {Object.<String, Boolean>} indirect_map
*/ */
MapTest.prototype['indirect_map'] = undefined; MapTest.prototype['indirect_map'] = undefined;

View File

@ -1 +1 @@
3.3.0-SNAPSHOT 3.3.2-SNAPSHOT

View File

@ -455,7 +455,7 @@ test inline additionalProperties
import OpenApiPetstore from 'open_api_petstore'; import OpenApiPetstore from 'open_api_petstore';
let apiInstance = new OpenApiPetstore.FakeApi(); let apiInstance = new OpenApiPetstore.FakeApi();
let requestBody = {key: "inner_example"}; // {String: String} | request body let requestBody = {key: "null"}; // {String: String} | request body
apiInstance.testInlineAdditionalProperties(requestBody).then(() => { apiInstance.testInlineAdditionalProperties(requestBody).then(() => {
console.log('API called successfully.'); console.log('API called successfully.');
}, (error) => { }, (error) => {

View File

@ -6,7 +6,7 @@ Name | Type | Description | Notes
**mapMapOfString** | **{String: {String: String}}** | | [optional] **mapMapOfString** | **{String: {String: String}}** | | [optional]
**mapOfEnumString** | **{String: String}** | | [optional] **mapOfEnumString** | **{String: String}** | | [optional]
**directMap** | **{String: Boolean}** | | [optional] **directMap** | **{String: Boolean}** | | [optional]
**indirectMap** | [**StringBooleanMap**](StringBooleanMap.md) | | [optional] **indirectMap** | **{String: Boolean}** | | [optional]
<a name="{String: String}"></a> <a name="{String: String}"></a>

View File

@ -171,7 +171,7 @@ let petstore_auth = defaultClient.authentications['petstore_auth'];
petstore_auth.accessToken = 'YOUR ACCESS TOKEN'; petstore_auth.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new OpenApiPetstore.PetApi(); let apiInstance = new OpenApiPetstore.PetApi();
let tags = ["inner_example"]; // [String] | Tags to filter by let tags = ["null"]; // [String] | Tags to filter by
apiInstance.findPetsByTags(tags).then((data) => { apiInstance.findPetsByTags(tags).then((data) => {
console.log('API called successfully. Returned data: ' + data); console.log('API called successfully. Returned data: ' + data);
}, (error) => { }, (error) => {

View File

@ -12,7 +12,6 @@
*/ */
import ApiClient from '../ApiClient'; import ApiClient from '../ApiClient';
import StringBooleanMap from './StringBooleanMap';
/** /**
* The MapTest model module. * The MapTest model module.
@ -58,7 +57,7 @@ class MapTest {
obj['direct_map'] = ApiClient.convertToType(data['direct_map'], {'String': 'Boolean'}); obj['direct_map'] = ApiClient.convertToType(data['direct_map'], {'String': 'Boolean'});
} }
if (data.hasOwnProperty('indirect_map')) { if (data.hasOwnProperty('indirect_map')) {
obj['indirect_map'] = StringBooleanMap.constructFromObject(data['indirect_map']); obj['indirect_map'] = ApiClient.convertToType(data['indirect_map'], {'String': 'Boolean'});
} }
} }
return obj; return obj;
@ -83,7 +82,7 @@ MapTest.prototype['map_of_enum_string'] = undefined;
MapTest.prototype['direct_map'] = undefined; MapTest.prototype['direct_map'] = undefined;
/** /**
* @member {module:model/StringBooleanMap} indirect_map * @member {Object.<String, Boolean>} indirect_map
*/ */
MapTest.prototype['indirect_map'] = undefined; MapTest.prototype['indirect_map'] = undefined;

View File

@ -1 +1 @@
3.3.0-SNAPSHOT 3.3.2-SNAPSHOT

View File

@ -455,7 +455,7 @@ test inline additionalProperties
var OpenApiPetstore = require('open_api_petstore'); var OpenApiPetstore = require('open_api_petstore');
var apiInstance = new OpenApiPetstore.FakeApi(); var apiInstance = new OpenApiPetstore.FakeApi();
var requestBody = {key: "inner_example"}; // {String: String} | request body var requestBody = {key: "null"}; // {String: String} | request body
apiInstance.testInlineAdditionalProperties(requestBody).then(function() { apiInstance.testInlineAdditionalProperties(requestBody).then(function() {
console.log('API called successfully.'); console.log('API called successfully.');
}, function(error) { }, function(error) {

View File

@ -6,7 +6,7 @@ Name | Type | Description | Notes
**mapMapOfString** | **{String: {String: String}}** | | [optional] **mapMapOfString** | **{String: {String: String}}** | | [optional]
**mapOfEnumString** | **{String: String}** | | [optional] **mapOfEnumString** | **{String: String}** | | [optional]
**directMap** | **{String: Boolean}** | | [optional] **directMap** | **{String: Boolean}** | | [optional]
**indirectMap** | [**StringBooleanMap**](StringBooleanMap.md) | | [optional] **indirectMap** | **{String: Boolean}** | | [optional]
<a name="{String: String}"></a> <a name="{String: String}"></a>

View File

@ -167,7 +167,7 @@ var petstore_auth = defaultClient.authentications['petstore_auth'];
petstore_auth.accessToken = 'YOUR ACCESS TOKEN'; petstore_auth.accessToken = 'YOUR ACCESS TOKEN';
var apiInstance = new OpenApiPetstore.PetApi(); var apiInstance = new OpenApiPetstore.PetApi();
var tags = ["inner_example"]; // [String] | Tags to filter by var tags = ["null"]; // [String] | Tags to filter by
apiInstance.findPetsByTags(tags).then(function(data) { apiInstance.findPetsByTags(tags).then(function(data) {
console.log('API called successfully. Returned data: ' + data); console.log('API called successfully. Returned data: ' + data);
}, function(error) { }, function(error) {

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The AdditionalPropertiesClass model module. * The AdditionalPropertiesClass model module.
* @module model/AdditionalPropertiesClass * @module model/AdditionalPropertiesClass
@ -47,8 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('map_property')) { if (data.hasOwnProperty('map_property')) {
obj['map_property'] = ApiClient.convertToType(data['map_property'], {'String': 'String'}); obj['map_property'] = ApiClient.convertToType(data['map_property'], {'String': 'String'});
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Animal model module. * The Animal model module.
* @module model/Animal * @module model/Animal
@ -49,7 +48,6 @@
var _this = this; var _this = this;
_this['className'] = className; _this['className'] = className;
}; };
/** /**
@ -62,7 +60,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('className')) { if (data.hasOwnProperty('className')) {
obj['className'] = ApiClient.convertToType(data['className'], 'String'); obj['className'] = ApiClient.convertToType(data['className'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The AnimalFarm model module. * The AnimalFarm model module.
* @module model/AnimalFarm * @module model/AnimalFarm
@ -64,7 +63,6 @@
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
ApiClient.constructFromObject(data, obj, 'Animal'); ApiClient.constructFromObject(data, obj, 'Animal');
} }
return obj; return obj;
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ApiResponse model module. * The ApiResponse model module.
* @module model/ApiResponse * @module model/ApiResponse
@ -47,9 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -62,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('code')) { if (data.hasOwnProperty('code')) {
obj['code'] = ApiClient.convertToType(data['code'], 'Number'); obj['code'] = ApiClient.convertToType(data['code'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ArrayOfArrayOfNumberOnly model module. * The ArrayOfArrayOfNumberOnly model module.
* @module model/ArrayOfArrayOfNumberOnly * @module model/ArrayOfArrayOfNumberOnly
@ -47,7 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -60,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('ArrayArrayNumber')) { if (data.hasOwnProperty('ArrayArrayNumber')) {
obj['ArrayArrayNumber'] = ApiClient.convertToType(data['ArrayArrayNumber'], [['Number']]); obj['ArrayArrayNumber'] = ApiClient.convertToType(data['ArrayArrayNumber'], [['Number']]);
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ArrayOfNumberOnly model module. * The ArrayOfNumberOnly model module.
* @module model/ArrayOfNumberOnly * @module model/ArrayOfNumberOnly
@ -47,7 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -60,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('ArrayNumber')) { if (data.hasOwnProperty('ArrayNumber')) {
obj['ArrayNumber'] = ApiClient.convertToType(data['ArrayNumber'], ['Number']); obj['ArrayNumber'] = ApiClient.convertToType(data['ArrayNumber'], ['Number']);
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ArrayTest model module. * The ArrayTest model module.
* @module model/ArrayTest * @module model/ArrayTest
@ -47,9 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -62,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('array_of_string')) { if (data.hasOwnProperty('array_of_string')) {
obj['array_of_string'] = ApiClient.convertToType(data['array_of_string'], ['String']); obj['array_of_string'] = ApiClient.convertToType(data['array_of_string'], ['String']);
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Capitalization model module. * The Capitalization model module.
* @module model/Capitalization * @module model/Capitalization
@ -47,12 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -65,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('smallCamel')) { if (data.hasOwnProperty('smallCamel')) {
obj['smallCamel'] = ApiClient.convertToType(data['smallCamel'], 'String'); obj['smallCamel'] = ApiClient.convertToType(data['smallCamel'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Cat model module. * The Cat model module.
* @module model/Cat * @module model/Cat
@ -49,9 +48,8 @@
*/ */
var exports = function(className) { var exports = function(className) {
var _this = this; var _this = this;
Animal.call(_this, className);
Animal.call(_this, className);
Animal.call(_this, className);
}; };
/** /**
@ -65,7 +63,6 @@
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
Animal.constructFromObject(data, obj); Animal.constructFromObject(data, obj);
Animal.constructFromObject(data, obj);
if (data.hasOwnProperty('declawed')) { if (data.hasOwnProperty('declawed')) {
obj['declawed'] = ApiClient.convertToType(data['declawed'], 'Boolean'); obj['declawed'] = ApiClient.convertToType(data['declawed'], 'Boolean');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Category model module. * The Category model module.
* @module model/Category * @module model/Category
@ -47,8 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('id')) { if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'Number'); obj['id'] = ApiClient.convertToType(data['id'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ClassModel model module. * The ClassModel model module.
* @module model/ClassModel * @module model/ClassModel
@ -48,7 +47,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +59,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('_class')) { if (data.hasOwnProperty('_class')) {
obj['_class'] = ApiClient.convertToType(data['_class'], 'String'); obj['_class'] = ApiClient.convertToType(data['_class'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Client model module. * The Client model module.
* @module model/Client * @module model/Client
@ -47,7 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -60,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('client')) { if (data.hasOwnProperty('client')) {
obj['client'] = ApiClient.convertToType(data['client'], 'String'); obj['client'] = ApiClient.convertToType(data['client'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Dog model module. * The Dog model module.
* @module model/Dog * @module model/Dog
@ -49,9 +48,8 @@
*/ */
var exports = function(className) { var exports = function(className) {
var _this = this; var _this = this;
Animal.call(_this, className);
Animal.call(_this, className);
Animal.call(_this, className);
}; };
/** /**
@ -65,7 +63,6 @@
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
Animal.constructFromObject(data, obj); Animal.constructFromObject(data, obj);
Animal.constructFromObject(data, obj);
if (data.hasOwnProperty('breed')) { if (data.hasOwnProperty('breed')) {
obj['breed'] = ApiClient.convertToType(data['breed'], 'String'); obj['breed'] = ApiClient.convertToType(data['breed'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The EnumArrays model module. * The EnumArrays model module.
* @module model/EnumArrays * @module model/EnumArrays
@ -47,8 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('just_symbol')) { if (data.hasOwnProperty('just_symbol')) {
obj['just_symbol'] = ApiClient.convertToType(data['just_symbol'], 'String'); obj['just_symbol'] = ApiClient.convertToType(data['just_symbol'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The EnumTest model module. * The EnumTest model module.
* @module model/EnumTest * @module model/EnumTest
@ -48,11 +47,7 @@
var exports = function(enumStringRequired) { var exports = function(enumStringRequired) {
var _this = this; var _this = this;
_this['enum_string_required'] = enumStringRequired; _this['enum_string_required'] = enumStringRequired;
}; };
/** /**
@ -65,7 +60,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('enum_string')) { if (data.hasOwnProperty('enum_string')) {
obj['enum_string'] = ApiClient.convertToType(data['enum_string'], 'String'); obj['enum_string'] = ApiClient.convertToType(data['enum_string'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The File model module. * The File model module.
* @module model/File * @module model/File
@ -48,7 +47,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +59,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('sourceURI')) { if (data.hasOwnProperty('sourceURI')) {
obj['sourceURI'] = ApiClient.convertToType(data['sourceURI'], 'String'); obj['sourceURI'] = ApiClient.convertToType(data['sourceURI'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The FileSchemaTestClass model module. * The FileSchemaTestClass model module.
* @module model/FileSchemaTestClass * @module model/FileSchemaTestClass
@ -47,8 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('file')) { if (data.hasOwnProperty('file')) {
obj['file'] = File.constructFromObject(data['file']); obj['file'] = File.constructFromObject(data['file']);
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The FormatTest model module. * The FormatTest model module.
* @module model/FormatTest * @module model/FormatTest
@ -51,18 +50,9 @@
var exports = function(_number, _byte, _date, password) { var exports = function(_number, _byte, _date, password) {
var _this = this; var _this = this;
_this['number'] = _number; _this['number'] = _number;
_this['byte'] = _byte; _this['byte'] = _byte;
_this['date'] = _date; _this['date'] = _date;
_this['password'] = password; _this['password'] = password;
}; };
@ -76,7 +66,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('integer')) { if (data.hasOwnProperty('integer')) {
obj['integer'] = ApiClient.convertToType(data['integer'], 'Number'); obj['integer'] = ApiClient.convertToType(data['integer'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The HasOnlyReadOnly model module. * The HasOnlyReadOnly model module.
* @module model/HasOnlyReadOnly * @module model/HasOnlyReadOnly
@ -47,8 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('bar')) { if (data.hasOwnProperty('bar')) {
obj['bar'] = ApiClient.convertToType(data['bar'], 'String'); obj['bar'] = ApiClient.convertToType(data['bar'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The List model module. * The List model module.
* @module model/List * @module model/List
@ -47,7 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -60,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('123-list')) { if (data.hasOwnProperty('123-list')) {
obj['123-list'] = ApiClient.convertToType(data['123-list'], 'String'); obj['123-list'] = ApiClient.convertToType(data['123-list'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -16,23 +16,22 @@
(function(root, factory) { (function(root, factory) {
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define(['ApiClient', 'model/StringBooleanMap'], factory); define(['ApiClient'], factory);
} else if (typeof module === 'object' && module.exports) { } else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node. // CommonJS-like environments that support module.exports, like Node.
module.exports = factory(require('../ApiClient'), require('./StringBooleanMap')); module.exports = factory(require('../ApiClient'));
} else { } else {
// Browser globals (root is window) // Browser globals (root is window)
if (!root.OpenApiPetstore) { if (!root.OpenApiPetstore) {
root.OpenApiPetstore = {}; root.OpenApiPetstore = {};
} }
root.OpenApiPetstore.MapTest = factory(root.OpenApiPetstore.ApiClient, root.OpenApiPetstore.StringBooleanMap); root.OpenApiPetstore.MapTest = factory(root.OpenApiPetstore.ApiClient);
} }
}(this, function(ApiClient, StringBooleanMap) { }(this, function(ApiClient) {
'use strict'; 'use strict';
/** /**
* The MapTest model module. * The MapTest model module.
* @module model/MapTest * @module model/MapTest
@ -47,10 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -63,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('map_map_of_string')) { if (data.hasOwnProperty('map_map_of_string')) {
obj['map_map_of_string'] = ApiClient.convertToType(data['map_map_of_string'], {'String': {'String': 'String'}}); obj['map_map_of_string'] = ApiClient.convertToType(data['map_map_of_string'], {'String': {'String': 'String'}});
} }
@ -74,7 +68,7 @@
obj['direct_map'] = ApiClient.convertToType(data['direct_map'], {'String': 'Boolean'}); obj['direct_map'] = ApiClient.convertToType(data['direct_map'], {'String': 'Boolean'});
} }
if (data.hasOwnProperty('indirect_map')) { if (data.hasOwnProperty('indirect_map')) {
obj['indirect_map'] = StringBooleanMap.constructFromObject(data['indirect_map']); obj['indirect_map'] = ApiClient.convertToType(data['indirect_map'], {'String': 'Boolean'});
} }
} }
return obj; return obj;
@ -93,7 +87,7 @@
*/ */
exports.prototype['direct_map'] = undefined; exports.prototype['direct_map'] = undefined;
/** /**
* @member {module:model/StringBooleanMap} indirect_map * @member {Object.<String, Boolean>} indirect_map
*/ */
exports.prototype['indirect_map'] = undefined; exports.prototype['indirect_map'] = undefined;

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The MixedPropertiesAndAdditionalPropertiesClass model module. * The MixedPropertiesAndAdditionalPropertiesClass model module.
* @module model/MixedPropertiesAndAdditionalPropertiesClass * @module model/MixedPropertiesAndAdditionalPropertiesClass
@ -47,9 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -62,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('uuid')) { if (data.hasOwnProperty('uuid')) {
obj['uuid'] = ApiClient.convertToType(data['uuid'], 'String'); obj['uuid'] = ApiClient.convertToType(data['uuid'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Model200Response model module. * The Model200Response model module.
* @module model/Model200Response * @module model/Model200Response
@ -48,8 +47,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -62,7 +59,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('name')) { if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'Number'); obj['name'] = ApiClient.convertToType(data['name'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ModelReturn model module. * The ModelReturn model module.
* @module model/ModelReturn * @module model/ModelReturn
@ -48,7 +47,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +59,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('return')) { if (data.hasOwnProperty('return')) {
obj['return'] = ApiClient.convertToType(data['return'], 'Number'); obj['return'] = ApiClient.convertToType(data['return'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Name model module. * The Name model module.
* @module model/Name * @module model/Name
@ -50,9 +49,6 @@
var _this = this; var _this = this;
_this['name'] = name; _this['name'] = name;
}; };
/** /**
@ -65,7 +61,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('name')) { if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'Number'); obj['name'] = ApiClient.convertToType(data['name'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The NumberOnly model module. * The NumberOnly model module.
* @module model/NumberOnly * @module model/NumberOnly
@ -47,7 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -60,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('JustNumber')) { if (data.hasOwnProperty('JustNumber')) {
obj['JustNumber'] = ApiClient.convertToType(data['JustNumber'], 'Number'); obj['JustNumber'] = ApiClient.convertToType(data['JustNumber'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Order model module. * The Order model module.
* @module model/Order * @module model/Order
@ -47,12 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -65,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('id')) { if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'Number'); obj['id'] = ApiClient.convertToType(data['id'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The OuterComposite model module. * The OuterComposite model module.
* @module model/OuterComposite * @module model/OuterComposite
@ -47,9 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -62,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('my_number')) { if (data.hasOwnProperty('my_number')) {
obj['my_number'] = ApiClient.convertToType(data['my_number'], 'Number'); obj['my_number'] = ApiClient.convertToType(data['my_number'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Pet model module. * The Pet model module.
* @module model/Pet * @module model/Pet
@ -49,12 +48,8 @@
var exports = function(name, photoUrls) { var exports = function(name, photoUrls) {
var _this = this; var _this = this;
_this['name'] = name; _this['name'] = name;
_this['photoUrls'] = photoUrls; _this['photoUrls'] = photoUrls;
}; };
/** /**
@ -67,7 +62,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('id')) { if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'Number'); obj['id'] = ApiClient.convertToType(data['id'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ReadOnlyFirst model module. * The ReadOnlyFirst model module.
* @module model/ReadOnlyFirst * @module model/ReadOnlyFirst
@ -47,8 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('bar')) { if (data.hasOwnProperty('bar')) {
obj['bar'] = ApiClient.convertToType(data['bar'], 'String'); obj['bar'] = ApiClient.convertToType(data['bar'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The SpecialModelName model module. * The SpecialModelName model module.
* @module model/SpecialModelName * @module model/SpecialModelName
@ -47,7 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -60,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('$special[property.name]')) { if (data.hasOwnProperty('$special[property.name]')) {
obj['$special[property.name]'] = ApiClient.convertToType(data['$special[property.name]'], 'Number'); obj['$special[property.name]'] = ApiClient.convertToType(data['$special[property.name]'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The StringBooleanMap model module. * The StringBooleanMap model module.
* @module model/StringBooleanMap * @module model/StringBooleanMap
@ -62,7 +61,6 @@
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
ApiClient.constructFromObject(data, obj, 'Boolean'); ApiClient.constructFromObject(data, obj, 'Boolean');
} }
return obj; return obj;
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Tag model module. * The Tag model module.
* @module model/Tag * @module model/Tag
@ -47,8 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('id')) { if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'Number'); obj['id'] = ApiClient.convertToType(data['id'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The User model module. * The User model module.
* @module model/User * @module model/User
@ -47,14 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -67,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('id')) { if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'Number'); obj['id'] = ApiClient.convertToType(data['id'], 'Number');
} }

View File

@ -1 +1 @@
3.3.0-SNAPSHOT 3.3.2-SNAPSHOT

View File

@ -473,7 +473,7 @@ test inline additionalProperties
var OpenApiPetstore = require('open_api_petstore'); var OpenApiPetstore = require('open_api_petstore');
var apiInstance = new OpenApiPetstore.FakeApi(); var apiInstance = new OpenApiPetstore.FakeApi();
var requestBody = {key: "inner_example"}; // {String: String} | request body var requestBody = {key: "null"}; // {String: String} | request body
var callback = function(error, data, response) { var callback = function(error, data, response) {
if (error) { if (error) {
console.error(error); console.error(error);

View File

@ -6,7 +6,7 @@ Name | Type | Description | Notes
**mapMapOfString** | **{String: {String: String}}** | | [optional] **mapMapOfString** | **{String: {String: String}}** | | [optional]
**mapOfEnumString** | **{String: String}** | | [optional] **mapOfEnumString** | **{String: String}** | | [optional]
**directMap** | **{String: Boolean}** | | [optional] **directMap** | **{String: Boolean}** | | [optional]
**indirectMap** | [**StringBooleanMap**](StringBooleanMap.md) | | [optional] **indirectMap** | **{String: Boolean}** | | [optional]
<a name="{String: String}"></a> <a name="{String: String}"></a>

View File

@ -173,7 +173,7 @@ var petstore_auth = defaultClient.authentications['petstore_auth'];
petstore_auth.accessToken = 'YOUR ACCESS TOKEN'; petstore_auth.accessToken = 'YOUR ACCESS TOKEN';
var apiInstance = new OpenApiPetstore.PetApi(); var apiInstance = new OpenApiPetstore.PetApi();
var tags = ["inner_example"]; // [String] | Tags to filter by var tags = ["null"]; // [String] | Tags to filter by
var callback = function(error, data, response) { var callback = function(error, data, response) {
if (error) { if (error) {
console.error(error); console.error(error);

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The AdditionalPropertiesClass model module. * The AdditionalPropertiesClass model module.
* @module model/AdditionalPropertiesClass * @module model/AdditionalPropertiesClass
@ -47,8 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('map_property')) { if (data.hasOwnProperty('map_property')) {
obj['map_property'] = ApiClient.convertToType(data['map_property'], {'String': 'String'}); obj['map_property'] = ApiClient.convertToType(data['map_property'], {'String': 'String'});
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Animal model module. * The Animal model module.
* @module model/Animal * @module model/Animal
@ -49,7 +48,6 @@
var _this = this; var _this = this;
_this['className'] = className; _this['className'] = className;
}; };
/** /**
@ -62,7 +60,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('className')) { if (data.hasOwnProperty('className')) {
obj['className'] = ApiClient.convertToType(data['className'], 'String'); obj['className'] = ApiClient.convertToType(data['className'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The AnimalFarm model module. * The AnimalFarm model module.
* @module model/AnimalFarm * @module model/AnimalFarm
@ -64,7 +63,6 @@
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
ApiClient.constructFromObject(data, obj, 'Animal'); ApiClient.constructFromObject(data, obj, 'Animal');
} }
return obj; return obj;
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ApiResponse model module. * The ApiResponse model module.
* @module model/ApiResponse * @module model/ApiResponse
@ -47,9 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -62,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('code')) { if (data.hasOwnProperty('code')) {
obj['code'] = ApiClient.convertToType(data['code'], 'Number'); obj['code'] = ApiClient.convertToType(data['code'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ArrayOfArrayOfNumberOnly model module. * The ArrayOfArrayOfNumberOnly model module.
* @module model/ArrayOfArrayOfNumberOnly * @module model/ArrayOfArrayOfNumberOnly
@ -47,7 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -60,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('ArrayArrayNumber')) { if (data.hasOwnProperty('ArrayArrayNumber')) {
obj['ArrayArrayNumber'] = ApiClient.convertToType(data['ArrayArrayNumber'], [['Number']]); obj['ArrayArrayNumber'] = ApiClient.convertToType(data['ArrayArrayNumber'], [['Number']]);
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ArrayOfNumberOnly model module. * The ArrayOfNumberOnly model module.
* @module model/ArrayOfNumberOnly * @module model/ArrayOfNumberOnly
@ -47,7 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -60,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('ArrayNumber')) { if (data.hasOwnProperty('ArrayNumber')) {
obj['ArrayNumber'] = ApiClient.convertToType(data['ArrayNumber'], ['Number']); obj['ArrayNumber'] = ApiClient.convertToType(data['ArrayNumber'], ['Number']);
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ArrayTest model module. * The ArrayTest model module.
* @module model/ArrayTest * @module model/ArrayTest
@ -47,9 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -62,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('array_of_string')) { if (data.hasOwnProperty('array_of_string')) {
obj['array_of_string'] = ApiClient.convertToType(data['array_of_string'], ['String']); obj['array_of_string'] = ApiClient.convertToType(data['array_of_string'], ['String']);
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Capitalization model module. * The Capitalization model module.
* @module model/Capitalization * @module model/Capitalization
@ -47,12 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -65,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('smallCamel')) { if (data.hasOwnProperty('smallCamel')) {
obj['smallCamel'] = ApiClient.convertToType(data['smallCamel'], 'String'); obj['smallCamel'] = ApiClient.convertToType(data['smallCamel'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Cat model module. * The Cat model module.
* @module model/Cat * @module model/Cat
@ -49,9 +48,8 @@
*/ */
var exports = function(className) { var exports = function(className) {
var _this = this; var _this = this;
Animal.call(_this, className);
Animal.call(_this, className);
Animal.call(_this, className);
}; };
/** /**
@ -65,7 +63,6 @@
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
Animal.constructFromObject(data, obj); Animal.constructFromObject(data, obj);
Animal.constructFromObject(data, obj);
if (data.hasOwnProperty('declawed')) { if (data.hasOwnProperty('declawed')) {
obj['declawed'] = ApiClient.convertToType(data['declawed'], 'Boolean'); obj['declawed'] = ApiClient.convertToType(data['declawed'], 'Boolean');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Category model module. * The Category model module.
* @module model/Category * @module model/Category
@ -47,8 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('id')) { if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'Number'); obj['id'] = ApiClient.convertToType(data['id'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ClassModel model module. * The ClassModel model module.
* @module model/ClassModel * @module model/ClassModel
@ -48,7 +47,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +59,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('_class')) { if (data.hasOwnProperty('_class')) {
obj['_class'] = ApiClient.convertToType(data['_class'], 'String'); obj['_class'] = ApiClient.convertToType(data['_class'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Client model module. * The Client model module.
* @module model/Client * @module model/Client
@ -47,7 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -60,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('client')) { if (data.hasOwnProperty('client')) {
obj['client'] = ApiClient.convertToType(data['client'], 'String'); obj['client'] = ApiClient.convertToType(data['client'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Dog model module. * The Dog model module.
* @module model/Dog * @module model/Dog
@ -49,9 +48,8 @@
*/ */
var exports = function(className) { var exports = function(className) {
var _this = this; var _this = this;
Animal.call(_this, className);
Animal.call(_this, className);
Animal.call(_this, className);
}; };
/** /**
@ -65,7 +63,6 @@
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
Animal.constructFromObject(data, obj); Animal.constructFromObject(data, obj);
Animal.constructFromObject(data, obj);
if (data.hasOwnProperty('breed')) { if (data.hasOwnProperty('breed')) {
obj['breed'] = ApiClient.convertToType(data['breed'], 'String'); obj['breed'] = ApiClient.convertToType(data['breed'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The EnumArrays model module. * The EnumArrays model module.
* @module model/EnumArrays * @module model/EnumArrays
@ -47,8 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('just_symbol')) { if (data.hasOwnProperty('just_symbol')) {
obj['just_symbol'] = ApiClient.convertToType(data['just_symbol'], 'String'); obj['just_symbol'] = ApiClient.convertToType(data['just_symbol'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The EnumTest model module. * The EnumTest model module.
* @module model/EnumTest * @module model/EnumTest
@ -48,11 +47,7 @@
var exports = function(enumStringRequired) { var exports = function(enumStringRequired) {
var _this = this; var _this = this;
_this['enum_string_required'] = enumStringRequired; _this['enum_string_required'] = enumStringRequired;
}; };
/** /**
@ -65,7 +60,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('enum_string')) { if (data.hasOwnProperty('enum_string')) {
obj['enum_string'] = ApiClient.convertToType(data['enum_string'], 'String'); obj['enum_string'] = ApiClient.convertToType(data['enum_string'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The File model module. * The File model module.
* @module model/File * @module model/File
@ -48,7 +47,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +59,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('sourceURI')) { if (data.hasOwnProperty('sourceURI')) {
obj['sourceURI'] = ApiClient.convertToType(data['sourceURI'], 'String'); obj['sourceURI'] = ApiClient.convertToType(data['sourceURI'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The FileSchemaTestClass model module. * The FileSchemaTestClass model module.
* @module model/FileSchemaTestClass * @module model/FileSchemaTestClass
@ -47,8 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('file')) { if (data.hasOwnProperty('file')) {
obj['file'] = File.constructFromObject(data['file']); obj['file'] = File.constructFromObject(data['file']);
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The FormatTest model module. * The FormatTest model module.
* @module model/FormatTest * @module model/FormatTest
@ -51,18 +50,9 @@
var exports = function(_number, _byte, _date, password) { var exports = function(_number, _byte, _date, password) {
var _this = this; var _this = this;
_this['number'] = _number; _this['number'] = _number;
_this['byte'] = _byte; _this['byte'] = _byte;
_this['date'] = _date; _this['date'] = _date;
_this['password'] = password; _this['password'] = password;
}; };
@ -76,7 +66,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('integer')) { if (data.hasOwnProperty('integer')) {
obj['integer'] = ApiClient.convertToType(data['integer'], 'Number'); obj['integer'] = ApiClient.convertToType(data['integer'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The HasOnlyReadOnly model module. * The HasOnlyReadOnly model module.
* @module model/HasOnlyReadOnly * @module model/HasOnlyReadOnly
@ -47,8 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('bar')) { if (data.hasOwnProperty('bar')) {
obj['bar'] = ApiClient.convertToType(data['bar'], 'String'); obj['bar'] = ApiClient.convertToType(data['bar'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The List model module. * The List model module.
* @module model/List * @module model/List
@ -47,7 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -60,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('123-list')) { if (data.hasOwnProperty('123-list')) {
obj['123-list'] = ApiClient.convertToType(data['123-list'], 'String'); obj['123-list'] = ApiClient.convertToType(data['123-list'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -16,23 +16,22 @@
(function(root, factory) { (function(root, factory) {
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define(['ApiClient', 'model/StringBooleanMap'], factory); define(['ApiClient'], factory);
} else if (typeof module === 'object' && module.exports) { } else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node. // CommonJS-like environments that support module.exports, like Node.
module.exports = factory(require('../ApiClient'), require('./StringBooleanMap')); module.exports = factory(require('../ApiClient'));
} else { } else {
// Browser globals (root is window) // Browser globals (root is window)
if (!root.OpenApiPetstore) { if (!root.OpenApiPetstore) {
root.OpenApiPetstore = {}; root.OpenApiPetstore = {};
} }
root.OpenApiPetstore.MapTest = factory(root.OpenApiPetstore.ApiClient, root.OpenApiPetstore.StringBooleanMap); root.OpenApiPetstore.MapTest = factory(root.OpenApiPetstore.ApiClient);
} }
}(this, function(ApiClient, StringBooleanMap) { }(this, function(ApiClient) {
'use strict'; 'use strict';
/** /**
* The MapTest model module. * The MapTest model module.
* @module model/MapTest * @module model/MapTest
@ -47,10 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -63,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('map_map_of_string')) { if (data.hasOwnProperty('map_map_of_string')) {
obj['map_map_of_string'] = ApiClient.convertToType(data['map_map_of_string'], {'String': {'String': 'String'}}); obj['map_map_of_string'] = ApiClient.convertToType(data['map_map_of_string'], {'String': {'String': 'String'}});
} }
@ -74,7 +68,7 @@
obj['direct_map'] = ApiClient.convertToType(data['direct_map'], {'String': 'Boolean'}); obj['direct_map'] = ApiClient.convertToType(data['direct_map'], {'String': 'Boolean'});
} }
if (data.hasOwnProperty('indirect_map')) { if (data.hasOwnProperty('indirect_map')) {
obj['indirect_map'] = StringBooleanMap.constructFromObject(data['indirect_map']); obj['indirect_map'] = ApiClient.convertToType(data['indirect_map'], {'String': 'Boolean'});
} }
} }
return obj; return obj;
@ -93,7 +87,7 @@
*/ */
exports.prototype['direct_map'] = undefined; exports.prototype['direct_map'] = undefined;
/** /**
* @member {module:model/StringBooleanMap} indirect_map * @member {Object.<String, Boolean>} indirect_map
*/ */
exports.prototype['indirect_map'] = undefined; exports.prototype['indirect_map'] = undefined;

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The MixedPropertiesAndAdditionalPropertiesClass model module. * The MixedPropertiesAndAdditionalPropertiesClass model module.
* @module model/MixedPropertiesAndAdditionalPropertiesClass * @module model/MixedPropertiesAndAdditionalPropertiesClass
@ -47,9 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -62,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('uuid')) { if (data.hasOwnProperty('uuid')) {
obj['uuid'] = ApiClient.convertToType(data['uuid'], 'String'); obj['uuid'] = ApiClient.convertToType(data['uuid'], 'String');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Model200Response model module. * The Model200Response model module.
* @module model/Model200Response * @module model/Model200Response
@ -48,8 +47,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -62,7 +59,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('name')) { if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'Number'); obj['name'] = ApiClient.convertToType(data['name'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The ModelReturn model module. * The ModelReturn model module.
* @module model/ModelReturn * @module model/ModelReturn
@ -48,7 +47,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -61,7 +59,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('return')) { if (data.hasOwnProperty('return')) {
obj['return'] = ApiClient.convertToType(data['return'], 'Number'); obj['return'] = ApiClient.convertToType(data['return'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Name model module. * The Name model module.
* @module model/Name * @module model/Name
@ -50,9 +49,6 @@
var _this = this; var _this = this;
_this['name'] = name; _this['name'] = name;
}; };
/** /**
@ -65,7 +61,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('name')) { if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'Number'); obj['name'] = ApiClient.convertToType(data['name'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The NumberOnly model module. * The NumberOnly model module.
* @module model/NumberOnly * @module model/NumberOnly
@ -47,7 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -60,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('JustNumber')) { if (data.hasOwnProperty('JustNumber')) {
obj['JustNumber'] = ApiClient.convertToType(data['JustNumber'], 'Number'); obj['JustNumber'] = ApiClient.convertToType(data['JustNumber'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The Order model module. * The Order model module.
* @module model/Order * @module model/Order
@ -47,12 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -65,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('id')) { if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'Number'); obj['id'] = ApiClient.convertToType(data['id'], 'Number');
} }

View File

@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech * https://openapi-generator.tech
* *
* OpenAPI Generator version: 3.3.0-SNAPSHOT * OpenAPI Generator version: 3.3.2-SNAPSHOT
* *
* Do not edit the class manually. * Do not edit the class manually.
* *
@ -32,7 +32,6 @@
/** /**
* The OuterComposite model module. * The OuterComposite model module.
* @module model/OuterComposite * @module model/OuterComposite
@ -47,9 +46,6 @@
var exports = function() { var exports = function() {
var _this = this; var _this = this;
}; };
/** /**
@ -62,7 +58,6 @@
exports.constructFromObject = function(data, obj) { exports.constructFromObject = function(data, obj) {
if (data) { if (data) {
obj = obj || new exports(); obj = obj || new exports();
if (data.hasOwnProperty('my_number')) { if (data.hasOwnProperty('my_number')) {
obj['my_number'] = ApiClient.convertToType(data['my_number'], 'Number'); obj['my_number'] = ApiClient.convertToType(data['my_number'], 'Number');
} }

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