Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.44 KB

File metadata and controls

31 lines (22 loc) · 1.44 KB

BindingResourceConstraint

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.

Properties

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']

Example

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)

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