/* Options: Date: 2026-10-08 22:59:09 SwiftVersion: 5.0 Version: 6.21 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cert.cendyn.com/CenResServiceR2Test //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: HotelInventorySnapshot.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/hotelinventorysnapshot/{SubscriptionId}/{CendynPropertyId}", "POST") public class HotelInventorySnapshot : IReturn, Codable { public typealias Return = Response public var inventorySnapshot:InventorySnapshot? public var subscriptionId:String? public var cendynPropertyId:String? required public init(){} } public class Response : Codable { public var statusCode:String? public var recordCount:Int? public var errorCount:Int? required public init(){} } public class InventorySnapshot : Codable { public var cendynPropertyID:String? public var hotelCode:String? public var inventoryDay:Date? public var physicalRooms:Int? public var outOfOrder:Int? public var definitiveSold:Int? public var blockCount:Int? public var expectedBlockRevenue:Double? public var casinoBlockCount:Int? public var expectedCasinoRevenue:Double? public var sourceName:String? public var sourceID:String? public var inventoryRooms:[InventoryRoom] = [] required public init(){} } public class InventoryRoom : Codable { public var roomType:String? public var physicalRooms:Int? public var outOfOrder:Int? public var definitiveAvailable:Int? public var definitiveSold:Int? public var blockCount:Int? public var expectedBlockRevenue:Double? public var casinoBlockCount:Int? public var expectedCasinoRevenue:Double? required public init(){} }