|
Asset Connector Documentation
|
Defines the model class of the payload for the set_value (URL /set-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") |
| Any | value = Field(..., alias="Value") |
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 set_value (URL /set-value) endpoint of this application using Pydantic.
The JSON payload must contain exactly the following fields:
ReferenceValueInside 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" } ] }, "Value": "my-value" } Definition at line 60 of file set_value_payload.py.
| set_value_payload.SetValuePayload.__init__ | ( | self, | |
| **Any | data | ||
| ) |
Definition at line 66 of file set_value_payload.py.
|
protected |
Definition at line 70 of file set_value_payload.py.
|
protected |
|
staticprotected |
Definition at line 64 of file set_value_payload.py.
|
protected |
Definition at line 75 of file set_value_payload.py.
|
static |
Definition at line 62 of file set_value_payload.py.
|
static |
Definition at line 63 of file set_value_payload.py.