Class ApiHotel
java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiHotel
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]")
public class ApiHotel
extends Object
Information on a hotel.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccommodationType(ApiAccommodation accommodationType) accommodationTypeCode(String accommodationTypeCode) addBoardCodesItem(String boardCodesItem) addBoardsItem(ApiBoard boardsItem) addFacilitiesItem(ApiHotelFacility facilitiesItem) addImagesItem(ApiImage imagesItem) addInterestPointsItem(ApiHotelPointOfInterest interestPointsItem) addIssuesItem(ApiHotelIssue issuesItem) addPhonesItem(ApiHotelPhone phonesItem) address(ApiContent address) addRoomsItem(ApiHotelRoom roomsItem) addSegmentCodesItem(Integer segmentCodesItem) addSegmentsItem(ApiSegment segmentsItem) addTerminalsItem(ApiHotelTerminal terminalsItem) addWildcardsItem(ApiWildCard wildcardsItem) boardCodes(List<String> boardCodes) category(ApiCategory category) categoryCode(String categoryCode) categoryGroup(ApiGroupCategory categoryGroup) categoryGroupCode(String categoryGroupCode) city(ApiContent city) coordinates(ApiGeoLocation coordinates) country(ApiCountry country) countryCode(String countryCode) description(ApiContent description) destination(ApiDestination destination) destinationCode(String destinationCode) booleanexclusiveDeal(Integer exclusiveDeal) facilities(List<ApiHotelFacility> facilities) @Valid ApiAccommodationGet accommodationTypeCode of the type of accommodation.@Valid ApiContentGet addressList of codes of board types offered at the hotel.List of boards offered at the hotel.@Valid ApiCategoryGet categoryHotel rating based on the information provided by the hotel.@Valid ApiGroupCategoryGet categoryGroupGroup name of the category to which the hotel belongs.@Valid ApiChaingetChain()Get chainCode of the chain that the hotel belongs to.@Valid ApiContentgetCity()Get citygetCode()Hotelbeds internal hotel code.@Valid ApiGeoLocationGet coordinates@Valid ApiCountryGet countryCode of the country where the hotel is located.@Valid ApiContentGet description@Valid ApiDestinationGet destinationCode of the destination of the hotel location.getEmail()Hotel e-mail address.The value follows a qualitative scale, the number 1 being always the top priority/preferential, and the rest of the product defined by our commercial departments.@Valid List<ApiHotelFacility>List of facilities, amenities and installations in the hotel.Giata code of the hotel.List of hotel pictures.@Valid List<ApiHotelPointOfInterest>List of points of interest close to the hotel.@Valid List<ApiHotelIssue>List of issues affecting the hotel.Date of the last update in the information of the hotel.Accommodation registration number.@Valid ApiContentgetName()Get name@Valid List<ApiHotelPhone>List of contact phones of the hotel.Hotel address postal code.Hotelbeds internal sorting ranking (NOTE: please bear in mind is not related to hotel category).@Valid List<ApiHotelRoom>getRooms()List of available rooms types at the hotel.getS2C()Health & Safety rating (NOTE: please bear in mind is not related to hotel category).List of the internal segment codes.@Valid List<ApiSegment>List of segments.@Valid ApiStategetState()Get stateInternal code of the state.@Valid List<ApiHotelTerminal>List of terminals associated to the hotel and their distance to the hotel.getWeb()Website URL of the hotel or the chain.@Valid List<ApiWildCard>List of wildcard rooms.@Valid ApiZonegetZone()Get zoneInternal zone code, where the hotel is located.inthashCode()interestPoints(List<ApiHotelPointOfInterest> interestPoints) issues(List<ApiHotelIssue> issues) lastUpdate(String lastUpdate) name(ApiContent name) phones(List<ApiHotelPhone> phones) postalCode(String postalCode) rooms(List<ApiHotelRoom> rooms) segmentCodes(List<Integer> segmentCodes) segments(List<ApiSegment> segments) voidsetAccommodationType(ApiAccommodation accommodationType) voidsetAccommodationTypeCode(String accommodationTypeCode) voidsetAddress(ApiContent address) voidsetBoardCodes(List<String> boardCodes) voidvoidsetCategory(ApiCategory category) voidsetCategoryCode(String categoryCode) voidsetCategoryGroup(ApiGroupCategory categoryGroup) voidsetCategoryGroupCode(String categoryGroupCode) voidvoidsetChainCode(String chainCode) voidsetCity(ApiContent city) voidvoidsetCoordinates(ApiGeoLocation coordinates) voidsetCountry(ApiCountry country) voidsetCountryCode(String countryCode) voidsetDescription(ApiContent description) voidsetDestination(ApiDestination destination) voidsetDestinationCode(String destinationCode) voidvoidsetExclusiveDeal(Integer exclusiveDeal) voidsetFacilities(List<ApiHotelFacility> facilities) voidsetGiataCode(Integer giataCode) voidvoidsetInterestPoints(List<ApiHotelPointOfInterest> interestPoints) voidsetIssues(List<ApiHotelIssue> issues) voidsetLastUpdate(String lastUpdate) voidsetLicense(String license) voidsetName(ApiContent name) voidsetPhones(List<ApiHotelPhone> phones) voidsetPostalCode(String postalCode) voidsetRanking(Integer ranking) voidsetRooms(List<ApiHotelRoom> rooms) voidvoidsetSegmentCodes(List<Integer> segmentCodes) voidsetSegments(List<ApiSegment> segments) voidvoidsetStateCode(String stateCode) voidsetTerminals(List<ApiHotelTerminal> terminals) voidvoidsetWildcards(List<ApiWildCard> wildcards) voidvoidsetZoneCode(Integer zoneCode) terminals(List<ApiHotelTerminal> terminals) toString()wildcards(List<ApiWildCard> wildcards)
-
Field Details
-
JSON_PROPERTY_S2_C
- See Also:
-
JSON_PROPERTY_ACCOMMODATION_TYPE
- See Also:
-
JSON_PROPERTY_ACCOMMODATION_TYPE_CODE
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_BOARD_CODES
- See Also:
-
JSON_PROPERTY_BOARDS
- See Also:
-
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_CATEGORY_CODE
- See Also:
-
JSON_PROPERTY_CATEGORY_GROUP
- See Also:
-
JSON_PROPERTY_CATEGORY_GROUP_CODE
- See Also:
-
JSON_PROPERTY_CHAIN
- See Also:
-
JSON_PROPERTY_CHAIN_CODE
- See Also:
-
JSON_PROPERTY_CITY
- See Also:
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_COORDINATES
- See Also:
-
JSON_PROPERTY_COUNTRY
- See Also:
-
JSON_PROPERTY_COUNTRY_CODE
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DESTINATION
- See Also:
-
JSON_PROPERTY_DESTINATION_CODE
- See Also:
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_EXCLUSIVE_DEAL
- See Also:
-
JSON_PROPERTY_FACILITIES
- See Also:
-
JSON_PROPERTY_GIATA_CODE
- See Also:
-
JSON_PROPERTY_IMAGES
- See Also:
-
JSON_PROPERTY_INTEREST_POINTS
- See Also:
-
JSON_PROPERTY_ISSUES
- See Also:
-
JSON_PROPERTY_LAST_UPDATE
- See Also:
-
JSON_PROPERTY_LICENSE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PHONES
- See Also:
-
JSON_PROPERTY_POSTAL_CODE
- See Also:
-
JSON_PROPERTY_RANKING
- See Also:
-
JSON_PROPERTY_ROOMS
- See Also:
-
JSON_PROPERTY_SEGMENT_CODES
- See Also:
-
JSON_PROPERTY_SEGMENTS
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_STATE_CODE
- See Also:
-
JSON_PROPERTY_TERMINALS
- See Also:
-
JSON_PROPERTY_WEB
- See Also:
-
JSON_PROPERTY_WILDCARDS
- See Also:
-
JSON_PROPERTY_ZONE
- See Also:
-
JSON_PROPERTY_ZONE_CODE
- See Also:
-
-
Constructor Details
-
ApiHotel
public ApiHotel()
-
-
Method Details
-
S2C
-
getS2C
Health & Safety rating (NOTE: please bear in mind is not related to hotel category).- Returns:
- S2C
-
setS2C
-
accommodationType
-
getAccommodationType
Get accommodationType- Returns:
- accommodationType
-
setAccommodationType
-
accommodationTypeCode
-
getAccommodationTypeCode
Code of the type of accommodation. It will indicate the type of the hotel (apartment, hotel, home, etc.).- Returns:
- accommodationTypeCode
-
setAccommodationTypeCode
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
boardCodes
-
addBoardCodesItem
-
getBoardCodes
List of codes of board types offered at the hotel.- Returns:
- boardCodes
-
setBoardCodes
-
boards
-
addBoardsItem
-
getBoards
List of boards offered at the hotel.- Returns:
- boards
-
setBoards
-
category
-
getCategory
Get category- Returns:
- category
-
setCategory
-
categoryCode
-
getCategoryCode
Hotel rating based on the information provided by the hotel.- Returns:
- categoryCode
-
setCategoryCode
-
categoryGroup
-
getCategoryGroup
Get categoryGroup- Returns:
- categoryGroup
-
setCategoryGroup
-
categoryGroupCode
-
getCategoryGroupCode
Group name of the category to which the hotel belongs.- Returns:
- categoryGroupCode
-
setCategoryGroupCode
-
chain
-
getChain
Get chain- Returns:
- chain
-
setChain
-
chainCode
-
getChainCode
Code of the chain that the hotel belongs to.- Returns:
- chainCode
-
setChainCode
-
city
-
getCity
Get city- Returns:
- city
-
setCity
-
code
-
getCode
Hotelbeds internal hotel code.- Returns:
- code
-
setCode
-
coordinates
-
getCoordinates
Get coordinates- Returns:
- coordinates
-
setCoordinates
-
country
-
getCountry
Get country- Returns:
- country
-
setCountry
-
countryCode
-
getCountryCode
Code of the country where the hotel is located.- Returns:
- countryCode
-
setCountryCode
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
destination
-
getDestination
Get destination- Returns:
- destination
-
setDestination
-
destinationCode
-
getDestinationCode
Code of the destination of the hotel location.- Returns:
- destinationCode
-
setDestinationCode
-
email
-
getEmail
Hotel e-mail address. More than one email can be returned, separated by \";\" characters.- Returns:
-
setEmail
-
exclusiveDeal
-
getExclusiveDeal
The value follows a qualitative scale, the number 1 being always the top priority/preferential, and the rest of the product defined by our commercial departments. As of today, the possible values are: 1: Identifies preferential product with exclusive conditions. 2: Identifies the rest of our top hotels. 3: Identifies the rest of the hotels. In case new values are added in the future, a proper communication campaign will be carried out to inform you.- Returns:
- exclusiveDeal
-
setExclusiveDeal
-
facilities
-
addFacilitiesItem
-
getFacilities
List of facilities, amenities and installations in the hotel.- Returns:
- facilities
-
setFacilities
-
giataCode
-
getGiataCode
Giata code of the hotel. Will only be returned if the client has agreement with Giata.- Returns:
- giataCode
-
setGiataCode
-
images
-
addImagesItem
-
getImages
List of hotel pictures.- Returns:
- images
-
setImages
-
interestPoints
-
addInterestPointsItem
-
getInterestPoints
List of points of interest close to the hotel.- Returns:
- interestPoints
-
setInterestPoints
-
issues
-
addIssuesItem
-
getIssues
List of issues affecting the hotel.- Returns:
- issues
-
setIssues
-
lastUpdate
-
getLastUpdate
Date of the last update in the information of the hotel.- Returns:
- lastUpdate
-
setLastUpdate
-
license
-
getLicense
Accommodation registration number.- Returns:
- license
-
setLicense
-
name
-
getName
Get name- Returns:
- name
-
setName
-
phones
-
addPhonesItem
-
getPhones
List of contact phones of the hotel.- Returns:
- phones
-
setPhones
-
postalCode
-
getPostalCode
Hotel address postal code.- Returns:
- postalCode
-
setPostalCode
-
ranking
-
getRanking
Hotelbeds internal sorting ranking (NOTE: please bear in mind is not related to hotel category).- Returns:
- ranking
-
setRanking
-
rooms
-
addRoomsItem
-
getRooms
List of available rooms types at the hotel.- Returns:
- rooms
-
setRooms
-
segmentCodes
-
addSegmentCodesItem
-
getSegmentCodes
List of the internal segment codes.- Returns:
- segmentCodes
-
setSegmentCodes
-
segments
-
addSegmentsItem
-
getSegments
List of segments.- Returns:
- segments
-
setSegments
-
state
-
getState
Get state- Returns:
- state
-
setState
-
stateCode
-
getStateCode
Internal code of the state.- Returns:
- stateCode
-
setStateCode
-
terminals
-
addTerminalsItem
-
getTerminals
List of terminals associated to the hotel and their distance to the hotel.- Returns:
- terminals
-
setTerminals
-
web
-
getWeb
Website URL of the hotel or the chain.- Returns:
- web
-
setWeb
-
wildcards
-
addWildcardsItem
-
getWildcards
List of wildcard rooms.- Returns:
- wildcards
-
setWildcards
-
zone
-
getZone
Get zone- Returns:
- zone
-
setZone
-
zoneCode
-
getZoneCode
Internal zone code, where the hotel is located.- Returns:
- zoneCode
-
setZoneCode
-
equals
-
hashCode
public int hashCode() -
toString
-