forked from loafle/openapi-generator-original
* Update Python mustache templates to fix _form_ typo and correct casing for class name when calling from_dict() * Results of 'build the project' checklist step
917 B
917 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_from_dict = TaskActivity.from_dict(task_activity_dict)