forked from loafle/openapi-generator-original
* Update Markdown file with fixed Python example * ./bin/generate-samples.sh ./bin/configs/*.yaml
846 B
846 B
Feeding
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| task_name | str | ||
| function_name | str | ||
| content | str |
Example
from petstore_api.models.feeding import Feeding
# TODO update the JSON string below
json = "{}"
# create an instance of Feeding from a JSON string
feeding_instance = Feeding.from_json(json)
# print the JSON string representation of the object
print(Feeding.to_json())
# convert the object into a dict
feeding_dict = feeding_instance.to_dict()
# create an instance of Feeding from a dict
feeding_form_dict = feeding.from_dict(feeding_dict)