Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.34 KB

File metadata and controls

31 lines (22 loc) · 1.34 KB

UKPostCodeConstraint

A node constraint requiring the visiting resource to hold a UKPostCodeQualification covering this node's UK postcode territory. Unmatched assignments produce violations.

Properties

Name Type Description Notes
zone_codes List[ZoneCodeType] The list of UK postcode zone codes that a resource must be qualified for to visit this node.
type_name str The typeName of the object [default to 'UKPostCodeConstraint']

Example

from touroptimizer_py_client.models.uk_post_code_constraint import UKPostCodeConstraint

# TODO update the JSON string below
json = "{}"
# create an instance of UKPostCodeConstraint from a JSON string
uk_post_code_constraint_instance = UKPostCodeConstraint.from_json(json)
# print the JSON string representation of the object
print(UKPostCodeConstraint.to_json())

# convert the object into a dict
uk_post_code_constraint_dict = uk_post_code_constraint_instance.to_dict()
# create an instance of UKPostCodeConstraint from a dict
uk_post_code_constraint_from_dict = UKPostCodeConstraint.from_dict(uk_post_code_constraint_dict)

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