/** * Veeroute.Delivery * Veeroute Delivery API * * The version of the OpenAPI document: 3.15.183137 * Contact: support@veeroute.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { CapacityDelivery } from './capacity'; import { RotationTypeDelivery } from './rotationType'; /** * Cargo. */ export interface CargoDelivery { /** * Cargo key, unique ID. */ key: string; capacity?: CapacityDelivery | null; /** * List of possibilities of a object rotations (90 degree step): * `ALL` - can rotate by any axis * `YAW` - can yaw * `PITCH` - can pitch * `ROLL` - can roll ![rotation](https://upload.wikimedia.org/wikipedia/commons/0/04/Flight_dynamics_with_text_ortho.svg) Empty list means object rotations is prohibited. */ rotation?: Set; /** * Width in meters, used to check the vehicle compartment capacity. */ width?: number; /** * Height in meters, used to check the vehicle compartment capacity. */ height?: number; /** * Length in meters, used to check the vehicle compartment capacity. */ length?: number; /** * The maximum time for cargo storage on the vehicle, in minutes. If not specified, the constraint is not taken into account. */ max_storage_time?: number; /** * List of necessary requirements for a cargo compartment. */ restrictions?: Set; /** * Cargo\'s features list. Used to check whether the cargo is compatible with other cargos. */ cargo_features?: Set; /** * Requirements list for the cargo. Used to check whether the cargo is compatible with other cargos. */ cargo_restrictions?: Set; }