Builder

public final class Builder

Constructors

Link copied to clipboard
public Hotel.Builder Hotel.Builder(String id, String hcomId, String name, HotelPropertyType propertyType, PropertyDetails propertyDetails, String localCurrencyCode, HotelLocation location, List<Phone> phoneInfos, Distance distance, Description description, Hotel.Status status, List<String> renovationsAndClosures, ChainAndBrandInfo chainAndBrandInfo, String thumbnailUrl, Hotel.StarRating starRating, String guestRating, Integer guestReviewCount, Boolean petFriendly, Boolean lgbtqiaFriendly, HotelLinks links, HotelPolicies policies, Map<String, List<String>> cleanlinessAndSafety, List<String> optionalExtras, List<String> importantNotices, List<Media> media, List<HotelHotelAmenitiesInner> hotelAmenities, Map<String, List<String>> hotelDescriptiveAmenities, List<HotelRoomAmenitiesInner> roomAmenities, Map<String, List<String>> roomDescriptiveAmenities, List<String> accessibility, Boolean memberOnlyDealAvailable, List<RoomType> roomTypes)

Functions

Link copied to clipboard
public final Hotel.Builder accessibility(List<String> accessibility)
Link copied to clipboard
public final Hotel build()
Link copied to clipboard
public final Hotel.Builder chainAndBrandInfo(ChainAndBrandInfo chainAndBrandInfo)
Link copied to clipboard
public final Hotel.Builder cleanlinessAndSafety(Map<String, List<String>> cleanlinessAndSafety)
Link copied to clipboard
public final Hotel.Builder description(Description description)
Link copied to clipboard
public final Hotel.Builder distance(Distance distance)
Link copied to clipboard
public final Hotel.Builder guestRating(String guestRating)
Link copied to clipboard
public final Hotel.Builder guestReviewCount(Integer guestReviewCount)
Link copied to clipboard
public final Hotel.Builder hcomId(String hcomId)
Link copied to clipboard
Link copied to clipboard
public final Hotel.Builder hotelDescriptiveAmenities(Map<String, List<String>> hotelDescriptiveAmenities)
Link copied to clipboard
public final Hotel.Builder id(String id)
Link copied to clipboard
public final Hotel.Builder importantNotices(List<String> importantNotices)
Link copied to clipboard
public final Hotel.Builder lgbtqiaFriendly(Boolean lgbtqiaFriendly)
Link copied to clipboard
public final Hotel.Builder links(HotelLinks links)
Link copied to clipboard
public final Hotel.Builder localCurrencyCode(String localCurrencyCode)
Link copied to clipboard
public final Hotel.Builder location(HotelLocation location)
Link copied to clipboard
public final Hotel.Builder media(List<Media> media)
Link copied to clipboard
public final Hotel.Builder memberOnlyDealAvailable(Boolean memberOnlyDealAvailable)
Link copied to clipboard
public final Hotel.Builder name(String name)
Link copied to clipboard
public final Hotel.Builder optionalExtras(List<String> optionalExtras)
Link copied to clipboard
public final Hotel.Builder petFriendly(Boolean petFriendly)
Link copied to clipboard
public final Hotel.Builder phoneInfos(List<Phone> phoneInfos)
Link copied to clipboard
public final Hotel.Builder policies(HotelPolicies policies)
Link copied to clipboard
public final Hotel.Builder propertyDetails(PropertyDetails propertyDetails)
Link copied to clipboard
public final Hotel.Builder propertyType(HotelPropertyType propertyType)
Link copied to clipboard
public final Hotel.Builder renovationsAndClosures(List<String> renovationsAndClosures)
Link copied to clipboard
Link copied to clipboard
public final Hotel.Builder roomDescriptiveAmenities(Map<String, List<String>> roomDescriptiveAmenities)
Link copied to clipboard
public final Hotel.Builder roomTypes(List<RoomType> roomTypes)
Link copied to clipboard
public final Hotel.Builder starRating(Hotel.StarRating starRating)
Link copied to clipboard
public final Hotel.Builder status(Hotel.Status status)
Link copied to clipboard
public final Hotel.Builder thumbnailUrl(String thumbnailUrl)