Justin Black 11515da053
Python client - fixes boolean enum use case (#9926)
* Adds boolean enum component and object property and tests of it

* Regenerates samples

* Passes needed locale argument to toUpperCase

* Regenerates samples
2021-07-09 18:55:22 -07:00

1.4 KiB

EnumTest

Properties

Name Type Description Notes
enum_string_required str
enum_string str [optional]
enum_integer int [optional]
enum_number float [optional]
enum_bool bool [optional] if omitted the server will use the default value of False
bool_enum BooleanEnum [optional]
string_enum StringEnum [optional]
integer_enum IntegerEnum [optional]
string_enum_with_default_value StringEnumWithDefaultValue [optional]
integer_enum_with_default_value IntegerEnumWithDefaultValue [optional]
integer_enum_one_value IntegerEnumOneValue [optional]
inline_array_of_str_enum [StringEnum] [optional]
array_of_str_enum ArrayOfEnums [optional]
any string name bool, date, datetime, dict, float, int, list, str, none_type any string name can be used but the value must be the correct type [optional]

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