/* Options: Date: 2024-06-17 08:00:11 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: GetAllBookingQueueForUser.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/bookinguserqueue/user", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") public class GetAllBookingQueueForUser : IReturn, Codable { public typealias Return = GetAllBookingQueueForUserResponse /** * The user id for your profile. If not set it will set it automatically from your session */ // @ApiMember(Description="The user id for your profile. If not set it will set it automatically from your session") public var userId:String? public var dateStart:Date? public var dateEnd:Date? /** * If you want to include the service information for the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the service information for the booking", ParameterType="query") public var includeServiceInformation:Bool /** * If you want to include the company information for the booking */ // @ApiMember(DataType="boolean", Description="If you want to include the company information for the booking", ParameterType="query") public var includeCompanyInformation:Bool 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(){} }