Specifies that a value must be a string.
Name | Type | Description | Notes |
---|---|---|---|
type | StringValueConstraintType | [optional] | |
min_length | int | Minimum length a value must have | [optional] |
max_length | int | Maximum length a value can have | [optional] |
from waylay.services.resources.models.string_value_constraint import StringValueConstraint
# TODO update the JSON string below
json = "{}"
# create an instance of StringValueConstraint from a JSON string
string_value_constraint_instance = StringValueConstraint.from_json(json)
# print the JSON string representation of the object
print StringValueConstraint.to_json()
# convert the object into a dict
string_value_constraint_dict = string_value_constraint_instance.to_dict()
# create an instance of StringValueConstraint from a dict
string_value_constraint_form_dict = string_value_constraint.from_dict(string_value_constraint_dict)