@revolugo/booking-api-client
Version:
Javascript Revolugo Booking API Client (browser + server)
66 lines (65 loc) • 2.14 kB
TypeScript
/**
* Revolugo Booking API Reference
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.5.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* 🛑 DEPRECATED - Hotel images details.
*
* In order to retrieve a specific image you need to construct the complete URL from the images parameters: **[images.prefix][highres|lowres|thumb]/[index]/[images.suffix]**. If **images.count = n**, then index is in [0...n-1] range.
*
* e.g.: https://s3.eu-west-3.amazonaws.com/revolugo/hotels/yhKY/images/highres/0.jpg
* @export
* @interface HotelApiImages
*/
export interface HotelApiImages {
/**
* Number of images.
* @type {number}
* @memberof HotelApiImages
*/
count?: number | null;
/**
* Whether images exist in highres format.
* @type {boolean}
* @memberof HotelApiImages
*/
highres?: boolean | null;
/**
* Whether images exist in lowres format.
* @type {boolean}
* @memberof HotelApiImages
*/
lowres?: boolean | null;
/**
* Base URL for the images.
* @type {string}
* @memberof HotelApiImages
*/
prefix?: string | null;
/**
* This parameter usually represents the extension of the image (e.g.: .jpg, .png)
* @type {string}
* @memberof HotelApiImages
*/
suffix?: string | null;
/**
* Whether images exist in thumb format (for thumbnails preview).
* @type {boolean}
* @memberof HotelApiImages
*/
thumb?: boolean | null;
}
/**
* Check if a given object implements the HotelApiImages interface.
*/
export declare function instanceOfHotelApiImages(value: object): boolean;
export declare function HotelApiImagesFromJSON(json: any): HotelApiImages;
export declare function HotelApiImagesFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelApiImages;
export declare function HotelApiImagesToJSON(value?: HotelApiImages | null): any;