travel.wink.sdk.affiliate.sales.channel.model.HotelOnMapAffiliate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of affiliate-sales-channel-sdk-java Show documentation
Show all versions of affiliate-sales-channel-sdk-java Show documentation
Java SDK for the Wink Affiliate Sales Channel 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 # Sales Channel API The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones. This API lets you: 1. Sales Channel: Manage existing sales channels. 2. Relationship Request: Manage relationship requests. 3. Available Supplier: Browse available suppliers to connect with. 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.affiliate.sales.channel.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.affiliate.sales.channel.model.AddressAffiliate;
import travel.wink.sdk.affiliate.sales.channel.model.ContactAffiliate;
import travel.wink.sdk.affiliate.sales.channel.model.GeneralManagerAffiliate;
import travel.wink.sdk.affiliate.sales.channel.model.GeoJsonPointAffiliate;
import travel.wink.sdk.affiliate.sales.channel.model.LocalizedDescriptionAffiliate;
import travel.wink.sdk.affiliate.sales.channel.model.PropertyPolicyAffiliate;
import travel.wink.sdk.affiliate.sales.channel.model.SimpleMultimediaAffiliate;
import travel.wink.sdk.affiliate.sales.channel.model.SocialAffiliate;
import travel.wink.sdk.affiliate.sales.channel.model.TravelInventoryRecognitionAffiliate;
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.*;
/**
* Hotel aggregate data
*/
@JsonPropertyOrder({
HotelOnMapAffiliate.JSON_PROPERTY_IDENTIFIER,
HotelOnMapAffiliate.JSON_PROPERTY_HOTEL_IDENTIFIER,
HotelOnMapAffiliate.JSON_PROPERTY_NAME,
HotelOnMapAffiliate.JSON_PROPERTY_LOCAL_NAME,
HotelOnMapAffiliate.JSON_PROPERTY_CHAIN,
HotelOnMapAffiliate.JSON_PROPERTY_BRAND,
HotelOnMapAffiliate.JSON_PROPERTY_URL_NAME,
HotelOnMapAffiliate.JSON_PROPERTY_STAR_RATING,
HotelOnMapAffiliate.JSON_PROPERTY_BOOKINGS,
HotelOnMapAffiliate.JSON_PROPERTY_AGGREGATE_REVIEW_RATING,
HotelOnMapAffiliate.JSON_PROPERTY_LOCATION,
HotelOnMapAffiliate.JSON_PROPERTY_SHORT_DESCRIPTIONS,
HotelOnMapAffiliate.JSON_PROPERTY_LONG_DESCRIPTIONS,
HotelOnMapAffiliate.JSON_PROPERTY_AGGREGATE_GREENDEX_RATING,
HotelOnMapAffiliate.JSON_PROPERTY_LIFESTYLE_TYPES,
HotelOnMapAffiliate.JSON_PROPERTY_TOTAL_REVIEWS,
HotelOnMapAffiliate.JSON_PROPERTY_AVAILABLE,
HotelOnMapAffiliate.JSON_PROPERTY_HOTEL_AVAILABLE,
HotelOnMapAffiliate.JSON_PROPERTY_RESERVATIONS,
HotelOnMapAffiliate.JSON_PROPERTY_SOCIALS,
HotelOnMapAffiliate.JSON_PROPERTY_IMAGES,
HotelOnMapAffiliate.JSON_PROPERTY_VIDEOS,
HotelOnMapAffiliate.JSON_PROPERTY_POLICY,
HotelOnMapAffiliate.JSON_PROPERTY_THIRD_PARTY_REVIEWS,
HotelOnMapAffiliate.JSON_PROPERTY_ATTRACTIONS,
HotelOnMapAffiliate.JSON_PROPERTY_RECREATIONS,
HotelOnMapAffiliate.JSON_PROPERTY_POIS,
HotelOnMapAffiliate.JSON_PROPERTY_RESTAURANTS,
HotelOnMapAffiliate.JSON_PROPERTY_MEETING_ROOMS,
HotelOnMapAffiliate.JSON_PROPERTY_SPAS,
HotelOnMapAffiliate.JSON_PROPERTY_ADD_ONS,
HotelOnMapAffiliate.JSON_PROPERTY_GENERAL_MANAGER,
HotelOnMapAffiliate.JSON_PROPERTY_LOCATION_CATEGORY,
HotelOnMapAffiliate.JSON_PROPERTY_SEGMENT_CATEGORY,
HotelOnMapAffiliate.JSON_PROPERTY_HOTEL_CATEGORY,
HotelOnMapAffiliate.JSON_PROPERTY_ARCHITECTURAL_STYLE,
HotelOnMapAffiliate.JSON_PROPERTY_WHEN_BUILT,
HotelOnMapAffiliate.JSON_PROPERTY_CURRENCY_CODE,
HotelOnMapAffiliate.JSON_PROPERTY_MEMBERSHIP_RATE_DISCOUNT,
HotelOnMapAffiliate.JSON_PROPERTY_PRICE_SCORE,
HotelOnMapAffiliate.JSON_PROPERTY_PERK_SCORE,
HotelOnMapAffiliate.JSON_PROPERTY_PACKAGE_SCORE,
HotelOnMapAffiliate.JSON_PROPERTY_LOYALTY_SCORE,
HotelOnMapAffiliate.JSON_PROPERTY_POPULAR_SCORE,
HotelOnMapAffiliate.JSON_PROPERTY_EXPERIENCE_SCORE,
HotelOnMapAffiliate.JSON_PROPERTY_AVAILABILITY_SCORE,
HotelOnMapAffiliate.JSON_PROPERTY_VIEWS,
HotelOnMapAffiliate.JSON_PROPERTY_HOTEL_AMENITY_CODES,
HotelOnMapAffiliate.JSON_PROPERTY_PROPERTY_ACCESSIBILITY_CODES,
HotelOnMapAffiliate.JSON_PROPERTY_PROPERTY_SECURITY_CODES,
HotelOnMapAffiliate.JSON_PROPERTY_NUMBER_OF_ROOMS,
HotelOnMapAffiliate.JSON_PROPERTY_ADDRESS,
HotelOnMapAffiliate.JSON_PROPERTY_ACTIVE,
HotelOnMapAffiliate.JSON_PROPERTY_URL_PARAMETERS
})
@JsonTypeName("HotelOnMap_Affiliate")
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-10-04T20:20:44.711838495+07:00[Asia/Bangkok]")
public class HotelOnMapAffiliate {
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 GeoJsonPointAffiliate 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 ContactAffiliate 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 PropertyPolicyAffiliate 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 GeneralManagerAffiliate 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 AddressAffiliate 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 HotelOnMapAffiliate() {
}
public HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate location(GeoJsonPointAffiliate 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 GeoJsonPointAffiliate getLocation() {
return location;
}
@JsonProperty(JSON_PROPERTY_LOCATION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLocation(GeoJsonPointAffiliate location) {
this.location = location;
}
public HotelOnMapAffiliate shortDescriptions(List shortDescriptions) {
this.shortDescriptions = shortDescriptions;
return this;
}
public HotelOnMapAffiliate addShortDescriptionsItem(LocalizedDescriptionAffiliate 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 HotelOnMapAffiliate longDescriptions(List longDescriptions) {
this.longDescriptions = longDescriptions;
return this;
}
public HotelOnMapAffiliate addLongDescriptionsItem(LocalizedDescriptionAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate lifestyleTypes(List lifestyleTypes) {
this.lifestyleTypes = lifestyleTypes;
return this;
}
public HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate reservations(ContactAffiliate 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 ContactAffiliate getReservations() {
return reservations;
}
@JsonProperty(JSON_PROPERTY_RESERVATIONS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReservations(ContactAffiliate reservations) {
this.reservations = reservations;
}
public HotelOnMapAffiliate socials(List socials) {
this.socials = socials;
return this;
}
public HotelOnMapAffiliate addSocialsItem(SocialAffiliate 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 HotelOnMapAffiliate images(List images) {
this.images = images;
return this;
}
public HotelOnMapAffiliate addImagesItem(SimpleMultimediaAffiliate 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 HotelOnMapAffiliate videos(List videos) {
this.videos = videos;
return this;
}
public HotelOnMapAffiliate addVideosItem(SimpleMultimediaAffiliate 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 HotelOnMapAffiliate policy(PropertyPolicyAffiliate 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 PropertyPolicyAffiliate getPolicy() {
return policy;
}
@JsonProperty(JSON_PROPERTY_POLICY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPolicy(PropertyPolicyAffiliate policy) {
this.policy = policy;
}
public HotelOnMapAffiliate thirdPartyReviews(List thirdPartyReviews) {
this.thirdPartyReviews = thirdPartyReviews;
return this;
}
public HotelOnMapAffiliate addThirdPartyReviewsItem(TravelInventoryRecognitionAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate generalManager(GeneralManagerAffiliate 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 GeneralManagerAffiliate getGeneralManager() {
return generalManager;
}
@JsonProperty(JSON_PROPERTY_GENERAL_MANAGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setGeneralManager(GeneralManagerAffiliate generalManager) {
this.generalManager = generalManager;
}
public HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate hotelAmenityCodes(List hotelAmenityCodes) {
this.hotelAmenityCodes = hotelAmenityCodes;
return this;
}
public HotelOnMapAffiliate 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 HotelOnMapAffiliate propertyAccessibilityCodes(List propertyAccessibilityCodes) {
this.propertyAccessibilityCodes = propertyAccessibilityCodes;
return this;
}
public HotelOnMapAffiliate 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 HotelOnMapAffiliate propertySecurityCodes(List propertySecurityCodes) {
this.propertySecurityCodes = propertySecurityCodes;
return this;
}
public HotelOnMapAffiliate 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 HotelOnMapAffiliate 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 HotelOnMapAffiliate address(AddressAffiliate 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 AddressAffiliate getAddress() {
return address;
}
@JsonProperty(JSON_PROPERTY_ADDRESS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAddress(AddressAffiliate address) {
this.address = address;
}
public HotelOnMapAffiliate 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 HotelOnMapAffiliate 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;
}
HotelOnMapAffiliate hotelOnMapAffiliate = (HotelOnMapAffiliate) o;
return Objects.equals(this.identifier, hotelOnMapAffiliate.identifier) &&
Objects.equals(this.hotelIdentifier, hotelOnMapAffiliate.hotelIdentifier) &&
Objects.equals(this.name, hotelOnMapAffiliate.name) &&
Objects.equals(this.localName, hotelOnMapAffiliate.localName) &&
Objects.equals(this.chain, hotelOnMapAffiliate.chain) &&
Objects.equals(this.brand, hotelOnMapAffiliate.brand) &&
Objects.equals(this.urlName, hotelOnMapAffiliate.urlName) &&
Objects.equals(this.starRating, hotelOnMapAffiliate.starRating) &&
Objects.equals(this.bookings, hotelOnMapAffiliate.bookings) &&
Objects.equals(this.aggregateReviewRating, hotelOnMapAffiliate.aggregateReviewRating) &&
Objects.equals(this.location, hotelOnMapAffiliate.location) &&
Objects.equals(this.shortDescriptions, hotelOnMapAffiliate.shortDescriptions) &&
Objects.equals(this.longDescriptions, hotelOnMapAffiliate.longDescriptions) &&
Objects.equals(this.aggregateGreendexRating, hotelOnMapAffiliate.aggregateGreendexRating) &&
Objects.equals(this.lifestyleTypes, hotelOnMapAffiliate.lifestyleTypes) &&
Objects.equals(this.totalReviews, hotelOnMapAffiliate.totalReviews) &&
Objects.equals(this.available, hotelOnMapAffiliate.available) &&
Objects.equals(this.hotelAvailable, hotelOnMapAffiliate.hotelAvailable) &&
Objects.equals(this.reservations, hotelOnMapAffiliate.reservations) &&
Objects.equals(this.socials, hotelOnMapAffiliate.socials) &&
Objects.equals(this.images, hotelOnMapAffiliate.images) &&
Objects.equals(this.videos, hotelOnMapAffiliate.videos) &&
Objects.equals(this.policy, hotelOnMapAffiliate.policy) &&
Objects.equals(this.thirdPartyReviews, hotelOnMapAffiliate.thirdPartyReviews) &&
Objects.equals(this.attractions, hotelOnMapAffiliate.attractions) &&
Objects.equals(this.recreations, hotelOnMapAffiliate.recreations) &&
Objects.equals(this.pois, hotelOnMapAffiliate.pois) &&
Objects.equals(this.restaurants, hotelOnMapAffiliate.restaurants) &&
Objects.equals(this.meetingRooms, hotelOnMapAffiliate.meetingRooms) &&
Objects.equals(this.spas, hotelOnMapAffiliate.spas) &&
Objects.equals(this.addOns, hotelOnMapAffiliate.addOns) &&
Objects.equals(this.generalManager, hotelOnMapAffiliate.generalManager) &&
Objects.equals(this.locationCategory, hotelOnMapAffiliate.locationCategory) &&
Objects.equals(this.segmentCategory, hotelOnMapAffiliate.segmentCategory) &&
Objects.equals(this.hotelCategory, hotelOnMapAffiliate.hotelCategory) &&
Objects.equals(this.architecturalStyle, hotelOnMapAffiliate.architecturalStyle) &&
Objects.equals(this.whenBuilt, hotelOnMapAffiliate.whenBuilt) &&
Objects.equals(this.currencyCode, hotelOnMapAffiliate.currencyCode) &&
Objects.equals(this.membershipRateDiscount, hotelOnMapAffiliate.membershipRateDiscount) &&
Objects.equals(this.priceScore, hotelOnMapAffiliate.priceScore) &&
Objects.equals(this.perkScore, hotelOnMapAffiliate.perkScore) &&
Objects.equals(this.packageScore, hotelOnMapAffiliate.packageScore) &&
Objects.equals(this.loyaltyScore, hotelOnMapAffiliate.loyaltyScore) &&
Objects.equals(this.popularScore, hotelOnMapAffiliate.popularScore) &&
Objects.equals(this.experienceScore, hotelOnMapAffiliate.experienceScore) &&
Objects.equals(this.availabilityScore, hotelOnMapAffiliate.availabilityScore) &&
Objects.equals(this.views, hotelOnMapAffiliate.views) &&
Objects.equals(this.hotelAmenityCodes, hotelOnMapAffiliate.hotelAmenityCodes) &&
Objects.equals(this.propertyAccessibilityCodes, hotelOnMapAffiliate.propertyAccessibilityCodes) &&
Objects.equals(this.propertySecurityCodes, hotelOnMapAffiliate.propertySecurityCodes) &&
Objects.equals(this.numberOfRooms, hotelOnMapAffiliate.numberOfRooms) &&
Objects.equals(this.address, hotelOnMapAffiliate.address) &&
Objects.equals(this.active, hotelOnMapAffiliate.active) &&
Objects.equals(this.urlParameters, hotelOnMapAffiliate.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 HotelOnMapAffiliate {\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 ");
}
}