travel.wink.sdk.extranet.facilities.model.UpsertRestaurantRequestSupplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of extranet-facilities-sdk-java Show documentation
Show all versions of extranet-facilities-sdk-java Show documentation
Java SDK for the Wink Extranet Facilities API
The newest version!
/*
* Wink API
* # Introduction Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel blocking on the Wink platform. The API gives you all the tools you need to ready your properties and blocking for sale across 1000s of our native sales channels. Integrators, affiliates, travel agents and content creators have the ability search for your travel blocking 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 blocking and get that same blocking 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 blocking 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 blocking by region, locale and property flags. - [Inventory](/blocking): All APIs related to retrieve known travel blocking 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 blocking. #### 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 blocking 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 blocking to sell. - [Inventory](/affiliate/blocking): The Inventory API exposes endpoints for affiliates to manage the blocking 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 blocking and need taxonomies of standard and non-standard codes for blocking types, classes, statuses etc. - [Reference](/reactive): 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 blocking. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant reactive widget for all other entities. - [TripPay](/reactive): 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 Facilities API This part of the documentation concerns itself with the management of facilities, on and off the property. This API lets you create: 1. Guest room: Manage room types on and off the premises. 2. Meeting room: Manage meeting rooms on and off the premises. 3. Restaurant: Manage restaurants on and off the premises. 4. Spa: Manage spas on and off the premises. Browse the endpoints in the left navigation bar to get started.
*
* The version of the OpenAPI document: 30.7.2
* 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.facilities.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.time.LocalDate;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import travel.wink.sdk.extranet.facilities.model.ContactSupplier;
import travel.wink.sdk.extranet.facilities.model.DowPatternGroupSupplier;
import travel.wink.sdk.extranet.facilities.model.GeoJsonPointSupplier;
import travel.wink.sdk.extranet.facilities.model.SimpleDescriptionSupplier;
import travel.wink.sdk.extranet.facilities.model.SimpleMultimediaSupplier;
import travel.wink.sdk.extranet.facilities.model.SocialSupplier;
import travel.wink.sdk.extranet.facilities.model.TransactionalTravelInventorySupplier;
import travel.wink.sdk.extranet.facilities.model.TravelInventoryRecognitionSupplier;
import travel.wink.sdk.extranet.facilities.model.UpsertAddressRequestSupplier;
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.*;
/**
* UpsertRestaurantRequestSupplier
*/
@JsonPropertyOrder({
UpsertRestaurantRequestSupplier.JSON_PROPERTY_FEATURED_IND,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_LIFESTYLE_TYPE,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_LOCATION,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_DESCRIPTIONS,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_MULTIMEDIAS,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_CONTACT,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_ADDRESS,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_COMMISSIONABLE,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_NAME,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_PROXIMITY_CODE,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_SORT,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_MIN_AGE_APPROPRIATE_CODE,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_BOOKABLE,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_ACTIVE,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_DISABILITY_FEATURES,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_SECURITY_FEATURES,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_SOCIALS,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_PRICE_POINT,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_RECOGNITION_LIST,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_TRANSACTION_INVENTORY_LIST,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_APPLICABLE_START,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_APPLICABLE_END,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_RESERVATION_REQUIRED_IND,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_OPENS,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_CLOSES,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_DAYS_OF_WEEK,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_MAX_SEATING_CAPACITY,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_MAX_SINGLE_PARTY,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_OFFER_BREAKFAST,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_OFFER_BRUNCH,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_OFFER_LUNCH,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_OFFER_DINNER,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_AMENITIES,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_INFO_CODES,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_CUISINE_CODES,
UpsertRestaurantRequestSupplier.JSON_PROPERTY_TRANSACTIONAL_INVENTORY_LIST
})
@JsonTypeName("UpsertRestaurantRequest_Supplier")
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-04T20:29:17.911955301+07:00[Asia/Bangkok]")
public class UpsertRestaurantRequestSupplier {
public static final String JSON_PROPERTY_FEATURED_IND = "featuredInd";
private Boolean featuredInd;
/**
* Indicate the type of lifestyle this blocking should be associated with.
*/
public enum LifestyleTypeEnum {
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;
LifestyleTypeEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static LifestyleTypeEnum fromValue(String value) {
for (LifestyleTypeEnum b : LifestyleTypeEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}
public static final String JSON_PROPERTY_LIFESTYLE_TYPE = "lifestyleType";
private LifestyleTypeEnum lifestyleType;
public static final String JSON_PROPERTY_LOCATION = "location";
private GeoJsonPointSupplier location;
public static final String JSON_PROPERTY_DESCRIPTIONS = "descriptions";
private List descriptions = new ArrayList<>();
public static final String JSON_PROPERTY_MULTIMEDIAS = "multimedias";
private List multimedias = new ArrayList<>();
public static final String JSON_PROPERTY_CONTACT = "contact";
private ContactSupplier contact;
public static final String JSON_PROPERTY_ADDRESS = "address";
private UpsertAddressRequestSupplier address;
public static final String JSON_PROPERTY_COMMISSIONABLE = "commissionable";
private Boolean commissionable = true;
public static final String JSON_PROPERTY_NAME = "name";
private String name;
public static final String JSON_PROPERTY_PROXIMITY_CODE = "proximityCode";
private String proximityCode;
public static final String JSON_PROPERTY_SORT = "sort";
private Integer sort;
public static final String JSON_PROPERTY_MIN_AGE_APPROPRIATE_CODE = "minAgeAppropriateCode";
private String minAgeAppropriateCode;
public static final String JSON_PROPERTY_BOOKABLE = "bookable";
private Boolean bookable = true;
public static final String JSON_PROPERTY_ACTIVE = "active";
private Boolean active = true;
public static final String JSON_PROPERTY_DISABILITY_FEATURES = "disabilityFeatures";
private List disabilityFeatures;
public static final String JSON_PROPERTY_SECURITY_FEATURES = "securityFeatures";
private List securityFeatures;
public static final String JSON_PROPERTY_SOCIALS = "socials";
private List socials;
/**
* Level of expensiveness.
*/
public enum PricePointEnum {
HALF("HALF"),
ONE("ONE"),
ONE_HALF("ONE_HALF"),
TWO("TWO"),
TWO_HALF("TWO_HALF"),
THREE("THREE"),
THREE_HALF("THREE_HALF"),
FOUR("FOUR"),
FOUR_HALF("FOUR_HALF"),
FIVE("FIVE");
private String value;
PricePointEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static PricePointEnum fromValue(String value) {
for (PricePointEnum b : PricePointEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}
public static final String JSON_PROPERTY_PRICE_POINT = "pricePoint";
private PricePointEnum pricePoint = PricePointEnum.THREE;
public static final String JSON_PROPERTY_RECOGNITION_LIST = "recognitionList";
private List recognitionList;
public static final String JSON_PROPERTY_TRANSACTION_INVENTORY_LIST = "transactionInventoryList";
private List transactionInventoryList;
public static final String JSON_PROPERTY_APPLICABLE_START = "applicableStart";
private LocalDate applicableStart;
public static final String JSON_PROPERTY_APPLICABLE_END = "applicableEnd";
private LocalDate applicableEnd;
public static final String JSON_PROPERTY_RESERVATION_REQUIRED_IND = "reservationRequiredInd";
private Boolean reservationRequiredInd;
public static final String JSON_PROPERTY_OPENS = "opens";
private String opens;
public static final String JSON_PROPERTY_CLOSES = "closes";
private String closes;
public static final String JSON_PROPERTY_DAYS_OF_WEEK = "daysOfWeek";
private DowPatternGroupSupplier daysOfWeek;
public static final String JSON_PROPERTY_MAX_SEATING_CAPACITY = "maxSeatingCapacity";
private Integer maxSeatingCapacity;
public static final String JSON_PROPERTY_MAX_SINGLE_PARTY = "maxSingleParty";
private Integer maxSingleParty;
public static final String JSON_PROPERTY_OFFER_BREAKFAST = "offerBreakfast";
private Boolean offerBreakfast = false;
public static final String JSON_PROPERTY_OFFER_BRUNCH = "offerBrunch";
private Boolean offerBrunch = false;
public static final String JSON_PROPERTY_OFFER_LUNCH = "offerLunch";
private Boolean offerLunch = false;
public static final String JSON_PROPERTY_OFFER_DINNER = "offerDinner";
private Boolean offerDinner = false;
public static final String JSON_PROPERTY_AMENITIES = "amenities";
private List amenities;
public static final String JSON_PROPERTY_INFO_CODES = "infoCodes";
private List infoCodes;
public static final String JSON_PROPERTY_CUISINE_CODES = "cuisineCodes";
private List cuisineCodes;
public static final String JSON_PROPERTY_TRANSACTIONAL_INVENTORY_LIST = "transactionalInventoryList";
private List transactionalInventoryList;
public UpsertRestaurantRequestSupplier() {
}
public UpsertRestaurantRequestSupplier featuredInd(Boolean featuredInd) {
this.featuredInd = featuredInd;
return this;
}
/**
* Indicates whether this blocking is featured. Use this flag as a way to signify that this blocking is special.
* @return featuredInd
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_FEATURED_IND)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getFeaturedInd() {
return featuredInd;
}
@JsonProperty(JSON_PROPERTY_FEATURED_IND)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setFeaturedInd(Boolean featuredInd) {
this.featuredInd = featuredInd;
}
public UpsertRestaurantRequestSupplier lifestyleType(LifestyleTypeEnum lifestyleType) {
this.lifestyleType = lifestyleType;
return this;
}
/**
* Indicate the type of lifestyle this blocking should be associated with.
* @return lifestyleType
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LIFESTYLE_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public LifestyleTypeEnum getLifestyleType() {
return lifestyleType;
}
@JsonProperty(JSON_PROPERTY_LIFESTYLE_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLifestyleType(LifestyleTypeEnum lifestyleType) {
this.lifestyleType = lifestyleType;
}
public UpsertRestaurantRequestSupplier location(GeoJsonPointSupplier location) {
this.location = location;
return this;
}
/**
* Get location
* @return location
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_LOCATION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public GeoJsonPointSupplier getLocation() {
return location;
}
@JsonProperty(JSON_PROPERTY_LOCATION)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setLocation(GeoJsonPointSupplier location) {
this.location = location;
}
public UpsertRestaurantRequestSupplier descriptions(List descriptions) {
this.descriptions = descriptions;
return this;
}
public UpsertRestaurantRequestSupplier addDescriptionsItem(SimpleDescriptionSupplier descriptionsItem) {
if (this.descriptions == null) {
this.descriptions = new ArrayList<>();
}
this.descriptions.add(descriptionsItem);
return this;
}
/**
* Localized descriptions describing blocking.
* @return descriptions
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_DESCRIPTIONS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getDescriptions() {
return descriptions;
}
@JsonProperty(JSON_PROPERTY_DESCRIPTIONS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDescriptions(List descriptions) {
this.descriptions = descriptions;
}
public UpsertRestaurantRequestSupplier multimedias(List multimedias) {
this.multimedias = multimedias;
return this;
}
public UpsertRestaurantRequestSupplier addMultimediasItem(SimpleMultimediaSupplier multimediasItem) {
if (this.multimedias == null) {
this.multimedias = new ArrayList<>();
}
this.multimedias.add(multimediasItem);
return this;
}
/**
* List of images / videos of blocking.
* @return multimedias
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_MULTIMEDIAS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List getMultimedias() {
return multimedias;
}
@JsonProperty(JSON_PROPERTY_MULTIMEDIAS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setMultimedias(List multimedias) {
this.multimedias = multimedias;
}
public UpsertRestaurantRequestSupplier contact(ContactSupplier contact) {
this.contact = contact;
return this;
}
/**
* Get contact
* @return contact
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_CONTACT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ContactSupplier getContact() {
return contact;
}
@JsonProperty(JSON_PROPERTY_CONTACT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setContact(ContactSupplier contact) {
this.contact = contact;
}
public UpsertRestaurantRequestSupplier address(UpsertAddressRequestSupplier address) {
this.address = address;
return this;
}
/**
* Get address
* @return address
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_ADDRESS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public UpsertAddressRequestSupplier getAddress() {
return address;
}
@JsonProperty(JSON_PROPERTY_ADDRESS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAddress(UpsertAddressRequestSupplier address) {
this.address = address;
}
public UpsertRestaurantRequestSupplier commissionable(Boolean commissionable) {
this.commissionable = commissionable;
return this;
}
/**
* Indicate whether sales channels receive commission for selling this blocking.
* @return commissionable
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_COMMISSIONABLE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getCommissionable() {
return commissionable;
}
@JsonProperty(JSON_PROPERTY_COMMISSIONABLE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setCommissionable(Boolean commissionable) {
this.commissionable = commissionable;
}
public UpsertRestaurantRequestSupplier name(String name) {
this.name = name;
return this;
}
/**
* Internal name of blocking.
* @return name
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(String name) {
this.name = name;
}
public UpsertRestaurantRequestSupplier proximityCode(String proximityCode) {
this.proximityCode = proximityCode;
return this;
}
/**
* Supported OTA specification `PRX` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
* @return proximityCode
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROXIMITY_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProximityCode() {
return proximityCode;
}
@JsonProperty(JSON_PROPERTY_PROXIMITY_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProximityCode(String proximityCode) {
this.proximityCode = proximityCode;
}
public UpsertRestaurantRequestSupplier sort(Integer sort) {
this.sort = sort;
return this;
}
/**
* Use this property to sort an blocking in a list of activities.
* @return sort
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SORT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getSort() {
return sort;
}
@JsonProperty(JSON_PROPERTY_SORT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSort(Integer sort) {
this.sort = sort;
}
public UpsertRestaurantRequestSupplier minAgeAppropriateCode(String minAgeAppropriateCode) {
this.minAgeAppropriateCode = minAgeAppropriateCode;
return this;
}
/**
* Supported OTA specification `AQC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
* @return minAgeAppropriateCode
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MIN_AGE_APPROPRIATE_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMinAgeAppropriateCode() {
return minAgeAppropriateCode;
}
@JsonProperty(JSON_PROPERTY_MIN_AGE_APPROPRIATE_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMinAgeAppropriateCode(String minAgeAppropriateCode) {
this.minAgeAppropriateCode = minAgeAppropriateCode;
}
public UpsertRestaurantRequestSupplier bookable(Boolean bookable) {
this.bookable = bookable;
return this;
}
/**
* Indicates if this blocking can be added to a booking or if it is read-only marketing material only.
* @return bookable
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_BOOKABLE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getBookable() {
return bookable;
}
@JsonProperty(JSON_PROPERTY_BOOKABLE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setBookable(Boolean bookable) {
this.bookable = bookable;
}
public UpsertRestaurantRequestSupplier active(Boolean active) {
this.active = active;
return this;
}
/**
* Modify blocking availability with this flag.
* @return active
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_ACTIVE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getActive() {
return active;
}
@JsonProperty(JSON_PROPERTY_ACTIVE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setActive(Boolean active) {
this.active = active;
}
public UpsertRestaurantRequestSupplier disabilityFeatures(List disabilityFeatures) {
this.disabilityFeatures = disabilityFeatures;
return this;
}
public UpsertRestaurantRequestSupplier addDisabilityFeaturesItem(String disabilityFeaturesItem) {
if (this.disabilityFeatures == null) {
this.disabilityFeatures = new ArrayList<>();
}
this.disabilityFeatures.add(disabilityFeaturesItem);
return this;
}
/**
* Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
* @return disabilityFeatures
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DISABILITY_FEATURES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getDisabilityFeatures() {
return disabilityFeatures;
}
@JsonProperty(JSON_PROPERTY_DISABILITY_FEATURES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDisabilityFeatures(List disabilityFeatures) {
this.disabilityFeatures = disabilityFeatures;
}
public UpsertRestaurantRequestSupplier securityFeatures(List securityFeatures) {
this.securityFeatures = securityFeatures;
return this;
}
public UpsertRestaurantRequestSupplier addSecurityFeaturesItem(String securityFeaturesItem) {
if (this.securityFeatures == null) {
this.securityFeatures = new ArrayList<>();
}
this.securityFeatures.add(securityFeaturesItem);
return this;
}
/**
* Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
* @return securityFeatures
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SECURITY_FEATURES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getSecurityFeatures() {
return securityFeatures;
}
@JsonProperty(JSON_PROPERTY_SECURITY_FEATURES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSecurityFeatures(List securityFeatures) {
this.securityFeatures = securityFeatures;
}
public UpsertRestaurantRequestSupplier socials(List socials) {
this.socials = socials;
return this;
}
public UpsertRestaurantRequestSupplier addSocialsItem(SocialSupplier socialsItem) {
if (this.socials == null) {
this.socials = new ArrayList<>();
}
this.socials.add(socialsItem);
return this;
}
/**
* Social network accounts for blocking (if applicable).
* @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 UpsertRestaurantRequestSupplier pricePoint(PricePointEnum pricePoint) {
this.pricePoint = pricePoint;
return this;
}
/**
* Level of expensiveness.
* @return pricePoint
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_PRICE_POINT)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public PricePointEnum getPricePoint() {
return pricePoint;
}
@JsonProperty(JSON_PROPERTY_PRICE_POINT)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setPricePoint(PricePointEnum pricePoint) {
this.pricePoint = pricePoint;
}
public UpsertRestaurantRequestSupplier recognitionList(List recognitionList) {
this.recognitionList = recognitionList;
return this;
}
public UpsertRestaurantRequestSupplier addRecognitionListItem(TravelInventoryRecognitionSupplier recognitionListItem) {
if (this.recognitionList == null) {
this.recognitionList = new ArrayList<>();
}
this.recognitionList.add(recognitionListItem);
return this;
}
/**
* Inventory-level recognition.
* @return recognitionList
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_RECOGNITION_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getRecognitionList() {
return recognitionList;
}
@JsonProperty(JSON_PROPERTY_RECOGNITION_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setRecognitionList(List recognitionList) {
this.recognitionList = recognitionList;
}
public UpsertRestaurantRequestSupplier transactionInventoryList(List transactionInventoryList) {
this.transactionInventoryList = transactionInventoryList;
return this;
}
public UpsertRestaurantRequestSupplier addTransactionInventoryListItem(TransactionalTravelInventorySupplier transactionInventoryListItem) {
if (this.transactionInventoryList == null) {
this.transactionInventoryList = new ArrayList<>();
}
this.transactionInventoryList.add(transactionInventoryListItem);
return this;
}
/**
* Get transactionInventoryList
* @return transactionInventoryList
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_TRANSACTION_INVENTORY_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getTransactionInventoryList() {
return transactionInventoryList;
}
@JsonProperty(JSON_PROPERTY_TRANSACTION_INVENTORY_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTransactionInventoryList(List transactionInventoryList) {
this.transactionInventoryList = transactionInventoryList;
}
public UpsertRestaurantRequestSupplier applicableStart(LocalDate applicableStart) {
this.applicableStart = applicableStart;
return this;
}
/**
* Start month and day or date for which the attraction (e.g. the start of a season) is available. This date property signifies that the blocking is recurring and / or seasonal. If the date is in the past, only day and month will be used to infer seasonality. If the date is a future date, it will be interpreted as a starting date.
* @return applicableStart
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_APPLICABLE_START)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public LocalDate getApplicableStart() {
return applicableStart;
}
@JsonProperty(JSON_PROPERTY_APPLICABLE_START)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setApplicableStart(LocalDate applicableStart) {
this.applicableStart = applicableStart;
}
public UpsertRestaurantRequestSupplier applicableEnd(LocalDate applicableEnd) {
this.applicableEnd = applicableEnd;
return this;
}
/**
* End month and day or date for which the attraction (e.g. the start of a season) is available. This date property signifies that the blocking is recurring and / or seasonal. If the date is in the past, only day and month will be used to infer seasonality. If the date is a future date, it will be interpreted as a ending date.
* @return applicableEnd
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_APPLICABLE_END)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public LocalDate getApplicableEnd() {
return applicableEnd;
}
@JsonProperty(JSON_PROPERTY_APPLICABLE_END)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setApplicableEnd(LocalDate applicableEnd) {
this.applicableEnd = applicableEnd;
}
public UpsertRestaurantRequestSupplier reservationRequiredInd(Boolean reservationRequiredInd) {
this.reservationRequiredInd = reservationRequiredInd;
return this;
}
/**
* Indicates whether a reservation is required to participate in this blocking.
* @return reservationRequiredInd
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RESERVATION_REQUIRED_IND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getReservationRequiredInd() {
return reservationRequiredInd;
}
@JsonProperty(JSON_PROPERTY_RESERVATION_REQUIRED_IND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReservationRequiredInd(Boolean reservationRequiredInd) {
this.reservationRequiredInd = reservationRequiredInd;
}
public UpsertRestaurantRequestSupplier opens(String opens) {
this.opens = opens;
return this;
}
/**
* Opening time of blocking (if applicable). Leave empty if blocking is always available.
* @return opens
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_OPENS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getOpens() {
return opens;
}
@JsonProperty(JSON_PROPERTY_OPENS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOpens(String opens) {
this.opens = opens;
}
public UpsertRestaurantRequestSupplier closes(String closes) {
this.closes = closes;
return this;
}
/**
* Closing time of blocking (if applicable). Leave empty if blocking is always available.
* @return closes
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CLOSES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCloses() {
return closes;
}
@JsonProperty(JSON_PROPERTY_CLOSES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCloses(String closes) {
this.closes = closes;
}
public UpsertRestaurantRequestSupplier daysOfWeek(DowPatternGroupSupplier daysOfWeek) {
this.daysOfWeek = daysOfWeek;
return this;
}
/**
* Get daysOfWeek
* @return daysOfWeek
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_DAYS_OF_WEEK)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public DowPatternGroupSupplier getDaysOfWeek() {
return daysOfWeek;
}
@JsonProperty(JSON_PROPERTY_DAYS_OF_WEEK)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDaysOfWeek(DowPatternGroupSupplier daysOfWeek) {
this.daysOfWeek = daysOfWeek;
}
public UpsertRestaurantRequestSupplier maxSeatingCapacity(Integer maxSeatingCapacity) {
this.maxSeatingCapacity = maxSeatingCapacity;
return this;
}
/**
* Restaurant supports these many people.
* minimum: 1
* @return maxSeatingCapacity
**/
@jakarta.annotation.Nonnull
@NotNull
@Min(1)
@JsonProperty(JSON_PROPERTY_MAX_SEATING_CAPACITY)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getMaxSeatingCapacity() {
return maxSeatingCapacity;
}
@JsonProperty(JSON_PROPERTY_MAX_SEATING_CAPACITY)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setMaxSeatingCapacity(Integer maxSeatingCapacity) {
this.maxSeatingCapacity = maxSeatingCapacity;
}
public UpsertRestaurantRequestSupplier maxSingleParty(Integer maxSingleParty) {
this.maxSingleParty = maxSingleParty;
return this;
}
/**
* Largest table at restaurant.
* minimum: 1
* @return maxSingleParty
**/
@jakarta.annotation.Nonnull
@NotNull
@Min(1)
@JsonProperty(JSON_PROPERTY_MAX_SINGLE_PARTY)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getMaxSingleParty() {
return maxSingleParty;
}
@JsonProperty(JSON_PROPERTY_MAX_SINGLE_PARTY)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setMaxSingleParty(Integer maxSingleParty) {
this.maxSingleParty = maxSingleParty;
}
public UpsertRestaurantRequestSupplier offerBreakfast(Boolean offerBreakfast) {
this.offerBreakfast = offerBreakfast;
return this;
}
/**
* Restaurant offers breakfast.
* @return offerBreakfast
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_OFFER_BREAKFAST)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getOfferBreakfast() {
return offerBreakfast;
}
@JsonProperty(JSON_PROPERTY_OFFER_BREAKFAST)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setOfferBreakfast(Boolean offerBreakfast) {
this.offerBreakfast = offerBreakfast;
}
public UpsertRestaurantRequestSupplier offerBrunch(Boolean offerBrunch) {
this.offerBrunch = offerBrunch;
return this;
}
/**
* Restaurant offers brunch.
* @return offerBrunch
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_OFFER_BRUNCH)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getOfferBrunch() {
return offerBrunch;
}
@JsonProperty(JSON_PROPERTY_OFFER_BRUNCH)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setOfferBrunch(Boolean offerBrunch) {
this.offerBrunch = offerBrunch;
}
public UpsertRestaurantRequestSupplier offerLunch(Boolean offerLunch) {
this.offerLunch = offerLunch;
return this;
}
/**
* Restaurant offers lunch.
* @return offerLunch
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_OFFER_LUNCH)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getOfferLunch() {
return offerLunch;
}
@JsonProperty(JSON_PROPERTY_OFFER_LUNCH)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setOfferLunch(Boolean offerLunch) {
this.offerLunch = offerLunch;
}
public UpsertRestaurantRequestSupplier offerDinner(Boolean offerDinner) {
this.offerDinner = offerDinner;
return this;
}
/**
* Restaurant offers dinner.
* @return offerDinner
**/
@jakarta.annotation.Nonnull
@NotNull
@JsonProperty(JSON_PROPERTY_OFFER_DINNER)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getOfferDinner() {
return offerDinner;
}
@JsonProperty(JSON_PROPERTY_OFFER_DINNER)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setOfferDinner(Boolean offerDinner) {
this.offerDinner = offerDinner;
}
public UpsertRestaurantRequestSupplier amenities(List amenities) {
this.amenities = amenities;
return this;
}
public UpsertRestaurantRequestSupplier addAmenitiesItem(String amenitiesItem) {
if (this.amenities == null) {
this.amenities = new ArrayList<>();
}
this.amenities.add(amenitiesItem);
return this;
}
/**
* Supported OTA specification `RSI` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).
* @return amenities
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_AMENITIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getAmenities() {
return amenities;
}
@JsonProperty(JSON_PROPERTY_AMENITIES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAmenities(List amenities) {
this.amenities = amenities;
}
public UpsertRestaurantRequestSupplier infoCodes(List infoCodes) {
this.infoCodes = infoCodes;
return this;
}
public UpsertRestaurantRequestSupplier addInfoCodesItem(String infoCodesItem) {
if (this.infoCodes == null) {
this.infoCodes = new ArrayList<>();
}
this.infoCodes.add(infoCodesItem);
return this;
}
/**
* Supported OTA specification `RES` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).
* @return infoCodes
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INFO_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getInfoCodes() {
return infoCodes;
}
@JsonProperty(JSON_PROPERTY_INFO_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setInfoCodes(List infoCodes) {
this.infoCodes = infoCodes;
}
public UpsertRestaurantRequestSupplier cuisineCodes(List cuisineCodes) {
this.cuisineCodes = cuisineCodes;
return this;
}
public UpsertRestaurantRequestSupplier addCuisineCodesItem(String cuisineCodesItem) {
if (this.cuisineCodes == null) {
this.cuisineCodes = new ArrayList<>();
}
this.cuisineCodes.add(cuisineCodesItem);
return this;
}
/**
* Supported OTA specification `CUI` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).
* @return cuisineCodes
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CUISINE_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getCuisineCodes() {
return cuisineCodes;
}
@JsonProperty(JSON_PROPERTY_CUISINE_CODES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCuisineCodes(List cuisineCodes) {
this.cuisineCodes = cuisineCodes;
}
public UpsertRestaurantRequestSupplier transactionalInventoryList(List transactionalInventoryList) {
this.transactionalInventoryList = transactionalInventoryList;
return this;
}
public UpsertRestaurantRequestSupplier addTransactionalInventoryListItem(TransactionalTravelInventorySupplier transactionalInventoryListItem) {
if (this.transactionalInventoryList == null) {
this.transactionalInventoryList = new ArrayList<>();
}
this.transactionalInventoryList.add(transactionalInventoryListItem);
return this;
}
/**
* Purchasable items for this blocking.
* @return transactionalInventoryList
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_TRANSACTIONAL_INVENTORY_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getTransactionalInventoryList() {
return transactionalInventoryList;
}
@JsonProperty(JSON_PROPERTY_TRANSACTIONAL_INVENTORY_LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTransactionalInventoryList(List transactionalInventoryList) {
this.transactionalInventoryList = transactionalInventoryList;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UpsertRestaurantRequestSupplier upsertRestaurantRequestSupplier = (UpsertRestaurantRequestSupplier) o;
return Objects.equals(this.featuredInd, upsertRestaurantRequestSupplier.featuredInd) &&
Objects.equals(this.lifestyleType, upsertRestaurantRequestSupplier.lifestyleType) &&
Objects.equals(this.location, upsertRestaurantRequestSupplier.location) &&
Objects.equals(this.descriptions, upsertRestaurantRequestSupplier.descriptions) &&
Objects.equals(this.multimedias, upsertRestaurantRequestSupplier.multimedias) &&
Objects.equals(this.contact, upsertRestaurantRequestSupplier.contact) &&
Objects.equals(this.address, upsertRestaurantRequestSupplier.address) &&
Objects.equals(this.commissionable, upsertRestaurantRequestSupplier.commissionable) &&
Objects.equals(this.name, upsertRestaurantRequestSupplier.name) &&
Objects.equals(this.proximityCode, upsertRestaurantRequestSupplier.proximityCode) &&
Objects.equals(this.sort, upsertRestaurantRequestSupplier.sort) &&
Objects.equals(this.minAgeAppropriateCode, upsertRestaurantRequestSupplier.minAgeAppropriateCode) &&
Objects.equals(this.bookable, upsertRestaurantRequestSupplier.bookable) &&
Objects.equals(this.active, upsertRestaurantRequestSupplier.active) &&
Objects.equals(this.disabilityFeatures, upsertRestaurantRequestSupplier.disabilityFeatures) &&
Objects.equals(this.securityFeatures, upsertRestaurantRequestSupplier.securityFeatures) &&
Objects.equals(this.socials, upsertRestaurantRequestSupplier.socials) &&
Objects.equals(this.pricePoint, upsertRestaurantRequestSupplier.pricePoint) &&
Objects.equals(this.recognitionList, upsertRestaurantRequestSupplier.recognitionList) &&
Objects.equals(this.transactionInventoryList, upsertRestaurantRequestSupplier.transactionInventoryList) &&
Objects.equals(this.applicableStart, upsertRestaurantRequestSupplier.applicableStart) &&
Objects.equals(this.applicableEnd, upsertRestaurantRequestSupplier.applicableEnd) &&
Objects.equals(this.reservationRequiredInd, upsertRestaurantRequestSupplier.reservationRequiredInd) &&
Objects.equals(this.opens, upsertRestaurantRequestSupplier.opens) &&
Objects.equals(this.closes, upsertRestaurantRequestSupplier.closes) &&
Objects.equals(this.daysOfWeek, upsertRestaurantRequestSupplier.daysOfWeek) &&
Objects.equals(this.maxSeatingCapacity, upsertRestaurantRequestSupplier.maxSeatingCapacity) &&
Objects.equals(this.maxSingleParty, upsertRestaurantRequestSupplier.maxSingleParty) &&
Objects.equals(this.offerBreakfast, upsertRestaurantRequestSupplier.offerBreakfast) &&
Objects.equals(this.offerBrunch, upsertRestaurantRequestSupplier.offerBrunch) &&
Objects.equals(this.offerLunch, upsertRestaurantRequestSupplier.offerLunch) &&
Objects.equals(this.offerDinner, upsertRestaurantRequestSupplier.offerDinner) &&
Objects.equals(this.amenities, upsertRestaurantRequestSupplier.amenities) &&
Objects.equals(this.infoCodes, upsertRestaurantRequestSupplier.infoCodes) &&
Objects.equals(this.cuisineCodes, upsertRestaurantRequestSupplier.cuisineCodes) &&
Objects.equals(this.transactionalInventoryList, upsertRestaurantRequestSupplier.transactionalInventoryList);
}
@Override
public int hashCode() {
return Objects.hash(featuredInd, lifestyleType, location, descriptions, multimedias, contact, address, commissionable, name, proximityCode, sort, minAgeAppropriateCode, bookable, active, disabilityFeatures, securityFeatures, socials, pricePoint, recognitionList, transactionInventoryList, applicableStart, applicableEnd, reservationRequiredInd, opens, closes, daysOfWeek, maxSeatingCapacity, maxSingleParty, offerBreakfast, offerBrunch, offerLunch, offerDinner, amenities, infoCodes, cuisineCodes, transactionalInventoryList);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UpsertRestaurantRequestSupplier {\n");
sb.append(" featuredInd: ").append(toIndentedString(featuredInd)).append("\n");
sb.append(" lifestyleType: ").append(toIndentedString(lifestyleType)).append("\n");
sb.append(" location: ").append(toIndentedString(location)).append("\n");
sb.append(" descriptions: ").append(toIndentedString(descriptions)).append("\n");
sb.append(" multimedias: ").append(toIndentedString(multimedias)).append("\n");
sb.append(" contact: ").append(toIndentedString(contact)).append("\n");
sb.append(" address: ").append(toIndentedString(address)).append("\n");
sb.append(" commissionable: ").append(toIndentedString(commissionable)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" proximityCode: ").append(toIndentedString(proximityCode)).append("\n");
sb.append(" sort: ").append(toIndentedString(sort)).append("\n");
sb.append(" minAgeAppropriateCode: ").append(toIndentedString(minAgeAppropriateCode)).append("\n");
sb.append(" bookable: ").append(toIndentedString(bookable)).append("\n");
sb.append(" active: ").append(toIndentedString(active)).append("\n");
sb.append(" disabilityFeatures: ").append(toIndentedString(disabilityFeatures)).append("\n");
sb.append(" securityFeatures: ").append(toIndentedString(securityFeatures)).append("\n");
sb.append(" socials: ").append(toIndentedString(socials)).append("\n");
sb.append(" pricePoint: ").append(toIndentedString(pricePoint)).append("\n");
sb.append(" recognitionList: ").append(toIndentedString(recognitionList)).append("\n");
sb.append(" transactionInventoryList: ").append(toIndentedString(transactionInventoryList)).append("\n");
sb.append(" applicableStart: ").append(toIndentedString(applicableStart)).append("\n");
sb.append(" applicableEnd: ").append(toIndentedString(applicableEnd)).append("\n");
sb.append(" reservationRequiredInd: ").append(toIndentedString(reservationRequiredInd)).append("\n");
sb.append(" opens: ").append(toIndentedString(opens)).append("\n");
sb.append(" closes: ").append(toIndentedString(closes)).append("\n");
sb.append(" daysOfWeek: ").append(toIndentedString(daysOfWeek)).append("\n");
sb.append(" maxSeatingCapacity: ").append(toIndentedString(maxSeatingCapacity)).append("\n");
sb.append(" maxSingleParty: ").append(toIndentedString(maxSingleParty)).append("\n");
sb.append(" offerBreakfast: ").append(toIndentedString(offerBreakfast)).append("\n");
sb.append(" offerBrunch: ").append(toIndentedString(offerBrunch)).append("\n");
sb.append(" offerLunch: ").append(toIndentedString(offerLunch)).append("\n");
sb.append(" offerDinner: ").append(toIndentedString(offerDinner)).append("\n");
sb.append(" amenities: ").append(toIndentedString(amenities)).append("\n");
sb.append(" infoCodes: ").append(toIndentedString(infoCodes)).append("\n");
sb.append(" cuisineCodes: ").append(toIndentedString(cuisineCodes)).append("\n");
sb.append(" transactionalInventoryList: ").append(toIndentedString(transactionalInventoryList)).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 ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy