Class UpsertPropertyProfileRequestSupplier

java.lang.Object
travel.wink.sdk.extranet.model.UpsertPropertyProfileRequestSupplier

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-08-24T16:36:44.138518294+07:00[Asia/Bangkok]") public class UpsertPropertyProfileRequestSupplier extends Object
UpsertPropertyProfileRequestSupplier
  • Field Details

  • Constructor Details

    • UpsertPropertyProfileRequestSupplier

      public UpsertPropertyProfileRequestSupplier()
  • Method Details

    • stars

    • getStars

      @Nonnull @NotNull @Min(0L) @Max(6L) public @NotNull @Min(0L) @Max(6L) Integer getStars()
      Hotel star rating. minimum: 0 maximum: 6
      Returns:
      stars
    • setStars

      public void setStars(Integer stars)
    • localName

      public UpsertPropertyProfileRequestSupplier localName(String localName)
    • getLocalName

      @Nullable public String getLocalName()
      Name of the hotel in its local language if you use it for domestic guests.
      Returns:
      localName
    • setLocalName

      public void setLocalName(String localName)
    • hotelChain

      public UpsertPropertyProfileRequestSupplier hotelChain(String hotelChain)
    • getHotelChain

      @Nullable public String getHotelChain()
      Hotel chain name if property is part of that chain.
      Returns:
      hotelChain
    • setHotelChain

      public void setHotelChain(String hotelChain)
    • hotelBrand

      public UpsertPropertyProfileRequestSupplier hotelBrand(String hotelBrand)
    • getHotelBrand

      @Nullable public String getHotelBrand()
      Hotel brand name if property is part of that brand.
      Returns:
      hotelBrand
    • setHotelBrand

      public void setHotelBrand(String hotelBrand)
    • whenBuilt

      public UpsertPropertyProfileRequestSupplier whenBuilt(String whenBuilt)
    • getWhenBuilt

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

      public void setWhenBuilt(String whenBuilt)
    • licenseNumber

      public UpsertPropertyProfileRequestSupplier licenseNumber(String licenseNumber)
    • getLicenseNumber

      @Nullable public String getLicenseNumber()
      If the property has a valid license number to run a hotel in their country, add it here.
      Returns:
      licenseNumber
    • setLicenseNumber

      public void setLicenseNumber(String licenseNumber)
    • locationCategory

      public UpsertPropertyProfileRequestSupplier locationCategory(String locationCategory)
    • getLocationCategory

      @Nonnull @NotNull public @NotNull String getLocationCategory()
      Supported OTA specification `LOC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      locationCategory
    • setLocationCategory

      public void setLocationCategory(String locationCategory)
    • segmentCategory

      public UpsertPropertyProfileRequestSupplier segmentCategory(String segmentCategory)
    • getSegmentCategory

      @Nonnull @NotNull public @NotNull String getSegmentCategory()
      Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      segmentCategory
    • setSegmentCategory

      public void setSegmentCategory(String segmentCategory)
    • hotelCategory

      public UpsertPropertyProfileRequestSupplier hotelCategory(String hotelCategory)
    • getHotelCategory

      @Nonnull @NotNull public @NotNull String getHotelCategory()
      Supported OTA specification `PCT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      hotelCategory
    • setHotelCategory

      public void setHotelCategory(String hotelCategory)
    • architecturalStyle

      public UpsertPropertyProfileRequestSupplier architecturalStyle(String architecturalStyle)
    • getArchitecturalStyle

      @Nonnull @NotNull public @NotNull String getArchitecturalStyle()
      Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      architecturalStyle
    • setArchitecturalStyle

      public void setArchitecturalStyle(String architecturalStyle)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object