/** * Selling Partner API for Services * With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources. * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ import { AvailabilityRecord } from './AvailabilityRecord.js'; /** * The Reservation model module. * @module services_v1/model/Reservation * @version v1 */ export declare class Reservation { type: string; availability: AvailabilityRecord; /** * Constructs a new Reservation. * Reservation object reduces the capacity of a resource. * @alias module:services_v1/model/Reservation * @class * @param type {String} Type of reservation. * @param availability {AvailabilityRecord} */ constructor(type: string, availability: AvailabilityRecord); /** * Constructs a Reservation from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {Reservation} obj Optional instance to populate. * @return {Reservation} The populated Reservation instance. */ static constructFromObject(data: Object, obj: Reservation): Reservation; } export declare namespace Reservation { var TypeEnum: { /** * value: "APPOINTMENT" * @const */ APPOINTMENT: string; /** * value: "TRAVEL" * @const */ TRAVEL: string; /** * value: "VACATION" * @const */ VACATION: string; /** * value: "BREAK" * @const */ BREAK: string; /** * value: "TRAINING" * @const */ TRAINING: string; }; } //# sourceMappingURL=Reservation.d.ts.map