GetSubmodelElementsResult🔗

The result of listing all submodel elements.

This class is not part of the metamodel and is not itself a named class in the specification.

See: https://industrialdigitaltwin.io/aas-specifications/IDTA-01002/v3.2/http-rest-api/http-rest-api.html#pagination

Properties 🔗

pagingMetadata: PagingMetadata 🔗
Additional information for the client to, e.g. , fetch the next part of the result set.
result: Optional[List[SubmodelElement]] 🔗
The returned items.

Invariants 🔗

  • ID-shorts need to be defined for all the items of result according to AASd-117 (ID-short of non-identifiable Referables not being a direct child of a Submodel element list shall be specified).
    not (self.result is not None)
    or (
        all(
            item.idShort is not None
            for item in self.result
        )
    )
  • Result must be either not set or have at least one item.
    not (self.result is not None)
    or (len(self.result) >= 1)