Kathryn DiPippo c10c9146b9
[python] Update Markdown files for Models with fixed Python print() syntax (#17993)
* Update Markdown file with fixed Python example

* ./bin/generate-samples.sh ./bin/configs/*.yaml
2024-02-29 10:54:54 +08:00

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_form_dict = outer_object_with_enum_property.from_dict(outer_object_with_enum_property_dict)

[Back to Model list] [Back to API list] [Back to README]