Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.27 KB

NumericEnumValueConstraint.md

File metadata and controls

32 lines (23 loc) · 1.27 KB

NumericEnumValueConstraint

Specifies that a value must be one of the given numbers.

Properties

Name Type Description Notes
type NumericEnumValueConstraintType
enum_type NumericValueConstraintType
items List[float]

Example

from waylay.services.resources.models.numeric_enum_value_constraint import NumericEnumValueConstraint

# TODO update the JSON string below
json = "{}"
# create an instance of NumericEnumValueConstraint from a JSON string
numeric_enum_value_constraint_instance = NumericEnumValueConstraint.from_json(json)
# print the JSON string representation of the object
print NumericEnumValueConstraint.to_json()

# convert the object into a dict
numeric_enum_value_constraint_dict = numeric_enum_value_constraint_instance.to_dict()
# create an instance of NumericEnumValueConstraint from a dict
numeric_enum_value_constraint_form_dict = numeric_enum_value_constraint.from_dict(numeric_enum_value_constraint_dict)

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