Constraint on the attributes of a Resource
Name | Type | Description | Notes |
---|---|---|---|
name | str | Name for the Resource Constraint | |
description | str | A description for the Resource Constraint | [optional] |
tags | List[str] | [optional] | |
attributes | List[AttributeItem] | List of attribute descriptions |
from waylay.services.resources.models.constraint import Constraint
# TODO update the JSON string below
json = "{}"
# create an instance of Constraint from a JSON string
constraint_instance = Constraint.from_json(json)
# print the JSON string representation of the object
print Constraint.to_json()
# convert the object into a dict
constraint_dict = constraint_instance.to_dict()
# create an instance of Constraint from a dict
constraint_form_dict = constraint.from_dict(constraint_dict)