Class DynamicListAffiliate

java.lang.Object
travel.wink.sdk.affiliate.browse.model.DynamicListAffiliate

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:15:43.926055890+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") public class DynamicListAffiliate extends Object
DynamicListAffiliate
  • Field Details

  • Constructor Details

    • DynamicListAffiliate

      public DynamicListAffiliate()
  • Method Details

    • id

      public DynamicListAffiliate id(@Nullable String id)
    • getId

      @Nullable public String getId()
      Document UUID
      Returns:
      id
    • setId

      public void setId(@Nullable String id)
    • createdDate

      public DynamicListAffiliate createdDate(@Nullable LocalDateTime createdDate)
    • getCreatedDate

      @Nullable @Valid public LocalDateTime getCreatedDate()
      Datetime this record was first created
      Returns:
      createdDate
    • setCreatedDate

      public void setCreatedDate(@Nullable LocalDateTime createdDate)
    • lastUpdate

      public DynamicListAffiliate lastUpdate(@Nullable LocalDateTime lastUpdate)
    • getLastUpdate

      @Nullable @Valid public LocalDateTime getLastUpdate()
      Datetime this record was last updated
      Returns:
      lastUpdate
    • setLastUpdate

      public void setLastUpdate(@Nullable LocalDateTime lastUpdate)
    • version

      public DynamicListAffiliate version(@Nullable Long version)
    • getVersion

      @Nullable public Long getVersion()
      Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
      Returns:
      version
    • setVersion

      public void setVersion(@Nullable Long version)
    • ownerIdentifier

      public DynamicListAffiliate ownerIdentifier(@Nonnull UUID ownerIdentifier)
    • getOwnerIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getOwnerIdentifier()
      Entity identifier of record creator
      Returns:
      ownerIdentifier
    • setOwnerIdentifier

      public void setOwnerIdentifier(@Nonnull UUID ownerIdentifier)
    • name

      public DynamicListAffiliate name(@Nonnull String name)
    • getName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getName()
      Name of dynamic list for when user want to persist it
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • propertyName

      public DynamicListAffiliate propertyName(@Nullable String propertyName)
    • getPropertyName

      @Nullable public String getPropertyName()
      Regex expression filter matching on property name.
      Returns:
      propertyName
    • setPropertyName

      public void setPropertyName(@Nullable String propertyName)
    • locationCategories

      public DynamicListAffiliate locationCategories(@Nullable List<String> locationCategories)
    • addLocationCategoriesItem

      public DynamicListAffiliate addLocationCategoriesItem(String locationCategoriesItem)
    • getLocationCategories

      @Nullable public List<String> getLocationCategories()
      Supported OTA specification `LOC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      locationCategories
    • setLocationCategories

      public void setLocationCategories(@Nullable List<String> locationCategories)
    • segmentCategories

      public DynamicListAffiliate segmentCategories(@Nullable List<String> segmentCategories)
    • addSegmentCategoriesItem

      public DynamicListAffiliate addSegmentCategoriesItem(String segmentCategoriesItem)
    • getSegmentCategories

      @Nullable public List<String> getSegmentCategories()
      Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      segmentCategories
    • setSegmentCategories

      public void setSegmentCategories(@Nullable List<String> segmentCategories)
    • hotelCategories

      public DynamicListAffiliate hotelCategories(@Nullable List<String> hotelCategories)
    • addHotelCategoriesItem

      public DynamicListAffiliate addHotelCategoriesItem(String hotelCategoriesItem)
    • getHotelCategories

      @Nullable public List<String> getHotelCategories()
      Supported OTA specification `PCT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      hotelCategories
    • setHotelCategories

      public void setHotelCategories(@Nullable List<String> hotelCategories)
    • architecturalStyles

      public DynamicListAffiliate architecturalStyles(@Nullable List<String> architecturalStyles)
    • addArchitecturalStylesItem

      public DynamicListAffiliate addArchitecturalStylesItem(String architecturalStylesItem)
    • getArchitecturalStyles

      @Nullable public List<String> getArchitecturalStyles()
      Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)
      Returns:
      architecturalStyles
    • setArchitecturalStyles

      public void setArchitecturalStyles(@Nullable List<String> architecturalStyles)
    • inventoryName

      public DynamicListAffiliate inventoryName(@Nullable String inventoryName)
    • getInventoryName

      @Nullable public String getInventoryName()
      Regex expression filter matching on blocking name
      Returns:
      inventoryName
    • setInventoryName

      public void setInventoryName(@Nullable String inventoryName)
    • continents

      public DynamicListAffiliate continents(@Nullable List<Object> continents)
    • addContinentsItem

      public DynamicListAffiliate addContinentsItem(Object continentsItem)
    • getContinents

      @Nullable public List<Object> getContinents()
      Get continents
      Returns:
      continents
    • setContinents

      public void setContinents(@Nullable List<Object> continents)
    • countries

      public DynamicListAffiliate countries(@Nullable List<Object> countries)
    • addCountriesItem

      public DynamicListAffiliate addCountriesItem(Object countriesItem)
    • getCountries

      @Nullable public List<Object> getCountries()
      Get countries
      Returns:
      countries
    • setCountries

      public void setCountries(@Nullable List<Object> countries)
    • cities

      public DynamicListAffiliate cities(@Nullable List<Object> cities)
    • addCitiesItem

      public DynamicListAffiliate addCitiesItem(Object citiesItem)
    • getCities

      @Nullable public List<Object> getCities()
      Get cities
      Returns:
      cities
    • setCities

      public void setCities(@Nullable List<Object> cities)
    • showEcoFriendly

      public DynamicListAffiliate showEcoFriendly(@Nullable Boolean showEcoFriendly)
    • getShowEcoFriendly

      @Nullable public Boolean getShowEcoFriendly()
      Filter on eco-friendly hotels
      Returns:
      showEcoFriendly
    • setShowEcoFriendly

      public void setShowEcoFriendly(@Nullable Boolean showEcoFriendly)
    • showPetFriendly

      public DynamicListAffiliate showPetFriendly(@Nullable Boolean showPetFriendly)
    • getShowPetFriendly

      @Nullable public Boolean getShowPetFriendly()
      Filter on pet-friendly hotels
      Returns:
      showPetFriendly
    • setShowPetFriendly

      public void setShowPetFriendly(@Nullable Boolean showPetFriendly)
    • showChildFriendly

      public DynamicListAffiliate showChildFriendly(@Nullable Boolean showChildFriendly)
    • getShowChildFriendly

      @Nullable public Boolean getShowChildFriendly()
      Filter on child-friendly hotels
      Returns:
      showChildFriendly
    • setShowChildFriendly

      public void setShowChildFriendly(@Nullable Boolean showChildFriendly)
    • showPopular

      public DynamicListAffiliate showPopular(@Nullable Boolean showPopular)
    • getShowPopular

      @Nullable public Boolean getShowPopular()
      Filter on hotel that has had a certain amount of bookings
      Returns:
      showPopular
    • setShowPopular

      public void setShowPopular(@Nullable Boolean showPopular)
    • showDirectOnly

      public DynamicListAffiliate showDirectOnly(@Nullable Boolean showDirectOnly)
    • getShowDirectOnly

      @Nullable public Boolean getShowDirectOnly()
      Filter on direct blocking
      Returns:
      showDirectOnly
    • setShowDirectOnly

      public void setShowDirectOnly(@Nullable Boolean showDirectOnly)
    • lifestyles

      public DynamicListAffiliate lifestyles(@Nullable List<DynamicListAffiliate.LifestylesEnum> lifestyles)
    • addLifestylesItem

      public DynamicListAffiliate addLifestylesItem(DynamicListAffiliate.LifestylesEnum lifestylesItem)
    • getLifestyles

      @Nullable public List<DynamicListAffiliate.LifestylesEnum> getLifestyles()
      Filter on lifestyles
      Returns:
      lifestyles
    • setLifestyles

      public void setLifestyles(@Nullable List<DynamicListAffiliate.LifestylesEnum> lifestyles)
    • hotelStars

      public DynamicListAffiliate hotelStars(@Nullable Integer hotelStars)
    • getHotelStars

      @Nullable public Integer getHotelStars()
      Filter on number of stars the hotel has.
      Returns:
      hotelStars
    • setHotelStars

      public void setHotelStars(@Nullable Integer hotelStars)
    • aggregateReviewRating

      public DynamicListAffiliate aggregateReviewRating(@Nullable Integer aggregateReviewRating)
    • getAggregateReviewRating

      @Nullable public Integer getAggregateReviewRating()
      Filter on aggregate review score the hotel has
      Returns:
      aggregateReviewRating
    • setAggregateReviewRating

      public void setAggregateReviewRating(@Nullable Integer aggregateReviewRating)
    • nearPoint

      public DynamicListAffiliate nearPoint(@Nullable GeoJsonPointAffiliate nearPoint)
    • getNearPoint

      @Nullable @Valid public @Valid GeoJsonPointAffiliate getNearPoint()
      Find hotels close to certain location
      Returns:
      nearPoint
    • setNearPoint

      public void setNearPoint(@Nullable GeoJsonPointAffiliate nearPoint)
    • radiusInMeters

      public DynamicListAffiliate radiusInMeters(@Nullable Long radiusInMeters)
    • getRadiusInMeters

      @Nullable public Long getRadiusInMeters()
      Use this in conjunction with `nearPoint`. Control the distance from point we are searching for.
      Returns:
      radiusInMeters
    • setRadiusInMeters

      public void setRadiusInMeters(@Nullable Long radiusInMeters)
    • inventoryTypes

      public DynamicListAffiliate inventoryTypes(@Nullable List<DynamicListAffiliate.InventoryTypesEnum> inventoryTypes)
    • addInventoryTypesItem

      public DynamicListAffiliate addInventoryTypesItem(DynamicListAffiliate.InventoryTypesEnum inventoryTypesItem)
    • getInventoryTypes

      @Nullable public List<DynamicListAffiliate.InventoryTypesEnum> getInventoryTypes()
      Get inventoryTypes
      Returns:
      inventoryTypes
    • setInventoryTypes

      public void setInventoryTypes(@Nullable List<DynamicListAffiliate.InventoryTypesEnum> inventoryTypes)
    • primaryOrderBy

      public DynamicListAffiliate primaryOrderBy(@Nullable String primaryOrderBy)
    • getPrimaryOrderBy

      @Nullable public String getPrimaryOrderBy()
      Control how you want the search results sorted. Options are: - 1: Inventory name - 2: Price: High to low - 3: Price: Low to high - 4: Commission: High to low - 5: Commission: Low to high - 6: Discount: High to low - 7: Discount: Low to high
      Returns:
      primaryOrderBy
    • setPrimaryOrderBy

      public void setPrimaryOrderBy(@Nullable String primaryOrderBy)
    • 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