/* Options: Date: 2024-11-21 11:32:20 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CodeLockZesecUnlock.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/codelock/zesec/unlock", Verbs="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") open class CodeLockZesecUnlock : IReturn { /** * 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.") var CompanyId:UUID? = null /** * 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.") var BookingId:Int? = null companion object { private val responseType = CodeLockZesecUnlockResponse::class.java } override fun getResponseType(): Any? = CodeLockZesecUnlock.responseType } open class CodeLockZesecUnlockResponse { /** * The status for unlocking the door */ @ApiMember(DataType="string", Description="The status for unlocking the door") var Status:String? = null }