Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.1 KB

ConstraintError.md

File metadata and controls

32 lines (23 loc) · 1.1 KB

ConstraintError

Validation Error report of a Resource Constraint

Properties

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

Example

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)

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