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
1.1 KiB
1.1 KiB
OuterObjectWithEnumProperty
Properties
Name | Type | Description | Notes |
---|---|---|---|
str_value | OuterEnum | [optional] | |
value | OuterEnumInteger |
Example
from petstore_api.models.outer_object_with_enum_property import OuterObjectWithEnumProperty
# TODO update the JSON string below
json = "{}"
# create an instance of OuterObjectWithEnumProperty from a JSON string
outer_object_with_enum_property_instance = OuterObjectWithEnumProperty.from_json(json)
# print the JSON string representation of the object
print(OuterObjectWithEnumProperty.to_json())
# convert the object into a dict
outer_object_with_enum_property_dict = outer_object_with_enum_property_instance.to_dict()
# create an instance of OuterObjectWithEnumProperty from a dict
outer_object_with_enum_property_from_dict = OuterObjectWithEnumProperty.from_dict(outer_object_with_enum_property_dict)