/**
 * VRt.Studio [ST]
 *
 * The version of the OpenAPI document: 7.18.2755
 * Contact: servicedesk@veeroute.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator.
 * Do not edit the class manually.
 */
import { AttributeStudio } from './attribute';
import { PossibleEventStudio } from './possibleEvent';
import { DemandTypeStudio } from './demandType';
/**
 * Request for a single action with a cargo (pickup / drop) or work at a location.
 */
export interface DemandStudio {
    [key: string]: any | any;
    /**
     * Demand key, unique identifier.
     */
    key: string;
    demand_type: DemandTypeStudio;
    /**
     * The list of cargo keys depends on the type of order in which the cargoes are located:   * `PICKUP` - list of keys   * `DROP` - one key   * `WORK` - empty list   * `PICKUP_TO_BOX` - one key   * `DROP_FROM_BOX` - one key
     */
    target_cargos?: Array<string>;
    /**
     * Precedence within a trip, 0 - the precedence is not taken into account.
     */
    precedence_in_trip?: number;
    /**
     * Precedence within an order, 0 - the precedence is not taken into account.
     */
    precedence_in_order?: number;
    /**
     * List of possible time windows and location keys to fulfil an order.
     */
    possible_events: Array<PossibleEventStudio>;
    /**
     * Name, information field.
     */
    name?: string;
    /**
     * Attributes. Used to add service information.
     */
    attributes?: Array<AttributeStudio>;
}
