WarehouseCapabilityState
One capability of a warehouse: whether the kind offers it and whether it is enabled. The capabilities are a list of the system that grows without a change of the schema, so a capability is a stable key plus texts, not an enum (a new enum value would break clients that handle the values one by one).
WarehouseCapabilityStateFields
The stable key of the capability, in UPPER_SNAKE. Known keys: BATCH_TRACKING, SHELF_LIFE_EXPIRATION_TRACKING, SUBSET_MANAGEMENT. A client that does not know a key shows the name.
The name of the capability, in the language of the caller.
A description of the capability, in the language of the caller.
Whether the kind of the warehouse offers the capability. A capability that is not available cannot be enabled.
Whether the capability is enabled. Always false when it is not available.
Was this page helpful?