/**
* apaleo Booking API - not safe for work
* Continuously evolving version - use at your own risk! Resources and methods to manage guest journeys.
*
* OpenAPI spec version: v0-nsfw
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { CreateBlockTimeSliceModel } from './createBlockTimeSliceModel';
import { MonetaryValueModel } from './monetaryValueModel';
import { ClassMetaData } from '@apaleo/angular-api-proxy-common';
export interface CreateBlockModel {
/**
* ID of the group that reserved the block
*/
groupId: string;
/**
* The rate plan
*/
ratePlanId: string;
/**
* Start date and time from which the inventory will be blocked
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004
*/
from: string;
/**
* End date and time until which the inventory will be blocked. Cannot be more than 5 years after the start date.
Specify either a pure date or a date and time (without fractional second part) in UTC or with UTC offset as defined in ISO8601:2004
*/
to: string;
grossDailyRate: MonetaryValueModel;
/**
* The list of blocked units for each time slice
*/
timeSlices?: Array;
/**
* Number of units to block for the defined time period
*/
blockedUnits?: number;
/**
* The promo code associated with a certain special offer
*/
promoCode?: string;
/**
* The corporate code associated with a certain special offer
*/
corporateCode?: string;
/**
* The market segment Id for this block. Must be a valid market segment ID defined at the property level. Picked-up reservations will inherit this value by default
*/
marketSegmentId?: string;
}
export declare namespace CreateBlockModel {
const $metaData: ClassMetaData;
}