Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.26 KB

NumericValueConstraint.md

File metadata and controls

32 lines (23 loc) · 1.26 KB

NumericValueConstraint

Specifies that a value must be a number.

Properties

Name Type Description Notes
type NumericValueConstraintType [optional]
minimum float Specifies the minimum value the attribute can have [optional]
maximum float Specifies the maximum value the attribute can have [optional]

Example

from waylay.services.resources.models.numeric_value_constraint import NumericValueConstraint

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

# convert the object into a dict
numeric_value_constraint_dict = numeric_value_constraint_instance.to_dict()
# create an instance of NumericValueConstraint from a dict
numeric_value_constraint_form_dict = numeric_value_constraint.from_dict(numeric_value_constraint_dict)

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