/* Options: Date: 2026-10-08 22:19:18 Version: 6.21 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cert.cendyn.com/CenResServiceR2Test //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: HotelInventoryRestriction.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/hotelinventoryrestriction/{SubscriptionId}/{CendynPropertyId}", Verbs="POST") open class HotelInventoryRestriction : IReturn { var inventoryRestriction:InventoryRestriction? = null var subscriptionId:String? = null var cendynPropertyId:String? = null companion object { private val responseType = Response::class.java } override fun getResponseType(): Any? = HotelInventoryRestriction.responseType } open class Response { var statusCode:String? = null var recordCount:Int? = null var errorCount:Int? = null } open class InventoryRestriction { var hotelCode:String? = null var restrictionType:String? = null var restrictionCode:String? = null var restrictRateBy:String? = null var restrictRoomBy:String? = null var rateCode:String? = null var roomCode:String? = null var roomClass:String? = null var startDate:Date? = null var endDate:Date? = null var available:Boolean? = null var minLOS:Int? = null var minLOSThruStay:Int? = null var maxLOS:Int? = null var maxLOSThruStay:Int? = null var closedToArrival:Boolean? = null var closedToDeparture:Boolean? = null var includeMonday:Boolean? = null var includeTuesday:Boolean? = null var includeWednesday:Boolean? = null var includeThursday:Boolean? = null var includeFriday:Boolean? = null var includeSaturday:Boolean? = null var includeSunday:Boolean? = null var sourceName:String? = null var sourceID:String? = null }