forked from loafle/openapi-generator-original
* Copy the current Python generator into a "pydantic v1" generator This generator will be deprecated over time and the normal generator will focus on Pydantic v2. * add missing doc
849 B
849 B
CreatureInfo
Properties
Name | Type | Description | Notes |
---|---|---|---|
name | str |
Example
from petstore_api.models.creature_info import CreatureInfo
# TODO update the JSON string below
json = "{}"
# create an instance of CreatureInfo from a JSON string
creature_info_instance = CreatureInfo.from_json(json)
# print the JSON string representation of the object
print CreatureInfo.to_json()
# convert the object into a dict
creature_info_dict = creature_info_instance.to_dict()
# create an instance of CreatureInfo from a dict
creature_info_form_dict = creature_info.from_dict(creature_info_dict)