about summary refs log tree commit diff stats
path: root/crates/rocie-client/docs/Product.md
blob: 7e4bdf62e2c63bea39996064a0bfda1309f4f313 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Product

## Properties

| Name                     | Type                                                       | Description                                                                                          | Notes      |
| ------------------------ | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------- |
| **associated_bar_codes** | [**Vec<models::Barcode>**](Barcode.md)                     | Which barcodes are associated with this product.                                                     |
| **description**          | Option\<**String**>                                        | An optional description of this product.                                                             | [optional] |
| **id**                   | [**models::ProductId**](ProductId.md)                      | The id of the product.                                                                               |
| **name**                 | **String**                                                 | The name of the product. This should be globally unique, to make searching easier for the user.      |
| **parent**               | Option\<[**models::ProductParentId**](ProductParentId.md)> | The parent this product has. This is effectively it's anchor in the product DAG.                     | [optional] |
| **unit_property**        | [**models::UnitPropertyId**](UnitPropertyId.md)            | The property this product is measured in. (This is probably always either Mass, Volume or Quantity). |

[[Back to Model list]](../README.md#documentation-for-models)
[[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to README]](../README.md)