vortexasdk.api.product

Product

Product(
    *, id: str, name: typing.Optional[str], ref_type: typing.Optional[str],
    leaf: typing.Optional[bool], parent:
    typing.Optional[typing.List[vortexasdk.api.shared_types.IDNameLayer]],
    layer: typing.Optional[typing.List[str]], meta: typing.Optional[dict],
    hierarchy:
    typing.Optional[typing.List[vortexasdk.api.shared_types.EntityWithSingleLayer]]
)

Represent a Product reference record returned by the API.

Product Further Documentation

model_config

ProductEntityWithSingleLayer

ProductEntityWithSingleLayer(*, id: str,
                             probability: typing.Optional[float],
                             source: typing.Optional[str],
                             layer: typing.Optional[str],
                             label: typing.Optional[str])

Represents a single product layer of a hierarchical product tree.

Further Documentation

model_config

ProductEntityWithListLayer

ProductEntityWithListLayer(*, id: str,
                           probability: typing.Optional[float],
                           source: typing.Optional[str],
                           layer: typing.Optional[typing.List[str]],
                           label: typing.Optional[str])

Represents a single product layer of a hierarchical product tree.

Further Documentation

model_config