Validation Error report of a Resource Constraint
Name | Type | Description | Notes |
---|---|---|---|
error | str | User error message | |
error_path | str | Attribute path | |
resources | List[ResourceId] | Ids of the Resources that fail the constraint |
from waylay.services.resources.models.constraint_error import ConstraintError
# TODO update the JSON string below
json = "{}"
# create an instance of ConstraintError from a JSON string
constraint_error_instance = ConstraintError.from_json(json)
# print the JSON string representation of the object
print ConstraintError.to_json()
# convert the object into a dict
constraint_error_dict = constraint_error_instance.to_dict()
# create an instance of ConstraintError from a dict
constraint_error_form_dict = constraint_error.from_dict(constraint_error_dict)