A node constraint that binds specific resources as the only eligible visitors. Only the listed resources may visit this node (hard) or are preferred with penalty for others (soft). Priority determines preference order among bound resources.
| Name | Type | Description | Notes |
|---|---|---|---|
| resources | List[ResourceWithPriority] | The resources that can be choosen to visit a certain node. | |
| type_name | str | The typeName of the object | [default to 'BindingResource'] |
from touroptimizer_py_client.models.binding_resource_constraint import BindingResourceConstraint
# TODO update the JSON string below
json = "{}"
# create an instance of BindingResourceConstraint from a JSON string
binding_resource_constraint_instance = BindingResourceConstraint.from_json(json)
# print the JSON string representation of the object
print(BindingResourceConstraint.to_json())
# convert the object into a dict
binding_resource_constraint_dict = binding_resource_constraint_instance.to_dict()
# create an instance of BindingResourceConstraint from a dict
binding_resource_constraint_from_dict = BindingResourceConstraint.from_dict(binding_resource_constraint_dict)