Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.76 KB

MetadataEntity.md

File metadata and controls

36 lines (27 loc) · 1.76 KB

MetadataEntity

Common attributes for Resource or Resource Type

Properties

Name Type Description Notes
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]

Example

from waylay.services.resources.models.metadata_entity import MetadataEntity

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

# convert the object into a dict
metadata_entity_dict = metadata_entity_instance.to_dict()
# create an instance of MetadataEntity from a dict
metadata_entity_form_dict = metadata_entity.from_dict(metadata_entity_dict)

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