/* Options:
Date: 2025-04-14 15:00:16
Version: 8.23
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://api.bokamera.se

//GlobalNamespace: 
//MakePropertiesOptional: False
//AddServiceStackTypes: True
//AddResponseStatus: False
//AddImplicitVersion: 
//AddDescriptionAsComments: True
IncludeTypes: CodeLockZesecUnlock.*
//ExcludeTypes: 
//DefaultImports: 
*/


export interface IReturn<T>
{
    createResponse(): T;
}

export class CodeLockZesecUnlockResponse
{
    /** @description The status for unlocking the door */
    // @ApiMember(DataType="string", Description="The status for unlocking the door")
    public Status: string;

    public constructor(init?: Partial<CodeLockZesecUnlockResponse>) { (Object as any).assign(this, init); }
}

// @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")
export class CodeLockZesecUnlock implements IReturn<CodeLockZesecUnlockResponse>
{
    /** @description 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 CompanyId: string;

    /** @description 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 BookingId: number;

    public constructor(init?: Partial<CodeLockZesecUnlock>) { (Object as any).assign(this, init); }
    public getTypeName() { return 'CodeLockZesecUnlock'; }
    public getMethod() { return 'POST'; }
    public createResponse() { return new CodeLockZesecUnlockResponse(); }
}