UNPKG

@revolugo/booking-api-client

Version:

Javascript Revolugo Booking API Client (browser + server)

201 lines (200 loc) 4.62 kB
import { AmenitiesApi } from './AmenitiesApi'; import { CurrencyClient } from './CurrencyClient'; import { HotelApiImages } from './HotelApiImages'; import { HotelImageApi } from './HotelImageApi'; import { HotelReviewRatingApi } from './HotelReviewRatingApi'; import { TravelTimesApi } from './TravelTimesApi'; /** * * @export * @interface HotelApi */ export interface HotelApi { /** * Hotel address. * @type {string} * @memberof HotelApi */ address?: string | null; /** * Second part of hotel address. * @type {string} * @memberof HotelApi */ address2?: string | null; /** * * @type {AmenitiesApi} * @memberof HotelApi */ amenities?: AmenitiesApi | null; /** * Check in time of the hotel. * @type {string} * @memberof HotelApi */ checkInTime?: string | null; /** * Check out time of the hotel. * @type {string} * @memberof HotelApi */ checkOutTime?: string | null; /** * City * @type {string} * @memberof HotelApi */ city?: string | null; /** * Country * @type {string} * @memberof HotelApi */ country?: string | null; /** * Hotel country code in ISO2. * @type {string} * @memberof HotelApi */ countryCode?: string | null; /** * * @type {CurrencyClient} * @memberof HotelApi */ currency?: CurrencyClient; /** * Hotel description. * @type {string} * @memberof HotelApi */ description?: string | null; /** * Distance from a requested location, expressed in meters * @type {number} * @memberof HotelApi */ distance?: number | null; /** * Hotel email. * @type {string} * @memberof HotelApi */ email?: string | null; /** * Hotel fax number. * @type {string} * @memberof HotelApi */ fax?: string | null; /** * List of hotel images in various sizes featuring an indicator for the primary (hero) image * @type {Array<HotelImageApi>} * @memberof HotelApi */ hotelImages?: Array<HotelImageApi> | null; /** * List of meta reviews (category and rating) that are summary of verified reviews collected across the web on the Hotel to help choose the best option. * @type {Array<HotelReviewRatingApi>} * @memberof HotelApi */ hotelReviewRatings?: Array<HotelReviewRatingApi> | null; /** * Hotel id. * @type {string} * @memberof HotelApi */ id: string; /** * * @type {HotelApiImages} * @memberof HotelApi */ images?: HotelApiImages | null; /** * Hotel latitude. * @type {number} * @memberof HotelApi */ latitude: number; /** * Hotel longitude. * @type {number} * @memberof HotelApi */ longitude: number; /** * Hotel name. * @type {string} * @memberof HotelApi */ name: string; /** * Hotel phone number. * @type {string} * @memberof HotelApi */ phone?: string | null; /** * Internal policy of the hotel. * @type {string} * @memberof HotelApi */ policy?: string | null; /** * Hotel address postal code. * @type {string} * @memberof HotelApi */ postalCode?: string | null; /** * Hotel Star rating. * @type {number} * @memberof HotelApi */ rating?: number | null; /** * Hotel review count * @type {number} * @memberof HotelApi */ reviewCount?: number | null; /** * Hotel address state. * @type {string} * @memberof HotelApi */ state?: string | null; /** * TripAdvisor property id. When applicable. * @type {string} * @memberof HotelApi */ taId?: string | null; /** * Hotel timezone. * @type {string} * @memberof HotelApi */ timezone: string; /** * * @type {Array<TravelTimesApi>} * @memberof HotelApi */ venues?: Array<TravelTimesApi>; /** * Hotel website url. * @type {string} * @memberof HotelApi */ website?: string | null; } /** * Check if a given object implements the HotelApi interface. */ export declare function instanceOfHotelApi(value: object): boolean; export declare function HotelApiFromJSON(json: any): HotelApi; export declare function HotelApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelApi; export declare function HotelApiToJSON(value?: HotelApi | null): any;