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
1.1 KiB
1.1 KiB
AdditionalPropertiesClass
Properties
Name | Type | Description | Notes |
---|---|---|---|
map_property | Dict[str, str] | [optional] | |
map_of_map_property | Dict[str, Dict[str, str]] | [optional] |
Example
from petstore_api.models.additional_properties_class import AdditionalPropertiesClass
# TODO update the JSON string below
json = "{}"
# create an instance of AdditionalPropertiesClass from a JSON string
additional_properties_class_instance = AdditionalPropertiesClass.from_json(json)
# print the JSON string representation of the object
print AdditionalPropertiesClass.to_json()
# convert the object into a dict
additional_properties_class_dict = additional_properties_class_instance.to_dict()
# create an instance of AdditionalPropertiesClass from a dict
additional_properties_class_form_dict = additional_properties_class.from_dict(additional_properties_class_dict)