You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set of sensors that are applicable for a given Resource. Please note that there is no explicit action taken by the Waylay platform on this meta key. The idea behind this abstraction is to assist integrations where an architect of the digital twin can specify which sensors from waylay library are applicable for a given Resource (or Resource Type).
[optional]
constraints
List[str]
Validation constraint to be applied to each Resource that has its `resourceTypeId` attribute set to the `id` of this Resource Type.
[optional]
Example
fromwaylay.services.resources.models.resource_type_with_constraintsimportResourceTypeWithConstraints# TODO update the JSON string belowjson="{}"# create an instance of ResourceTypeWithConstraints from a JSON stringresource_type_with_constraints_instance=ResourceTypeWithConstraints.from_json(json)
# print the JSON string representation of the objectprintResourceTypeWithConstraints.to_json()
# convert the object into a dictresource_type_with_constraints_dict=resource_type_with_constraints_instance.to_dict()
# create an instance of ResourceTypeWithConstraints from a dictresource_type_with_constraints_form_dict=resource_type_with_constraints.from_dict(resource_type_with_constraints_dict)