|
AAS HTTP Client Documentation
|
Implementation of Asset Administration Shell Registry related API calls. More...
Public Member Functions | |
| __init__ (self, "AasHttpClient" client) | |
| Initializes the ShellRegistryImplementation with the given parameters. | |
| dict|None | get_asset_administration_shell_descriptor_by_id (self, str aas_identifier) |
| Returns a specific Asset Administration Shell Descriptor. | |
| bool | put_asset_administration_shell_descriptor_by_id (self, str aas_identifier, dict request_body) |
| Creates or updates an existing Asset Administration Shell Descriptor. | |
| bool | delete_asset_administration_shell_descriptor_by_id (self, str aas_identifier) |
| Deletes an Asset Administration Shell Descriptor, i.e. | |
| dict|None | get_submodel_descriptor_by_id_through_superpath (self, str aas_identifier, str submodel_identifier) |
| Returns a specific Submodel Descriptor. | |
| bool | put_submodel_descriptor_by_id_through_superpath (self, str aas_identifier, str submodel_identifier, dict request_body) |
| Creates or updates an existing Submodel Descriptor. | |
| bool | delete_submodel_descriptor_by_id_through_superpath (self, str aas_identifier, str submodel_identifier) |
| Deletes a Submodel Descriptor, i.e. | |
| dict|None | get_all_asset_administration_shell_descriptors (self, int limit=100, str cursor="", str asset_kind="", str asset_type="") |
| Returns all Asset Administration Shell Descriptors. | |
| dict|None | post_asset_administration_shell_descriptor (self, dict request_body) |
| Creates a new Asset Administration Shell Descriptor, i.e. | |
| bool | delete_all_asset_administration_shell_descriptors (self) |
| Deletes all Asset Administration Shell Descriptors. | |
| dict|None | get_all_submodel_descriptors_through_superpath (self, str aas_identifier) |
| Returns all Submodel Descriptors for a specific Asset Administration Shell. | |
| dict|None | post_submodel_descriptor_through_superpath (self, str aas_identifier, dict request_body) |
| Creates a new Submodel Descriptor, i.e. | |
| dict|None | search (self, dict request_body) |
| Searches for Asset Administration Shell Descriptors based on the provided query. | |
| dict|None | get_self_description (self) |
| Returns the self-describing information of a network resource (ServiceDescription). | |
Protected Attributes | |
| _client | |
Implementation of Asset Administration Shell Registry related API calls.
Definition at line 29 of file shell_registry_implementation.py.
| implementations.shell_registry_implementation.ShellRegistryImplementation.__init__ | ( | self, | |
| "AasHttpClient" | client | ||
| ) |
Initializes the ShellRegistryImplementation with the given parameters.
Definition at line 32 of file shell_registry_implementation.py.
| bool implementations.shell_registry_implementation.ShellRegistryImplementation.delete_all_asset_administration_shell_descriptors | ( | self | ) |
Deletes all Asset Administration Shell Descriptors.
Definition at line 323 of file shell_registry_implementation.py.
| bool implementations.shell_registry_implementation.ShellRegistryImplementation.delete_asset_administration_shell_descriptor_by_id | ( | self, | |
| str | aas_identifier | ||
| ) |
Deletes an Asset Administration Shell Descriptor, i.e.
de-registers an AAS.
| aas_identifier | The Asset Administration Shells unique id |
Definition at line 117 of file shell_registry_implementation.py.
| bool implementations.shell_registry_implementation.ShellRegistryImplementation.delete_submodel_descriptor_by_id_through_superpath | ( | self, | |
| str | aas_identifier, | ||
| str | submodel_identifier | ||
| ) |
Deletes a Submodel Descriptor, i.e.
de-registers a submodel.
| aas_identifier | The Asset Administration Shells unique id |
| submodel_identifier | The Submodels unique id |
Definition at line 223 of file shell_registry_implementation.py.
| dict | None implementations.shell_registry_implementation.ShellRegistryImplementation.get_all_asset_administration_shell_descriptors | ( | self, | |
| int | limit = 100, |
||
| str | cursor = "", |
||
| str | asset_kind = "", |
||
| str | asset_type = "" |
||
| ) |
Returns all Asset Administration Shell Descriptors.
| limit | Maximum number of Submodels to return |
| cursor | Cursor for pagination |
| asset_kind | The Asset's kind (Instance or Type). Available values : Instance, NotApplicable, Type |
| asset_type | The Asset's type (UTF8-BASE64-URL-encoded) |
Definition at line 260 of file shell_registry_implementation.py.
| dict | None implementations.shell_registry_implementation.ShellRegistryImplementation.get_all_submodel_descriptors_through_superpath | ( | self, | |
| str | aas_identifier | ||
| ) |
Returns all Submodel Descriptors for a specific Asset Administration Shell.
| aas_identifier | The Asset Administration Shells unique id |
Definition at line 348 of file shell_registry_implementation.py.
| dict | None implementations.shell_registry_implementation.ShellRegistryImplementation.get_asset_administration_shell_descriptor_by_id | ( | self, | |
| str | aas_identifier | ||
| ) |
Returns a specific Asset Administration Shell Descriptor.
| aas_identifier | The Asset Administration Shells unique id |
Definition at line 49 of file shell_registry_implementation.py.
| dict | None implementations.shell_registry_implementation.ShellRegistryImplementation.get_self_description | ( | self | ) |
Returns the self-describing information of a network resource (ServiceDescription).
Definition at line 442 of file shell_registry_implementation.py.
| dict | None implementations.shell_registry_implementation.ShellRegistryImplementation.get_submodel_descriptor_by_id_through_superpath | ( | self, | |
| str | aas_identifier, | ||
| str | submodel_identifier | ||
| ) |
Returns a specific Submodel Descriptor.
| aas_identifier | The Asset Administration Shells unique id |
| submodel_identifier | The Submodels unique id |
Definition at line 151 of file shell_registry_implementation.py.
| dict | None implementations.shell_registry_implementation.ShellRegistryImplementation.post_asset_administration_shell_descriptor | ( | self, | |
| dict | request_body | ||
| ) |
Creates a new Asset Administration Shell Descriptor, i.e.
registers an AAS.
| request_body | Asset Administration Shell Descriptor object |
Definition at line 298 of file shell_registry_implementation.py.
| dict | None implementations.shell_registry_implementation.ShellRegistryImplementation.post_submodel_descriptor_through_superpath | ( | self, | |
| str | aas_identifier, | ||
| dict | request_body | ||
| ) |
Creates a new Submodel Descriptor, i.e.
registers a submodel.
| aas_identifier | The Asset Administration Shells unique id |
| request_body | Asset Administration Shell Descriptor object |
Definition at line 383 of file shell_registry_implementation.py.
| bool implementations.shell_registry_implementation.ShellRegistryImplementation.put_asset_administration_shell_descriptor_by_id | ( | self, | |
| str | aas_identifier, | ||
| dict | request_body | ||
| ) |
Creates or updates an existing Asset Administration Shell Descriptor.
| aas_identifier | The Asset Administration Shells unique id |
| request_body | Asset Administration Shell Descriptor object |
Definition at line 84 of file shell_registry_implementation.py.
| bool implementations.shell_registry_implementation.ShellRegistryImplementation.put_submodel_descriptor_by_id_through_superpath | ( | self, | |
| str | aas_identifier, | ||
| str | submodel_identifier, | ||
| dict | request_body | ||
| ) |
Creates or updates an existing Submodel Descriptor.
| aas_identifier | The Asset Administration Shells unique id |
| submodel_identifier | The Submodels unique id |
| request_body | Submodel Descriptor object |
Definition at line 188 of file shell_registry_implementation.py.
| dict | None implementations.shell_registry_implementation.ShellRegistryImplementation.search | ( | self, | |
| dict | request_body | ||
| ) |
Searches for Asset Administration Shell Descriptors based on the provided query.
| request_body | query as a dictionary |
Definition at line 417 of file shell_registry_implementation.py.
|
protected |
Definition at line 33 of file shell_registry_implementation.py.