travel.wink.sdk.extranet.booking.model.HotelOnMapSupplierDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of extranet-booking-sdk-java Show documentation
Show all versions of extranet-booking-sdk-java Show documentation
Java SDK for the Wink Extranet Booking API
/*
* Wink API
* # Introduction Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel inventory on the Wink platform. The API gives you all the tools you need to ready your properties and inventory for sale across 1000s of our native sales channels. Integrators, affiliates, travel agents and content creators have the ability search for your travel inventory and promote / sell it in a wide variety of ways. # Integrations We have already integrated with the most well-known channel managers so you don't have to. To see our current integrations, please go to https://extranet.wink.travel and scroll to Connectivity section. Once your properties are set up, you can finish the setup by mapping your property to Wink using your channel manager partner portal. If your properties don't have a channel manager, you can easily manage rates and availability with this API. # Intended Audience Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel inventory and get that same inventory out to as many eyeballs as possible at the lowest price possible. - Hotel chains - Hotel brands - Travel tech companies - Destination sites - Integrators - Aggregators - Destination management companies - Travel agencies - OTAs ## APIs Not every integrator needs every API. For that reason, we have separated APIs into context. ### Test API - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink. ### Common APIs - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account. - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink. ### Consume APIs Consume endpoints are for developers who want to find existing travel inventory and either book it or use it to advertise through one of their Wink affiliate accounts. - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine. - [Lookup](/lookup): All APIs related to locating inventory by region, locale and property flags. - [Inventory](/inventory): All APIs related to retrieve known travel inventory as it was found using the Lookup API.. - [Booking](/booking): All APIs related to creating bookings on the platform. - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings. ### Produce APIs Produce endpoints are for developers who want to create and manage travel inventory. #### Property - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink. - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties. - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types. - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities. - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink. - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and inventory calendars and more on Wink. - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level. #### Affiliate - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts. - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and inventory to sell. - [Inventory](/affiliate/inventory): The Inventory API exposes endpoints for affiliates to manage the inventory they want to sell and how they want to sell it. - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones. - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page. #### Rate provider - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties. ### Taxonomy APIs Taxonomy endpoints are for developers who want to consume and produce travel inventory and need taxonomies of standard and non-standard codes for inventory types, classes, statuses etc. - [Reference](/reference): All APIs related to retrieving platform-supported taxonomies. ### Insight APIs Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. ### Payment APIs Payment endpoints are for developers who want to purchase travel inventory. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant payment widget for all other entities. - [TripPay](/payment): All APIs related to TripPay account management, booking, mapping and integration features. ## SDKs We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators). - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java) ## Usage These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic. ## Versioning We chose to version our endpoints in a way that we hope affects your integration minimally. You request the version of our API you wish to work with via the `Wink-Version` header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints. ## Release history - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md # Extranet Booking API The Booking API exposes endpoints to manage bookings. This API lets you: 1. Booking: Manage bookings including cancellations. 2. Review: Manage user reviews. 3. Sync w. Calendar: Manage calendar sync with your favorite calendar software Browse the endpoints in the left navigation bar to get started.
*
* The version of the OpenAPI document: 30.5.13
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package travel.wink.sdk.extranet.booking.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import travel.wink.sdk.extranet.booking.model.AddressSupplierDetails;
import travel.wink.sdk.extranet.booking.model.ContactSupplierDetails;
import travel.wink.sdk.extranet.booking.model.GeneralManagerSupplierDetails;
import travel.wink.sdk.extranet.booking.model.GeoJsonPointSupplierDetails;
import travel.wink.sdk.extranet.booking.model.LocalizedDescriptionSupplierDetails;
import travel.wink.sdk.extranet.booking.model.PropertyPolicySupplierDetails;
import travel.wink.sdk.extranet.booking.model.SimpleMultimediaSupplierDetails;
import travel.wink.sdk.extranet.booking.model.SocialSupplierDetails;
import travel.wink.sdk.extranet.booking.model.TravelInventoryRecognitionSupplierDetails;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import org.hibernate.validator.constraints.*;
/**
* Combined property data.
*/
@JsonPropertyOrder({
HotelOnMapSupplierDetails.JSON_PROPERTY_IDENTIFIER,
HotelOnMapSupplierDetails.JSON_PROPERTY_HOTEL_IDENTIFIER,
HotelOnMapSupplierDetails.JSON_PROPERTY_NAME,
HotelOnMapSupplierDetails.JSON_PROPERTY_LOCAL_NAME,
HotelOnMapSupplierDetails.JSON_PROPERTY_CHAIN,
HotelOnMapSupplierDetails.JSON_PROPERTY_BRAND,
HotelOnMapSupplierDetails.JSON_PROPERTY_URL_NAME,
HotelOnMapSupplierDetails.JSON_PROPERTY_STAR_RATING,
HotelOnMapSupplierDetails.JSON_PROPERTY_BOOKINGS,
HotelOnMapSupplierDetails.JSON_PROPERTY_AGGREGATE_REVIEW_RATING,
HotelOnMapSupplierDetails.JSON_PROPERTY_LOCATION,
HotelOnMapSupplierDetails.JSON_PROPERTY_SHORT_DESCRIPTIONS,
HotelOnMapSupplierDetails.JSON_PROPERTY_LONG_DESCRIPTIONS,
HotelOnMapSupplierDetails.JSON_PROPERTY_AGGREGATE_GREENDEX_RATING,
HotelOnMapSupplierDetails.JSON_PROPERTY_LIFESTYLE_TYPES,
HotelOnMapSupplierDetails.JSON_PROPERTY_TOTAL_REVIEWS,
HotelOnMapSupplierDetails.JSON_PROPERTY_AVAILABLE,
HotelOnMapSupplierDetails.JSON_PROPERTY_HOTEL_AVAILABLE,
HotelOnMapSupplierDetails.JSON_PROPERTY_RESERVATIONS,
HotelOnMapSupplierDetails.JSON_PROPERTY_SOCIALS,
HotelOnMapSupplierDetails.JSON_PROPERTY_IMAGES,
HotelOnMapSupplierDetails.JSON_PROPERTY_VIDEOS,
HotelOnMapSupplierDetails.JSON_PROPERTY_POLICY,
HotelOnMapSupplierDetails.JSON_PROPERTY_THIRD_PARTY_REVIEWS,
HotelOnMapSupplierDetails.JSON_PROPERTY_ATTRACTIONS,
HotelOnMapSupplierDetails.JSON_PROPERTY_RECREATIONS,
HotelOnMapSupplierDetails.JSON_PROPERTY_POIS,
HotelOnMapSupplierDetails.JSON_PROPERTY_RESTAURANTS,
HotelOnMapSupplierDetails.JSON_PROPERTY_MEETING_ROOMS,
HotelOnMapSupplierDetails.JSON_PROPERTY_SPAS,
HotelOnMapSupplierDetails.JSON_PROPERTY_ADD_ONS,
HotelOnMapSupplierDetails.JSON_PROPERTY_GENERAL_MANAGER,
HotelOnMapSupplierDetails.JSON_PROPERTY_LOCATION_CATEGORY,
HotelOnMapSupplierDetails.JSON_PROPERTY_SEGMENT_CATEGORY,
HotelOnMapSupplierDetails.JSON_PROPERTY_HOTEL_CATEGORY,
HotelOnMapSupplierDetails.JSON_PROPERTY_ARCHITECTURAL_STYLE,
HotelOnMapSupplierDetails.JSON_PROPERTY_WHEN_BUILT,
HotelOnMapSupplierDetails.JSON_PROPERTY_CURRENCY_CODE,
HotelOnMapSupplierDetails.JSON_PROPERTY_MEMBERSHIP_RATE_DISCOUNT,
HotelOnMapSupplierDetails.JSON_PROPERTY_PRICE_SCORE,
HotelOnMapSupplierDetails.JSON_PROPERTY_PERK_SCORE,
HotelOnMapSupplierDetails.JSON_PROPERTY_PACKAGE_SCORE,
HotelOnMapSupplierDetails.JSON_PROPERTY_LOYALTY_SCORE,
HotelOnMapSupplierDetails.JSON_PROPERTY_POPULAR_SCORE,
HotelOnMapSupplierDetails.JSON_PROPERTY_EXPERIENCE_SCORE,
HotelOnMapSupplierDetails.JSON_PROPERTY_AVAILABILITY_SCORE,
HotelOnMapSupplierDetails.JSON_PROPERTY_VIEWS,
HotelOnMapSupplierDetails.JSON_PROPERTY_HOTEL_AMENITY_CODES,
HotelOnMapSupplierDetails.JSON_PROPERTY_PROPERTY_ACCESSIBILITY_CODES,
HotelOnMapSupplierDetails.JSON_PROPERTY_PROPERTY_SECURITY_CODES,
HotelOnMapSupplierDetails.JSON_PROPERTY_NUMBER_OF_ROOMS,
HotelOnMapSupplierDetails.JSON_PROPERTY_ADDRESS,
HotelOnMapSupplierDetails.JSON_PROPERTY_ACTIVE,
HotelOnMapSupplierDetails.JSON_PROPERTY_URL_PARAMETERS
})
@JsonTypeName("HotelOnMap_SupplierDetails")
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T20:22:08.343418683+07:00[Asia/Bangkok]")
public class HotelOnMapSupplierDetails {
public static final String JSON_PROPERTY_IDENTIFIER = "identifier";
private String identifier;
public static final String JSON_PROPERTY_HOTEL_IDENTIFIER = "hotelIdentifier";
private UUID hotelIdentifier;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
public static final String JSON_PROPERTY_LOCAL_NAME = "localName";
private String localName;
public static final String JSON_PROPERTY_CHAIN = "chain";
private String chain;
public static final String JSON_PROPERTY_BRAND = "brand";
private String brand;
public static final String JSON_PROPERTY_URL_NAME = "urlName";
private String urlName;
public static final String JSON_PROPERTY_STAR_RATING = "starRating";
private Integer starRating;
public static final String JSON_PROPERTY_BOOKINGS = "bookings";
private Long bookings = 0l;
public static final String JSON_PROPERTY_AGGREGATE_REVIEW_RATING = "aggregateReviewRating";
private Float aggregateReviewRating = 0.0f;
public static final String JSON_PROPERTY_LOCATION = "location";
private GeoJsonPointSupplierDetails location;
public static final String JSON_PROPERTY_SHORT_DESCRIPTIONS = "shortDescriptions";
private List shortDescriptions;
public static final String JSON_PROPERTY_LONG_DESCRIPTIONS = "longDescriptions";
private List longDescriptions;
public static final String JSON_PROPERTY_AGGREGATE_GREENDEX_RATING = "aggregateGreendexRating";
private Float aggregateGreendexRating = 0.0f;
/**
* A list of lifestyles the property associates with.
*/
public enum LifestyleTypesEnum {
HEALTH_FITNESS("LIFESTYLE_HEALTH_FITNESS"),
RELAX("LIFESTYLE_RELAX"),
ADULT_ONLY("LIFESTYLE_ADULT_ONLY"),
ADVENTURE("LIFESTYLE_ADVENTURE"),
BUSINESS("LIFESTYLE_BUSINESS"),
LGBT("LIFESTYLE_LGBT"),
SINGLE_PARENT("LIFESTYLE_SINGLE_PARENT"),
SOLO_FEMALE("LIFESTYLE_SOLO_FEMALE"),
BEAUTY("LIFESTYLE_BEAUTY"),
FOODIE("LIFESTYLE_FOODIE"),
FAMILY("LIFESTYLE_FAMILY"),
ROMANCE("LIFESTYLE_ROMANCE"),
COUPLE("LIFESTYLE_COUPLE"),
SOLO("LIFESTYLE_SOLO"),
BACKPACKER("LIFESTYLE_BACKPACKER"),
SHOPPING("LIFESTYLE_SHOPPING"),
SPORTS("LIFESTYLE_SPORTS"),
MOUNTAIN("LIFESTYLE_MOUNTAIN"),
BEACH("LIFESTYLE_BEACH"),
CITY("LIFESTYLE_CITY"),
COUNTRY("LIFESTYLE_COUNTRY"),
CULTURE("LIFESTYLE_CULTURE"),
ECO("LIFESTYLE_ECO");
private String value;
LifestyleTypesEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static LifestyleTypesEnum fromValue(String value) {
for (LifestyleTypesEnum b : LifestyleTypesEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}
public static final String JSON_PROPERTY_LIFESTYLE_TYPES = "lifestyleTypes";
private List lifestyleTypes;
public static final String JSON_PROPERTY_TOTAL_REVIEWS = "totalReviews";
private Integer totalReviews = 0;
public static final String JSON_PROPERTY_AVAILABLE = "available";
private Boolean available = false;
public static final String JSON_PROPERTY_HOTEL_AVAILABLE = "hotelAvailable";
private Boolean hotelAvailable = false;
public static final String JSON_PROPERTY_RESERVATIONS = "reservations";
private ContactSupplierDetails reservations;
public static final String JSON_PROPERTY_SOCIALS = "socials";
private List socials;
public static final String JSON_PROPERTY_IMAGES = "images";
private List images;
public static final String JSON_PROPERTY_VIDEOS = "videos";
private List videos;
public static final String JSON_PROPERTY_POLICY = "policy";
private PropertyPolicySupplierDetails policy;
public static final String JSON_PROPERTY_THIRD_PARTY_REVIEWS = "thirdPartyReviews";
private List thirdPartyReviews;
public static final String JSON_PROPERTY_ATTRACTIONS = "attractions";
private Integer attractions = 0;
public static final String JSON_PROPERTY_RECREATIONS = "recreations";
private Integer recreations = 0;
public static final String JSON_PROPERTY_POIS = "pois";
private Integer pois = 0;
public static final String JSON_PROPERTY_RESTAURANTS = "restaurants";
private Integer restaurants = 0;
public static final String JSON_PROPERTY_MEETING_ROOMS = "meetingRooms";
private Integer meetingRooms = 0;
public static final String JSON_PROPERTY_SPAS = "spas";
private Integer spas = 0;
public static final String JSON_PROPERTY_ADD_ONS = "addOns";
private Integer addOns = 0;
public static final String JSON_PROPERTY_GENERAL_MANAGER = "generalManager";
private GeneralManagerSupplierDetails generalManager;
public static final String JSON_PROPERTY_LOCATION_CATEGORY = "locationCategory";
private String locationCategory;
public static final String JSON_PROPERTY_SEGMENT_CATEGORY = "segmentCategory";
private String segmentCategory;
public static final String JSON_PROPERTY_HOTEL_CATEGORY = "hotelCategory";
private String hotelCategory;
public static final String JSON_PROPERTY_ARCHITECTURAL_STYLE = "architecturalStyle";
private String architecturalStyle;
public static final String JSON_PROPERTY_WHEN_BUILT = "whenBuilt";
private String whenBuilt;
public static final String JSON_PROPERTY_CURRENCY_CODE = "currencyCode";
private String currencyCode;
public static final String JSON_PROPERTY_MEMBERSHIP_RATE_DISCOUNT = "membershipRateDiscount";
private Float membershipRateDiscount = 0f;
public static final String JSON_PROPERTY_PRICE_SCORE = "priceScore";
private Integer priceScore = 0;
public static final String JSON_PROPERTY_PERK_SCORE = "perkScore";
private Integer perkScore = 0;
public static final String JSON_PROPERTY_PACKAGE_SCORE = "packageScore";
private Integer packageScore = 0;
public static final String JSON_PROPERTY_LOYALTY_SCORE = "loyaltyScore";
private Integer loyaltyScore = 0;
public static final String JSON_PROPERTY_POPULAR_SCORE = "popularScore";
private Integer popularScore = 0;
public static final String JSON_PROPERTY_EXPERIENCE_SCORE = "experienceScore";
private Integer experienceScore = 0;
public static final String JSON_PROPERTY_AVAILABILITY_SCORE = "availabilityScore";
private Integer availabilityScore = 0;
public static final String JSON_PROPERTY_VIEWS = "views";
private Long views = 0l;
public static final String JSON_PROPERTY_HOTEL_AMENITY_CODES = "hotelAmenityCodes";
private List hotelAmenityCodes;
public static final String JSON_PROPERTY_PROPERTY_ACCESSIBILITY_CODES = "propertyAccessibilityCodes";
private List propertyAccessibilityCodes;
public static final String JSON_PROPERTY_PROPERTY_SECURITY_CODES = "propertySecurityCodes";
private List propertySecurityCodes;
public static final String JSON_PROPERTY_NUMBER_OF_ROOMS = "numberOfRooms";
private Integer numberOfRooms = 0;
public static final String JSON_PROPERTY_ADDRESS = "address";
private AddressSupplierDetails address;
public static final String JSON_PROPERTY_ACTIVE = "active";
private Boolean active;
public static final String JSON_PROPERTY_URL_PARAMETERS = "urlParameters";
private String urlParameters;
public HotelOnMapSupplierDetails() {
}
public HotelOnMapSupplierDetails identifier(String identifier) {
this.identifier = identifier;
return this;
}
/**
* Unique record identifier. This is NOT the same as the unique hotel record identifier.
* @return identifier
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getIdentifier() {
return identifier;
}
@JsonProperty(JSON_PROPERTY_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIdentifier(String identifier) {
this.identifier = identifier;
}
public HotelOnMapSupplierDetails hotelIdentifier(UUID hotelIdentifier) {
this.hotelIdentifier = hotelIdentifier;
return this;
}
/**
* Unique hotel record identifier.
* @return hotelIdentifier
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_HOTEL_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getHotelIdentifier() {
return hotelIdentifier;
}
@JsonProperty(JSON_PROPERTY_HOTEL_IDENTIFIER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHotelIdentifier(UUID hotelIdentifier) {
this.hotelIdentifier = hotelIdentifier;
}
public HotelOnMapSupplierDetails name(String name) {
this.name = name;
return this;
}
/**
* Hotel trade name
* @return name
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(String name) {
this.name = name;
}
public HotelOnMapSupplierDetails localName(String localName) {
this.localName = localName;
return this;
}
/**
* Hotel local name if different from the trade name or if it is the local language.
* @return localName
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LOCAL_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLocalName() {
return localName;
}
@JsonProperty(JSON_PROPERTY_LOCAL_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLocalName(String localName) {
this.localName = localName;
}
public HotelOnMapSupplierDetails chain(String chain) {
this.chain = chain;
return this;
}
/**
* Name of hotel chain if applicable.
* @return chain
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CHAIN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getChain() {
return chain;
}
@JsonProperty(JSON_PROPERTY_CHAIN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setChain(String chain) {
this.chain = chain;
}
public HotelOnMapSupplierDetails brand(String brand) {
this.brand = brand;
return this;
}
/**
* Name of hotel brand
* @return brand
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BRAND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBrand() {
return brand;
}
@JsonProperty(JSON_PROPERTY_BRAND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBrand(String brand) {
this.brand = brand;
}
public HotelOnMapSupplierDetails urlName(String urlName) {
this.urlName = urlName;
return this;
}
/**
* Unique URL-friendly name slug of hotel
* @return urlName
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_URL_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUrlName() {
return urlName;
}
@JsonProperty(JSON_PROPERTY_URL_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUrlName(String urlName) {
this.urlName = urlName;
}
public HotelOnMapSupplierDetails starRating(Integer starRating) {
this.starRating = starRating;
return this;
}
/**
* 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
* @return starRating
**/
@jakarta.annotation.Nullable
@Min(0) @Max(6)
@JsonProperty(JSON_PROPERTY_STAR_RATING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getStarRating() {
return starRating;
}
@JsonProperty(JSON_PROPERTY_STAR_RATING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStarRating(Integer starRating) {
this.starRating = starRating;
}
public HotelOnMapSupplierDetails bookings(Long bookings) {
this.bookings = bookings;
return this;
}
/**
* Number of bookings for this property on the wink.travel payment.
* @return bookings
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BOOKINGS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getBookings() {
return bookings;
}
@JsonProperty(JSON_PROPERTY_BOOKINGS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBookings(Long bookings) {
this.bookings = bookings;
}
public HotelOnMapSupplierDetails aggregateReviewRating(Float aggregateReviewRating) {
this.aggregateReviewRating = aggregateReviewRating;
return this;
}
/**
* Aggregate score based on all current user reviews.
* @return aggregateReviewRating
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_AGGREGATE_REVIEW_RATING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Float getAggregateReviewRating() {
return aggregateReviewRating;
}
@JsonProperty(JSON_PROPERTY_AGGREGATE_REVIEW_RATING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAggregateReviewRating(Float aggregateReviewRating) {
this.aggregateReviewRating = aggregateReviewRating;
}
public HotelOnMapSupplierDetails location(GeoJsonPointSupplierDetails location) {
this.location = location;
return this;
}
/**
* Get location
* @return location
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_LOCATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public GeoJsonPointSupplierDetails getLocation() {
return location;
}
@JsonProperty(JSON_PROPERTY_LOCATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLocation(GeoJsonPointSupplierDetails location) {
this.location = location;
}
public HotelOnMapSupplierDetails shortDescriptions(List shortDescriptions) {
this.shortDescriptions = shortDescriptions;
return this;
}
public HotelOnMapSupplierDetails addShortDescriptionsItem(LocalizedDescriptionSupplierDetails shortDescriptionsItem) {
if (this.shortDescriptions == null) {
this.shortDescriptions = new ArrayList<>();
}
this.shortDescriptions.add(shortDescriptionsItem);
return this;
}
/**
* A localized list of short property descriptions
* @return shortDescriptions
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_SHORT_DESCRIPTIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getShortDescriptions() {
return shortDescriptions;
}
@JsonProperty(JSON_PROPERTY_SHORT_DESCRIPTIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setShortDescriptions(List shortDescriptions) {
this.shortDescriptions = shortDescriptions;
}
public HotelOnMapSupplierDetails longDescriptions(List longDescriptions) {
this.longDescriptions = longDescriptions;
return this;
}
public HotelOnMapSupplierDetails addLongDescriptionsItem(LocalizedDescriptionSupplierDetails longDescriptionsItem) {
if (this.longDescriptions == null) {
this.longDescriptions = new ArrayList<>();
}
this.longDescriptions.add(longDescriptionsItem);
return this;
}
/**
* A localized list of longer property descriptions
* @return longDescriptions
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_LONG_DESCRIPTIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getLongDescriptions() {
return longDescriptions;
}
@JsonProperty(JSON_PROPERTY_LONG_DESCRIPTIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLongDescriptions(List longDescriptions) {
this.longDescriptions = longDescriptions;
}
public HotelOnMapSupplierDetails aggregateGreendexRating(Float aggregateGreendexRating) {
this.aggregateGreendexRating = aggregateGreendexRating;
return this;
}
/**
* Aggregate Green Index score if the property has answered our questionnaire available in the Extranet.
* @return aggregateGreendexRating
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_AGGREGATE_GREENDEX_RATING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Float getAggregateGreendexRating() {
return aggregateGreendexRating;
}
@JsonProperty(JSON_PROPERTY_AGGREGATE_GREENDEX_RATING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAggregateGreendexRating(Float aggregateGreendexRating) {
this.aggregateGreendexRating = aggregateGreendexRating;
}
public HotelOnMapSupplierDetails lifestyleTypes(List lifestyleTypes) {
this.lifestyleTypes = lifestyleTypes;
return this;
}
public HotelOnMapSupplierDetails addLifestyleTypesItem(LifestyleTypesEnum lifestyleTypesItem) {
if (this.lifestyleTypes == null) {
this.lifestyleTypes = new ArrayList<>();
}
this.lifestyleTypes.add(lifestyleTypesItem);
return this;
}
/**
* Get lifestyleTypes
* @return lifestyleTypes
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LIFESTYLE_TYPES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getLifestyleTypes() {
return lifestyleTypes;
}
@JsonProperty(JSON_PROPERTY_LIFESTYLE_TYPES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLifestyleTypes(List lifestyleTypes) {
this.lifestyleTypes = lifestyleTypes;
}
public HotelOnMapSupplierDetails totalReviews(Integer totalReviews) {
this.totalReviews = totalReviews;
return this;
}
/**
* Count of total reviews left by users at this property.
* @return totalReviews
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TOTAL_REVIEWS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getTotalReviews() {
return totalReviews;
}
@JsonProperty(JSON_PROPERTY_TOTAL_REVIEWS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTotalReviews(Integer totalReviews) {
this.totalReviews = totalReviews;
}
public HotelOnMapSupplierDetails available(Boolean available) {
this.available = available;
return this;
}
/**
* Flag indicating whether the payment has made this property available for sale.
* @return available
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_AVAILABLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getAvailable() {
return available;
}
@JsonProperty(JSON_PROPERTY_AVAILABLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAvailable(Boolean available) {
this.available = available;
}
public HotelOnMapSupplierDetails hotelAvailable(Boolean hotelAvailable) {
this.hotelAvailable = hotelAvailable;
return this;
}
/**
* Flag indicating whether the property has made this property available for sale.
* @return hotelAvailable
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HOTEL_AVAILABLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHotelAvailable() {
return hotelAvailable;
}
@JsonProperty(JSON_PROPERTY_HOTEL_AVAILABLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHotelAvailable(Boolean hotelAvailable) {
this.hotelAvailable = hotelAvailable;
}
public HotelOnMapSupplierDetails reservations(ContactSupplierDetails reservations) {
this.reservations = reservations;
return this;
}
/**
* Get reservations
* @return reservations
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_RESERVATIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ContactSupplierDetails getReservations() {
return reservations;
}
@JsonProperty(JSON_PROPERTY_RESERVATIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReservations(ContactSupplierDetails reservations) {
this.reservations = reservations;
}
public HotelOnMapSupplierDetails socials(List socials) {
this.socials = socials;
return this;
}
public HotelOnMapSupplierDetails addSocialsItem(SocialSupplierDetails socialsItem) {
if (this.socials == null) {
this.socials = new ArrayList<>();
}
this.socials.add(socialsItem);
return this;
}
/**
* Property's social network accounts
* @return socials
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_SOCIALS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getSocials() {
return socials;
}
@JsonProperty(JSON_PROPERTY_SOCIALS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSocials(List socials) {
this.socials = socials;
}
public HotelOnMapSupplierDetails images(List images) {
this.images = images;
return this;
}
public HotelOnMapSupplierDetails addImagesItem(SimpleMultimediaSupplierDetails imagesItem) {
if (this.images == null) {
this.images = new ArrayList<>();
}
this.images.add(imagesItem);
return this;
}
/**
* Property images.
* @return images
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_IMAGES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getImages() {
return images;
}
@JsonProperty(JSON_PROPERTY_IMAGES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setImages(List images) {
this.images = images;
}
public HotelOnMapSupplierDetails videos(List videos) {
this.videos = videos;
return this;
}
public HotelOnMapSupplierDetails addVideosItem(SimpleMultimediaSupplierDetails videosItem) {
if (this.videos == null) {
this.videos = new ArrayList<>();
}
this.videos.add(videosItem);
return this;
}
/**
* Property videos.
* @return videos
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_VIDEOS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getVideos() {
return videos;
}
@JsonProperty(JSON_PROPERTY_VIDEOS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setVideos(List videos) {
this.videos = videos;
}
public HotelOnMapSupplierDetails policy(PropertyPolicySupplierDetails policy) {
this.policy = policy;
return this;
}
/**
* Get policy
* @return policy
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_POLICY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public PropertyPolicySupplierDetails getPolicy() {
return policy;
}
@JsonProperty(JSON_PROPERTY_POLICY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPolicy(PropertyPolicySupplierDetails policy) {
this.policy = policy;
}
public HotelOnMapSupplierDetails thirdPartyReviews(List thirdPartyReviews) {
this.thirdPartyReviews = thirdPartyReviews;
return this;
}
public HotelOnMapSupplierDetails addThirdPartyReviewsItem(TravelInventoryRecognitionSupplierDetails thirdPartyReviewsItem) {
if (this.thirdPartyReviews == null) {
this.thirdPartyReviews = new ArrayList<>();
}
this.thirdPartyReviews.add(thirdPartyReviewsItem);
return this;
}
/**
* Array of awards and third party reviews given to property by certified / non-certified providers.
* @return thirdPartyReviews
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_THIRD_PARTY_REVIEWS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getThirdPartyReviews() {
return thirdPartyReviews;
}
@JsonProperty(JSON_PROPERTY_THIRD_PARTY_REVIEWS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setThirdPartyReviews(List thirdPartyReviews) {
this.thirdPartyReviews = thirdPartyReviews;
}
public HotelOnMapSupplierDetails attractions(Integer attractions) {
this.attractions = attractions;
return this;
}
/**
* Number of attractions property has listed on its profile.
* @return attractions
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ATTRACTIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getAttractions() {
return attractions;
}
@JsonProperty(JSON_PROPERTY_ATTRACTIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAttractions(Integer attractions) {
this.attractions = attractions;
}
public HotelOnMapSupplierDetails recreations(Integer recreations) {
this.recreations = recreations;
return this;
}
/**
* Number of activites property has listed on its profile.
* @return recreations
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RECREATIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getRecreations() {
return recreations;
}
@JsonProperty(JSON_PROPERTY_RECREATIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRecreations(Integer recreations) {
this.recreations = recreations;
}
public HotelOnMapSupplierDetails pois(Integer pois) {
this.pois = pois;
return this;
}
/**
* Number of places property has listed on its profile.
* @return pois
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_POIS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getPois() {
return pois;
}
@JsonProperty(JSON_PROPERTY_POIS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPois(Integer pois) {
this.pois = pois;
}
public HotelOnMapSupplierDetails restaurants(Integer restaurants) {
this.restaurants = restaurants;
return this;
}
/**
* Number of restaurants property has on its profile.
* @return restaurants
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RESTAURANTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getRestaurants() {
return restaurants;
}
@JsonProperty(JSON_PROPERTY_RESTAURANTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRestaurants(Integer restaurants) {
this.restaurants = restaurants;
}
public HotelOnMapSupplierDetails meetingRooms(Integer meetingRooms) {
this.meetingRooms = meetingRooms;
return this;
}
/**
* Number of meeting rooms property has on its profile.
* @return meetingRooms
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MEETING_ROOMS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getMeetingRooms() {
return meetingRooms;
}
@JsonProperty(JSON_PROPERTY_MEETING_ROOMS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMeetingRooms(Integer meetingRooms) {
this.meetingRooms = meetingRooms;
}
public HotelOnMapSupplierDetails spas(Integer spas) {
this.spas = spas;
return this;
}
/**
* Number of spas property has on its profile.
* @return spas
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SPAS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getSpas() {
return spas;
}
@JsonProperty(JSON_PROPERTY_SPAS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSpas(Integer spas) {
this.spas = spas;
}
public HotelOnMapSupplierDetails addOns(Integer addOns) {
this.addOns = addOns;
return this;
}
/**
* Number of add-ons property has on its profile.
* @return addOns
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ADD_ONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getAddOns() {
return addOns;
}
@JsonProperty(JSON_PROPERTY_ADD_ONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAddOns(Integer addOns) {
this.addOns = addOns;
}
public HotelOnMapSupplierDetails generalManager(GeneralManagerSupplierDetails generalManager) {
this.generalManager = generalManager;
return this;
}
/**
* Get generalManager
* @return generalManager
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_GENERAL_MANAGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public GeneralManagerSupplierDetails getGeneralManager() {
return generalManager;
}
@JsonProperty(JSON_PROPERTY_GENERAL_MANAGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setGeneralManager(GeneralManagerSupplierDetails generalManager) {
this.generalManager = generalManager;
}
public HotelOnMapSupplierDetails locationCategory(String locationCategory) {
this.locationCategory = locationCategory;
return this;
}
/**
* Supported OTA specification `LOC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
* @return locationCategory
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LOCATION_CATEGORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLocationCategory() {
return locationCategory;
}
@JsonProperty(JSON_PROPERTY_LOCATION_CATEGORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLocationCategory(String locationCategory) {
this.locationCategory = locationCategory;
}
public HotelOnMapSupplierDetails segmentCategory(String segmentCategory) {
this.segmentCategory = segmentCategory;
return this;
}
/**
* Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
* @return segmentCategory
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SEGMENT_CATEGORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSegmentCategory() {
return segmentCategory;
}
@JsonProperty(JSON_PROPERTY_SEGMENT_CATEGORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSegmentCategory(String segmentCategory) {
this.segmentCategory = segmentCategory;
}
public HotelOnMapSupplierDetails hotelCategory(String hotelCategory) {
this.hotelCategory = hotelCategory;
return this;
}
/**
* Supported OTA specification `PCT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
* @return hotelCategory
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HOTEL_CATEGORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getHotelCategory() {
return hotelCategory;
}
@JsonProperty(JSON_PROPERTY_HOTEL_CATEGORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHotelCategory(String hotelCategory) {
this.hotelCategory = hotelCategory;
}
public HotelOnMapSupplierDetails architecturalStyle(String architecturalStyle) {
this.architecturalStyle = architecturalStyle;
return this;
}
/**
* Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
* @return architecturalStyle
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ARCHITECTURAL_STYLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getArchitecturalStyle() {
return architecturalStyle;
}
@JsonProperty(JSON_PROPERTY_ARCHITECTURAL_STYLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArchitecturalStyle(String architecturalStyle) {
this.architecturalStyle = architecturalStyle;
}
public HotelOnMapSupplierDetails whenBuilt(String whenBuilt) {
this.whenBuilt = whenBuilt;
return this;
}
/**
* Year the property was constructed.
* @return whenBuilt
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_WHEN_BUILT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getWhenBuilt() {
return whenBuilt;
}
@JsonProperty(JSON_PROPERTY_WHEN_BUILT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setWhenBuilt(String whenBuilt) {
this.whenBuilt = whenBuilt;
}
public HotelOnMapSupplierDetails currencyCode(String currencyCode) {
this.currencyCode = currencyCode;
return this;
}
/**
* Currency code for property.
* @return currencyCode
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CURRENCY_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCurrencyCode() {
return currencyCode;
}
@JsonProperty(JSON_PROPERTY_CURRENCY_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCurrencyCode(String currencyCode) {
this.currencyCode = currencyCode;
}
public HotelOnMapSupplierDetails membershipRateDiscount(Float membershipRateDiscount) {
this.membershipRateDiscount = membershipRateDiscount;
return this;
}
/**
* 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.
* @return membershipRateDiscount
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MEMBERSHIP_RATE_DISCOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Float getMembershipRateDiscount() {
return membershipRateDiscount;
}
@JsonProperty(JSON_PROPERTY_MEMBERSHIP_RATE_DISCOUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMembershipRateDiscount(Float membershipRateDiscount) {
this.membershipRateDiscount = membershipRateDiscount;
}
public HotelOnMapSupplierDetails priceScore(Integer priceScore) {
this.priceScore = priceScore;
return this;
}
/**
* 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.
* @return priceScore
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PRICE_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getPriceScore() {
return priceScore;
}
@JsonProperty(JSON_PROPERTY_PRICE_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPriceScore(Integer priceScore) {
this.priceScore = priceScore;
}
public HotelOnMapSupplierDetails perkScore(Integer perkScore) {
this.perkScore = perkScore;
return this;
}
/**
* 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.
* @return perkScore
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PERK_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getPerkScore() {
return perkScore;
}
@JsonProperty(JSON_PROPERTY_PERK_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPerkScore(Integer perkScore) {
this.perkScore = perkScore;
}
public HotelOnMapSupplierDetails packageScore(Integer packageScore) {
this.packageScore = packageScore;
return this;
}
/**
* 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.
* @return packageScore
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PACKAGE_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getPackageScore() {
return packageScore;
}
@JsonProperty(JSON_PROPERTY_PACKAGE_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPackageScore(Integer packageScore) {
this.packageScore = packageScore;
}
public HotelOnMapSupplierDetails loyaltyScore(Integer loyaltyScore) {
this.loyaltyScore = loyaltyScore;
return this;
}
/**
* 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.
* @return loyaltyScore
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LOYALTY_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getLoyaltyScore() {
return loyaltyScore;
}
@JsonProperty(JSON_PROPERTY_LOYALTY_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLoyaltyScore(Integer loyaltyScore) {
this.loyaltyScore = loyaltyScore;
}
public HotelOnMapSupplierDetails popularScore(Integer popularScore) {
this.popularScore = popularScore;
return this;
}
/**
* 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.
* @return popularScore
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_POPULAR_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getPopularScore() {
return popularScore;
}
@JsonProperty(JSON_PROPERTY_POPULAR_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPopularScore(Integer popularScore) {
this.popularScore = popularScore;
}
public HotelOnMapSupplierDetails experienceScore(Integer experienceScore) {
this.experienceScore = experienceScore;
return this;
}
/**
* 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.
* @return experienceScore
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_EXPERIENCE_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getExperienceScore() {
return experienceScore;
}
@JsonProperty(JSON_PROPERTY_EXPERIENCE_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setExperienceScore(Integer experienceScore) {
this.experienceScore = experienceScore;
}
public HotelOnMapSupplierDetails availabilityScore(Integer availabilityScore) {
this.availabilityScore = availabilityScore;
return this;
}
/**
* 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.
* @return availabilityScore
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_AVAILABILITY_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getAvailabilityScore() {
return availabilityScore;
}
@JsonProperty(JSON_PROPERTY_AVAILABILITY_SCORE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAvailabilityScore(Integer availabilityScore) {
this.availabilityScore = availabilityScore;
}
public HotelOnMapSupplierDetails views(Long views) {
this.views = views;
return this;
}
/**
* Total number of user views of this property.
* @return views
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_VIEWS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getViews() {
return views;
}
@JsonProperty(JSON_PROPERTY_VIEWS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setViews(Long views) {
this.views = views;
}
public HotelOnMapSupplierDetails hotelAmenityCodes(List hotelAmenityCodes) {
this.hotelAmenityCodes = hotelAmenityCodes;
return this;
}
public HotelOnMapSupplierDetails addHotelAmenityCodesItem(String hotelAmenityCodesItem) {
if (this.hotelAmenityCodes == null) {
this.hotelAmenityCodes = new ArrayList<>();
}
this.hotelAmenityCodes.add(hotelAmenityCodesItem);
return this;
}
/**
* Supported OTA specification `HAC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
* @return hotelAmenityCodes
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HOTEL_AMENITY_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getHotelAmenityCodes() {
return hotelAmenityCodes;
}
@JsonProperty(JSON_PROPERTY_HOTEL_AMENITY_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHotelAmenityCodes(List hotelAmenityCodes) {
this.hotelAmenityCodes = hotelAmenityCodes;
}
public HotelOnMapSupplierDetails propertyAccessibilityCodes(List propertyAccessibilityCodes) {
this.propertyAccessibilityCodes = propertyAccessibilityCodes;
return this;
}
public HotelOnMapSupplierDetails addPropertyAccessibilityCodesItem(String propertyAccessibilityCodesItem) {
if (this.propertyAccessibilityCodes == null) {
this.propertyAccessibilityCodes = new ArrayList<>();
}
this.propertyAccessibilityCodes.add(propertyAccessibilityCodesItem);
return this;
}
/**
* Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
* @return propertyAccessibilityCodes
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROPERTY_ACCESSIBILITY_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getPropertyAccessibilityCodes() {
return propertyAccessibilityCodes;
}
@JsonProperty(JSON_PROPERTY_PROPERTY_ACCESSIBILITY_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPropertyAccessibilityCodes(List propertyAccessibilityCodes) {
this.propertyAccessibilityCodes = propertyAccessibilityCodes;
}
public HotelOnMapSupplierDetails propertySecurityCodes(List propertySecurityCodes) {
this.propertySecurityCodes = propertySecurityCodes;
return this;
}
public HotelOnMapSupplierDetails addPropertySecurityCodesItem(String propertySecurityCodesItem) {
if (this.propertySecurityCodes == null) {
this.propertySecurityCodes = new ArrayList<>();
}
this.propertySecurityCodes.add(propertySecurityCodesItem);
return this;
}
/**
* Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
* @return propertySecurityCodes
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROPERTY_SECURITY_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getPropertySecurityCodes() {
return propertySecurityCodes;
}
@JsonProperty(JSON_PROPERTY_PROPERTY_SECURITY_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPropertySecurityCodes(List propertySecurityCodes) {
this.propertySecurityCodes = propertySecurityCodes;
}
public HotelOnMapSupplierDetails numberOfRooms(Integer numberOfRooms) {
this.numberOfRooms = numberOfRooms;
return this;
}
/**
* Number of rooms / keys for this property.
* @return numberOfRooms
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_NUMBER_OF_ROOMS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getNumberOfRooms() {
return numberOfRooms;
}
@JsonProperty(JSON_PROPERTY_NUMBER_OF_ROOMS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setNumberOfRooms(Integer numberOfRooms) {
this.numberOfRooms = numberOfRooms;
}
public HotelOnMapSupplierDetails address(AddressSupplierDetails address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_ADDRESS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public AddressSupplierDetails getAddress() {
return address;
}
@JsonProperty(JSON_PROPERTY_ADDRESS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAddress(AddressSupplierDetails address) {
this.address = address;
}
public HotelOnMapSupplierDetails active(Boolean active) {
this.active = active;
return this;
}
/**
* A property is considered active when both available and hotelAvailable flags are true.
* @return active
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ACTIVE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getActive() {
return active;
}
@JsonProperty(JSON_PROPERTY_ACTIVE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setActive(Boolean active) {
this.active = active;
}
public HotelOnMapSupplierDetails urlParameters(String urlParameters) {
this.urlParameters = urlParameters;
return this;
}
/**
* Convenience data point that creates url friendly query parameters of property.
* @return urlParameters
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_URL_PARAMETERS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUrlParameters() {
return urlParameters;
}
@JsonProperty(JSON_PROPERTY_URL_PARAMETERS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUrlParameters(String urlParameters) {
this.urlParameters = urlParameters;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
HotelOnMapSupplierDetails hotelOnMapSupplierDetails = (HotelOnMapSupplierDetails) o;
return Objects.equals(this.identifier, hotelOnMapSupplierDetails.identifier) &&
Objects.equals(this.hotelIdentifier, hotelOnMapSupplierDetails.hotelIdentifier) &&
Objects.equals(this.name, hotelOnMapSupplierDetails.name) &&
Objects.equals(this.localName, hotelOnMapSupplierDetails.localName) &&
Objects.equals(this.chain, hotelOnMapSupplierDetails.chain) &&
Objects.equals(this.brand, hotelOnMapSupplierDetails.brand) &&
Objects.equals(this.urlName, hotelOnMapSupplierDetails.urlName) &&
Objects.equals(this.starRating, hotelOnMapSupplierDetails.starRating) &&
Objects.equals(this.bookings, hotelOnMapSupplierDetails.bookings) &&
Objects.equals(this.aggregateReviewRating, hotelOnMapSupplierDetails.aggregateReviewRating) &&
Objects.equals(this.location, hotelOnMapSupplierDetails.location) &&
Objects.equals(this.shortDescriptions, hotelOnMapSupplierDetails.shortDescriptions) &&
Objects.equals(this.longDescriptions, hotelOnMapSupplierDetails.longDescriptions) &&
Objects.equals(this.aggregateGreendexRating, hotelOnMapSupplierDetails.aggregateGreendexRating) &&
Objects.equals(this.lifestyleTypes, hotelOnMapSupplierDetails.lifestyleTypes) &&
Objects.equals(this.totalReviews, hotelOnMapSupplierDetails.totalReviews) &&
Objects.equals(this.available, hotelOnMapSupplierDetails.available) &&
Objects.equals(this.hotelAvailable, hotelOnMapSupplierDetails.hotelAvailable) &&
Objects.equals(this.reservations, hotelOnMapSupplierDetails.reservations) &&
Objects.equals(this.socials, hotelOnMapSupplierDetails.socials) &&
Objects.equals(this.images, hotelOnMapSupplierDetails.images) &&
Objects.equals(this.videos, hotelOnMapSupplierDetails.videos) &&
Objects.equals(this.policy, hotelOnMapSupplierDetails.policy) &&
Objects.equals(this.thirdPartyReviews, hotelOnMapSupplierDetails.thirdPartyReviews) &&
Objects.equals(this.attractions, hotelOnMapSupplierDetails.attractions) &&
Objects.equals(this.recreations, hotelOnMapSupplierDetails.recreations) &&
Objects.equals(this.pois, hotelOnMapSupplierDetails.pois) &&
Objects.equals(this.restaurants, hotelOnMapSupplierDetails.restaurants) &&
Objects.equals(this.meetingRooms, hotelOnMapSupplierDetails.meetingRooms) &&
Objects.equals(this.spas, hotelOnMapSupplierDetails.spas) &&
Objects.equals(this.addOns, hotelOnMapSupplierDetails.addOns) &&
Objects.equals(this.generalManager, hotelOnMapSupplierDetails.generalManager) &&
Objects.equals(this.locationCategory, hotelOnMapSupplierDetails.locationCategory) &&
Objects.equals(this.segmentCategory, hotelOnMapSupplierDetails.segmentCategory) &&
Objects.equals(this.hotelCategory, hotelOnMapSupplierDetails.hotelCategory) &&
Objects.equals(this.architecturalStyle, hotelOnMapSupplierDetails.architecturalStyle) &&
Objects.equals(this.whenBuilt, hotelOnMapSupplierDetails.whenBuilt) &&
Objects.equals(this.currencyCode, hotelOnMapSupplierDetails.currencyCode) &&
Objects.equals(this.membershipRateDiscount, hotelOnMapSupplierDetails.membershipRateDiscount) &&
Objects.equals(this.priceScore, hotelOnMapSupplierDetails.priceScore) &&
Objects.equals(this.perkScore, hotelOnMapSupplierDetails.perkScore) &&
Objects.equals(this.packageScore, hotelOnMapSupplierDetails.packageScore) &&
Objects.equals(this.loyaltyScore, hotelOnMapSupplierDetails.loyaltyScore) &&
Objects.equals(this.popularScore, hotelOnMapSupplierDetails.popularScore) &&
Objects.equals(this.experienceScore, hotelOnMapSupplierDetails.experienceScore) &&
Objects.equals(this.availabilityScore, hotelOnMapSupplierDetails.availabilityScore) &&
Objects.equals(this.views, hotelOnMapSupplierDetails.views) &&
Objects.equals(this.hotelAmenityCodes, hotelOnMapSupplierDetails.hotelAmenityCodes) &&
Objects.equals(this.propertyAccessibilityCodes, hotelOnMapSupplierDetails.propertyAccessibilityCodes) &&
Objects.equals(this.propertySecurityCodes, hotelOnMapSupplierDetails.propertySecurityCodes) &&
Objects.equals(this.numberOfRooms, hotelOnMapSupplierDetails.numberOfRooms) &&
Objects.equals(this.address, hotelOnMapSupplierDetails.address) &&
Objects.equals(this.active, hotelOnMapSupplierDetails.active) &&
Objects.equals(this.urlParameters, hotelOnMapSupplierDetails.urlParameters);
}
@Override
public int hashCode() {
return Objects.hash(identifier, hotelIdentifier, name, localName, chain, brand, urlName, starRating, bookings, aggregateReviewRating, location, shortDescriptions, longDescriptions, aggregateGreendexRating, lifestyleTypes, totalReviews, available, hotelAvailable, reservations, socials, images, videos, policy, thirdPartyReviews, attractions, recreations, pois, restaurants, meetingRooms, spas, addOns, generalManager, locationCategory, segmentCategory, hotelCategory, architecturalStyle, whenBuilt, currencyCode, membershipRateDiscount, priceScore, perkScore, packageScore, loyaltyScore, popularScore, experienceScore, availabilityScore, views, hotelAmenityCodes, propertyAccessibilityCodes, propertySecurityCodes, numberOfRooms, address, active, urlParameters);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class HotelOnMapSupplierDetails {\n");
sb.append(" identifier: ").append(toIndentedString(identifier)).append("\n");
sb.append(" hotelIdentifier: ").append(toIndentedString(hotelIdentifier)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" localName: ").append(toIndentedString(localName)).append("\n");
sb.append(" chain: ").append(toIndentedString(chain)).append("\n");
sb.append(" brand: ").append(toIndentedString(brand)).append("\n");
sb.append(" urlName: ").append(toIndentedString(urlName)).append("\n");
sb.append(" starRating: ").append(toIndentedString(starRating)).append("\n");
sb.append(" bookings: ").append(toIndentedString(bookings)).append("\n");
sb.append(" aggregateReviewRating: ").append(toIndentedString(aggregateReviewRating)).append("\n");
sb.append(" location: ").append(toIndentedString(location)).append("\n");
sb.append(" shortDescriptions: ").append(toIndentedString(shortDescriptions)).append("\n");
sb.append(" longDescriptions: ").append(toIndentedString(longDescriptions)).append("\n");
sb.append(" aggregateGreendexRating: ").append(toIndentedString(aggregateGreendexRating)).append("\n");
sb.append(" lifestyleTypes: ").append(toIndentedString(lifestyleTypes)).append("\n");
sb.append(" totalReviews: ").append(toIndentedString(totalReviews)).append("\n");
sb.append(" available: ").append(toIndentedString(available)).append("\n");
sb.append(" hotelAvailable: ").append(toIndentedString(hotelAvailable)).append("\n");
sb.append(" reservations: ").append(toIndentedString(reservations)).append("\n");
sb.append(" socials: ").append(toIndentedString(socials)).append("\n");
sb.append(" images: ").append(toIndentedString(images)).append("\n");
sb.append(" videos: ").append(toIndentedString(videos)).append("\n");
sb.append(" policy: ").append(toIndentedString(policy)).append("\n");
sb.append(" thirdPartyReviews: ").append(toIndentedString(thirdPartyReviews)).append("\n");
sb.append(" attractions: ").append(toIndentedString(attractions)).append("\n");
sb.append(" recreations: ").append(toIndentedString(recreations)).append("\n");
sb.append(" pois: ").append(toIndentedString(pois)).append("\n");
sb.append(" restaurants: ").append(toIndentedString(restaurants)).append("\n");
sb.append(" meetingRooms: ").append(toIndentedString(meetingRooms)).append("\n");
sb.append(" spas: ").append(toIndentedString(spas)).append("\n");
sb.append(" addOns: ").append(toIndentedString(addOns)).append("\n");
sb.append(" generalManager: ").append(toIndentedString(generalManager)).append("\n");
sb.append(" locationCategory: ").append(toIndentedString(locationCategory)).append("\n");
sb.append(" segmentCategory: ").append(toIndentedString(segmentCategory)).append("\n");
sb.append(" hotelCategory: ").append(toIndentedString(hotelCategory)).append("\n");
sb.append(" architecturalStyle: ").append(toIndentedString(architecturalStyle)).append("\n");
sb.append(" whenBuilt: ").append(toIndentedString(whenBuilt)).append("\n");
sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n");
sb.append(" membershipRateDiscount: ").append(toIndentedString(membershipRateDiscount)).append("\n");
sb.append(" priceScore: ").append(toIndentedString(priceScore)).append("\n");
sb.append(" perkScore: ").append(toIndentedString(perkScore)).append("\n");
sb.append(" packageScore: ").append(toIndentedString(packageScore)).append("\n");
sb.append(" loyaltyScore: ").append(toIndentedString(loyaltyScore)).append("\n");
sb.append(" popularScore: ").append(toIndentedString(popularScore)).append("\n");
sb.append(" experienceScore: ").append(toIndentedString(experienceScore)).append("\n");
sb.append(" availabilityScore: ").append(toIndentedString(availabilityScore)).append("\n");
sb.append(" views: ").append(toIndentedString(views)).append("\n");
sb.append(" hotelAmenityCodes: ").append(toIndentedString(hotelAmenityCodes)).append("\n");
sb.append(" propertyAccessibilityCodes: ").append(toIndentedString(propertyAccessibilityCodes)).append("\n");
sb.append(" propertySecurityCodes: ").append(toIndentedString(propertySecurityCodes)).append("\n");
sb.append(" numberOfRooms: ").append(toIndentedString(numberOfRooms)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append(" active: ").append(toIndentedString(active)).append("\n");
sb.append(" urlParameters: ").append(toIndentedString(urlParameters)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}