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