/* Options: Date: 2026-10-08 22:15:06 Version: 6.21 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cert.cendyn.com/CenResServiceR2Test //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: RoomTypeRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/roomTypes/{CendynPropertyId}", Verbs="GET") public static class RoomTypeRequest implements IReturn> { public String cendynPropertyId = null; public RequestType interfaceType = null; public String getCendynPropertyId() { return cendynPropertyId; } public RoomTypeRequest setCendynPropertyId(String value) { this.cendynPropertyId = value; return this; } public RequestType getInterfaceType() { return interfaceType; } public RoomTypeRequest setInterfaceType(RequestType value) { this.interfaceType = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static enum RequestType { CenRes, Inventory; } public static class RoomType { public String externalID = null; public String hotelCode = null; public String roomCode = null; public String roomCategory = null; public String shortDescription = null; public String longDescription = null; public String roomTypeCode = null; public String roomClass = null; public String imagePath = null; public Integer roomsInHotel = null; public String bedTypeCode = null; public Boolean nonSmoking = null; public Boolean activeRetail = null; public Integer occupancyMax = null; public Integer occupancyAdult = null; public Integer occupancyChild = null; public BigDecimal xtraAdultCharge = null; public BigDecimal xtraChildCharge = null; public BigDecimal roomArea = null; public Boolean isPseudo = null; public Boolean isActive = null; public Date inactiveDate = null; public String sourceName = null; public String sourceID = null; public String getExternalID() { return externalID; } public RoomType setExternalID(String value) { this.externalID = value; return this; } public String getHotelCode() { return hotelCode; } public RoomType setHotelCode(String value) { this.hotelCode = value; return this; } public String getRoomCode() { return roomCode; } public RoomType setRoomCode(String value) { this.roomCode = value; return this; } public String getRoomCategory() { return roomCategory; } public RoomType setRoomCategory(String value) { this.roomCategory = value; return this; } public String getShortDescription() { return shortDescription; } public RoomType setShortDescription(String value) { this.shortDescription = value; return this; } public String getLongDescription() { return longDescription; } public RoomType setLongDescription(String value) { this.longDescription = value; return this; } public String getRoomTypeCode() { return roomTypeCode; } public RoomType setRoomTypeCode(String value) { this.roomTypeCode = value; return this; } public String getRoomClass() { return roomClass; } public RoomType setRoomClass(String value) { this.roomClass = value; return this; } public String getImagePath() { return imagePath; } public RoomType setImagePath(String value) { this.imagePath = value; return this; } public Integer getRoomsInHotel() { return roomsInHotel; } public RoomType setRoomsInHotel(Integer value) { this.roomsInHotel = value; return this; } public String getBedTypeCode() { return bedTypeCode; } public RoomType setBedTypeCode(String value) { this.bedTypeCode = value; return this; } public Boolean isNonSmoking() { return nonSmoking; } public RoomType setNonSmoking(Boolean value) { this.nonSmoking = value; return this; } public Boolean isActiveRetail() { return activeRetail; } public RoomType setActiveRetail(Boolean value) { this.activeRetail = value; return this; } public Integer getOccupancyMax() { return occupancyMax; } public RoomType setOccupancyMax(Integer value) { this.occupancyMax = value; return this; } public Integer getOccupancyAdult() { return occupancyAdult; } public RoomType setOccupancyAdult(Integer value) { this.occupancyAdult = value; return this; } public Integer getOccupancyChild() { return occupancyChild; } public RoomType setOccupancyChild(Integer value) { this.occupancyChild = value; return this; } public BigDecimal getXtraAdultCharge() { return xtraAdultCharge; } public RoomType setXtraAdultCharge(BigDecimal value) { this.xtraAdultCharge = value; return this; } public BigDecimal getXtraChildCharge() { return xtraChildCharge; } public RoomType setXtraChildCharge(BigDecimal value) { this.xtraChildCharge = value; return this; } public BigDecimal getRoomArea() { return roomArea; } public RoomType setRoomArea(BigDecimal value) { this.roomArea = value; return this; } public Boolean getIsPseudo() { return isPseudo; } public RoomType setIsPseudo(Boolean value) { this.isPseudo = value; return this; } public Boolean getIsActive() { return isActive; } public RoomType setIsActive(Boolean value) { this.isActive = value; return this; } public Date getInactiveDate() { return inactiveDate; } public RoomType setInactiveDate(Date value) { this.inactiveDate = value; return this; } public String getSourceName() { return sourceName; } public RoomType setSourceName(String value) { this.sourceName = value; return this; } public String getSourceID() { return sourceID; } public RoomType setSourceID(String value) { this.sourceID = value; return this; } } public static class RoomInfo { public String roomType = null; public Date date = null; public Integer totalRooms = null; public Integer availableRooms = null; public String getRoomType() { return roomType; } public RoomInfo setRoomType(String value) { this.roomType = value; return this; } public Date getDate() { return date; } public RoomInfo setDate(Date value) { this.date = value; return this; } public Integer getTotalRooms() { return totalRooms; } public RoomInfo setTotalRooms(Integer value) { this.totalRooms = value; return this; } public Integer getAvailableRooms() { return availableRooms; } public RoomInfo setAvailableRooms(Integer value) { this.availableRooms = value; return this; } } }