Package travel.wink.sdk.extranet.model
Class HotelProfile
java.lang.Object
travel.wink.sdk.extranet.model.HotelProfile
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-27T09:29:05.118372+07:00[Asia/Bangkok]")
public class HotelProfile
extends Object
Property profile
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumProperty's channel manager. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchitecturalStyle(String architecturalStyle) channelManager(HotelProfile.ChannelManagerEnum channelManager) boolean@NotNull StringSupported OTA specification `ARC` code.Property's channel manager.Hotel brand name if property is part of that brand.@NotNull StringSupported OTA specification `PCT` code.Hotel chain name if property is part of that chain.If the property has a valid license number to run a hotel in their country, add it here.Name of the hotel in its local language if you use it for domestic guests.@NotNull StringSupported OTA specification `LOC` code.If the property is currently using a channel manager but it isn't yet part of our list, chose 'OTHER_CHANNEL_MANAGER' as channelManager and fill in the name of the channel manager here@NotNull StringSupported OTA specification `SEG` code.@NotNull @Min(0L) @Max(6L) IntegergetStars()Hotel star rating.Year the property was constructed.inthashCode()hotelBrand(String hotelBrand) hotelCategory(String hotelCategory) hotelChain(String hotelChain) licenseNumber(String licenseNumber) locationCategory(String locationCategory) otherChannelManager(String otherChannelManager) segmentCategory(String segmentCategory) voidsetArchitecturalStyle(String architecturalStyle) voidsetChannelManager(HotelProfile.ChannelManagerEnum channelManager) voidsetHotelBrand(String hotelBrand) voidsetHotelCategory(String hotelCategory) voidsetHotelChain(String hotelChain) voidsetLicenseNumber(String licenseNumber) voidsetLocalName(String localName) voidsetLocationCategory(String locationCategory) voidsetOtherChannelManager(String otherChannelManager) voidsetSegmentCategory(String segmentCategory) voidvoidsetWhenBuilt(String whenBuilt) toString()
-
Field Details
-
JSON_PROPERTY_STARS
- See Also:
-
JSON_PROPERTY_CHANNEL_MANAGER
- See Also:
-
JSON_PROPERTY_OTHER_CHANNEL_MANAGER
- See Also:
-
JSON_PROPERTY_LOCAL_NAME
- See Also:
-
JSON_PROPERTY_HOTEL_CHAIN
- See Also:
-
JSON_PROPERTY_HOTEL_BRAND
- See Also:
-
JSON_PROPERTY_WHEN_BUILT
- See Also:
-
JSON_PROPERTY_LICENSE_NUMBER
- See Also:
-
JSON_PROPERTY_LOCATION_CATEGORY
- See Also:
-
JSON_PROPERTY_SEGMENT_CATEGORY
- See Also:
-
JSON_PROPERTY_HOTEL_CATEGORY
- See Also:
-
JSON_PROPERTY_ARCHITECTURAL_STYLE
- See Also:
-
-
Constructor Details
-
HotelProfile
public HotelProfile()
-
-
Method Details
-
stars
-
getStars
Hotel star rating. minimum: 0 maximum: 6- Returns:
- stars
-
setStars
-
channelManager
-
getChannelManager
Property's channel manager. Rate ownership is decided based on the channel manager selected. Defaults to `TRAVELIKO` which is the same as no channel manager and rate ownership goes to the platform.- Returns:
- channelManager
-
setChannelManager
-
otherChannelManager
-
getOtherChannelManager
If the property is currently using a channel manager but it isn't yet part of our list, chose 'OTHER_CHANNEL_MANAGER' as channelManager and fill in the name of the channel manager here- Returns:
- otherChannelManager
-
setOtherChannelManager
-
localName
-
getLocalName
Name of the hotel in its local language if you use it for domestic guests.- Returns:
- localName
-
setLocalName
-
hotelChain
-
getHotelChain
Hotel chain name if property is part of that chain.- Returns:
- hotelChain
-
setHotelChain
-
hotelBrand
-
getHotelBrand
Hotel brand name if property is part of that brand.- Returns:
- hotelBrand
-
setHotelBrand
-
whenBuilt
-
getWhenBuilt
Year the property was constructed.- Returns:
- whenBuilt
-
setWhenBuilt
-
licenseNumber
-
getLicenseNumber
If the property has a valid license number to run a hotel in their country, add it here.- Returns:
- licenseNumber
-
setLicenseNumber
-
locationCategory
-
getLocationCategory
Supported OTA specification `LOC` code. See [OTA reference data](#operation/showAvailableCodesForCategory)- Returns:
- locationCategory
-
setLocationCategory
-
segmentCategory
-
getSegmentCategory
Supported OTA specification `SEG` code. See [OTA reference data](#operation/showAvailableCodesForCategory)- Returns:
- segmentCategory
-
setSegmentCategory
-
hotelCategory
-
getHotelCategory
Supported OTA specification `PCT` code. See [OTA reference data](#operation/showAvailableCodesForCategory)- Returns:
- hotelCategory
-
setHotelCategory
-
architecturalStyle
-
getArchitecturalStyle
Supported OTA specification `ARC` code. See [OTA reference data](#operation/showAvailableCodesForCategory)- Returns:
- architecturalStyle
-
setArchitecturalStyle
-
equals
-
hashCode
public int hashCode() -
toString
-