/* Options: Date: 2026-10-08 22:15:49 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: ReservationStatusNoticeRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/v2/reservation/notice/{Query}", Verbs="GET") // @Route(Path="/v2/reservation/notice/{Query}/{CendynPropertyId}", Verbs="GET") public static class ReservationStatusNoticeRequest implements IReturn { public String cendynPropertyId = null; public ReservationStatusNoticeQueryType query = null; public String id = null; public Date stayDate = null; public String getCendynPropertyId() { return cendynPropertyId; } public ReservationStatusNoticeRequest setCendynPropertyId(String value) { this.cendynPropertyId = value; return this; } public ReservationStatusNoticeQueryType getQuery() { return query; } public ReservationStatusNoticeRequest setQuery(ReservationStatusNoticeQueryType value) { this.query = value; return this; } public String getId() { return id; } public ReservationStatusNoticeRequest setId(String value) { this.id = value; return this; } public Date getStayDate() { return stayDate; } public ReservationStatusNoticeRequest setStayDate(Date value) { this.stayDate = value; return this; } private static Object responseType = ReservationStatusNoticeResponse.class; public Object getResponseType() { return responseType; } } public static class ReservationStatusNoticeResponse extends CenResResponse { public ArrayList records = null; public ArrayList getRecords() { return records; } public ReservationStatusNoticeResponse setRecords(ArrayList value) { this.records = value; return this; } } public static enum ReservationStatusNoticeQueryType { ResId, ProfileId, RoomId; } public static class ReservationStatusNotice { public String cendynPropertyId = null; public String externalResId1 = null; public String externalResId2 = null; public String resStatus = null; public String cancellationID = null; public Date cancellationDate = null; public Date dateResUpdated = null; public String resUpdatedBy = null; public String roomNumber = null; public Date roomNumberStartDate = null; public Date roomNumberEndDate = null; public ArrayList stayHistoryRevenueCollection = null; public Date resArriveDate = null; public Date resDepartDate = null; public String currency = null; public String roomType = null; public String externalProfileID = null; public ArrayList uniqueIDs = null; public String getCendynPropertyId() { return cendynPropertyId; } public ReservationStatusNotice setCendynPropertyId(String value) { this.cendynPropertyId = value; return this; } public String getExternalResId1() { return externalResId1; } public ReservationStatusNotice setExternalResId1(String value) { this.externalResId1 = value; return this; } public String getExternalResId2() { return externalResId2; } public ReservationStatusNotice setExternalResId2(String value) { this.externalResId2 = value; return this; } public String getResStatus() { return resStatus; } public ReservationStatusNotice setResStatus(String value) { this.resStatus = value; return this; } public String getCancellationID() { return cancellationID; } public ReservationStatusNotice setCancellationID(String value) { this.cancellationID = value; return this; } public Date getCancellationDate() { return cancellationDate; } public ReservationStatusNotice setCancellationDate(Date value) { this.cancellationDate = value; return this; } public Date getDateResUpdated() { return dateResUpdated; } public ReservationStatusNotice setDateResUpdated(Date value) { this.dateResUpdated = value; return this; } public String getResUpdatedBy() { return resUpdatedBy; } public ReservationStatusNotice setResUpdatedBy(String value) { this.resUpdatedBy = value; return this; } public String getRoomNumber() { return roomNumber; } public ReservationStatusNotice setRoomNumber(String value) { this.roomNumber = value; return this; } public Date getRoomNumberStartDate() { return roomNumberStartDate; } public ReservationStatusNotice setRoomNumberStartDate(Date value) { this.roomNumberStartDate = value; return this; } public Date getRoomNumberEndDate() { return roomNumberEndDate; } public ReservationStatusNotice setRoomNumberEndDate(Date value) { this.roomNumberEndDate = value; return this; } public ArrayList getStayHistoryRevenueCollection() { return stayHistoryRevenueCollection; } public ReservationStatusNotice setStayHistoryRevenueCollection(ArrayList value) { this.stayHistoryRevenueCollection = value; return this; } public Date getResArriveDate() { return resArriveDate; } public ReservationStatusNotice setResArriveDate(Date value) { this.resArriveDate = value; return this; } public Date getResDepartDate() { return resDepartDate; } public ReservationStatusNotice setResDepartDate(Date value) { this.resDepartDate = value; return this; } public String getCurrency() { return currency; } public ReservationStatusNotice setCurrency(String value) { this.currency = value; return this; } public String getRoomType() { return roomType; } public ReservationStatusNotice setRoomType(String value) { this.roomType = value; return this; } public String getExternalProfileID() { return externalProfileID; } public ReservationStatusNotice setExternalProfileID(String value) { this.externalProfileID = value; return this; } public ArrayList getUniqueIDs() { return uniqueIDs; } public ReservationStatusNotice setUniqueIDs(ArrayList value) { this.uniqueIDs = value; return this; } } public static enum RequestStatus { Success, Warning, Error, NotAuthorized, Failure; } public static class CenResResponse { public RequestStatus status = null; public String statusMessage = null; public Integer recordsReturned = null; public Integer recordsAvailable = null; public Integer pageNumber = null; public Integer pageSize = null; public RequestStatus getStatus() { return status; } public CenResResponse setStatus(RequestStatus value) { this.status = value; return this; } public String getStatusMessage() { return statusMessage; } public CenResResponse setStatusMessage(String value) { this.statusMessage = value; return this; } public Integer getRecordsReturned() { return recordsReturned; } public CenResResponse setRecordsReturned(Integer value) { this.recordsReturned = value; return this; } public Integer getRecordsAvailable() { return recordsAvailable; } public CenResResponse setRecordsAvailable(Integer value) { this.recordsAvailable = value; return this; } public Integer getPageNumber() { return pageNumber; } public CenResResponse setPageNumber(Integer value) { this.pageNumber = value; return this; } public Integer getPageSize() { return pageSize; } public CenResResponse setPageSize(Integer value) { this.pageSize = value; return this; } } public static class StayHistoryRevenue { public String recordStatus = null; @DataMember(IsRequired=true) public String revenueGroup = null; @DataMember(IsRequired=true) public String revenueType = null; @DataMember(IsRequired=true) public BigDecimal amount = null; public String currencyCode = null; public String folioWindow = null; public Date transactionDate = null; public Date inactiveDate = null; public String getRecordStatus() { return recordStatus; } public StayHistoryRevenue setRecordStatus(String value) { this.recordStatus = value; return this; } public String getRevenueGroup() { return revenueGroup; } public StayHistoryRevenue setRevenueGroup(String value) { this.revenueGroup = value; return this; } public String getRevenueType() { return revenueType; } public StayHistoryRevenue setRevenueType(String value) { this.revenueType = value; return this; } public BigDecimal getAmount() { return amount; } public StayHistoryRevenue setAmount(BigDecimal value) { this.amount = value; return this; } public String getCurrencyCode() { return currencyCode; } public StayHistoryRevenue setCurrencyCode(String value) { this.currencyCode = value; return this; } public String getFolioWindow() { return folioWindow; } public StayHistoryRevenue setFolioWindow(String value) { this.folioWindow = value; return this; } public Date getTransactionDate() { return transactionDate; } public StayHistoryRevenue setTransactionDate(Date value) { this.transactionDate = value; return this; } public Date getInactiveDate() { return inactiveDate; } public StayHistoryRevenue setInactiveDate(Date value) { this.inactiveDate = value; return this; } } public static class UniqueIDType { public String id = null; public String type = null; public String context = null; public String getId() { return id; } public UniqueIDType setId(String value) { this.id = value; return this; } public String getType() { return type; } public UniqueIDType setType(String value) { this.type = value; return this; } public String getContext() { return context; } public UniqueIDType setContext(String value) { this.context = value; return this; } } }