Class HotelInventoryRequest
java.lang.Object
travel.wink.sdk.booking.engine.model.HotelInventoryRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-08-16T13:27:12.790694+07:00[Asia/Bangkok]")
public class HotelInventoryRequest
extends Object
HotelInventoryRequest
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid UUIDUnique property identifier to retrieve inventory for.Flag to indicate whether to return property activity data.Flag to indicate whether to return property add-on data.Flag to indicate whether to return property green index score data.Flag to indicate whether to return property announcement data.Flag to indicate whether to return property attraction data.Flag to indicate whether to return basic property data.Flag to indicate whether to return property image data.Flag to indicate whether to return property meeting room data.Flag to indicate whether to return property meta data.Flag to indicate whether to return property package offer data.Flag to indicate whether to return property place data.Flag to indicate whether to return property recognition data.Flag to indicate whether to return property restaurant data.Flag to indicate whether to return property review data.Flag to indicate whether to return property room type data.Flag to indicate whether to return property spa data.Flag to indicate whether to return property video data.Unique url-friendly record identifier of property.@NotNull @Valid UserSessionGet userSessioninthashCode()hotelIdentifier(UUID hotelIdentifier) voidsetHotelIdentifier(UUID hotelIdentifier) voidsetShowActivities(Boolean showActivities) voidsetShowAddOnOffers(Boolean showAddOnOffers) voidsetShowAggregateGreenIndexScores(Boolean showAggregateGreenIndexScores) voidsetShowAnnouncements(Boolean showAnnouncements) voidsetShowAttractions(Boolean showAttractions) voidsetShowHotel(Boolean showHotel) voidsetShowImages(Boolean showImages) voidsetShowMeetingRooms(Boolean showMeetingRooms) voidsetShowMetadata(Boolean showMetadata) voidsetShowPackageOffers(Boolean showPackageOffers) voidsetShowPlaces(Boolean showPlaces) voidsetShowRecognition(Boolean showRecognition) voidsetShowRestaurants(Boolean showRestaurants) voidsetShowReviews(Boolean showReviews) voidsetShowRoomTypes(Boolean showRoomTypes) voidsetShowSpas(Boolean showSpas) voidsetShowVideos(Boolean showVideos) voidsetUrlName(String urlName) voidsetUserSession(UserSession userSession) showActivities(Boolean showActivities) showAddOnOffers(Boolean showAddOnOffers) showAggregateGreenIndexScores(Boolean showAggregateGreenIndexScores) showAnnouncements(Boolean showAnnouncements) showAttractions(Boolean showAttractions) showImages(Boolean showImages) showMeetingRooms(Boolean showMeetingRooms) showMetadata(Boolean showMetadata) showPackageOffers(Boolean showPackageOffers) showPlaces(Boolean showPlaces) showRecognition(Boolean showRecognition) showRestaurants(Boolean showRestaurants) showReviews(Boolean showReviews) showRoomTypes(Boolean showRoomTypes) showVideos(Boolean showVideos) toString()userSession(UserSession userSession)
-
Field Details
-
JSON_PROPERTY_HOTEL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_URL_NAME
- See Also:
-
JSON_PROPERTY_SHOW_HOTEL
- See Also:
-
JSON_PROPERTY_SHOW_METADATA
- See Also:
-
JSON_PROPERTY_SHOW_VIDEOS
- See Also:
-
JSON_PROPERTY_SHOW_IMAGES
- See Also:
-
JSON_PROPERTY_SHOW_ROOM_TYPES
- See Also:
-
JSON_PROPERTY_SHOW_PACKAGE_OFFERS
- See Also:
-
JSON_PROPERTY_SHOW_ADD_ON_OFFERS
- See Also:
-
JSON_PROPERTY_SHOW_RESTAURANTS
- See Also:
-
JSON_PROPERTY_SHOW_MEETING_ROOMS
- See Also:
-
JSON_PROPERTY_SHOW_SPAS
- See Also:
-
JSON_PROPERTY_SHOW_ATTRACTIONS
- See Also:
-
JSON_PROPERTY_SHOW_ACTIVITIES
- See Also:
-
JSON_PROPERTY_SHOW_PLACES
- See Also:
-
JSON_PROPERTY_SHOW_RECOGNITION
- See Also:
-
JSON_PROPERTY_SHOW_AGGREGATE_GREEN_INDEX_SCORES
- See Also:
-
JSON_PROPERTY_SHOW_ANNOUNCEMENTS
- See Also:
-
JSON_PROPERTY_SHOW_REVIEWS
- See Also:
-
JSON_PROPERTY_USER_SESSION
- See Also:
-
-
Constructor Details
-
HotelInventoryRequest
public HotelInventoryRequest()
-
-
Method Details
-
hotelIdentifier
-
getHotelIdentifier
Unique property identifier to retrieve inventory for. Either the hotelIdentifier or urlName property is required.- Returns:
- hotelIdentifier
-
setHotelIdentifier
-
urlName
-
getUrlName
Unique url-friendly record identifier of property. Either the hotelIdentifier or urlName property is required.- Returns:
- urlName
-
setUrlName
-
showHotel
-
getShowHotel
Flag to indicate whether to return basic property data. If you are loading up property for the first time, this data would be good to include. But there is no need to load that a second time if you are only going for availability data. This field populates `hotel` data in response.- Returns:
- showHotel
-
setShowHotel
-
showMetadata
-
getShowMetadata
Flag to indicate whether to return property meta data. This field populates `metadata` data in response.- Returns:
- showMetadata
-
setShowMetadata
-
showVideos
-
getShowVideos
Flag to indicate whether to return property video data. This field populates `videos` data in response.- Returns:
- showVideos
-
setShowVideos
-
showImages
-
getShowImages
Flag to indicate whether to return property image data. This field populates `images` data in response.- Returns:
- showImages
-
setShowImages
-
showRoomTypes
-
getShowRoomTypes
Flag to indicate whether to return property room type data. This field populates `roomType`, `cheapesRoomTypes` and `available` data in response.- Returns:
- showRoomTypes
-
setShowRoomTypes
-
showPackageOffers
-
getShowPackageOffers
Flag to indicate whether to return property package offer data. This field populates `roomTypes.priceConfigurations.packageOffers` data in response.- Returns:
- showPackageOffers
-
setShowPackageOffers
-
showAddOnOffers
-
getShowAddOnOffers
Flag to indicate whether to return property add-on data. This field populates `roomTypes.priceConfigurations.addOnOffers` data in response.- Returns:
- showAddOnOffers
-
setShowAddOnOffers
-
showRestaurants
-
getShowRestaurants
Flag to indicate whether to return property restaurant data. This field populates `restaurants` data in response.- Returns:
- showRestaurants
-
setShowRestaurants
-
showMeetingRooms
-
getShowMeetingRooms
Flag to indicate whether to return property meeting room data. This field populates `meetingRooms` data in response.- Returns:
- showMeetingRooms
-
setShowMeetingRooms
-
showSpas
-
getShowSpas
Flag to indicate whether to return property spa data. This field populates `spas` data in response.- Returns:
- showSpas
-
setShowSpas
-
showAttractions
-
getShowAttractions
Flag to indicate whether to return property attraction data. This field populates `attractions` data in response.- Returns:
- showAttractions
-
setShowAttractions
-
showActivities
-
getShowActivities
Flag to indicate whether to return property activity data. This field populates `activities` data in response.- Returns:
- showActivities
-
setShowActivities
-
showPlaces
-
getShowPlaces
Flag to indicate whether to return property place data. This field populates `places` data in response.- Returns:
- showPlaces
-
setShowPlaces
-
showRecognition
-
getShowRecognition
Flag to indicate whether to return property recognition data. This field populates `recognitions` data in response.- Returns:
- showRecognition
-
setShowRecognition
-
showAggregateGreenIndexScores
-
getShowAggregateGreenIndexScores
Flag to indicate whether to return property green index score data. This field populates `greenIndexScores` data in response. Note: You only need to return hotel data to get the overall aggregate Green Index score and not detailed category scores.- Returns:
- showAggregateGreenIndexScores
-
setShowAggregateGreenIndexScores
-
showAnnouncements
-
getShowAnnouncements
Flag to indicate whether to return property announcement data. Announcements are messages the property wishes to convey to travelers for certain dates. This field populates `announcements` data in response.- Returns:
- showAnnouncements
-
setShowAnnouncements
-
showReviews
-
getShowReviews
Flag to indicate whether to return property review data. Note: You only need to return hotel data to get the overall aggregate review score and not the entire list of reviews. This field populates `reviews` data in response.- Returns:
- showReviews
-
setShowReviews
-
userSession
-
getUserSession
Get userSession- Returns:
- userSession
-
setUserSession
-
equals
-
hashCode
public int hashCode() -
toString
-