Class HotelOnMapAgent

java.lang.Object
travel.wink.sdk.travel.agent.model.HotelOnMapAgent

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-02T16:46:07.843023788+07:00[Asia/Bangkok]") public class HotelOnMapAgent extends Object
Combined property data.
  • Field Details

  • Constructor Details

    • HotelOnMapAgent

      public HotelOnMapAgent()
  • Method Details

    • identifier

      public HotelOnMapAgent identifier(String identifier)
    • getIdentifier

      @Nullable public String getIdentifier()
      Unique record identifier. This is NOT the same as the unique hotel record identifier.
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(String identifier)
    • hotelIdentifier

      public HotelOnMapAgent hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

      @Nullable @Valid public @Valid UUID getHotelIdentifier()
      Unique hotel record identifier.
      Returns:
      hotelIdentifier
    • setHotelIdentifier

      public void setHotelIdentifier(UUID hotelIdentifier)
    • name

      public HotelOnMapAgent name(String name)
    • getName

      @Nullable public String getName()
      Hotel trade name
      Returns:
      name
    • setName

      public void setName(String name)
    • localName

      public HotelOnMapAgent localName(String localName)
    • getLocalName

      @Nullable public String getLocalName()
      Hotel local name if different from the trade name or if it is the local language.
      Returns:
      localName
    • setLocalName

      public void setLocalName(String localName)
    • chain

      public HotelOnMapAgent chain(String chain)
    • getChain

      @Nullable public String getChain()
      Name of hotel chain if applicable.
      Returns:
      chain
    • setChain

      public void setChain(String chain)
    • brand

      public HotelOnMapAgent brand(String brand)
    • getBrand

      @Nullable public String getBrand()
      Name of hotel brand
      Returns:
      brand
    • setBrand

      public void setBrand(String brand)
    • urlName

      public HotelOnMapAgent urlName(String urlName)
    • getUrlName

      @Nullable public String getUrlName()
      Unique URL-friendly name slug of hotel
      Returns:
      urlName
    • setUrlName

      public void setUrlName(String urlName)
    • starRating

      public HotelOnMapAgent starRating(Integer starRating)
    • getStarRating

      @Nullable @Min(0L) @Max(6L) public @Min(0L) @Max(6L) Integer getStarRating()
      Official or self-designated property star rating. Note that in some regions there are 6-star hotels. They are the same as 5-star hotels everywhere else. minimum: 0 maximum: 6
      Returns:
      starRating
    • setStarRating

      public void setStarRating(Integer starRating)
    • bookings

      public HotelOnMapAgent bookings(Long bookings)
    • getBookings

      @Nullable public Long getBookings()
      Number of bookings for this property on the wink.travel platform.
      Returns:
      bookings
    • setBookings

      public void setBookings(Long bookings)
    • aggregateReviewRating

      public HotelOnMapAgent aggregateReviewRating(Float aggregateReviewRating)
    • getAggregateReviewRating

      @Nullable public Float getAggregateReviewRating()
      Aggregate score based on all current user reviews.
      Returns:
      aggregateReviewRating
    • setAggregateReviewRating

      public void setAggregateReviewRating(Float aggregateReviewRating)
    • location

      public HotelOnMapAgent location(GeoJsonPointAgent location)
    • getLocation

      @Nullable @Valid public @Valid GeoJsonPointAgent getLocation()
      Get location
      Returns:
      location
    • setLocation

      public void setLocation(GeoJsonPointAgent location)
    • shortDescriptions

      public HotelOnMapAgent shortDescriptions(List<LocalizedDescriptionAgent> shortDescriptions)
    • addShortDescriptionsItem

      public HotelOnMapAgent addShortDescriptionsItem(LocalizedDescriptionAgent shortDescriptionsItem)
    • getShortDescriptions

      @Nullable @Valid public @Valid List<LocalizedDescriptionAgent> getShortDescriptions()
      A localized list of short property descriptions
      Returns:
      shortDescriptions
    • setShortDescriptions

      public void setShortDescriptions(List<LocalizedDescriptionAgent> shortDescriptions)
    • longDescriptions

      public HotelOnMapAgent longDescriptions(List<LocalizedDescriptionAgent> longDescriptions)
    • addLongDescriptionsItem

      public HotelOnMapAgent addLongDescriptionsItem(LocalizedDescriptionAgent longDescriptionsItem)
    • getLongDescriptions

      @Nullable @Valid public @Valid List<LocalizedDescriptionAgent> getLongDescriptions()
      A localized list of longer property descriptions
      Returns:
      longDescriptions
    • setLongDescriptions

      public void setLongDescriptions(List<LocalizedDescriptionAgent> longDescriptions)
    • aggregateGreendexRating

      public HotelOnMapAgent aggregateGreendexRating(Float aggregateGreendexRating)
    • getAggregateGreendexRating

      @Nullable public Float getAggregateGreendexRating()
      Aggregate Green Index score if the property has answered our questionnaire available in the Extranet.
      Returns:
      aggregateGreendexRating
    • setAggregateGreendexRating

      public void setAggregateGreendexRating(Float aggregateGreendexRating)
    • lifestyleTypes

      public HotelOnMapAgent lifestyleTypes(List<HotelOnMapAgent.LifestyleTypesEnum> lifestyleTypes)
    • addLifestyleTypesItem

      public HotelOnMapAgent addLifestyleTypesItem(HotelOnMapAgent.LifestyleTypesEnum lifestyleTypesItem)
    • getLifestyleTypes

      @Nullable public List<HotelOnMapAgent.LifestyleTypesEnum> getLifestyleTypes()
      Get lifestyleTypes
      Returns:
      lifestyleTypes
    • setLifestyleTypes

      public void setLifestyleTypes(List<HotelOnMapAgent.LifestyleTypesEnum> lifestyleTypes)
    • totalReviews

      public HotelOnMapAgent totalReviews(Integer totalReviews)
    • getTotalReviews

      @Nullable public Integer getTotalReviews()
      Count of total reviews left by users at this property.
      Returns:
      totalReviews
    • setTotalReviews

      public void setTotalReviews(Integer totalReviews)
    • available

      public HotelOnMapAgent available(Boolean available)
    • getAvailable

      @Nullable public Boolean getAvailable()
      Flag indicating whether the reactive has made this property available for sale.
      Returns:
      available
    • setAvailable

      public void setAvailable(Boolean available)
    • hotelAvailable

      public HotelOnMapAgent hotelAvailable(Boolean hotelAvailable)
    • getHotelAvailable

      @Nullable public Boolean getHotelAvailable()
      Flag indicating whether the property has made this property available for sale.
      Returns:
      hotelAvailable
    • setHotelAvailable

      public void setHotelAvailable(Boolean hotelAvailable)
    • reservations

      public HotelOnMapAgent reservations(ContactAgent reservations)
    • getReservations

      @Nullable @Valid public @Valid ContactAgent getReservations()
      Get reservations
      Returns:
      reservations
    • setReservations

      public void setReservations(ContactAgent reservations)
    • socials

      public HotelOnMapAgent socials(List<SocialAgent> socials)
    • addSocialsItem

      public HotelOnMapAgent addSocialsItem(SocialAgent socialsItem)
    • getSocials

      @Nullable @Valid public @Valid List<SocialAgent> getSocials()
      Property's social network accounts
      Returns:
      socials
    • setSocials

      public void setSocials(List<SocialAgent> socials)
    • images

      public HotelOnMapAgent images(List<SimpleMultimediaAgent> images)
    • addImagesItem

      public HotelOnMapAgent addImagesItem(SimpleMultimediaAgent imagesItem)
    • getImages

      @Nullable @Valid public @Valid List<SimpleMultimediaAgent> getImages()
      Property images.
      Returns:
      images
    • setImages

      public void setImages(List<SimpleMultimediaAgent> images)
    • videos

      public HotelOnMapAgent videos(List<SimpleMultimediaAgent> videos)
    • addVideosItem

      public HotelOnMapAgent addVideosItem(SimpleMultimediaAgent videosItem)
    • getVideos

      @Nullable @Valid public @Valid List<SimpleMultimediaAgent> getVideos()
      Property videos.
      Returns:
      videos
    • setVideos

      public void setVideos(List<SimpleMultimediaAgent> videos)
    • policy

      public HotelOnMapAgent policy(PropertyPolicyAgent policy)
    • getPolicy

      @Nullable @Valid public @Valid PropertyPolicyAgent getPolicy()
      Get policy
      Returns:
      policy
    • setPolicy

      public void setPolicy(PropertyPolicyAgent policy)
    • thirdPartyReviews

      public HotelOnMapAgent thirdPartyReviews(List<TravelInventoryRecognitionAgent> thirdPartyReviews)
    • addThirdPartyReviewsItem

      public HotelOnMapAgent addThirdPartyReviewsItem(TravelInventoryRecognitionAgent thirdPartyReviewsItem)
    • getThirdPartyReviews

      @Nullable @Valid public @Valid List<TravelInventoryRecognitionAgent> getThirdPartyReviews()
      Array of awards and third party reviews given to property by certified / non-certified providers.
      Returns:
      thirdPartyReviews
    • setThirdPartyReviews

      public void setThirdPartyReviews(List<TravelInventoryRecognitionAgent> thirdPartyReviews)
    • attractions

      public HotelOnMapAgent attractions(Integer attractions)
    • getAttractions

      @Nullable public Integer getAttractions()
      Number of attractions property has listed on its profile.
      Returns:
      attractions
    • setAttractions

      public void setAttractions(Integer attractions)
    • recreations

      public HotelOnMapAgent recreations(Integer recreations)
    • getRecreations

      @Nullable public Integer getRecreations()
      Number of activites property has listed on its profile.
      Returns:
      recreations
    • setRecreations

      public void setRecreations(Integer recreations)
    • pois

      public HotelOnMapAgent pois(Integer pois)
    • getPois

      @Nullable public Integer getPois()
      Number of places property has listed on its profile.
      Returns:
      pois
    • setPois

      public void setPois(Integer pois)
    • restaurants

      public HotelOnMapAgent restaurants(Integer restaurants)
    • getRestaurants

      @Nullable public Integer getRestaurants()
      Number of restaurants property has on its profile.
      Returns:
      restaurants
    • setRestaurants

      public void setRestaurants(Integer restaurants)
    • meetingRooms

      public HotelOnMapAgent meetingRooms(Integer meetingRooms)
    • getMeetingRooms

      @Nullable public Integer getMeetingRooms()
      Number of meeting rooms property has on its profile.
      Returns:
      meetingRooms
    • setMeetingRooms

      public void setMeetingRooms(Integer meetingRooms)
    • spas

      public HotelOnMapAgent spas(Integer spas)
    • getSpas

      @Nullable public Integer getSpas()
      Number of spas property has on its profile.
      Returns:
      spas
    • setSpas

      public void setSpas(Integer spas)
    • addOns

      public HotelOnMapAgent addOns(Integer addOns)
    • getAddOns

      @Nullable public Integer getAddOns()
      Number of add-ons property has on its profile.
      Returns:
      addOns
    • setAddOns

      public void setAddOns(Integer addOns)
    • generalManager

      public HotelOnMapAgent generalManager(GeneralManagerAgent generalManager)
    • getGeneralManager

      @Nullable @Valid public @Valid GeneralManagerAgent getGeneralManager()
      Get generalManager
      Returns:
      generalManager
    • setGeneralManager

      public void setGeneralManager(GeneralManagerAgent generalManager)
    • locationCategory

      public HotelOnMapAgent locationCategory(String locationCategory)
    • getLocationCategory

      @Nullable public String getLocationCategory()
      Supported OTA specification `LOC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      locationCategory
    • setLocationCategory

      public void setLocationCategory(String locationCategory)
    • segmentCategory

      public HotelOnMapAgent segmentCategory(String segmentCategory)
    • getSegmentCategory

      @Nullable public String getSegmentCategory()
      Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      segmentCategory
    • setSegmentCategory

      public void setSegmentCategory(String segmentCategory)
    • hotelCategory

      public HotelOnMapAgent hotelCategory(String hotelCategory)
    • getHotelCategory

      @Nullable public String getHotelCategory()
      Supported OTA specification `PCT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      hotelCategory
    • setHotelCategory

      public void setHotelCategory(String hotelCategory)
    • architecturalStyle

      public HotelOnMapAgent architecturalStyle(String architecturalStyle)
    • getArchitecturalStyle

      @Nullable public String getArchitecturalStyle()
      Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      architecturalStyle
    • setArchitecturalStyle

      public void setArchitecturalStyle(String architecturalStyle)
    • whenBuilt

      public HotelOnMapAgent whenBuilt(String whenBuilt)
    • getWhenBuilt

      @Nullable public String getWhenBuilt()
      Year the property was constructed.
      Returns:
      whenBuilt
    • setWhenBuilt

      public void setWhenBuilt(String whenBuilt)
    • currencyCode

      public HotelOnMapAgent currencyCode(String currencyCode)
    • getCurrencyCode

      @Nullable public String getCurrencyCode()
      Currency code for property.
      Returns:
      currencyCode
    • setCurrencyCode

      public void setCurrencyCode(String currencyCode)
    • membershipRateDiscount

      public HotelOnMapAgent membershipRateDiscount(Float membershipRateDiscount)
    • getMembershipRateDiscount

      @Nullable public Float getMembershipRateDiscount()
      A property's price score is based on calculating historical pricing data. Each property receives a unique score. There is no max score; it's there to compare it against other properties.
      Returns:
      membershipRateDiscount
    • setMembershipRateDiscount

      public void setMembershipRateDiscount(Float membershipRateDiscount)
    • priceScore

      public HotelOnMapAgent priceScore(Integer priceScore)
    • getPriceScore

      @Nullable public Integer getPriceScore()
      A property's price score is based on calculating historical pricing data. Each property receives a unique score. There is no max score; it's there to compare it against other properties.
      Returns:
      priceScore
    • setPriceScore

      public void setPriceScore(Integer priceScore)
    • perkScore

      public HotelOnMapAgent perkScore(Integer perkScore)
    • getPerkScore

      @Nullable public Integer getPerkScore()
      A property's perk score is based on the type of perks that is offered to the guests across all master rates. There is no max score; it's there to compare it against other properties.
      Returns:
      perkScore
    • setPerkScore

      public void setPerkScore(Integer perkScore)
    • packageScore

      public HotelOnMapAgent packageScore(Integer packageScore)
    • getPackageScore

      @Nullable public Integer getPackageScore()
      A property's package score is based on general availability and price for all packages and add-ons offered by the property. There is no max score; it's there to compare it against other properties.
      Returns:
      packageScore
    • setPackageScore

      public void setPackageScore(Integer packageScore)
    • loyaltyScore

      public HotelOnMapAgent loyaltyScore(Integer loyaltyScore)
    • getLoyaltyScore

      @Nullable public Integer getLoyaltyScore()
      A property's loyalty score is based on calculating how many available rate plans honor loyalty points. There is no max score; it's there to compare it against other properties.
      Returns:
      loyaltyScore
    • setLoyaltyScore

      public void setLoyaltyScore(Integer loyaltyScore)
    • popularScore

      public HotelOnMapAgent popularScore(Integer popularScore)
    • getPopularScore

      @Nullable public Integer getPopularScore()
      A property's popular score is based on calculating number of bookings across room types. There is no max score; it's there to compare it against other properties.
      Returns:
      popularScore
    • setPopularScore

      public void setPopularScore(Integer popularScore)
    • experienceScore

      public HotelOnMapAgent experienceScore(Integer experienceScore)
    • getExperienceScore

      @Nullable public Integer getExperienceScore()
      A property's experience score is based on how calculating how many types of experiences are available and at what price ranges. There is no max score; it's there to compare it against other properties.
      Returns:
      experienceScore
    • setExperienceScore

      public void setExperienceScore(Integer experienceScore)
    • availabilityScore

      public HotelOnMapAgent availabilityScore(Integer availabilityScore)
    • getAvailabilityScore

      @Nullable public Integer getAvailabilityScore()
      A property's availability score is based on general availability of all room types. If most room types are always unavailable, the attractiveness of this property goes down. We use this as our primary benchmark to decide how and when to feature properties. There is no max score; it's there to compare it against other properties.
      Returns:
      availabilityScore
    • setAvailabilityScore

      public void setAvailabilityScore(Integer availabilityScore)
    • views

      public HotelOnMapAgent views(Long views)
    • getViews

      @Nullable public Long getViews()
      Total number of user views of this property.
      Returns:
      views
    • setViews

      public void setViews(Long views)
    • hotelAmenityCodes

      public HotelOnMapAgent hotelAmenityCodes(List<String> hotelAmenityCodes)
    • addHotelAmenityCodesItem

      public HotelOnMapAgent addHotelAmenityCodesItem(String hotelAmenityCodesItem)
    • getHotelAmenityCodes

      @Nullable public List<String> getHotelAmenityCodes()
      Supported OTA specification `HAC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      hotelAmenityCodes
    • setHotelAmenityCodes

      public void setHotelAmenityCodes(List<String> hotelAmenityCodes)
    • propertyAccessibilityCodes

      public HotelOnMapAgent propertyAccessibilityCodes(List<String> propertyAccessibilityCodes)
    • addPropertyAccessibilityCodesItem

      public HotelOnMapAgent addPropertyAccessibilityCodesItem(String propertyAccessibilityCodesItem)
    • getPropertyAccessibilityCodes

      @Nullable public List<String> getPropertyAccessibilityCodes()
      Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      propertyAccessibilityCodes
    • setPropertyAccessibilityCodes

      public void setPropertyAccessibilityCodes(List<String> propertyAccessibilityCodes)
    • propertySecurityCodes

      public HotelOnMapAgent propertySecurityCodes(List<String> propertySecurityCodes)
    • addPropertySecurityCodesItem

      public HotelOnMapAgent addPropertySecurityCodesItem(String propertySecurityCodesItem)
    • getPropertySecurityCodes

      @Nullable public List<String> getPropertySecurityCodes()
      Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      propertySecurityCodes
    • setPropertySecurityCodes

      public void setPropertySecurityCodes(List<String> propertySecurityCodes)
    • numberOfRooms

      public HotelOnMapAgent numberOfRooms(Integer numberOfRooms)
    • getNumberOfRooms

      @Nullable public Integer getNumberOfRooms()
      Number of rooms / keys for this property.
      Returns:
      numberOfRooms
    • setNumberOfRooms

      public void setNumberOfRooms(Integer numberOfRooms)
    • address

      public HotelOnMapAgent address(AddressAgent address)
    • getAddress

      @Nullable @Valid public @Valid AddressAgent getAddress()
      Get address
      Returns:
      address
    • setAddress

      public void setAddress(AddressAgent address)
    • active

      public HotelOnMapAgent active(Boolean active)
    • getActive

      @Nullable public Boolean getActive()
      A property is considered active when both available and hotelAvailable flags are true.
      Returns:
      active
    • setActive

      public void setActive(Boolean active)
    • urlParameters

      public HotelOnMapAgent urlParameters(String urlParameters)
    • getUrlParameters

      @Nullable public String getUrlParameters()
      Convenience data point that creates url friendly query parameters of property.
      Returns:
      urlParameters
    • setUrlParameters

      public void setUrlParameters(String urlParameters)
    • 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