/* Options: Date: 2024-07-03 12:34:04 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: CodeLockZesecUnlock.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/codelock/zesec/unlock", "POST") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privileges to call this service", StatusCode=403) // @ValidateRequest(Validator="IsAuthenticated") public class CodeLockZesecUnlock : IReturn, Codable { public typealias Return = CodeLockZesecUnlockResponse /** * The Company Id of the company you want to unlock the door for. */ // @ApiMember(Description="The Company Id of the company you want to unlock the door for.") public var companyId:String /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public var bookingId:Int required public init(){} } public class CodeLockZesecUnlockResponse : Codable { /** * The status for unlocking the door */ // @ApiMember(DataType="string", Description="The status for unlocking the door") public var status:String required public init(){} }