|
Asset Connector Documentation
|
Defines the model class of the payload for the get_value (URL /get-value) endpoint of this application using Pydantic.
More...
Public Member Functions | |
| __init__ (self, **Any data) | |
Static Public Attributes | |
| dict | aid_ref_dict = Field(..., alias="Reference") |
Protected Member Functions | |
| ModelReference | _build_model_reference (self) |
| KeyTypes | _get_key_type (self, str key_str) |
Protected Attributes | |
| _aid_ref | |
Static Protected Attributes | |
| ModelReference | _aid_ref = PrivateAttr(default=None) |
Defines the model class of the payload for the get_value (URL /get-value) endpoint of this application using Pydantic.
The JSON payload must contain exactly the following fields:
ReferenceInside the Reference-field, a properly serialized AAS reference according to the AAS JSON serialization must be provided. Will be parsed as basyx.aas.model.ModelReference. The reference shall point to a SME in an AID submodel known to this application (refer to add_or_update_config).
{ "Reference": { "type": "ModelReference", "keys": [ { "type": "Submodel", "value": "https://fluid40.de/ids/sm/4757_4856_8464_1441" }, { "type": "SubmodelElementCollection", "value": "Interface_MQTT" }, { "type": "SubmodelElementCollection", "value": "InteractionMetadata" }, { "type": "SubmodelElementCollection", "value": "properties" }, { "type": "SubmodelElementCollection", "value": "my_endpoint" } ] } } Definition at line 55 of file get_value_payload.py.
| get_value_payload.GetValuePayload.__init__ | ( | self, | |
| **Any | data | ||
| ) |
Definition at line 60 of file get_value_payload.py.
|
protected |
Definition at line 66 of file get_value_payload.py.
|
protected |
|
staticprotected |
Definition at line 58 of file get_value_payload.py.
|
protected |
Definition at line 71 of file get_value_payload.py.
|
static |
Definition at line 57 of file get_value_payload.py.