generated from Luis/nextjs-python-web-template
Added working python generator in tests
This commit is contained in:
28
pkgs/clan-cli/tests/openapi_client/docs/Machine.md
Normal file
28
pkgs/clan-cli/tests/openapi_client/docs/Machine.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Machine
|
||||
|
||||
## Properties
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
| ---------- | ----------------------- | ----------- | ----- |
|
||||
| **name** | **str** | |
|
||||
| **status** | [**Status**](Status.md) | |
|
||||
|
||||
## Example
|
||||
|
||||
```python
|
||||
from openapi_client.models.machine import Machine
|
||||
|
||||
# TODO update the JSON string below
|
||||
json = "{}"
|
||||
# create an instance of Machine from a JSON string
|
||||
machine_instance = Machine.from_json(json)
|
||||
# print the JSON string representation of the object
|
||||
print Machine.to_json()
|
||||
|
||||
# convert the object into a dict
|
||||
machine_dict = machine_instance.to_dict()
|
||||
# create an instance of Machine from a dict
|
||||
machine_form_dict = machine.from_dict(machine_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