forked from loafle/openapi-generator-original
[python] Fix array of array of model's to_dict, from_dict (#16032)
* fix array of array of model's to_dict, from_dict * update samples
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# ArrayOfArrayOfModel
|
||||
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**another_property** | **List[List[Tag]]** | | [optional]
|
||||
|
||||
## Example
|
||||
|
||||
```python
|
||||
from petstore_api.models.array_of_array_of_model import ArrayOfArrayOfModel
|
||||
|
||||
# TODO update the JSON string below
|
||||
json = "{}"
|
||||
# create an instance of ArrayOfArrayOfModel from a JSON string
|
||||
array_of_array_of_model_instance = ArrayOfArrayOfModel.from_json(json)
|
||||
# print the JSON string representation of the object
|
||||
print ArrayOfArrayOfModel.to_json()
|
||||
|
||||
# convert the object into a dict
|
||||
array_of_array_of_model_dict = array_of_array_of_model_instance.to_dict()
|
||||
# create an instance of ArrayOfArrayOfModel from a dict
|
||||
array_of_array_of_model_form_dict = array_of_array_of_model.from_dict(array_of_array_of_model_dict)
|
||||
```
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user