Class HotelOnMap

java.lang.Object
travel.wink.sdk.affiliate.model.HotelOnMap

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-16T10:41:04.695846072+07:00[Asia/Bangkok]") public class HotelOnMap extends Object
Combined property data.
  • Field Details

  • Constructor Details

    • HotelOnMap

      public HotelOnMap()
  • Method Details

    • identifier

      public HotelOnMap 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 HotelOnMap hotelIdentifier(UUID hotelIdentifier)
    • getHotelIdentifier

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

      public void setHotelIdentifier(UUID hotelIdentifier)
    • name

      public HotelOnMap name(String name)
    • getName

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

      public void setName(String name)
    • localName

      public HotelOnMap 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 HotelOnMap chain(String chain)
    • getChain

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

      public void setChain(String chain)
    • brand

      public HotelOnMap brand(String brand)
    • getBrand

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

      public void setBrand(String brand)
    • urlName

      public HotelOnMap 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 HotelOnMap 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 HotelOnMap bookings(Long bookings)
    • getBookings

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

      public void setBookings(Long bookings)
    • aggregateReviewRating

      public HotelOnMap 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 HotelOnMap location(HotelOnMapLocation location)
    • getLocation

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

      public void setLocation(HotelOnMapLocation location)
    • shortDescriptions

      public HotelOnMap shortDescriptions(List<SimpleDescription> shortDescriptions)
    • addShortDescriptionsItem

      public HotelOnMap addShortDescriptionsItem(SimpleDescription shortDescriptionsItem)
    • getShortDescriptions

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

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

      public HotelOnMap longDescriptions(List<SimpleDescription> longDescriptions)
    • addLongDescriptionsItem

      public HotelOnMap addLongDescriptionsItem(SimpleDescription longDescriptionsItem)
    • getLongDescriptions

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

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

      public HotelOnMap 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 HotelOnMap lifestyleTypes(List<HotelOnMap.LifestyleTypesEnum> lifestyleTypes)
    • addLifestyleTypesItem

      public HotelOnMap addLifestyleTypesItem(HotelOnMap.LifestyleTypesEnum lifestyleTypesItem)
    • getLifestyleTypes

      @Nullable public List<HotelOnMap.LifestyleTypesEnum> getLifestyleTypes()
      A list of lifestyles the property associates with.
      Returns:
      lifestyleTypes
    • setLifestyleTypes

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

      public HotelOnMap 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 HotelOnMap available(Boolean available)
    • getAvailable

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

      public void setAvailable(Boolean available)
    • hotelAvailable

      public HotelOnMap 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 HotelOnMap reservations(Contact reservations)
    • getReservations

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

      public void setReservations(Contact reservations)
    • socials

      public HotelOnMap socials(List<Social> socials)
    • addSocialsItem

      public HotelOnMap addSocialsItem(Social socialsItem)
    • getSocials

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

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

      public HotelOnMap images(List<Multimedia> images)
    • addImagesItem

      public HotelOnMap addImagesItem(Multimedia imagesItem)
    • getImages

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

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

      public HotelOnMap videos(List<Multimedia> videos)
    • addVideosItem

      public HotelOnMap addVideosItem(Multimedia videosItem)
    • getVideos

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

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

      public HotelOnMap policy(PropertyPolicy policy)
    • getPolicy

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

      public void setPolicy(PropertyPolicy policy)
    • thirdPartyReviews

      public HotelOnMap thirdPartyReviews(List<Recognition> thirdPartyReviews)
    • addThirdPartyReviewsItem

      public HotelOnMap addThirdPartyReviewsItem(Recognition thirdPartyReviewsItem)
    • getThirdPartyReviews

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

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

      public HotelOnMap 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 HotelOnMap 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 HotelOnMap 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 HotelOnMap 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 HotelOnMap 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 HotelOnMap spas(Integer spas)
    • getSpas

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

      public void setSpas(Integer spas)
    • bundles

      public HotelOnMap bundles(Integer bundles)
    • getBundles

      @Nullable public Integer getBundles()
      Number of packages property has on its profile.
      Returns:
      bundles
    • setBundles

      public void setBundles(Integer bundles)
    • upgrades

      public HotelOnMap upgrades(Integer upgrades)
    • getUpgrades

      @Nullable public Integer getUpgrades()
      Number of add-ons property has on its profile.
      Returns:
      upgrades
    • setUpgrades

      public void setUpgrades(Integer upgrades)
    • fullNameOfGeneralManager

      public HotelOnMap fullNameOfGeneralManager(String fullNameOfGeneralManager)
    • getFullNameOfGeneralManager

      @Nullable public String getFullNameOfGeneralManager()
      Full name of the property's current and active general manager.
      Returns:
      fullNameOfGeneralManager
    • setFullNameOfGeneralManager

      public void setFullNameOfGeneralManager(String fullNameOfGeneralManager)
    • profilePictureIdentifierGeneralManager

      public HotelOnMap profilePictureIdentifierGeneralManager(String profilePictureIdentifierGeneralManager)
    • getProfilePictureIdentifierGeneralManager

      @Nullable public String getProfilePictureIdentifierGeneralManager()
      Cloudinary identifier referencing image of general manager.
      Returns:
      profilePictureIdentifierGeneralManager
    • setProfilePictureIdentifierGeneralManager

      public void setProfilePictureIdentifierGeneralManager(String profilePictureIdentifierGeneralManager)
    • messagesOfGeneralManager

      public HotelOnMap messagesOfGeneralManager(List<SimpleDescription> messagesOfGeneralManager)
    • addMessagesOfGeneralManagerItem

      public HotelOnMap addMessagesOfGeneralManagerItem(SimpleDescription messagesOfGeneralManagerItem)
    • getMessagesOfGeneralManager

      @Nullable @Valid public @Valid List<SimpleDescription> getMessagesOfGeneralManager()
      A list of localized welcome messages created by the property's general manager.
      Returns:
      messagesOfGeneralManager
    • setMessagesOfGeneralManager

      public void setMessagesOfGeneralManager(List<SimpleDescription> messagesOfGeneralManager)
    • locationCategory

      public HotelOnMap 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 HotelOnMap 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 HotelOnMap 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 HotelOnMap 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 HotelOnMap whenBuilt(String whenBuilt)
    • getWhenBuilt

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

      public void setWhenBuilt(String whenBuilt)
    • multimediaIdentifier

      public HotelOnMap multimediaIdentifier(String multimediaIdentifier)
    • getMultimediaIdentifier

      @Nullable public String getMultimediaIdentifier()
      Featured image identifier for this property.
      Returns:
      multimediaIdentifier
    • setMultimediaIdentifier

      public void setMultimediaIdentifier(String multimediaIdentifier)
    • imageIdentifier

      public HotelOnMap imageIdentifier(String imageIdentifier)
    • getImageIdentifier

      @Nullable public String getImageIdentifier()
      Featured Cloudinary image identifier for this property.
      Returns:
      imageIdentifier
    • setImageIdentifier

      public void setImageIdentifier(String imageIdentifier)
    • imageAngle

      public HotelOnMap imageAngle(String imageAngle)
    • getImageAngle

      @Nullable public String getImageAngle()
      Meta data information about image angle that gives integrators a chance to crop this image properly.
      Returns:
      imageAngle
    • setImageAngle

      public void setImageAngle(String imageAngle)
    • videoIdentifier

      public HotelOnMap videoIdentifier(String videoIdentifier)
    • getVideoIdentifier

      @Nullable public String getVideoIdentifier()
      Featured Cloudinary video identifier for this property.
      Returns:
      videoIdentifier
    • setVideoIdentifier

      public void setVideoIdentifier(String videoIdentifier)
    • currencyCode

      public HotelOnMap currencyCode(String currencyCode)
    • getCurrencyCode

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

      public void setCurrencyCode(String currencyCode)
    • membershipRateDiscount

      public HotelOnMap membershipRateDiscount(Float membershipRateDiscount)
    • getMembershipRateDiscount

      @Nullable public Float getMembershipRateDiscount()
      Average percent member discount weighed across all sales channels.
      Returns:
      membershipRateDiscount
    • setMembershipRateDiscount

      public void setMembershipRateDiscount(Float membershipRateDiscount)
    • priceScore

      public HotelOnMap 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 HotelOnMap 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 HotelOnMap 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 HotelOnMap 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 HotelOnMap 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 HotelOnMap 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 HotelOnMap 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 HotelOnMap 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 HotelOnMap hotelAmenityCodes(List<String> hotelAmenityCodes)
    • addHotelAmenityCodesItem

      public HotelOnMap 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 HotelOnMap propertyAccessibilityCodes(List<String> propertyAccessibilityCodes)
    • addPropertyAccessibilityCodesItem

      public HotelOnMap 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 HotelOnMap propertySecurityCodes(List<String> propertySecurityCodes)
    • addPropertySecurityCodesItem

      public HotelOnMap 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 HotelOnMap 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 HotelOnMap address(Address address)
    • getAddress

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

      public void setAddress(Address address)
    • active

      public HotelOnMap 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 HotelOnMap 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