Name | Type | Description | Notes |
---|---|---|---|
id | ResourceTypeId | ||
name | str | Name for the Resource Type | [optional] |
templates | List[TaskConfiguration] | Templates for task that is automatically created whenever a new Resource of this Resource Type is created. | [optional] |
provider | str | [optional] | |
provider_id | str | [optional] | |
customer | str | Customer name | [optional] |
firmware | str | [optional] | |
location | MetadataEntityLocation | [optional] | |
metrics | List[ResourceMetric] | A documentation of possible measurements that are to be expected on Waylay Events associated with this Resource. | [optional] |
sensors | List[ResourceSensor] | 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] |
bulk_operation | str | Indicates an asynchronous operation is busy for the Resource Type. | [optional] |
constraints | List[ConstraintStatus] | Validation constraint as applied to each Resource that has its `resourceTypeId` attribute set to the `id` of this Resource Type. | [optional] |
from waylay.services.resources.models.resource_type_with_id_entity import ResourceTypeWithIdEntity
# TODO update the JSON string below
json = "{}"
# create an instance of ResourceTypeWithIdEntity from a JSON string
resource_type_with_id_entity_instance = ResourceTypeWithIdEntity.from_json(json)
# print the JSON string representation of the object
print ResourceTypeWithIdEntity.to_json()
# convert the object into a dict
resource_type_with_id_entity_dict = resource_type_with_id_entity_instance.to_dict()
# create an instance of ResourceTypeWithIdEntity from a dict
resource_type_with_id_entity_form_dict = resource_type_with_id_entity.from_dict(resource_type_with_id_entity_dict)