|
Asset Connector Documentation
|
Defines the model class of the payload for the add_or_update_config (URL /add-config) endpoint of this application using Pydantic.
More...
Public Member Functions | |
| __init__ (self, **Any data) | |
Static Public Attributes | |
| dict | aid_dict = Field(..., alias="Aid", exclude=True) |
Protected Attributes | |
| _aid_sm | |
Static Protected Attributes | |
| Submodel | _aid_sm = PrivateAttr(default=None) |
Defines the model class of the payload for the add_or_update_config (URL /add-config) endpoint of this application using Pydantic.
The JSON payload must contain exactly the following fields:
AidInside the Aid-field, a properly serialized AID submodel according to the AAS JSON serialization must be provided. Will be parsed as basyx.aas.model.Submodel.
{ "Aid": { "idShort": "AssetInterfacesDescription", "id": "https://example.com/ids/sm/1234_5678_90", "kind": "Instance", // ... } } Definition at line 30 of file set_config_payload.py.
| set_config_payload.SetConfigPayload.__init__ | ( | self, | |
| **Any | data | ||
| ) |
Definition at line 36 of file set_config_payload.py.
|
staticprotected |
Definition at line 34 of file set_config_payload.py.
|
protected |
Definition at line 39 of file set_config_payload.py.
|
static |
Definition at line 32 of file set_config_payload.py.