Class ApiHotel

java.lang.Object
travel.wink.hotelbeds.content.sdk.model.ApiHotel

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:31.756188010+07:00[Asia/Bangkok]") public class ApiHotel extends Object
Information on a hotel.
  • Field Details

  • Constructor Details

    • ApiHotel

      public ApiHotel()
  • Method Details

    • S2C

      public ApiHotel S2C(String S2C)
    • getS2C

      @Nullable public String getS2C()
      Health & Safety rating (NOTE: please bear in mind is not related to hotel category).
      Returns:
      S2C
    • setS2C

      public void setS2C(String S2C)
    • accommodationType

      public ApiHotel accommodationType(ApiAccommodation accommodationType)
    • getAccommodationType

      @Nullable @Valid public @Valid ApiAccommodation getAccommodationType()
      Get accommodationType
      Returns:
      accommodationType
    • setAccommodationType

      public void setAccommodationType(ApiAccommodation accommodationType)
    • accommodationTypeCode

      public ApiHotel accommodationTypeCode(String accommodationTypeCode)
    • getAccommodationTypeCode

      @Nullable public String getAccommodationTypeCode()
      Code of the type of accommodation. It will indicate the type of the hotel (apartment, hotel, home, etc.).
      Returns:
      accommodationTypeCode
    • setAccommodationTypeCode

      public void setAccommodationTypeCode(String accommodationTypeCode)
    • address

      public ApiHotel address(ApiContent address)
    • getAddress

      @Nullable @Valid public @Valid ApiContent getAddress()
      Get address
      Returns:
      address
    • setAddress

      public void setAddress(ApiContent address)
    • boardCodes

      public ApiHotel boardCodes(List<String> boardCodes)
    • addBoardCodesItem

      public ApiHotel addBoardCodesItem(String boardCodesItem)
    • getBoardCodes

      @Nullable public List<String> getBoardCodes()
      List of codes of board types offered at the hotel.
      Returns:
      boardCodes
    • setBoardCodes

      public void setBoardCodes(List<String> boardCodes)
    • boards

      public ApiHotel boards(List<ApiBoard> boards)
    • addBoardsItem

      public ApiHotel addBoardsItem(ApiBoard boardsItem)
    • getBoards

      @Nullable @Valid public @Valid List<ApiBoard> getBoards()
      List of boards offered at the hotel.
      Returns:
      boards
    • setBoards

      public void setBoards(List<ApiBoard> boards)
    • category

      public ApiHotel category(ApiCategory category)
    • getCategory

      @Nullable @Valid public @Valid ApiCategory getCategory()
      Get category
      Returns:
      category
    • setCategory

      public void setCategory(ApiCategory category)
    • categoryCode

      public ApiHotel categoryCode(String categoryCode)
    • getCategoryCode

      @Nullable public String getCategoryCode()
      Hotel rating based on the information provided by the hotel.
      Returns:
      categoryCode
    • setCategoryCode

      public void setCategoryCode(String categoryCode)
    • categoryGroup

      public ApiHotel categoryGroup(ApiGroupCategory categoryGroup)
    • getCategoryGroup

      @Nullable @Valid public @Valid ApiGroupCategory getCategoryGroup()
      Get categoryGroup
      Returns:
      categoryGroup
    • setCategoryGroup

      public void setCategoryGroup(ApiGroupCategory categoryGroup)
    • categoryGroupCode

      public ApiHotel categoryGroupCode(String categoryGroupCode)
    • getCategoryGroupCode

      @Nullable public String getCategoryGroupCode()
      Group name of the category to which the hotel belongs.
      Returns:
      categoryGroupCode
    • setCategoryGroupCode

      public void setCategoryGroupCode(String categoryGroupCode)
    • chain

      public ApiHotel chain(ApiChain chain)
    • getChain

      @Nullable @Valid public @Valid ApiChain getChain()
      Get chain
      Returns:
      chain
    • setChain

      public void setChain(ApiChain chain)
    • chainCode

      public ApiHotel chainCode(String chainCode)
    • getChainCode

      @Nullable public String getChainCode()
      Code of the chain that the hotel belongs to.
      Returns:
      chainCode
    • setChainCode

      public void setChainCode(String chainCode)
    • city

      public ApiHotel city(ApiContent city)
    • getCity

      @Nullable @Valid public @Valid ApiContent getCity()
      Get city
      Returns:
      city
    • setCity

      public void setCity(ApiContent city)
    • code

      public ApiHotel code(Integer code)
    • getCode

      @Nullable public Integer getCode()
      Hotelbeds internal hotel code.
      Returns:
      code
    • setCode

      public void setCode(Integer code)
    • coordinates

      public ApiHotel coordinates(ApiGeoLocation coordinates)
    • getCoordinates

      @Nullable @Valid public @Valid ApiGeoLocation getCoordinates()
      Get coordinates
      Returns:
      coordinates
    • setCoordinates

      public void setCoordinates(ApiGeoLocation coordinates)
    • country

      public ApiHotel country(ApiCountry country)
    • getCountry

      @Nullable @Valid public @Valid ApiCountry getCountry()
      Get country
      Returns:
      country
    • setCountry

      public void setCountry(ApiCountry country)
    • countryCode

      public ApiHotel countryCode(String countryCode)
    • getCountryCode

      @Nullable public String getCountryCode()
      Code of the country where the hotel is located.
      Returns:
      countryCode
    • setCountryCode

      public void setCountryCode(String countryCode)
    • description

      public ApiHotel description(ApiContent description)
    • getDescription

      @Nullable @Valid public @Valid ApiContent getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(ApiContent description)
    • destination

      public ApiHotel destination(ApiDestination destination)
    • getDestination

      @Nullable @Valid public @Valid ApiDestination getDestination()
      Get destination
      Returns:
      destination
    • setDestination

      public void setDestination(ApiDestination destination)
    • destinationCode

      public ApiHotel destinationCode(String destinationCode)
    • getDestinationCode

      @Nullable public String getDestinationCode()
      Code of the destination of the hotel location.
      Returns:
      destinationCode
    • setDestinationCode

      public void setDestinationCode(String destinationCode)
    • email

      public ApiHotel email(String email)
    • getEmail

      @Nullable public String getEmail()
      Hotel e-mail address. More than one email can be returned, separated by \";\" characters.
      Returns:
      email
    • setEmail

      public void setEmail(String email)
    • exclusiveDeal

      public ApiHotel exclusiveDeal(Integer exclusiveDeal)
    • getExclusiveDeal

      @Nullable public Integer getExclusiveDeal()
      The value follows a qualitative scale, the number 1 being always the top priority/preferential, and the rest of the product defined by our commercial departments. As of today, the possible values are: 1: Identifies preferential product with exclusive conditions. 2: Identifies the rest of our top hotels. 3: Identifies the rest of the hotels. In case new values are added in the future, a proper communication campaign will be carried out to inform you.
      Returns:
      exclusiveDeal
    • setExclusiveDeal

      public void setExclusiveDeal(Integer exclusiveDeal)
    • facilities

      public ApiHotel facilities(List<ApiHotelFacility> facilities)
    • addFacilitiesItem

      public ApiHotel addFacilitiesItem(ApiHotelFacility facilitiesItem)
    • getFacilities

      @Nullable @Valid public @Valid List<ApiHotelFacility> getFacilities()
      List of facilities, amenities and installations in the hotel.
      Returns:
      facilities
    • setFacilities

      public void setFacilities(List<ApiHotelFacility> facilities)
    • giataCode

      public ApiHotel giataCode(Integer giataCode)
    • getGiataCode

      @Nullable public Integer getGiataCode()
      Giata code of the hotel. Will only be returned if the client has agreement with Giata.
      Returns:
      giataCode
    • setGiataCode

      public void setGiataCode(Integer giataCode)
    • images

      public ApiHotel images(List<ApiImage> images)
    • addImagesItem

      public ApiHotel addImagesItem(ApiImage imagesItem)
    • getImages

      @Nullable @Valid public @Valid List<ApiImage> getImages()
      List of hotel pictures.
      Returns:
      images
    • setImages

      public void setImages(List<ApiImage> images)
    • interestPoints

      public ApiHotel interestPoints(List<ApiHotelPointOfInterest> interestPoints)
    • addInterestPointsItem

      public ApiHotel addInterestPointsItem(ApiHotelPointOfInterest interestPointsItem)
    • getInterestPoints

      @Nullable @Valid public @Valid List<ApiHotelPointOfInterest> getInterestPoints()
      List of points of interest close to the hotel.
      Returns:
      interestPoints
    • setInterestPoints

      public void setInterestPoints(List<ApiHotelPointOfInterest> interestPoints)
    • issues

      public ApiHotel issues(List<ApiHotelIssue> issues)
    • addIssuesItem

      public ApiHotel addIssuesItem(ApiHotelIssue issuesItem)
    • getIssues

      @Nullable @Valid public @Valid List<ApiHotelIssue> getIssues()
      List of issues affecting the hotel.
      Returns:
      issues
    • setIssues

      public void setIssues(List<ApiHotelIssue> issues)
    • lastUpdate

      public ApiHotel lastUpdate(String lastUpdate)
    • getLastUpdate

      @Nullable public String getLastUpdate()
      Date of the last update in the information of the hotel.
      Returns:
      lastUpdate
    • setLastUpdate

      public void setLastUpdate(String lastUpdate)
    • license

      public ApiHotel license(String license)
    • getLicense

      @Nullable public String getLicense()
      Accommodation registration number.
      Returns:
      license
    • setLicense

      public void setLicense(String license)
    • name

      public ApiHotel name(ApiContent name)
    • getName

      @Nullable @Valid public @Valid ApiContent getName()
      Get name
      Returns:
      name
    • setName

      public void setName(ApiContent name)
    • phones

      public ApiHotel phones(List<ApiHotelPhone> phones)
    • addPhonesItem

      public ApiHotel addPhonesItem(ApiHotelPhone phonesItem)
    • getPhones

      @Nullable @Valid public @Valid List<ApiHotelPhone> getPhones()
      List of contact phones of the hotel.
      Returns:
      phones
    • setPhones

      public void setPhones(List<ApiHotelPhone> phones)
    • postalCode

      public ApiHotel postalCode(String postalCode)
    • getPostalCode

      @Nullable public String getPostalCode()
      Hotel address postal code.
      Returns:
      postalCode
    • setPostalCode

      public void setPostalCode(String postalCode)
    • ranking

      public ApiHotel ranking(Integer ranking)
    • getRanking

      @Nullable public Integer getRanking()
      Hotelbeds internal sorting ranking (NOTE: please bear in mind is not related to hotel category).
      Returns:
      ranking
    • setRanking

      public void setRanking(Integer ranking)
    • rooms

      public ApiHotel rooms(List<ApiHotelRoom> rooms)
    • addRoomsItem

      public ApiHotel addRoomsItem(ApiHotelRoom roomsItem)
    • getRooms

      @Nullable @Valid public @Valid List<ApiHotelRoom> getRooms()
      List of available rooms types at the hotel.
      Returns:
      rooms
    • setRooms

      public void setRooms(List<ApiHotelRoom> rooms)
    • segmentCodes

      public ApiHotel segmentCodes(List<Integer> segmentCodes)
    • addSegmentCodesItem

      public ApiHotel addSegmentCodesItem(Integer segmentCodesItem)
    • getSegmentCodes

      @Nullable public List<Integer> getSegmentCodes()
      List of the internal segment codes.
      Returns:
      segmentCodes
    • setSegmentCodes

      public void setSegmentCodes(List<Integer> segmentCodes)
    • segments

      public ApiHotel segments(List<ApiSegment> segments)
    • addSegmentsItem

      public ApiHotel addSegmentsItem(ApiSegment segmentsItem)
    • getSegments

      @Nullable @Valid public @Valid List<ApiSegment> getSegments()
      List of segments.
      Returns:
      segments
    • setSegments

      public void setSegments(List<ApiSegment> segments)
    • state

      public ApiHotel state(ApiState state)
    • getState

      @Nullable @Valid public @Valid ApiState getState()
      Get state
      Returns:
      state
    • setState

      public void setState(ApiState state)
    • stateCode

      public ApiHotel stateCode(String stateCode)
    • getStateCode

      @Nullable public String getStateCode()
      Internal code of the state.
      Returns:
      stateCode
    • setStateCode

      public void setStateCode(String stateCode)
    • terminals

      public ApiHotel terminals(List<ApiHotelTerminal> terminals)
    • addTerminalsItem

      public ApiHotel addTerminalsItem(ApiHotelTerminal terminalsItem)
    • getTerminals

      @Nullable @Valid public @Valid List<ApiHotelTerminal> getTerminals()
      List of terminals associated to the hotel and their distance to the hotel.
      Returns:
      terminals
    • setTerminals

      public void setTerminals(List<ApiHotelTerminal> terminals)
    • web

      public ApiHotel web(String web)
    • getWeb

      @Nullable public String getWeb()
      Website URL of the hotel or the chain.
      Returns:
      web
    • setWeb

      public void setWeb(String web)
    • wildcards

      public ApiHotel wildcards(List<ApiWildCard> wildcards)
    • addWildcardsItem

      public ApiHotel addWildcardsItem(ApiWildCard wildcardsItem)
    • getWildcards

      @Nullable @Valid public @Valid List<ApiWildCard> getWildcards()
      List of wildcard rooms.
      Returns:
      wildcards
    • setWildcards

      public void setWildcards(List<ApiWildCard> wildcards)
    • zone

      public ApiHotel zone(ApiZone zone)
    • getZone

      @Nullable @Valid public @Valid ApiZone getZone()
      Get zone
      Returns:
      zone
    • setZone

      public void setZone(ApiZone zone)
    • zoneCode

      public ApiHotel zoneCode(Integer zoneCode)
    • getZoneCode

      @Nullable public Integer getZoneCode()
      Internal zone code, where the hotel is located.
      Returns:
      zoneCode
    • setZoneCode

      public void setZoneCode(Integer zoneCode)
    • 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