/* Options: Date: 2024-06-26 08:21:26 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateUser.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class CreateUserResponse { public ResponseStatus: Object; public Id?: string; public UserId?: string; public Email: string; public Firstname: string; public Lastname: string; public Phone: string; public CreatedDate?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/users", "POST") // @ApiResponse(Description="Returned if there is a validation error on the input parameters", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) export class CreateUser implements IReturn { // @ApiMember(IsRequired=true) public Firstname: string; // @ApiMember(IsRequired=true) public Lastname: string; // @ApiMember() public Phone: string; // @ApiMember(IsRequired=true) public Email: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CreateUser'; } public getMethod() { return 'POST'; } public createResponse() { return new CreateUserResponse(); } }