com.aliyun.btripopen20220520.models.HotelRoomInfoResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.btripopen20220520.models;
import com.aliyun.tea.*;
public class HotelRoomInfoResponseBody extends TeaModel {
@NameInMap("code")
public String code;
@NameInMap("message")
public String message;
@NameInMap("module")
public java.util.List module;
/**
* requestId
*/
@NameInMap("requestId")
public String requestId;
@NameInMap("success")
public Boolean success;
@NameInMap("traceId")
public String traceId;
public static HotelRoomInfoResponseBody build(java.util.Map map) throws Exception {
HotelRoomInfoResponseBody self = new HotelRoomInfoResponseBody();
return TeaModel.build(map, self);
}
public HotelRoomInfoResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public HotelRoomInfoResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public HotelRoomInfoResponseBody setModule(java.util.List module) {
this.module = module;
return this;
}
public java.util.List getModule() {
return this.module;
}
public HotelRoomInfoResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public HotelRoomInfoResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public HotelRoomInfoResponseBody setTraceId(String traceId) {
this.traceId = traceId;
return this;
}
public String getTraceId() {
return this.traceId;
}
public static class HotelRoomInfoResponseBodyModuleBedInfos extends TeaModel {
@NameInMap("bed_desc")
public String bedDesc;
@NameInMap("bed_num")
public Integer bedNum;
@NameInMap("bed_size")
public String bedSize;
@NameInMap("bed_type")
public String bedType;
public static HotelRoomInfoResponseBodyModuleBedInfos build(java.util.Map map) throws Exception {
HotelRoomInfoResponseBodyModuleBedInfos self = new HotelRoomInfoResponseBodyModuleBedInfos();
return TeaModel.build(map, self);
}
public HotelRoomInfoResponseBodyModuleBedInfos setBedDesc(String bedDesc) {
this.bedDesc = bedDesc;
return this;
}
public String getBedDesc() {
return this.bedDesc;
}
public HotelRoomInfoResponseBodyModuleBedInfos setBedNum(Integer bedNum) {
this.bedNum = bedNum;
return this;
}
public Integer getBedNum() {
return this.bedNum;
}
public HotelRoomInfoResponseBodyModuleBedInfos setBedSize(String bedSize) {
this.bedSize = bedSize;
return this;
}
public String getBedSize() {
return this.bedSize;
}
public HotelRoomInfoResponseBodyModuleBedInfos setBedType(String bedType) {
this.bedType = bedType;
return this;
}
public String getBedType() {
return this.bedType;
}
}
public static class HotelRoomInfoResponseBodyModuleRoomImages extends TeaModel {
@NameInMap("bed_infos2")
public String bedInfos2;
@NameInMap("tag")
public Integer tag;
@NameInMap("url")
public String url;
public static HotelRoomInfoResponseBodyModuleRoomImages build(java.util.Map map) throws Exception {
HotelRoomInfoResponseBodyModuleRoomImages self = new HotelRoomInfoResponseBodyModuleRoomImages();
return TeaModel.build(map, self);
}
public HotelRoomInfoResponseBodyModuleRoomImages setBedInfos2(String bedInfos2) {
this.bedInfos2 = bedInfos2;
return this;
}
public String getBedInfos2() {
return this.bedInfos2;
}
public HotelRoomInfoResponseBodyModuleRoomImages setTag(Integer tag) {
this.tag = tag;
return this;
}
public Integer getTag() {
return this.tag;
}
public HotelRoomInfoResponseBodyModuleRoomImages setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
}
public static class HotelRoomInfoResponseBodyModule extends TeaModel {
@NameInMap("bed_infos")
public java.util.List bedInfos;
@NameInMap("extra_bed")
public Integer extraBed;
@NameInMap("extra_bed_desc")
public String extraBedDesc;
@NameInMap("floor")
public String floor;
@NameInMap("internet_way")
public String internetWay;
@NameInMap("max_occupancy")
public Integer maxOccupancy;
@NameInMap("room_desc")
public String roomDesc;
@NameInMap("room_facilities")
public String roomFacilities;
@NameInMap("room_facility_list")
public java.util.List roomFacilityList;
@NameInMap("room_id")
public String roomId;
@NameInMap("room_image")
public String roomImage;
@NameInMap("room_images")
public java.util.List roomImages;
@NameInMap("room_name")
public String roomName;
@NameInMap("room_type")
public Integer roomType;
@NameInMap("roomarea")
public String roomarea;
@NameInMap("rooms")
public Integer rooms;
@NameInMap("window")
public String window;
@NameInMap("window_bad")
public String windowBad;
@NameInMap("window_view")
public String windowView;
public static HotelRoomInfoResponseBodyModule build(java.util.Map map) throws Exception {
HotelRoomInfoResponseBodyModule self = new HotelRoomInfoResponseBodyModule();
return TeaModel.build(map, self);
}
public HotelRoomInfoResponseBodyModule setBedInfos(java.util.List bedInfos) {
this.bedInfos = bedInfos;
return this;
}
public java.util.List getBedInfos() {
return this.bedInfos;
}
public HotelRoomInfoResponseBodyModule setExtraBed(Integer extraBed) {
this.extraBed = extraBed;
return this;
}
public Integer getExtraBed() {
return this.extraBed;
}
public HotelRoomInfoResponseBodyModule setExtraBedDesc(String extraBedDesc) {
this.extraBedDesc = extraBedDesc;
return this;
}
public String getExtraBedDesc() {
return this.extraBedDesc;
}
public HotelRoomInfoResponseBodyModule setFloor(String floor) {
this.floor = floor;
return this;
}
public String getFloor() {
return this.floor;
}
public HotelRoomInfoResponseBodyModule setInternetWay(String internetWay) {
this.internetWay = internetWay;
return this;
}
public String getInternetWay() {
return this.internetWay;
}
public HotelRoomInfoResponseBodyModule setMaxOccupancy(Integer maxOccupancy) {
this.maxOccupancy = maxOccupancy;
return this;
}
public Integer getMaxOccupancy() {
return this.maxOccupancy;
}
public HotelRoomInfoResponseBodyModule setRoomDesc(String roomDesc) {
this.roomDesc = roomDesc;
return this;
}
public String getRoomDesc() {
return this.roomDesc;
}
public HotelRoomInfoResponseBodyModule setRoomFacilities(String roomFacilities) {
this.roomFacilities = roomFacilities;
return this;
}
public String getRoomFacilities() {
return this.roomFacilities;
}
public HotelRoomInfoResponseBodyModule setRoomFacilityList(java.util.List roomFacilityList) {
this.roomFacilityList = roomFacilityList;
return this;
}
public java.util.List getRoomFacilityList() {
return this.roomFacilityList;
}
public HotelRoomInfoResponseBodyModule setRoomId(String roomId) {
this.roomId = roomId;
return this;
}
public String getRoomId() {
return this.roomId;
}
public HotelRoomInfoResponseBodyModule setRoomImage(String roomImage) {
this.roomImage = roomImage;
return this;
}
public String getRoomImage() {
return this.roomImage;
}
public HotelRoomInfoResponseBodyModule setRoomImages(java.util.List roomImages) {
this.roomImages = roomImages;
return this;
}
public java.util.List getRoomImages() {
return this.roomImages;
}
public HotelRoomInfoResponseBodyModule setRoomName(String roomName) {
this.roomName = roomName;
return this;
}
public String getRoomName() {
return this.roomName;
}
public HotelRoomInfoResponseBodyModule setRoomType(Integer roomType) {
this.roomType = roomType;
return this;
}
public Integer getRoomType() {
return this.roomType;
}
public HotelRoomInfoResponseBodyModule setRoomarea(String roomarea) {
this.roomarea = roomarea;
return this;
}
public String getRoomarea() {
return this.roomarea;
}
public HotelRoomInfoResponseBodyModule setRooms(Integer rooms) {
this.rooms = rooms;
return this;
}
public Integer getRooms() {
return this.rooms;
}
public HotelRoomInfoResponseBodyModule setWindow(String window) {
this.window = window;
return this;
}
public String getWindow() {
return this.window;
}
public HotelRoomInfoResponseBodyModule setWindowBad(String windowBad) {
this.windowBad = windowBad;
return this;
}
public String getWindowBad() {
return this.windowBad;
}
public HotelRoomInfoResponseBodyModule setWindowView(String windowView) {
this.windowView = windowView;
return this;
}
public String getWindowView() {
return this.windowView;
}
}
}