Skip to content

Commit 8e43f7c

Browse files
committed
add new JS files
1 parent 1e59665 commit 8e43f7c

30 files changed

+1854
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SwaggerPetstore.ArrayOfArrayOfNumberOnly
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**arrayArrayNumber** | **[[Number]]** | | [optional]
7+
8+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SwaggerPetstore.ArrayOfNumberOnly
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**arrayNumber** | **[Number]** | | [optional]
7+
8+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SwaggerPetstore.HasOnlyReadOnly
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**bar** | **String** | | [optional]
7+
**foo** | **String** | | [optional]
8+
9+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# SwaggerPetstore.MapTest
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**mapMapOfString** | **{String: {String: String}}** | | [optional]
7+
**mapOfEnumString** | **{String: String}** | | [optional]
8+
9+
10+
<a name="{String: String}"></a>
11+
## Enum: {String: String}
12+
13+
14+
15+
16+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SwaggerPetstore.NumberOnly
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**justNumber** | **Number** | | [optional]
7+
8+
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/**
2+
* Swagger Petstore
3+
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
4+
*
5+
* OpenAPI spec version: 1.0.0
6+
* Contact: [email protected]
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*
12+
* Licensed under the Apache License, Version 2.0 (the "License");
13+
* you may not use this file except in compliance with the License.
14+
* You may obtain a copy of the License at
15+
*
16+
* http://www.apache.org/licenses/LICENSE-2.0
17+
*
18+
* Unless required by applicable law or agreed to in writing, software
19+
* distributed under the License is distributed on an "AS IS" BASIS,
20+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21+
* See the License for the specific language governing permissions and
22+
* limitations under the License.
23+
*/
24+
25+
(function(root, factory) {
26+
if (typeof define === 'function' && define.amd) {
27+
// AMD. Register as an anonymous module.
28+
define(['ApiClient'], factory);
29+
} else if (typeof module === 'object' && module.exports) {
30+
// CommonJS-like environments that support module.exports, like Node.
31+
module.exports = factory(require('../ApiClient'));
32+
} else {
33+
// Browser globals (root is window)
34+
if (!root.SwaggerPetstore) {
35+
root.SwaggerPetstore = {};
36+
}
37+
root.SwaggerPetstore.ArrayOfArrayOfNumberOnly = factory(root.SwaggerPetstore.ApiClient);
38+
}
39+
}(this, function(ApiClient) {
40+
'use strict';
41+
42+
43+
44+
45+
/**
46+
* The ArrayOfArrayOfNumberOnly model module.
47+
* @module model/ArrayOfArrayOfNumberOnly
48+
* @version 1.0.0
49+
*/
50+
51+
/**
52+
* Constructs a new <code>ArrayOfArrayOfNumberOnly</code>.
53+
* @alias module:model/ArrayOfArrayOfNumberOnly
54+
* @class
55+
*/
56+
var exports = function() {
57+
var _this = this;
58+
59+
60+
};
61+
62+
/**
63+
* Constructs a <code>ArrayOfArrayOfNumberOnly</code> from a plain JavaScript object, optionally creating a new instance.
64+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
65+
* @param {Object} data The plain JavaScript object bearing properties of interest.
66+
* @param {module:model/ArrayOfArrayOfNumberOnly} obj Optional instance to populate.
67+
* @return {module:model/ArrayOfArrayOfNumberOnly} The populated <code>ArrayOfArrayOfNumberOnly</code> instance.
68+
*/
69+
exports.constructFromObject = function(data, obj) {
70+
if (data) {
71+
obj = obj || new exports();
72+
73+
if (data.hasOwnProperty('ArrayArrayNumber')) {
74+
obj['ArrayArrayNumber'] = ApiClient.convertToType(data['ArrayArrayNumber'], [['Number']]);
75+
}
76+
}
77+
return obj;
78+
}
79+
80+
/**
81+
* @member {Array.<Array.<Number>>} ArrayArrayNumber
82+
*/
83+
exports.prototype['ArrayArrayNumber'] = undefined;
84+
85+
86+
87+
return exports;
88+
}));
89+
90+
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/**
2+
* Swagger Petstore
3+
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
4+
*
5+
* OpenAPI spec version: 1.0.0
6+
* Contact: [email protected]
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*
12+
* Licensed under the Apache License, Version 2.0 (the "License");
13+
* you may not use this file except in compliance with the License.
14+
* You may obtain a copy of the License at
15+
*
16+
* http://www.apache.org/licenses/LICENSE-2.0
17+
*
18+
* Unless required by applicable law or agreed to in writing, software
19+
* distributed under the License is distributed on an "AS IS" BASIS,
20+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21+
* See the License for the specific language governing permissions and
22+
* limitations under the License.
23+
*/
24+
25+
(function(root, factory) {
26+
if (typeof define === 'function' && define.amd) {
27+
// AMD. Register as an anonymous module.
28+
define(['ApiClient'], factory);
29+
} else if (typeof module === 'object' && module.exports) {
30+
// CommonJS-like environments that support module.exports, like Node.
31+
module.exports = factory(require('../ApiClient'));
32+
} else {
33+
// Browser globals (root is window)
34+
if (!root.SwaggerPetstore) {
35+
root.SwaggerPetstore = {};
36+
}
37+
root.SwaggerPetstore.ArrayOfNumberOnly = factory(root.SwaggerPetstore.ApiClient);
38+
}
39+
}(this, function(ApiClient) {
40+
'use strict';
41+
42+
43+
44+
45+
/**
46+
* The ArrayOfNumberOnly model module.
47+
* @module model/ArrayOfNumberOnly
48+
* @version 1.0.0
49+
*/
50+
51+
/**
52+
* Constructs a new <code>ArrayOfNumberOnly</code>.
53+
* @alias module:model/ArrayOfNumberOnly
54+
* @class
55+
*/
56+
var exports = function() {
57+
var _this = this;
58+
59+
60+
};
61+
62+
/**
63+
* Constructs a <code>ArrayOfNumberOnly</code> from a plain JavaScript object, optionally creating a new instance.
64+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
65+
* @param {Object} data The plain JavaScript object bearing properties of interest.
66+
* @param {module:model/ArrayOfNumberOnly} obj Optional instance to populate.
67+
* @return {module:model/ArrayOfNumberOnly} The populated <code>ArrayOfNumberOnly</code> instance.
68+
*/
69+
exports.constructFromObject = function(data, obj) {
70+
if (data) {
71+
obj = obj || new exports();
72+
73+
if (data.hasOwnProperty('ArrayNumber')) {
74+
obj['ArrayNumber'] = ApiClient.convertToType(data['ArrayNumber'], ['Number']);
75+
}
76+
}
77+
return obj;
78+
}
79+
80+
/**
81+
* @member {Array.<Number>} ArrayNumber
82+
*/
83+
exports.prototype['ArrayNumber'] = undefined;
84+
85+
86+
87+
return exports;
88+
}));
89+
90+
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
/**
2+
* Swagger Petstore
3+
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
4+
*
5+
* OpenAPI spec version: 1.0.0
6+
* Contact: [email protected]
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*
12+
* Licensed under the Apache License, Version 2.0 (the "License");
13+
* you may not use this file except in compliance with the License.
14+
* You may obtain a copy of the License at
15+
*
16+
* http://www.apache.org/licenses/LICENSE-2.0
17+
*
18+
* Unless required by applicable law or agreed to in writing, software
19+
* distributed under the License is distributed on an "AS IS" BASIS,
20+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21+
* See the License for the specific language governing permissions and
22+
* limitations under the License.
23+
*/
24+
25+
(function(root, factory) {
26+
if (typeof define === 'function' && define.amd) {
27+
// AMD. Register as an anonymous module.
28+
define(['ApiClient'], factory);
29+
} else if (typeof module === 'object' && module.exports) {
30+
// CommonJS-like environments that support module.exports, like Node.
31+
module.exports = factory(require('../ApiClient'));
32+
} else {
33+
// Browser globals (root is window)
34+
if (!root.SwaggerPetstore) {
35+
root.SwaggerPetstore = {};
36+
}
37+
root.SwaggerPetstore.HasOnlyReadOnly = factory(root.SwaggerPetstore.ApiClient);
38+
}
39+
}(this, function(ApiClient) {
40+
'use strict';
41+
42+
43+
44+
45+
/**
46+
* The HasOnlyReadOnly model module.
47+
* @module model/HasOnlyReadOnly
48+
* @version 1.0.0
49+
*/
50+
51+
/**
52+
* Constructs a new <code>HasOnlyReadOnly</code>.
53+
* @alias module:model/HasOnlyReadOnly
54+
* @class
55+
*/
56+
var exports = function() {
57+
var _this = this;
58+
59+
60+
61+
};
62+
63+
/**
64+
* Constructs a <code>HasOnlyReadOnly</code> from a plain JavaScript object, optionally creating a new instance.
65+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
66+
* @param {Object} data The plain JavaScript object bearing properties of interest.
67+
* @param {module:model/HasOnlyReadOnly} obj Optional instance to populate.
68+
* @return {module:model/HasOnlyReadOnly} The populated <code>HasOnlyReadOnly</code> instance.
69+
*/
70+
exports.constructFromObject = function(data, obj) {
71+
if (data) {
72+
obj = obj || new exports();
73+
74+
if (data.hasOwnProperty('bar')) {
75+
obj['bar'] = ApiClient.convertToType(data['bar'], 'String');
76+
}
77+
if (data.hasOwnProperty('foo')) {
78+
obj['foo'] = ApiClient.convertToType(data['foo'], 'String');
79+
}
80+
}
81+
return obj;
82+
}
83+
84+
/**
85+
* @member {String} bar
86+
*/
87+
exports.prototype['bar'] = undefined;
88+
/**
89+
* @member {String} foo
90+
*/
91+
exports.prototype['foo'] = undefined;
92+
93+
94+
95+
return exports;
96+
}));
97+
98+

0 commit comments

Comments
 (0)