Class HotelInventoryRequestConsumer

java.lang.Object
travel.wink.sdk.inventory.model.HotelInventoryRequestConsumer

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-05-12T18:10:16.820660273+07:00[Asia/Bangkok]") public class HotelInventoryRequestConsumer extends Object
HotelInventoryRequestConsumer
  • Field Details

  • Constructor Details

    • HotelInventoryRequestConsumer

      public HotelInventoryRequestConsumer()
  • Method Details

    • hotelIdentifier

      public HotelInventoryRequestConsumer hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

      @Nullable @Valid public @Valid UUID getHotelIdentifier()
      Unique property identifier to retrieve inventory for. Either the hotelIdentifier or urlName property is required.
      Returns:
      hotelIdentifier
    • setHotelIdentifier

      public void setHotelIdentifier(UUID hotelIdentifier)
    • urlName

      public HotelInventoryRequestConsumer urlName(String urlName)
    • getUrlName

      @Nullable public String getUrlName()
      Unique url-friendly record identifier of property. Either the hotelIdentifier or urlName property is required.
      Returns:
      urlName
    • setUrlName

      public void setUrlName(String urlName)
    • showHotel

      public HotelInventoryRequestConsumer showHotel(Boolean showHotel)
    • getShowHotel

      @Nullable public Boolean 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

      public void setShowHotel(Boolean showHotel)
    • showMetadata

      public HotelInventoryRequestConsumer showMetadata(Boolean showMetadata)
    • getShowMetadata

      @Nullable public Boolean getShowMetadata()
      Flag to indicate whether to return property meta data. This field populates `metadata` data in response.
      Returns:
      showMetadata
    • setShowMetadata

      public void setShowMetadata(Boolean showMetadata)
    • showVideos

      public HotelInventoryRequestConsumer showVideos(Boolean showVideos)
    • getShowVideos

      @Nullable public Boolean getShowVideos()
      Flag to indicate whether to return property video data. This field populates `videos` data in response.
      Returns:
      showVideos
    • setShowVideos

      public void setShowVideos(Boolean showVideos)
    • showImages

      public HotelInventoryRequestConsumer showImages(Boolean showImages)
    • getShowImages

      @Nullable public Boolean getShowImages()
      Flag to indicate whether to return property image data. This field populates `images` data in response.
      Returns:
      showImages
    • setShowImages

      public void setShowImages(Boolean showImages)
    • showRoomTypes

      public HotelInventoryRequestConsumer showRoomTypes(Boolean showRoomTypes)
    • getShowRoomTypes

      @Nullable public Boolean getShowRoomTypes()
      Flag to indicate whether to return property room type data. This field populates `roomType`, `cheapesRoomTypes` and `available` data in response.
      Returns:
      showRoomTypes
    • setShowRoomTypes

      public void setShowRoomTypes(Boolean showRoomTypes)
    • showAddOnOffers

      public HotelInventoryRequestConsumer showAddOnOffers(Boolean showAddOnOffers)
    • getShowAddOnOffers

      @Nullable public Boolean getShowAddOnOffers()
      Flag to indicate whether to return property add-on data. This field populates `roomTypes.priceConfigurations.addOnOffers` data in response.
      Returns:
      showAddOnOffers
    • setShowAddOnOffers

      public void setShowAddOnOffers(Boolean showAddOnOffers)
    • showRestaurants

      public HotelInventoryRequestConsumer showRestaurants(Boolean showRestaurants)
    • getShowRestaurants

      @Nullable public Boolean getShowRestaurants()
      Flag to indicate whether to return property restaurant data. This field populates `restaurants` data in response.
      Returns:
      showRestaurants
    • setShowRestaurants

      public void setShowRestaurants(Boolean showRestaurants)
    • showMeetingRooms

      public HotelInventoryRequestConsumer showMeetingRooms(Boolean showMeetingRooms)
    • getShowMeetingRooms

      @Nullable public Boolean getShowMeetingRooms()
      Flag to indicate whether to return property meeting room data. This field populates `meetingRooms` data in response.
      Returns:
      showMeetingRooms
    • setShowMeetingRooms

      public void setShowMeetingRooms(Boolean showMeetingRooms)
    • showSpas

      public HotelInventoryRequestConsumer showSpas(Boolean showSpas)
    • getShowSpas

      @Nullable public Boolean getShowSpas()
      Flag to indicate whether to return property spa data. This field populates `spas` data in response.
      Returns:
      showSpas
    • setShowSpas

      public void setShowSpas(Boolean showSpas)
    • showAttractions

      public HotelInventoryRequestConsumer showAttractions(Boolean showAttractions)
    • getShowAttractions

      @Nullable public Boolean getShowAttractions()
      Flag to indicate whether to return property attraction data. This field populates `attractions` data in response.
      Returns:
      showAttractions
    • setShowAttractions

      public void setShowAttractions(Boolean showAttractions)
    • showActivities

      public HotelInventoryRequestConsumer showActivities(Boolean showActivities)
    • getShowActivities

      @Nullable public Boolean getShowActivities()
      Flag to indicate whether to return property activity data. This field populates `activities` data in response.
      Returns:
      showActivities
    • setShowActivities

      public void setShowActivities(Boolean showActivities)
    • showPlaces

      public HotelInventoryRequestConsumer showPlaces(Boolean showPlaces)
    • getShowPlaces

      @Nullable public Boolean getShowPlaces()
      Flag to indicate whether to return property place data. This field populates `places` data in response.
      Returns:
      showPlaces
    • setShowPlaces

      public void setShowPlaces(Boolean showPlaces)
    • showRecognition

      public HotelInventoryRequestConsumer showRecognition(Boolean showRecognition)
    • getShowRecognition

      @Nullable public Boolean getShowRecognition()
      Flag to indicate whether to return property recognition data. This field populates `recognitions` data in response.
      Returns:
      showRecognition
    • setShowRecognition

      public void setShowRecognition(Boolean showRecognition)
    • showAggregateGreenIndexScores

      public HotelInventoryRequestConsumer showAggregateGreenIndexScores(Boolean showAggregateGreenIndexScores)
    • getShowAggregateGreenIndexScores

      @Nullable public Boolean 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

      public void setShowAggregateGreenIndexScores(Boolean showAggregateGreenIndexScores)
    • showAnnouncements

      public HotelInventoryRequestConsumer showAnnouncements(Boolean showAnnouncements)
    • getShowAnnouncements

      @Nullable public Boolean 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

      public void setShowAnnouncements(Boolean showAnnouncements)
    • showReviews

      public HotelInventoryRequestConsumer showReviews(Boolean showReviews)
    • getShowReviews

      @Nullable public Boolean 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

      public void setShowReviews(Boolean showReviews)
    • userSession

      public HotelInventoryRequestConsumer userSession(UserSessionConsumer userSession)
    • getUserSession

      @Nonnull @NotNull @Valid public @NotNull @Valid UserSessionConsumer getUserSession()
      Get userSession
      Returns:
      userSession
    • setUserSession

      public void setUserSession(UserSessionConsumer userSession)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object