/* Options: Date: 2024-11-21 11:49:26 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: GetAllBookingQueueForAdmin.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/bookinguserqueue/company", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") public class GetAllBookingQueueForAdmin : IReturn, Codable { public typealias Return = GetAllBookingQueueForUserResponse public var companyId:String? public var serviceId:Int public var dateStart:Date? public var dateEnd:Date? required public init(){} } public class GetAllBookingQueueForUserResponse : Codable { public var bookingUserQueueResponseList:[BookingUserQueueItemResponse] = [] public var responseStatus:ResponseStatus required public init(){} } public class BookingUserQueueItemResponse : Codable { public var bookingUserQueueId:Int public var companyId:String public var customerId:String public var serviceId:Int public var from:Date public var to:Date public var statusCode:Int public var statusName:String public var sendConfirmationTime:Date? public var quantities:[BookingUserQueuePriceResponse] = [] public var service:ServiceInfoResponse public var company:CompanyInfoResponse required public init(){} }