forked from loafle/openapi-generator-original
python code style enhancement (#4238)
This commit is contained in:
@@ -35,9 +35,12 @@ class {{classname}}(object):
|
|||||||
|
|
||||||
def {{operationId}}(self, {{#sortParamsByRequiredFlag}}{{#allParams}}{{#required}}{{paramName}}, {{/required}}{{/allParams}}{{/sortParamsByRequiredFlag}}**kwargs):
|
def {{operationId}}(self, {{#sortParamsByRequiredFlag}}{{#allParams}}{{#required}}{{paramName}}, {{/required}}{{/allParams}}{{/sortParamsByRequiredFlag}}**kwargs):
|
||||||
"""
|
"""
|
||||||
|
{{#summary}}
|
||||||
{{{summary}}}
|
{{{summary}}}
|
||||||
|
{{/summary}}
|
||||||
|
{{#notes}}
|
||||||
{{{notes}}}
|
{{{notes}}}
|
||||||
|
{{/notes}}
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -54,7 +57,7 @@ class {{classname}}(object):
|
|||||||
:param callback function: The callback function
|
:param callback function: The callback function
|
||||||
for asynchronous request. (optional)
|
for asynchronous request. (optional)
|
||||||
{{#allParams}}
|
{{#allParams}}
|
||||||
:param {{dataType}} {{paramName}}: {{{description}}}{{#required}} (required){{/required}}{{#optional}}(optional){{/optional}}
|
:param {{dataType}} {{paramName}}:{{#description}} {{{description}}}{{/description}}{{#required}} (required){{/required}}{{#optional}}(optional){{/optional}}
|
||||||
{{/allParams}}
|
{{/allParams}}
|
||||||
:return: {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}None{{/returnType}}
|
:return: {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}None{{/returnType}}
|
||||||
If the method is called asynchronously,
|
If the method is called asynchronously,
|
||||||
@@ -69,9 +72,12 @@ class {{classname}}(object):
|
|||||||
|
|
||||||
def {{operationId}}_with_http_info(self, {{#sortParamsByRequiredFlag}}{{#allParams}}{{#required}}{{paramName}}, {{/required}}{{/allParams}}{{/sortParamsByRequiredFlag}}**kwargs):
|
def {{operationId}}_with_http_info(self, {{#sortParamsByRequiredFlag}}{{#allParams}}{{#required}}{{paramName}}, {{/required}}{{/allParams}}{{/sortParamsByRequiredFlag}}**kwargs):
|
||||||
"""
|
"""
|
||||||
|
{{#summary}}
|
||||||
{{{summary}}}
|
{{{summary}}}
|
||||||
|
{{/summary}}
|
||||||
|
{{#notes}}
|
||||||
{{{notes}}}
|
{{{notes}}}
|
||||||
|
{{/notes}}
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -88,7 +94,7 @@ class {{classname}}(object):
|
|||||||
:param callback function: The callback function
|
:param callback function: The callback function
|
||||||
for asynchronous request. (optional)
|
for asynchronous request. (optional)
|
||||||
{{#allParams}}
|
{{#allParams}}
|
||||||
:param {{dataType}} {{paramName}}: {{{description}}}{{#required}} (required){{/required}}{{#optional}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/optional}}
|
:param {{dataType}} {{paramName}}:{{#description}} {{{description}}}{{/description}}{{#required}} (required){{/required}}{{#optional}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/optional}}
|
||||||
{{/allParams}}
|
{{/allParams}}
|
||||||
:return: {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}None{{/returnType}}
|
:return: {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}None{{/returnType}}
|
||||||
If the method is called asynchronously,
|
If the method is called asynchronously,
|
||||||
@@ -149,8 +155,10 @@ class {{classname}}(object):
|
|||||||
raise ValueError("Invalid value for parameter `{{paramName}}` when calling `{{operationId}}`, number of items must be greater than or equal to `{{minItems}}`")
|
raise ValueError("Invalid value for parameter `{{paramName}}` when calling `{{operationId}}`, number of items must be greater than or equal to `{{minItems}}`")
|
||||||
{{/minItems}}
|
{{/minItems}}
|
||||||
{{/hasValidation}}
|
{{/hasValidation}}
|
||||||
{{/allParams}}
|
{{#-last}}
|
||||||
|
|
||||||
|
{{/-last}}
|
||||||
|
{{/allParams}}
|
||||||
collection_formats = {}
|
collection_formats = {}
|
||||||
|
|
||||||
resource_path = '{{path}}'.replace('{format}', 'json')
|
resource_path = '{{path}}'.replace('{format}', 'json')
|
||||||
|
|||||||
@@ -37,13 +37,14 @@ class {{classname}}(object):
|
|||||||
self._{{name}} = {{name}}
|
self._{{name}} = {{name}}
|
||||||
{{/vars}}
|
{{/vars}}
|
||||||
|
|
||||||
{{#vars}}{{#-first}}
|
{{#vars}}
|
||||||
{{/-first}}
|
|
||||||
@property
|
@property
|
||||||
def {{name}}(self):
|
def {{name}}(self):
|
||||||
"""
|
"""
|
||||||
Gets the {{name}} of this {{classname}}.
|
Gets the {{name}} of this {{classname}}.
|
||||||
{{#description}} {{{description}}}{{/description}}
|
{{#description}}
|
||||||
|
{{{description}}}
|
||||||
|
{{/description}}
|
||||||
|
|
||||||
:return: The {{name}} of this {{classname}}.
|
:return: The {{name}} of this {{classname}}.
|
||||||
:rtype: {{datatype}}
|
:rtype: {{datatype}}
|
||||||
@@ -54,7 +55,9 @@ class {{classname}}(object):
|
|||||||
def {{name}}(self, {{name}}):
|
def {{name}}(self, {{name}}):
|
||||||
"""
|
"""
|
||||||
Sets the {{name}} of this {{classname}}.
|
Sets the {{name}} of this {{classname}}.
|
||||||
{{#description}} {{{description}}}{{/description}}
|
{{#description}}
|
||||||
|
{{{description}}}
|
||||||
|
{{/description}}
|
||||||
|
|
||||||
:param {{name}}: The {{name}} of this {{classname}}.
|
:param {{name}}: The {{name}} of this {{classname}}.
|
||||||
:type: {{datatype}}
|
:type: {{datatype}}
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
NAME = "{{packageName}}"
|
NAME = "{{packageName}}"
|
||||||
VERSION = "{{packageVersion}}"
|
VERSION = "{{packageVersion}}"
|
||||||
{{#apiInfo}}{{#apis}}{{^hasMore}}
|
{{#apiInfo}}
|
||||||
|
{{#apis}}
|
||||||
|
{{^hasMore}}
|
||||||
# To install the library, run the following
|
# To install the library, run the following
|
||||||
#
|
#
|
||||||
# python setup.py install
|
# python setup.py install
|
||||||
@@ -31,4 +33,6 @@ setup(
|
|||||||
{{appDescription}}
|
{{appDescription}}
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
{{/hasMore}}{{/apis}}{{/apiInfo}}
|
{{/hasMore}}
|
||||||
|
{{/apis}}
|
||||||
|
{{/apiInfo}}
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ Class | Method | HTTP request | Description
|
|||||||
- [Name](docs/Name.md)
|
- [Name](docs/Name.md)
|
||||||
- [NumberOnly](docs/NumberOnly.md)
|
- [NumberOnly](docs/NumberOnly.md)
|
||||||
- [Order](docs/Order.md)
|
- [Order](docs/Order.md)
|
||||||
|
- [OuterEnum](docs/OuterEnum.md)
|
||||||
- [Pet](docs/Pet.md)
|
- [Pet](docs/Pet.md)
|
||||||
- [ReadOnlyFirst](docs/ReadOnlyFirst.md)
|
- [ReadOnlyFirst](docs/ReadOnlyFirst.md)
|
||||||
- [SpecialModelName](docs/SpecialModelName.md)
|
- [SpecialModelName](docs/SpecialModelName.md)
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|||||||
**enum_string** | **str** | | [optional]
|
**enum_string** | **str** | | [optional]
|
||||||
**enum_integer** | **int** | | [optional]
|
**enum_integer** | **int** | | [optional]
|
||||||
**enum_number** | **float** | | [optional]
|
**enum_number** | **float** | | [optional]
|
||||||
|
**outer_enum** | [**OuterEnum**](OuterEnum.md) | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
9
samples/client/petstore/python/docs/OuterEnum.md
Normal file
9
samples/client/petstore/python/docs/OuterEnum.md
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# OuterEnum
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
@@ -38,6 +38,7 @@ from .models.model_return import ModelReturn
|
|||||||
from .models.name import Name
|
from .models.name import Name
|
||||||
from .models.number_only import NumberOnly
|
from .models.number_only import NumberOnly
|
||||||
from .models.order import Order
|
from .models.order import Order
|
||||||
|
from .models.outer_enum import OuterEnum
|
||||||
from .models.pet import Pet
|
from .models.pet import Pet
|
||||||
from .models.read_only_first import ReadOnlyFirst
|
from .models.read_only_first import ReadOnlyFirst
|
||||||
from .models.special_model_name import SpecialModelName
|
from .models.special_model_name import SpecialModelName
|
||||||
|
|||||||
@@ -43,8 +43,6 @@ class FakeApi(object):
|
|||||||
def test_client_model(self, body, **kwargs):
|
def test_client_model(self, body, **kwargs):
|
||||||
"""
|
"""
|
||||||
To test \"client\" model
|
To test \"client\" model
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -70,8 +68,6 @@ class FakeApi(object):
|
|||||||
def test_client_model_with_http_info(self, body, **kwargs):
|
def test_client_model_with_http_info(self, body, **kwargs):
|
||||||
"""
|
"""
|
||||||
To test \"client\" model
|
To test \"client\" model
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -156,7 +152,6 @@ class FakeApi(object):
|
|||||||
"""
|
"""
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -196,7 +191,6 @@ class FakeApi(object):
|
|||||||
"""
|
"""
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -354,8 +348,6 @@ class FakeApi(object):
|
|||||||
def test_enum_parameters(self, **kwargs):
|
def test_enum_parameters(self, **kwargs):
|
||||||
"""
|
"""
|
||||||
To test enum parameters
|
To test enum parameters
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -388,8 +380,6 @@ class FakeApi(object):
|
|||||||
def test_enum_parameters_with_http_info(self, **kwargs):
|
def test_enum_parameters_with_http_info(self, **kwargs):
|
||||||
"""
|
"""
|
||||||
To test enum parameters
|
To test enum parameters
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Add a new pet to the store
|
Add a new pet to the store
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -71,7 +70,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Add a new pet to the store
|
Add a new pet to the store
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -156,7 +154,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Deletes a pet
|
Deletes a pet
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -184,7 +181,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Deletes a pet
|
Deletes a pet
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -272,7 +268,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Finds Pets by status
|
Finds Pets by status
|
||||||
Multiple status values can be provided with comma separated strings
|
Multiple status values can be provided with comma separated strings
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -299,7 +294,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Finds Pets by status
|
Finds Pets by status
|
||||||
Multiple status values can be provided with comma separated strings
|
Multiple status values can be provided with comma separated strings
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -385,7 +379,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Finds Pets by tags
|
Finds Pets by tags
|
||||||
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -412,7 +405,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Finds Pets by tags
|
Finds Pets by tags
|
||||||
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -498,7 +490,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Find pet by ID
|
Find pet by ID
|
||||||
Returns a single pet
|
Returns a single pet
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -525,7 +516,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Find pet by ID
|
Find pet by ID
|
||||||
Returns a single pet
|
Returns a single pet
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -610,7 +600,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Update an existing pet
|
Update an existing pet
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -637,7 +626,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Update an existing pet
|
Update an existing pet
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -722,7 +710,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Updates a pet in the store with form data
|
Updates a pet in the store with form data
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -751,7 +738,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
Updates a pet in the store with form data
|
Updates a pet in the store with form data
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -842,7 +828,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
uploads an image
|
uploads an image
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -871,7 +856,6 @@ class PetApi(object):
|
|||||||
"""
|
"""
|
||||||
uploads an image
|
uploads an image
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ class StoreApi(object):
|
|||||||
"""
|
"""
|
||||||
Delete purchase order by ID
|
Delete purchase order by ID
|
||||||
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -71,7 +70,6 @@ class StoreApi(object):
|
|||||||
"""
|
"""
|
||||||
Delete purchase order by ID
|
Delete purchase order by ID
|
||||||
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -158,7 +156,6 @@ class StoreApi(object):
|
|||||||
"""
|
"""
|
||||||
Returns pet inventories by status
|
Returns pet inventories by status
|
||||||
Returns a map of status codes to quantities
|
Returns a map of status codes to quantities
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -184,7 +181,6 @@ class StoreApi(object):
|
|||||||
"""
|
"""
|
||||||
Returns pet inventories by status
|
Returns pet inventories by status
|
||||||
Returns a map of status codes to quantities
|
Returns a map of status codes to quantities
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -216,7 +212,6 @@ class StoreApi(object):
|
|||||||
params[key] = val
|
params[key] = val
|
||||||
del params['kwargs']
|
del params['kwargs']
|
||||||
|
|
||||||
|
|
||||||
collection_formats = {}
|
collection_formats = {}
|
||||||
|
|
||||||
resource_path = '/store/inventory'.replace('{format}', 'json')
|
resource_path = '/store/inventory'.replace('{format}', 'json')
|
||||||
@@ -263,7 +258,6 @@ class StoreApi(object):
|
|||||||
"""
|
"""
|
||||||
Find purchase order by ID
|
Find purchase order by ID
|
||||||
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -290,7 +284,6 @@ class StoreApi(object):
|
|||||||
"""
|
"""
|
||||||
Find purchase order by ID
|
Find purchase order by ID
|
||||||
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -379,7 +372,6 @@ class StoreApi(object):
|
|||||||
"""
|
"""
|
||||||
Place an order for a pet
|
Place an order for a pet
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -406,7 +398,6 @@ class StoreApi(object):
|
|||||||
"""
|
"""
|
||||||
Place an order for a pet
|
Place an order for a pet
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Create user
|
Create user
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -71,7 +70,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Create user
|
Create user
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -156,7 +154,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -183,7 +180,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -268,7 +264,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -295,7 +290,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -380,7 +374,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Delete user
|
Delete user
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -407,7 +400,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Delete user
|
Delete user
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -492,7 +484,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Get user by user name
|
Get user by user name
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -519,7 +510,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Get user by user name
|
Get user by user name
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -604,7 +594,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Logs user into the system
|
Logs user into the system
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -632,7 +621,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Logs user into the system
|
Logs user into the system
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -723,7 +711,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Logs out current logged in user session
|
Logs out current logged in user session
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -749,7 +736,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Logs out current logged in user session
|
Logs out current logged in user session
|
||||||
|
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -781,7 +767,6 @@ class UserApi(object):
|
|||||||
params[key] = val
|
params[key] = val
|
||||||
del params['kwargs']
|
del params['kwargs']
|
||||||
|
|
||||||
|
|
||||||
collection_formats = {}
|
collection_formats = {}
|
||||||
|
|
||||||
resource_path = '/user/logout'.replace('{format}', 'json')
|
resource_path = '/user/logout'.replace('{format}', 'json')
|
||||||
@@ -828,7 +813,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Updated user
|
Updated user
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
@@ -856,7 +840,6 @@ class UserApi(object):
|
|||||||
"""
|
"""
|
||||||
Updated user
|
Updated user
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please define a `callback` function
|
asynchronous HTTP request, please define a `callback` function
|
||||||
to be invoked when receiving the response.
|
to be invoked when receiving the response.
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ from .model_return import ModelReturn
|
|||||||
from .name import Name
|
from .name import Name
|
||||||
from .number_only import NumberOnly
|
from .number_only import NumberOnly
|
||||||
from .order import Order
|
from .order import Order
|
||||||
|
from .outer_enum import OuterEnum
|
||||||
from .pet import Pet
|
from .pet import Pet
|
||||||
from .read_only_first import ReadOnlyFirst
|
from .read_only_first import ReadOnlyFirst
|
||||||
from .special_model_name import SpecialModelName
|
from .special_model_name import SpecialModelName
|
||||||
|
|||||||
@@ -43,13 +43,11 @@ class AdditionalPropertiesClass(object):
|
|||||||
self._map_property = map_property
|
self._map_property = map_property
|
||||||
self._map_of_map_property = map_of_map_property
|
self._map_of_map_property = map_of_map_property
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def map_property(self):
|
def map_property(self):
|
||||||
"""
|
"""
|
||||||
Gets the map_property of this AdditionalPropertiesClass.
|
Gets the map_property of this AdditionalPropertiesClass.
|
||||||
|
|
||||||
|
|
||||||
:return: The map_property of this AdditionalPropertiesClass.
|
:return: The map_property of this AdditionalPropertiesClass.
|
||||||
:rtype: dict(str, str)
|
:rtype: dict(str, str)
|
||||||
"""
|
"""
|
||||||
@@ -60,7 +58,6 @@ class AdditionalPropertiesClass(object):
|
|||||||
"""
|
"""
|
||||||
Sets the map_property of this AdditionalPropertiesClass.
|
Sets the map_property of this AdditionalPropertiesClass.
|
||||||
|
|
||||||
|
|
||||||
:param map_property: The map_property of this AdditionalPropertiesClass.
|
:param map_property: The map_property of this AdditionalPropertiesClass.
|
||||||
:type: dict(str, str)
|
:type: dict(str, str)
|
||||||
"""
|
"""
|
||||||
@@ -72,7 +69,6 @@ class AdditionalPropertiesClass(object):
|
|||||||
"""
|
"""
|
||||||
Gets the map_of_map_property of this AdditionalPropertiesClass.
|
Gets the map_of_map_property of this AdditionalPropertiesClass.
|
||||||
|
|
||||||
|
|
||||||
:return: The map_of_map_property of this AdditionalPropertiesClass.
|
:return: The map_of_map_property of this AdditionalPropertiesClass.
|
||||||
:rtype: dict(str, dict(str, str))
|
:rtype: dict(str, dict(str, str))
|
||||||
"""
|
"""
|
||||||
@@ -83,7 +79,6 @@ class AdditionalPropertiesClass(object):
|
|||||||
"""
|
"""
|
||||||
Sets the map_of_map_property of this AdditionalPropertiesClass.
|
Sets the map_of_map_property of this AdditionalPropertiesClass.
|
||||||
|
|
||||||
|
|
||||||
:param map_of_map_property: The map_of_map_property of this AdditionalPropertiesClass.
|
:param map_of_map_property: The map_of_map_property of this AdditionalPropertiesClass.
|
||||||
:type: dict(str, dict(str, str))
|
:type: dict(str, dict(str, str))
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -43,13 +43,11 @@ class Animal(object):
|
|||||||
self._class_name = class_name
|
self._class_name = class_name
|
||||||
self._color = color
|
self._color = color
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def class_name(self):
|
def class_name(self):
|
||||||
"""
|
"""
|
||||||
Gets the class_name of this Animal.
|
Gets the class_name of this Animal.
|
||||||
|
|
||||||
|
|
||||||
:return: The class_name of this Animal.
|
:return: The class_name of this Animal.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -60,7 +58,6 @@ class Animal(object):
|
|||||||
"""
|
"""
|
||||||
Sets the class_name of this Animal.
|
Sets the class_name of this Animal.
|
||||||
|
|
||||||
|
|
||||||
:param class_name: The class_name of this Animal.
|
:param class_name: The class_name of this Animal.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -74,7 +71,6 @@ class Animal(object):
|
|||||||
"""
|
"""
|
||||||
Gets the color of this Animal.
|
Gets the color of this Animal.
|
||||||
|
|
||||||
|
|
||||||
:return: The color of this Animal.
|
:return: The color of this Animal.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -85,7 +81,6 @@ class Animal(object):
|
|||||||
"""
|
"""
|
||||||
Sets the color of this Animal.
|
Sets the color of this Animal.
|
||||||
|
|
||||||
|
|
||||||
:param color: The color of this Animal.
|
:param color: The color of this Animal.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -46,13 +46,11 @@ class ApiResponse(object):
|
|||||||
self._type = type
|
self._type = type
|
||||||
self._message = message
|
self._message = message
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def code(self):
|
def code(self):
|
||||||
"""
|
"""
|
||||||
Gets the code of this ApiResponse.
|
Gets the code of this ApiResponse.
|
||||||
|
|
||||||
|
|
||||||
:return: The code of this ApiResponse.
|
:return: The code of this ApiResponse.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -63,7 +61,6 @@ class ApiResponse(object):
|
|||||||
"""
|
"""
|
||||||
Sets the code of this ApiResponse.
|
Sets the code of this ApiResponse.
|
||||||
|
|
||||||
|
|
||||||
:param code: The code of this ApiResponse.
|
:param code: The code of this ApiResponse.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -75,7 +72,6 @@ class ApiResponse(object):
|
|||||||
"""
|
"""
|
||||||
Gets the type of this ApiResponse.
|
Gets the type of this ApiResponse.
|
||||||
|
|
||||||
|
|
||||||
:return: The type of this ApiResponse.
|
:return: The type of this ApiResponse.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -86,7 +82,6 @@ class ApiResponse(object):
|
|||||||
"""
|
"""
|
||||||
Sets the type of this ApiResponse.
|
Sets the type of this ApiResponse.
|
||||||
|
|
||||||
|
|
||||||
:param type: The type of this ApiResponse.
|
:param type: The type of this ApiResponse.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -98,7 +93,6 @@ class ApiResponse(object):
|
|||||||
"""
|
"""
|
||||||
Gets the message of this ApiResponse.
|
Gets the message of this ApiResponse.
|
||||||
|
|
||||||
|
|
||||||
:return: The message of this ApiResponse.
|
:return: The message of this ApiResponse.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -109,7 +103,6 @@ class ApiResponse(object):
|
|||||||
"""
|
"""
|
||||||
Sets the message of this ApiResponse.
|
Sets the message of this ApiResponse.
|
||||||
|
|
||||||
|
|
||||||
:param message: The message of this ApiResponse.
|
:param message: The message of this ApiResponse.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -40,13 +40,11 @@ class ArrayOfArrayOfNumberOnly(object):
|
|||||||
|
|
||||||
self._array_array_number = array_array_number
|
self._array_array_number = array_array_number
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def array_array_number(self):
|
def array_array_number(self):
|
||||||
"""
|
"""
|
||||||
Gets the array_array_number of this ArrayOfArrayOfNumberOnly.
|
Gets the array_array_number of this ArrayOfArrayOfNumberOnly.
|
||||||
|
|
||||||
|
|
||||||
:return: The array_array_number of this ArrayOfArrayOfNumberOnly.
|
:return: The array_array_number of this ArrayOfArrayOfNumberOnly.
|
||||||
:rtype: list[list[float]]
|
:rtype: list[list[float]]
|
||||||
"""
|
"""
|
||||||
@@ -57,7 +55,6 @@ class ArrayOfArrayOfNumberOnly(object):
|
|||||||
"""
|
"""
|
||||||
Sets the array_array_number of this ArrayOfArrayOfNumberOnly.
|
Sets the array_array_number of this ArrayOfArrayOfNumberOnly.
|
||||||
|
|
||||||
|
|
||||||
:param array_array_number: The array_array_number of this ArrayOfArrayOfNumberOnly.
|
:param array_array_number: The array_array_number of this ArrayOfArrayOfNumberOnly.
|
||||||
:type: list[list[float]]
|
:type: list[list[float]]
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -40,13 +40,11 @@ class ArrayOfNumberOnly(object):
|
|||||||
|
|
||||||
self._array_number = array_number
|
self._array_number = array_number
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def array_number(self):
|
def array_number(self):
|
||||||
"""
|
"""
|
||||||
Gets the array_number of this ArrayOfNumberOnly.
|
Gets the array_number of this ArrayOfNumberOnly.
|
||||||
|
|
||||||
|
|
||||||
:return: The array_number of this ArrayOfNumberOnly.
|
:return: The array_number of this ArrayOfNumberOnly.
|
||||||
:rtype: list[float]
|
:rtype: list[float]
|
||||||
"""
|
"""
|
||||||
@@ -57,7 +55,6 @@ class ArrayOfNumberOnly(object):
|
|||||||
"""
|
"""
|
||||||
Sets the array_number of this ArrayOfNumberOnly.
|
Sets the array_number of this ArrayOfNumberOnly.
|
||||||
|
|
||||||
|
|
||||||
:param array_number: The array_number of this ArrayOfNumberOnly.
|
:param array_number: The array_number of this ArrayOfNumberOnly.
|
||||||
:type: list[float]
|
:type: list[float]
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -46,13 +46,11 @@ class ArrayTest(object):
|
|||||||
self._array_array_of_integer = array_array_of_integer
|
self._array_array_of_integer = array_array_of_integer
|
||||||
self._array_array_of_model = array_array_of_model
|
self._array_array_of_model = array_array_of_model
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def array_of_string(self):
|
def array_of_string(self):
|
||||||
"""
|
"""
|
||||||
Gets the array_of_string of this ArrayTest.
|
Gets the array_of_string of this ArrayTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The array_of_string of this ArrayTest.
|
:return: The array_of_string of this ArrayTest.
|
||||||
:rtype: list[str]
|
:rtype: list[str]
|
||||||
"""
|
"""
|
||||||
@@ -63,7 +61,6 @@ class ArrayTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the array_of_string of this ArrayTest.
|
Sets the array_of_string of this ArrayTest.
|
||||||
|
|
||||||
|
|
||||||
:param array_of_string: The array_of_string of this ArrayTest.
|
:param array_of_string: The array_of_string of this ArrayTest.
|
||||||
:type: list[str]
|
:type: list[str]
|
||||||
"""
|
"""
|
||||||
@@ -75,7 +72,6 @@ class ArrayTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the array_array_of_integer of this ArrayTest.
|
Gets the array_array_of_integer of this ArrayTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The array_array_of_integer of this ArrayTest.
|
:return: The array_array_of_integer of this ArrayTest.
|
||||||
:rtype: list[list[int]]
|
:rtype: list[list[int]]
|
||||||
"""
|
"""
|
||||||
@@ -86,7 +82,6 @@ class ArrayTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the array_array_of_integer of this ArrayTest.
|
Sets the array_array_of_integer of this ArrayTest.
|
||||||
|
|
||||||
|
|
||||||
:param array_array_of_integer: The array_array_of_integer of this ArrayTest.
|
:param array_array_of_integer: The array_array_of_integer of this ArrayTest.
|
||||||
:type: list[list[int]]
|
:type: list[list[int]]
|
||||||
"""
|
"""
|
||||||
@@ -98,7 +93,6 @@ class ArrayTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the array_array_of_model of this ArrayTest.
|
Gets the array_array_of_model of this ArrayTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The array_array_of_model of this ArrayTest.
|
:return: The array_array_of_model of this ArrayTest.
|
||||||
:rtype: list[list[ReadOnlyFirst]]
|
:rtype: list[list[ReadOnlyFirst]]
|
||||||
"""
|
"""
|
||||||
@@ -109,7 +103,6 @@ class ArrayTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the array_array_of_model of this ArrayTest.
|
Sets the array_array_of_model of this ArrayTest.
|
||||||
|
|
||||||
|
|
||||||
:param array_array_of_model: The array_array_of_model of this ArrayTest.
|
:param array_array_of_model: The array_array_of_model of this ArrayTest.
|
||||||
:type: list[list[ReadOnlyFirst]]
|
:type: list[list[ReadOnlyFirst]]
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -46,13 +46,11 @@ class Cat(object):
|
|||||||
self._color = color
|
self._color = color
|
||||||
self._declawed = declawed
|
self._declawed = declawed
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def class_name(self):
|
def class_name(self):
|
||||||
"""
|
"""
|
||||||
Gets the class_name of this Cat.
|
Gets the class_name of this Cat.
|
||||||
|
|
||||||
|
|
||||||
:return: The class_name of this Cat.
|
:return: The class_name of this Cat.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -63,7 +61,6 @@ class Cat(object):
|
|||||||
"""
|
"""
|
||||||
Sets the class_name of this Cat.
|
Sets the class_name of this Cat.
|
||||||
|
|
||||||
|
|
||||||
:param class_name: The class_name of this Cat.
|
:param class_name: The class_name of this Cat.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -77,7 +74,6 @@ class Cat(object):
|
|||||||
"""
|
"""
|
||||||
Gets the color of this Cat.
|
Gets the color of this Cat.
|
||||||
|
|
||||||
|
|
||||||
:return: The color of this Cat.
|
:return: The color of this Cat.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -88,7 +84,6 @@ class Cat(object):
|
|||||||
"""
|
"""
|
||||||
Sets the color of this Cat.
|
Sets the color of this Cat.
|
||||||
|
|
||||||
|
|
||||||
:param color: The color of this Cat.
|
:param color: The color of this Cat.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -100,7 +95,6 @@ class Cat(object):
|
|||||||
"""
|
"""
|
||||||
Gets the declawed of this Cat.
|
Gets the declawed of this Cat.
|
||||||
|
|
||||||
|
|
||||||
:return: The declawed of this Cat.
|
:return: The declawed of this Cat.
|
||||||
:rtype: bool
|
:rtype: bool
|
||||||
"""
|
"""
|
||||||
@@ -111,7 +105,6 @@ class Cat(object):
|
|||||||
"""
|
"""
|
||||||
Sets the declawed of this Cat.
|
Sets the declawed of this Cat.
|
||||||
|
|
||||||
|
|
||||||
:param declawed: The declawed of this Cat.
|
:param declawed: The declawed of this Cat.
|
||||||
:type: bool
|
:type: bool
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -43,13 +43,11 @@ class Category(object):
|
|||||||
self._id = id
|
self._id = id
|
||||||
self._name = name
|
self._name = name
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def id(self):
|
def id(self):
|
||||||
"""
|
"""
|
||||||
Gets the id of this Category.
|
Gets the id of this Category.
|
||||||
|
|
||||||
|
|
||||||
:return: The id of this Category.
|
:return: The id of this Category.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -60,7 +58,6 @@ class Category(object):
|
|||||||
"""
|
"""
|
||||||
Sets the id of this Category.
|
Sets the id of this Category.
|
||||||
|
|
||||||
|
|
||||||
:param id: The id of this Category.
|
:param id: The id of this Category.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -72,7 +69,6 @@ class Category(object):
|
|||||||
"""
|
"""
|
||||||
Gets the name of this Category.
|
Gets the name of this Category.
|
||||||
|
|
||||||
|
|
||||||
:return: The name of this Category.
|
:return: The name of this Category.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -83,7 +79,6 @@ class Category(object):
|
|||||||
"""
|
"""
|
||||||
Sets the name of this Category.
|
Sets the name of this Category.
|
||||||
|
|
||||||
|
|
||||||
:param name: The name of this Category.
|
:param name: The name of this Category.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -40,13 +40,11 @@ class Client(object):
|
|||||||
|
|
||||||
self._client = client
|
self._client = client
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def client(self):
|
def client(self):
|
||||||
"""
|
"""
|
||||||
Gets the client of this Client.
|
Gets the client of this Client.
|
||||||
|
|
||||||
|
|
||||||
:return: The client of this Client.
|
:return: The client of this Client.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -57,7 +55,6 @@ class Client(object):
|
|||||||
"""
|
"""
|
||||||
Sets the client of this Client.
|
Sets the client of this Client.
|
||||||
|
|
||||||
|
|
||||||
:param client: The client of this Client.
|
:param client: The client of this Client.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -46,13 +46,11 @@ class Dog(object):
|
|||||||
self._color = color
|
self._color = color
|
||||||
self._breed = breed
|
self._breed = breed
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def class_name(self):
|
def class_name(self):
|
||||||
"""
|
"""
|
||||||
Gets the class_name of this Dog.
|
Gets the class_name of this Dog.
|
||||||
|
|
||||||
|
|
||||||
:return: The class_name of this Dog.
|
:return: The class_name of this Dog.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -63,7 +61,6 @@ class Dog(object):
|
|||||||
"""
|
"""
|
||||||
Sets the class_name of this Dog.
|
Sets the class_name of this Dog.
|
||||||
|
|
||||||
|
|
||||||
:param class_name: The class_name of this Dog.
|
:param class_name: The class_name of this Dog.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -77,7 +74,6 @@ class Dog(object):
|
|||||||
"""
|
"""
|
||||||
Gets the color of this Dog.
|
Gets the color of this Dog.
|
||||||
|
|
||||||
|
|
||||||
:return: The color of this Dog.
|
:return: The color of this Dog.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -88,7 +84,6 @@ class Dog(object):
|
|||||||
"""
|
"""
|
||||||
Sets the color of this Dog.
|
Sets the color of this Dog.
|
||||||
|
|
||||||
|
|
||||||
:param color: The color of this Dog.
|
:param color: The color of this Dog.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -100,7 +95,6 @@ class Dog(object):
|
|||||||
"""
|
"""
|
||||||
Gets the breed of this Dog.
|
Gets the breed of this Dog.
|
||||||
|
|
||||||
|
|
||||||
:return: The breed of this Dog.
|
:return: The breed of this Dog.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -111,7 +105,6 @@ class Dog(object):
|
|||||||
"""
|
"""
|
||||||
Sets the breed of this Dog.
|
Sets the breed of this Dog.
|
||||||
|
|
||||||
|
|
||||||
:param breed: The breed of this Dog.
|
:param breed: The breed of this Dog.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -43,13 +43,11 @@ class EnumArrays(object):
|
|||||||
self._just_symbol = just_symbol
|
self._just_symbol = just_symbol
|
||||||
self._array_enum = array_enum
|
self._array_enum = array_enum
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def just_symbol(self):
|
def just_symbol(self):
|
||||||
"""
|
"""
|
||||||
Gets the just_symbol of this EnumArrays.
|
Gets the just_symbol of this EnumArrays.
|
||||||
|
|
||||||
|
|
||||||
:return: The just_symbol of this EnumArrays.
|
:return: The just_symbol of this EnumArrays.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -60,7 +58,6 @@ class EnumArrays(object):
|
|||||||
"""
|
"""
|
||||||
Sets the just_symbol of this EnumArrays.
|
Sets the just_symbol of this EnumArrays.
|
||||||
|
|
||||||
|
|
||||||
:param just_symbol: The just_symbol of this EnumArrays.
|
:param just_symbol: The just_symbol of this EnumArrays.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -78,7 +75,6 @@ class EnumArrays(object):
|
|||||||
"""
|
"""
|
||||||
Gets the array_enum of this EnumArrays.
|
Gets the array_enum of this EnumArrays.
|
||||||
|
|
||||||
|
|
||||||
:return: The array_enum of this EnumArrays.
|
:return: The array_enum of this EnumArrays.
|
||||||
:rtype: list[str]
|
:rtype: list[str]
|
||||||
"""
|
"""
|
||||||
@@ -89,7 +85,6 @@ class EnumArrays(object):
|
|||||||
"""
|
"""
|
||||||
Sets the array_enum of this EnumArrays.
|
Sets the array_enum of this EnumArrays.
|
||||||
|
|
||||||
|
|
||||||
:param array_enum: The array_enum of this EnumArrays.
|
:param array_enum: The array_enum of this EnumArrays.
|
||||||
:type: list[str]
|
:type: list[str]
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class EnumTest(object):
|
|||||||
NOTE: This class is auto generated by the swagger code generator program.
|
NOTE: This class is auto generated by the swagger code generator program.
|
||||||
Do not edit the class manually.
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
def __init__(self, enum_string=None, enum_integer=None, enum_number=None):
|
def __init__(self, enum_string=None, enum_integer=None, enum_number=None, outer_enum=None):
|
||||||
"""
|
"""
|
||||||
EnumTest - a model defined in Swagger
|
EnumTest - a model defined in Swagger
|
||||||
|
|
||||||
@@ -33,26 +33,27 @@ class EnumTest(object):
|
|||||||
self.swagger_types = {
|
self.swagger_types = {
|
||||||
'enum_string': 'str',
|
'enum_string': 'str',
|
||||||
'enum_integer': 'int',
|
'enum_integer': 'int',
|
||||||
'enum_number': 'float'
|
'enum_number': 'float',
|
||||||
|
'outer_enum': 'OuterEnum'
|
||||||
}
|
}
|
||||||
|
|
||||||
self.attribute_map = {
|
self.attribute_map = {
|
||||||
'enum_string': 'enum_string',
|
'enum_string': 'enum_string',
|
||||||
'enum_integer': 'enum_integer',
|
'enum_integer': 'enum_integer',
|
||||||
'enum_number': 'enum_number'
|
'enum_number': 'enum_number',
|
||||||
|
'outer_enum': 'outerEnum'
|
||||||
}
|
}
|
||||||
|
|
||||||
self._enum_string = enum_string
|
self._enum_string = enum_string
|
||||||
self._enum_integer = enum_integer
|
self._enum_integer = enum_integer
|
||||||
self._enum_number = enum_number
|
self._enum_number = enum_number
|
||||||
|
self._outer_enum = outer_enum
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def enum_string(self):
|
def enum_string(self):
|
||||||
"""
|
"""
|
||||||
Gets the enum_string of this EnumTest.
|
Gets the enum_string of this EnumTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The enum_string of this EnumTest.
|
:return: The enum_string of this EnumTest.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -63,7 +64,6 @@ class EnumTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the enum_string of this EnumTest.
|
Sets the enum_string of this EnumTest.
|
||||||
|
|
||||||
|
|
||||||
:param enum_string: The enum_string of this EnumTest.
|
:param enum_string: The enum_string of this EnumTest.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -81,7 +81,6 @@ class EnumTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the enum_integer of this EnumTest.
|
Gets the enum_integer of this EnumTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The enum_integer of this EnumTest.
|
:return: The enum_integer of this EnumTest.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -92,7 +91,6 @@ class EnumTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the enum_integer of this EnumTest.
|
Sets the enum_integer of this EnumTest.
|
||||||
|
|
||||||
|
|
||||||
:param enum_integer: The enum_integer of this EnumTest.
|
:param enum_integer: The enum_integer of this EnumTest.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -110,7 +108,6 @@ class EnumTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the enum_number of this EnumTest.
|
Gets the enum_number of this EnumTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The enum_number of this EnumTest.
|
:return: The enum_number of this EnumTest.
|
||||||
:rtype: float
|
:rtype: float
|
||||||
"""
|
"""
|
||||||
@@ -121,7 +118,6 @@ class EnumTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the enum_number of this EnumTest.
|
Sets the enum_number of this EnumTest.
|
||||||
|
|
||||||
|
|
||||||
:param enum_number: The enum_number of this EnumTest.
|
:param enum_number: The enum_number of this EnumTest.
|
||||||
:type: float
|
:type: float
|
||||||
"""
|
"""
|
||||||
@@ -134,6 +130,27 @@ class EnumTest(object):
|
|||||||
|
|
||||||
self._enum_number = enum_number
|
self._enum_number = enum_number
|
||||||
|
|
||||||
|
@property
|
||||||
|
def outer_enum(self):
|
||||||
|
"""
|
||||||
|
Gets the outer_enum of this EnumTest.
|
||||||
|
|
||||||
|
:return: The outer_enum of this EnumTest.
|
||||||
|
:rtype: OuterEnum
|
||||||
|
"""
|
||||||
|
return self._outer_enum
|
||||||
|
|
||||||
|
@outer_enum.setter
|
||||||
|
def outer_enum(self, outer_enum):
|
||||||
|
"""
|
||||||
|
Sets the outer_enum of this EnumTest.
|
||||||
|
|
||||||
|
:param outer_enum: The outer_enum of this EnumTest.
|
||||||
|
:type: OuterEnum
|
||||||
|
"""
|
||||||
|
|
||||||
|
self._outer_enum = outer_enum
|
||||||
|
|
||||||
def to_dict(self):
|
def to_dict(self):
|
||||||
"""
|
"""
|
||||||
Returns the model properties as a dict
|
Returns the model properties as a dict
|
||||||
|
|||||||
@@ -76,13 +76,11 @@ class FormatTest(object):
|
|||||||
self._uuid = uuid
|
self._uuid = uuid
|
||||||
self._password = password
|
self._password = password
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def integer(self):
|
def integer(self):
|
||||||
"""
|
"""
|
||||||
Gets the integer of this FormatTest.
|
Gets the integer of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The integer of this FormatTest.
|
:return: The integer of this FormatTest.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -93,7 +91,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the integer of this FormatTest.
|
Sets the integer of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param integer: The integer of this FormatTest.
|
:param integer: The integer of this FormatTest.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -109,7 +106,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the int32 of this FormatTest.
|
Gets the int32 of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The int32 of this FormatTest.
|
:return: The int32 of this FormatTest.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -120,7 +116,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the int32 of this FormatTest.
|
Sets the int32 of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param int32: The int32 of this FormatTest.
|
:param int32: The int32 of this FormatTest.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -136,7 +131,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the int64 of this FormatTest.
|
Gets the int64 of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The int64 of this FormatTest.
|
:return: The int64 of this FormatTest.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -147,7 +141,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the int64 of this FormatTest.
|
Sets the int64 of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param int64: The int64 of this FormatTest.
|
:param int64: The int64 of this FormatTest.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -159,7 +152,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the number of this FormatTest.
|
Gets the number of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The number of this FormatTest.
|
:return: The number of this FormatTest.
|
||||||
:rtype: float
|
:rtype: float
|
||||||
"""
|
"""
|
||||||
@@ -170,7 +162,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the number of this FormatTest.
|
Sets the number of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param number: The number of this FormatTest.
|
:param number: The number of this FormatTest.
|
||||||
:type: float
|
:type: float
|
||||||
"""
|
"""
|
||||||
@@ -188,7 +179,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the float of this FormatTest.
|
Gets the float of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The float of this FormatTest.
|
:return: The float of this FormatTest.
|
||||||
:rtype: float
|
:rtype: float
|
||||||
"""
|
"""
|
||||||
@@ -199,7 +189,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the float of this FormatTest.
|
Sets the float of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param float: The float of this FormatTest.
|
:param float: The float of this FormatTest.
|
||||||
:type: float
|
:type: float
|
||||||
"""
|
"""
|
||||||
@@ -215,7 +204,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the double of this FormatTest.
|
Gets the double of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The double of this FormatTest.
|
:return: The double of this FormatTest.
|
||||||
:rtype: float
|
:rtype: float
|
||||||
"""
|
"""
|
||||||
@@ -226,7 +214,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the double of this FormatTest.
|
Sets the double of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param double: The double of this FormatTest.
|
:param double: The double of this FormatTest.
|
||||||
:type: float
|
:type: float
|
||||||
"""
|
"""
|
||||||
@@ -242,7 +229,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the string of this FormatTest.
|
Gets the string of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The string of this FormatTest.
|
:return: The string of this FormatTest.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -253,7 +239,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the string of this FormatTest.
|
Sets the string of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param string: The string of this FormatTest.
|
:param string: The string of this FormatTest.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -267,7 +252,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the byte of this FormatTest.
|
Gets the byte of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The byte of this FormatTest.
|
:return: The byte of this FormatTest.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -278,7 +262,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the byte of this FormatTest.
|
Sets the byte of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param byte: The byte of this FormatTest.
|
:param byte: The byte of this FormatTest.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -292,7 +275,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the binary of this FormatTest.
|
Gets the binary of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The binary of this FormatTest.
|
:return: The binary of this FormatTest.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -303,7 +285,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the binary of this FormatTest.
|
Sets the binary of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param binary: The binary of this FormatTest.
|
:param binary: The binary of this FormatTest.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -315,7 +296,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the date of this FormatTest.
|
Gets the date of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The date of this FormatTest.
|
:return: The date of this FormatTest.
|
||||||
:rtype: date
|
:rtype: date
|
||||||
"""
|
"""
|
||||||
@@ -326,7 +306,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the date of this FormatTest.
|
Sets the date of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param date: The date of this FormatTest.
|
:param date: The date of this FormatTest.
|
||||||
:type: date
|
:type: date
|
||||||
"""
|
"""
|
||||||
@@ -340,7 +319,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the date_time of this FormatTest.
|
Gets the date_time of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The date_time of this FormatTest.
|
:return: The date_time of this FormatTest.
|
||||||
:rtype: datetime
|
:rtype: datetime
|
||||||
"""
|
"""
|
||||||
@@ -351,7 +329,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the date_time of this FormatTest.
|
Sets the date_time of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param date_time: The date_time of this FormatTest.
|
:param date_time: The date_time of this FormatTest.
|
||||||
:type: datetime
|
:type: datetime
|
||||||
"""
|
"""
|
||||||
@@ -363,7 +340,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the uuid of this FormatTest.
|
Gets the uuid of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The uuid of this FormatTest.
|
:return: The uuid of this FormatTest.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -374,7 +350,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the uuid of this FormatTest.
|
Sets the uuid of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param uuid: The uuid of this FormatTest.
|
:param uuid: The uuid of this FormatTest.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -386,7 +361,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the password of this FormatTest.
|
Gets the password of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The password of this FormatTest.
|
:return: The password of this FormatTest.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -397,7 +371,6 @@ class FormatTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the password of this FormatTest.
|
Sets the password of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
:param password: The password of this FormatTest.
|
:param password: The password of this FormatTest.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -43,13 +43,11 @@ class HasOnlyReadOnly(object):
|
|||||||
self._bar = bar
|
self._bar = bar
|
||||||
self._foo = foo
|
self._foo = foo
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def bar(self):
|
def bar(self):
|
||||||
"""
|
"""
|
||||||
Gets the bar of this HasOnlyReadOnly.
|
Gets the bar of this HasOnlyReadOnly.
|
||||||
|
|
||||||
|
|
||||||
:return: The bar of this HasOnlyReadOnly.
|
:return: The bar of this HasOnlyReadOnly.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -60,7 +58,6 @@ class HasOnlyReadOnly(object):
|
|||||||
"""
|
"""
|
||||||
Sets the bar of this HasOnlyReadOnly.
|
Sets the bar of this HasOnlyReadOnly.
|
||||||
|
|
||||||
|
|
||||||
:param bar: The bar of this HasOnlyReadOnly.
|
:param bar: The bar of this HasOnlyReadOnly.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -72,7 +69,6 @@ class HasOnlyReadOnly(object):
|
|||||||
"""
|
"""
|
||||||
Gets the foo of this HasOnlyReadOnly.
|
Gets the foo of this HasOnlyReadOnly.
|
||||||
|
|
||||||
|
|
||||||
:return: The foo of this HasOnlyReadOnly.
|
:return: The foo of this HasOnlyReadOnly.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -83,7 +79,6 @@ class HasOnlyReadOnly(object):
|
|||||||
"""
|
"""
|
||||||
Sets the foo of this HasOnlyReadOnly.
|
Sets the foo of this HasOnlyReadOnly.
|
||||||
|
|
||||||
|
|
||||||
:param foo: The foo of this HasOnlyReadOnly.
|
:param foo: The foo of this HasOnlyReadOnly.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -40,13 +40,11 @@ class List(object):
|
|||||||
|
|
||||||
self.__123_list = _123_list
|
self.__123_list = _123_list
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def _123_list(self):
|
def _123_list(self):
|
||||||
"""
|
"""
|
||||||
Gets the _123_list of this List.
|
Gets the _123_list of this List.
|
||||||
|
|
||||||
|
|
||||||
:return: The _123_list of this List.
|
:return: The _123_list of this List.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -57,7 +55,6 @@ class List(object):
|
|||||||
"""
|
"""
|
||||||
Sets the _123_list of this List.
|
Sets the _123_list of this List.
|
||||||
|
|
||||||
|
|
||||||
:param _123_list: The _123_list of this List.
|
:param _123_list: The _123_list of this List.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -43,13 +43,11 @@ class MapTest(object):
|
|||||||
self._map_map_of_string = map_map_of_string
|
self._map_map_of_string = map_map_of_string
|
||||||
self._map_of_enum_string = map_of_enum_string
|
self._map_of_enum_string = map_of_enum_string
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def map_map_of_string(self):
|
def map_map_of_string(self):
|
||||||
"""
|
"""
|
||||||
Gets the map_map_of_string of this MapTest.
|
Gets the map_map_of_string of this MapTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The map_map_of_string of this MapTest.
|
:return: The map_map_of_string of this MapTest.
|
||||||
:rtype: dict(str, dict(str, str))
|
:rtype: dict(str, dict(str, str))
|
||||||
"""
|
"""
|
||||||
@@ -60,7 +58,6 @@ class MapTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the map_map_of_string of this MapTest.
|
Sets the map_map_of_string of this MapTest.
|
||||||
|
|
||||||
|
|
||||||
:param map_map_of_string: The map_map_of_string of this MapTest.
|
:param map_map_of_string: The map_map_of_string of this MapTest.
|
||||||
:type: dict(str, dict(str, str))
|
:type: dict(str, dict(str, str))
|
||||||
"""
|
"""
|
||||||
@@ -72,7 +69,6 @@ class MapTest(object):
|
|||||||
"""
|
"""
|
||||||
Gets the map_of_enum_string of this MapTest.
|
Gets the map_of_enum_string of this MapTest.
|
||||||
|
|
||||||
|
|
||||||
:return: The map_of_enum_string of this MapTest.
|
:return: The map_of_enum_string of this MapTest.
|
||||||
:rtype: dict(str, str)
|
:rtype: dict(str, str)
|
||||||
"""
|
"""
|
||||||
@@ -83,7 +79,6 @@ class MapTest(object):
|
|||||||
"""
|
"""
|
||||||
Sets the map_of_enum_string of this MapTest.
|
Sets the map_of_enum_string of this MapTest.
|
||||||
|
|
||||||
|
|
||||||
:param map_of_enum_string: The map_of_enum_string of this MapTest.
|
:param map_of_enum_string: The map_of_enum_string of this MapTest.
|
||||||
:type: dict(str, str)
|
:type: dict(str, str)
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -46,13 +46,11 @@ class MixedPropertiesAndAdditionalPropertiesClass(object):
|
|||||||
self._date_time = date_time
|
self._date_time = date_time
|
||||||
self._map = map
|
self._map = map
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def uuid(self):
|
def uuid(self):
|
||||||
"""
|
"""
|
||||||
Gets the uuid of this MixedPropertiesAndAdditionalPropertiesClass.
|
Gets the uuid of this MixedPropertiesAndAdditionalPropertiesClass.
|
||||||
|
|
||||||
|
|
||||||
:return: The uuid of this MixedPropertiesAndAdditionalPropertiesClass.
|
:return: The uuid of this MixedPropertiesAndAdditionalPropertiesClass.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -63,7 +61,6 @@ class MixedPropertiesAndAdditionalPropertiesClass(object):
|
|||||||
"""
|
"""
|
||||||
Sets the uuid of this MixedPropertiesAndAdditionalPropertiesClass.
|
Sets the uuid of this MixedPropertiesAndAdditionalPropertiesClass.
|
||||||
|
|
||||||
|
|
||||||
:param uuid: The uuid of this MixedPropertiesAndAdditionalPropertiesClass.
|
:param uuid: The uuid of this MixedPropertiesAndAdditionalPropertiesClass.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -75,7 +72,6 @@ class MixedPropertiesAndAdditionalPropertiesClass(object):
|
|||||||
"""
|
"""
|
||||||
Gets the date_time of this MixedPropertiesAndAdditionalPropertiesClass.
|
Gets the date_time of this MixedPropertiesAndAdditionalPropertiesClass.
|
||||||
|
|
||||||
|
|
||||||
:return: The date_time of this MixedPropertiesAndAdditionalPropertiesClass.
|
:return: The date_time of this MixedPropertiesAndAdditionalPropertiesClass.
|
||||||
:rtype: datetime
|
:rtype: datetime
|
||||||
"""
|
"""
|
||||||
@@ -86,7 +82,6 @@ class MixedPropertiesAndAdditionalPropertiesClass(object):
|
|||||||
"""
|
"""
|
||||||
Sets the date_time of this MixedPropertiesAndAdditionalPropertiesClass.
|
Sets the date_time of this MixedPropertiesAndAdditionalPropertiesClass.
|
||||||
|
|
||||||
|
|
||||||
:param date_time: The date_time of this MixedPropertiesAndAdditionalPropertiesClass.
|
:param date_time: The date_time of this MixedPropertiesAndAdditionalPropertiesClass.
|
||||||
:type: datetime
|
:type: datetime
|
||||||
"""
|
"""
|
||||||
@@ -98,7 +93,6 @@ class MixedPropertiesAndAdditionalPropertiesClass(object):
|
|||||||
"""
|
"""
|
||||||
Gets the map of this MixedPropertiesAndAdditionalPropertiesClass.
|
Gets the map of this MixedPropertiesAndAdditionalPropertiesClass.
|
||||||
|
|
||||||
|
|
||||||
:return: The map of this MixedPropertiesAndAdditionalPropertiesClass.
|
:return: The map of this MixedPropertiesAndAdditionalPropertiesClass.
|
||||||
:rtype: dict(str, Animal)
|
:rtype: dict(str, Animal)
|
||||||
"""
|
"""
|
||||||
@@ -109,7 +103,6 @@ class MixedPropertiesAndAdditionalPropertiesClass(object):
|
|||||||
"""
|
"""
|
||||||
Sets the map of this MixedPropertiesAndAdditionalPropertiesClass.
|
Sets the map of this MixedPropertiesAndAdditionalPropertiesClass.
|
||||||
|
|
||||||
|
|
||||||
:param map: The map of this MixedPropertiesAndAdditionalPropertiesClass.
|
:param map: The map of this MixedPropertiesAndAdditionalPropertiesClass.
|
||||||
:type: dict(str, Animal)
|
:type: dict(str, Animal)
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -43,13 +43,11 @@ class Model200Response(object):
|
|||||||
self._name = name
|
self._name = name
|
||||||
self.__class = _class
|
self.__class = _class
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
"""
|
"""
|
||||||
Gets the name of this Model200Response.
|
Gets the name of this Model200Response.
|
||||||
|
|
||||||
|
|
||||||
:return: The name of this Model200Response.
|
:return: The name of this Model200Response.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -60,7 +58,6 @@ class Model200Response(object):
|
|||||||
"""
|
"""
|
||||||
Sets the name of this Model200Response.
|
Sets the name of this Model200Response.
|
||||||
|
|
||||||
|
|
||||||
:param name: The name of this Model200Response.
|
:param name: The name of this Model200Response.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -72,7 +69,6 @@ class Model200Response(object):
|
|||||||
"""
|
"""
|
||||||
Gets the _class of this Model200Response.
|
Gets the _class of this Model200Response.
|
||||||
|
|
||||||
|
|
||||||
:return: The _class of this Model200Response.
|
:return: The _class of this Model200Response.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -83,7 +79,6 @@ class Model200Response(object):
|
|||||||
"""
|
"""
|
||||||
Sets the _class of this Model200Response.
|
Sets the _class of this Model200Response.
|
||||||
|
|
||||||
|
|
||||||
:param _class: The _class of this Model200Response.
|
:param _class: The _class of this Model200Response.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -40,13 +40,11 @@ class ModelReturn(object):
|
|||||||
|
|
||||||
self.__return = _return
|
self.__return = _return
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def _return(self):
|
def _return(self):
|
||||||
"""
|
"""
|
||||||
Gets the _return of this ModelReturn.
|
Gets the _return of this ModelReturn.
|
||||||
|
|
||||||
|
|
||||||
:return: The _return of this ModelReturn.
|
:return: The _return of this ModelReturn.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -57,7 +55,6 @@ class ModelReturn(object):
|
|||||||
"""
|
"""
|
||||||
Sets the _return of this ModelReturn.
|
Sets the _return of this ModelReturn.
|
||||||
|
|
||||||
|
|
||||||
:param _return: The _return of this ModelReturn.
|
:param _return: The _return of this ModelReturn.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -49,13 +49,11 @@ class Name(object):
|
|||||||
self.__property = _property
|
self.__property = _property
|
||||||
self.__123_number = _123_number
|
self.__123_number = _123_number
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
"""
|
"""
|
||||||
Gets the name of this Name.
|
Gets the name of this Name.
|
||||||
|
|
||||||
|
|
||||||
:return: The name of this Name.
|
:return: The name of this Name.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -66,7 +64,6 @@ class Name(object):
|
|||||||
"""
|
"""
|
||||||
Sets the name of this Name.
|
Sets the name of this Name.
|
||||||
|
|
||||||
|
|
||||||
:param name: The name of this Name.
|
:param name: The name of this Name.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -80,7 +77,6 @@ class Name(object):
|
|||||||
"""
|
"""
|
||||||
Gets the snake_case of this Name.
|
Gets the snake_case of this Name.
|
||||||
|
|
||||||
|
|
||||||
:return: The snake_case of this Name.
|
:return: The snake_case of this Name.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -91,7 +87,6 @@ class Name(object):
|
|||||||
"""
|
"""
|
||||||
Sets the snake_case of this Name.
|
Sets the snake_case of this Name.
|
||||||
|
|
||||||
|
|
||||||
:param snake_case: The snake_case of this Name.
|
:param snake_case: The snake_case of this Name.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -103,7 +98,6 @@ class Name(object):
|
|||||||
"""
|
"""
|
||||||
Gets the _property of this Name.
|
Gets the _property of this Name.
|
||||||
|
|
||||||
|
|
||||||
:return: The _property of this Name.
|
:return: The _property of this Name.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -114,7 +108,6 @@ class Name(object):
|
|||||||
"""
|
"""
|
||||||
Sets the _property of this Name.
|
Sets the _property of this Name.
|
||||||
|
|
||||||
|
|
||||||
:param _property: The _property of this Name.
|
:param _property: The _property of this Name.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -126,7 +119,6 @@ class Name(object):
|
|||||||
"""
|
"""
|
||||||
Gets the _123_number of this Name.
|
Gets the _123_number of this Name.
|
||||||
|
|
||||||
|
|
||||||
:return: The _123_number of this Name.
|
:return: The _123_number of this Name.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -137,7 +129,6 @@ class Name(object):
|
|||||||
"""
|
"""
|
||||||
Sets the _123_number of this Name.
|
Sets the _123_number of this Name.
|
||||||
|
|
||||||
|
|
||||||
:param _123_number: The _123_number of this Name.
|
:param _123_number: The _123_number of this Name.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -40,13 +40,11 @@ class NumberOnly(object):
|
|||||||
|
|
||||||
self._just_number = just_number
|
self._just_number = just_number
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def just_number(self):
|
def just_number(self):
|
||||||
"""
|
"""
|
||||||
Gets the just_number of this NumberOnly.
|
Gets the just_number of this NumberOnly.
|
||||||
|
|
||||||
|
|
||||||
:return: The just_number of this NumberOnly.
|
:return: The just_number of this NumberOnly.
|
||||||
:rtype: float
|
:rtype: float
|
||||||
"""
|
"""
|
||||||
@@ -57,7 +55,6 @@ class NumberOnly(object):
|
|||||||
"""
|
"""
|
||||||
Sets the just_number of this NumberOnly.
|
Sets the just_number of this NumberOnly.
|
||||||
|
|
||||||
|
|
||||||
:param just_number: The just_number of this NumberOnly.
|
:param just_number: The just_number of this NumberOnly.
|
||||||
:type: float
|
:type: float
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -55,13 +55,11 @@ class Order(object):
|
|||||||
self._status = status
|
self._status = status
|
||||||
self._complete = complete
|
self._complete = complete
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def id(self):
|
def id(self):
|
||||||
"""
|
"""
|
||||||
Gets the id of this Order.
|
Gets the id of this Order.
|
||||||
|
|
||||||
|
|
||||||
:return: The id of this Order.
|
:return: The id of this Order.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -72,7 +70,6 @@ class Order(object):
|
|||||||
"""
|
"""
|
||||||
Sets the id of this Order.
|
Sets the id of this Order.
|
||||||
|
|
||||||
|
|
||||||
:param id: The id of this Order.
|
:param id: The id of this Order.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -84,7 +81,6 @@ class Order(object):
|
|||||||
"""
|
"""
|
||||||
Gets the pet_id of this Order.
|
Gets the pet_id of this Order.
|
||||||
|
|
||||||
|
|
||||||
:return: The pet_id of this Order.
|
:return: The pet_id of this Order.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -95,7 +91,6 @@ class Order(object):
|
|||||||
"""
|
"""
|
||||||
Sets the pet_id of this Order.
|
Sets the pet_id of this Order.
|
||||||
|
|
||||||
|
|
||||||
:param pet_id: The pet_id of this Order.
|
:param pet_id: The pet_id of this Order.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -107,7 +102,6 @@ class Order(object):
|
|||||||
"""
|
"""
|
||||||
Gets the quantity of this Order.
|
Gets the quantity of this Order.
|
||||||
|
|
||||||
|
|
||||||
:return: The quantity of this Order.
|
:return: The quantity of this Order.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -118,7 +112,6 @@ class Order(object):
|
|||||||
"""
|
"""
|
||||||
Sets the quantity of this Order.
|
Sets the quantity of this Order.
|
||||||
|
|
||||||
|
|
||||||
:param quantity: The quantity of this Order.
|
:param quantity: The quantity of this Order.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -130,7 +123,6 @@ class Order(object):
|
|||||||
"""
|
"""
|
||||||
Gets the ship_date of this Order.
|
Gets the ship_date of this Order.
|
||||||
|
|
||||||
|
|
||||||
:return: The ship_date of this Order.
|
:return: The ship_date of this Order.
|
||||||
:rtype: datetime
|
:rtype: datetime
|
||||||
"""
|
"""
|
||||||
@@ -141,7 +133,6 @@ class Order(object):
|
|||||||
"""
|
"""
|
||||||
Sets the ship_date of this Order.
|
Sets the ship_date of this Order.
|
||||||
|
|
||||||
|
|
||||||
:param ship_date: The ship_date of this Order.
|
:param ship_date: The ship_date of this Order.
|
||||||
:type: datetime
|
:type: datetime
|
||||||
"""
|
"""
|
||||||
@@ -182,7 +173,6 @@ class Order(object):
|
|||||||
"""
|
"""
|
||||||
Gets the complete of this Order.
|
Gets the complete of this Order.
|
||||||
|
|
||||||
|
|
||||||
:return: The complete of this Order.
|
:return: The complete of this Order.
|
||||||
:rtype: bool
|
:rtype: bool
|
||||||
"""
|
"""
|
||||||
@@ -193,7 +183,6 @@ class Order(object):
|
|||||||
"""
|
"""
|
||||||
Sets the complete of this Order.
|
Sets the complete of this Order.
|
||||||
|
|
||||||
|
|
||||||
:param complete: The complete of this Order.
|
:param complete: The complete of this Order.
|
||||||
:type: bool
|
:type: bool
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -0,0 +1,90 @@
|
|||||||
|
# coding: utf-8
|
||||||
|
|
||||||
|
"""
|
||||||
|
Swagger Petstore
|
||||||
|
|
||||||
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
|
||||||
|
OpenAPI spec version: 1.0.0
|
||||||
|
Contact: apiteam@swagger.io
|
||||||
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
from pprint import pformat
|
||||||
|
from six import iteritems
|
||||||
|
import re
|
||||||
|
|
||||||
|
|
||||||
|
class OuterEnum(object):
|
||||||
|
"""
|
||||||
|
NOTE: This class is auto generated by the swagger code generator program.
|
||||||
|
Do not edit the class manually.
|
||||||
|
"""
|
||||||
|
def __init__(self):
|
||||||
|
"""
|
||||||
|
OuterEnum - a model defined in Swagger
|
||||||
|
|
||||||
|
:param dict swaggerTypes: The key is attribute name
|
||||||
|
and the value is attribute type.
|
||||||
|
:param dict attributeMap: The key is attribute name
|
||||||
|
and the value is json key in definition.
|
||||||
|
"""
|
||||||
|
self.swagger_types = {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
self.attribute_map = {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def to_dict(self):
|
||||||
|
"""
|
||||||
|
Returns the model properties as a dict
|
||||||
|
"""
|
||||||
|
result = {}
|
||||||
|
|
||||||
|
for attr, _ in iteritems(self.swagger_types):
|
||||||
|
value = getattr(self, attr)
|
||||||
|
if isinstance(value, list):
|
||||||
|
result[attr] = list(map(
|
||||||
|
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
||||||
|
value
|
||||||
|
))
|
||||||
|
elif hasattr(value, "to_dict"):
|
||||||
|
result[attr] = value.to_dict()
|
||||||
|
elif isinstance(value, dict):
|
||||||
|
result[attr] = dict(map(
|
||||||
|
lambda item: (item[0], item[1].to_dict())
|
||||||
|
if hasattr(item[1], "to_dict") else item,
|
||||||
|
value.items()
|
||||||
|
))
|
||||||
|
else:
|
||||||
|
result[attr] = value
|
||||||
|
|
||||||
|
return result
|
||||||
|
|
||||||
|
def to_str(self):
|
||||||
|
"""
|
||||||
|
Returns the string representation of the model
|
||||||
|
"""
|
||||||
|
return pformat(self.to_dict())
|
||||||
|
|
||||||
|
def __repr__(self):
|
||||||
|
"""
|
||||||
|
For `print` and `pprint`
|
||||||
|
"""
|
||||||
|
return self.to_str()
|
||||||
|
|
||||||
|
def __eq__(self, other):
|
||||||
|
"""
|
||||||
|
Returns true if both objects are equal
|
||||||
|
"""
|
||||||
|
return self.__dict__ == other.__dict__
|
||||||
|
|
||||||
|
def __ne__(self, other):
|
||||||
|
"""
|
||||||
|
Returns true if both objects are not equal
|
||||||
|
"""
|
||||||
|
return not self == other
|
||||||
@@ -55,13 +55,11 @@ class Pet(object):
|
|||||||
self._tags = tags
|
self._tags = tags
|
||||||
self._status = status
|
self._status = status
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def id(self):
|
def id(self):
|
||||||
"""
|
"""
|
||||||
Gets the id of this Pet.
|
Gets the id of this Pet.
|
||||||
|
|
||||||
|
|
||||||
:return: The id of this Pet.
|
:return: The id of this Pet.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -72,7 +70,6 @@ class Pet(object):
|
|||||||
"""
|
"""
|
||||||
Sets the id of this Pet.
|
Sets the id of this Pet.
|
||||||
|
|
||||||
|
|
||||||
:param id: The id of this Pet.
|
:param id: The id of this Pet.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -84,7 +81,6 @@ class Pet(object):
|
|||||||
"""
|
"""
|
||||||
Gets the category of this Pet.
|
Gets the category of this Pet.
|
||||||
|
|
||||||
|
|
||||||
:return: The category of this Pet.
|
:return: The category of this Pet.
|
||||||
:rtype: Category
|
:rtype: Category
|
||||||
"""
|
"""
|
||||||
@@ -95,7 +91,6 @@ class Pet(object):
|
|||||||
"""
|
"""
|
||||||
Sets the category of this Pet.
|
Sets the category of this Pet.
|
||||||
|
|
||||||
|
|
||||||
:param category: The category of this Pet.
|
:param category: The category of this Pet.
|
||||||
:type: Category
|
:type: Category
|
||||||
"""
|
"""
|
||||||
@@ -107,7 +102,6 @@ class Pet(object):
|
|||||||
"""
|
"""
|
||||||
Gets the name of this Pet.
|
Gets the name of this Pet.
|
||||||
|
|
||||||
|
|
||||||
:return: The name of this Pet.
|
:return: The name of this Pet.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -118,7 +112,6 @@ class Pet(object):
|
|||||||
"""
|
"""
|
||||||
Sets the name of this Pet.
|
Sets the name of this Pet.
|
||||||
|
|
||||||
|
|
||||||
:param name: The name of this Pet.
|
:param name: The name of this Pet.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -132,7 +125,6 @@ class Pet(object):
|
|||||||
"""
|
"""
|
||||||
Gets the photo_urls of this Pet.
|
Gets the photo_urls of this Pet.
|
||||||
|
|
||||||
|
|
||||||
:return: The photo_urls of this Pet.
|
:return: The photo_urls of this Pet.
|
||||||
:rtype: list[str]
|
:rtype: list[str]
|
||||||
"""
|
"""
|
||||||
@@ -143,7 +135,6 @@ class Pet(object):
|
|||||||
"""
|
"""
|
||||||
Sets the photo_urls of this Pet.
|
Sets the photo_urls of this Pet.
|
||||||
|
|
||||||
|
|
||||||
:param photo_urls: The photo_urls of this Pet.
|
:param photo_urls: The photo_urls of this Pet.
|
||||||
:type: list[str]
|
:type: list[str]
|
||||||
"""
|
"""
|
||||||
@@ -157,7 +148,6 @@ class Pet(object):
|
|||||||
"""
|
"""
|
||||||
Gets the tags of this Pet.
|
Gets the tags of this Pet.
|
||||||
|
|
||||||
|
|
||||||
:return: The tags of this Pet.
|
:return: The tags of this Pet.
|
||||||
:rtype: list[Tag]
|
:rtype: list[Tag]
|
||||||
"""
|
"""
|
||||||
@@ -168,7 +158,6 @@ class Pet(object):
|
|||||||
"""
|
"""
|
||||||
Sets the tags of this Pet.
|
Sets the tags of this Pet.
|
||||||
|
|
||||||
|
|
||||||
:param tags: The tags of this Pet.
|
:param tags: The tags of this Pet.
|
||||||
:type: list[Tag]
|
:type: list[Tag]
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -43,13 +43,11 @@ class ReadOnlyFirst(object):
|
|||||||
self._bar = bar
|
self._bar = bar
|
||||||
self._baz = baz
|
self._baz = baz
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def bar(self):
|
def bar(self):
|
||||||
"""
|
"""
|
||||||
Gets the bar of this ReadOnlyFirst.
|
Gets the bar of this ReadOnlyFirst.
|
||||||
|
|
||||||
|
|
||||||
:return: The bar of this ReadOnlyFirst.
|
:return: The bar of this ReadOnlyFirst.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -60,7 +58,6 @@ class ReadOnlyFirst(object):
|
|||||||
"""
|
"""
|
||||||
Sets the bar of this ReadOnlyFirst.
|
Sets the bar of this ReadOnlyFirst.
|
||||||
|
|
||||||
|
|
||||||
:param bar: The bar of this ReadOnlyFirst.
|
:param bar: The bar of this ReadOnlyFirst.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -72,7 +69,6 @@ class ReadOnlyFirst(object):
|
|||||||
"""
|
"""
|
||||||
Gets the baz of this ReadOnlyFirst.
|
Gets the baz of this ReadOnlyFirst.
|
||||||
|
|
||||||
|
|
||||||
:return: The baz of this ReadOnlyFirst.
|
:return: The baz of this ReadOnlyFirst.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -83,7 +79,6 @@ class ReadOnlyFirst(object):
|
|||||||
"""
|
"""
|
||||||
Sets the baz of this ReadOnlyFirst.
|
Sets the baz of this ReadOnlyFirst.
|
||||||
|
|
||||||
|
|
||||||
:param baz: The baz of this ReadOnlyFirst.
|
:param baz: The baz of this ReadOnlyFirst.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -40,13 +40,11 @@ class SpecialModelName(object):
|
|||||||
|
|
||||||
self._special_property_name = special_property_name
|
self._special_property_name = special_property_name
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def special_property_name(self):
|
def special_property_name(self):
|
||||||
"""
|
"""
|
||||||
Gets the special_property_name of this SpecialModelName.
|
Gets the special_property_name of this SpecialModelName.
|
||||||
|
|
||||||
|
|
||||||
:return: The special_property_name of this SpecialModelName.
|
:return: The special_property_name of this SpecialModelName.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -57,7 +55,6 @@ class SpecialModelName(object):
|
|||||||
"""
|
"""
|
||||||
Sets the special_property_name of this SpecialModelName.
|
Sets the special_property_name of this SpecialModelName.
|
||||||
|
|
||||||
|
|
||||||
:param special_property_name: The special_property_name of this SpecialModelName.
|
:param special_property_name: The special_property_name of this SpecialModelName.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -43,13 +43,11 @@ class Tag(object):
|
|||||||
self._id = id
|
self._id = id
|
||||||
self._name = name
|
self._name = name
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def id(self):
|
def id(self):
|
||||||
"""
|
"""
|
||||||
Gets the id of this Tag.
|
Gets the id of this Tag.
|
||||||
|
|
||||||
|
|
||||||
:return: The id of this Tag.
|
:return: The id of this Tag.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -60,7 +58,6 @@ class Tag(object):
|
|||||||
"""
|
"""
|
||||||
Sets the id of this Tag.
|
Sets the id of this Tag.
|
||||||
|
|
||||||
|
|
||||||
:param id: The id of this Tag.
|
:param id: The id of this Tag.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -72,7 +69,6 @@ class Tag(object):
|
|||||||
"""
|
"""
|
||||||
Gets the name of this Tag.
|
Gets the name of this Tag.
|
||||||
|
|
||||||
|
|
||||||
:return: The name of this Tag.
|
:return: The name of this Tag.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -83,7 +79,6 @@ class Tag(object):
|
|||||||
"""
|
"""
|
||||||
Sets the name of this Tag.
|
Sets the name of this Tag.
|
||||||
|
|
||||||
|
|
||||||
:param name: The name of this Tag.
|
:param name: The name of this Tag.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -61,13 +61,11 @@ class User(object):
|
|||||||
self._phone = phone
|
self._phone = phone
|
||||||
self._user_status = user_status
|
self._user_status = user_status
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def id(self):
|
def id(self):
|
||||||
"""
|
"""
|
||||||
Gets the id of this User.
|
Gets the id of this User.
|
||||||
|
|
||||||
|
|
||||||
:return: The id of this User.
|
:return: The id of this User.
|
||||||
:rtype: int
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
@@ -78,7 +76,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Sets the id of this User.
|
Sets the id of this User.
|
||||||
|
|
||||||
|
|
||||||
:param id: The id of this User.
|
:param id: The id of this User.
|
||||||
:type: int
|
:type: int
|
||||||
"""
|
"""
|
||||||
@@ -90,7 +87,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Gets the username of this User.
|
Gets the username of this User.
|
||||||
|
|
||||||
|
|
||||||
:return: The username of this User.
|
:return: The username of this User.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -101,7 +97,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Sets the username of this User.
|
Sets the username of this User.
|
||||||
|
|
||||||
|
|
||||||
:param username: The username of this User.
|
:param username: The username of this User.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -113,7 +108,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Gets the first_name of this User.
|
Gets the first_name of this User.
|
||||||
|
|
||||||
|
|
||||||
:return: The first_name of this User.
|
:return: The first_name of this User.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -124,7 +118,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Sets the first_name of this User.
|
Sets the first_name of this User.
|
||||||
|
|
||||||
|
|
||||||
:param first_name: The first_name of this User.
|
:param first_name: The first_name of this User.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -136,7 +129,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Gets the last_name of this User.
|
Gets the last_name of this User.
|
||||||
|
|
||||||
|
|
||||||
:return: The last_name of this User.
|
:return: The last_name of this User.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -147,7 +139,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Sets the last_name of this User.
|
Sets the last_name of this User.
|
||||||
|
|
||||||
|
|
||||||
:param last_name: The last_name of this User.
|
:param last_name: The last_name of this User.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -159,7 +150,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Gets the email of this User.
|
Gets the email of this User.
|
||||||
|
|
||||||
|
|
||||||
:return: The email of this User.
|
:return: The email of this User.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -170,7 +160,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Sets the email of this User.
|
Sets the email of this User.
|
||||||
|
|
||||||
|
|
||||||
:param email: The email of this User.
|
:param email: The email of this User.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -182,7 +171,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Gets the password of this User.
|
Gets the password of this User.
|
||||||
|
|
||||||
|
|
||||||
:return: The password of this User.
|
:return: The password of this User.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -193,7 +181,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Sets the password of this User.
|
Sets the password of this User.
|
||||||
|
|
||||||
|
|
||||||
:param password: The password of this User.
|
:param password: The password of this User.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
@@ -205,7 +192,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Gets the phone of this User.
|
Gets the phone of this User.
|
||||||
|
|
||||||
|
|
||||||
:return: The phone of this User.
|
:return: The phone of this User.
|
||||||
:rtype: str
|
:rtype: str
|
||||||
"""
|
"""
|
||||||
@@ -216,7 +202,6 @@ class User(object):
|
|||||||
"""
|
"""
|
||||||
Sets the phone of this User.
|
Sets the phone of this User.
|
||||||
|
|
||||||
|
|
||||||
:param phone: The phone of this User.
|
:param phone: The phone of this User.
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ from setuptools import setup, find_packages
|
|||||||
|
|
||||||
NAME = "petstore_api"
|
NAME = "petstore_api"
|
||||||
VERSION = "1.0.0"
|
VERSION = "1.0.0"
|
||||||
|
|
||||||
# To install the library, run the following
|
# To install the library, run the following
|
||||||
#
|
#
|
||||||
# python setup.py install
|
# python setup.py install
|
||||||
@@ -40,4 +39,3 @@ setup(
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
42
samples/client/petstore/python/test/test_outer_enum.py
Normal file
42
samples/client/petstore/python/test/test_outer_enum.py
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
# coding: utf-8
|
||||||
|
|
||||||
|
"""
|
||||||
|
Swagger Petstore
|
||||||
|
|
||||||
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
|
||||||
|
OpenAPI spec version: 1.0.0
|
||||||
|
Contact: apiteam@swagger.io
|
||||||
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
from __future__ import absolute_import
|
||||||
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
import petstore_api
|
||||||
|
from petstore_api.rest import ApiException
|
||||||
|
from petstore_api.models.outer_enum import OuterEnum
|
||||||
|
|
||||||
|
|
||||||
|
class TestOuterEnum(unittest.TestCase):
|
||||||
|
""" OuterEnum unit test stubs """
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def tearDown(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def testOuterEnum(self):
|
||||||
|
"""
|
||||||
|
Test OuterEnum
|
||||||
|
"""
|
||||||
|
model = petstore_api.models.outer_enum.OuterEnum()
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
unittest.main()
|
||||||
@@ -16,7 +16,6 @@ import petstore_api
|
|||||||
|
|
||||||
class MapTestTests(unittest.TestCase):
|
class MapTestTests(unittest.TestCase):
|
||||||
|
|
||||||
|
|
||||||
def test_maptest_init(self):
|
def test_maptest_init(self):
|
||||||
#
|
#
|
||||||
# Test MapTest construction with valid values
|
# Test MapTest construction with valid values
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import random
|
import random
|
||||||
|
|
||||||
|
|
||||||
def id_gen(bits=32):
|
def id_gen(bits=32):
|
||||||
""" Returns a n-bit randomly generated int """
|
""" Returns a n-bit randomly generated int """
|
||||||
return int(random.getrandbits(bits))
|
return int(random.getrandbits(bits))
|
||||||
|
|||||||
Reference in New Issue
Block a user