/* Options: Date: 2024-11-21 12:09:29 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: CustomFieldValidationsQuery.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class CustomFieldValidationsQueryResponse { /** @description The validation id */ // @ApiMember(Description="The validation id") public Id: number; /** @description The validation name */ // @ApiMember(Description="The validation name") public Name: string; /** @description The valiidation description */ // @ApiMember(Description="The valiidation description") public Description: string; /** @description The valiidation regular expression */ // @ApiMember(Description="The valiidation regular expression") public RegExCode: string; /** @description The valiidation error message */ // @ApiMember(Description="The valiidation error message") public ErrorMessage: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/customfields/validations", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) // @ValidateRequest(Validator="IsAuthenticated") export class CustomFieldValidationsQuery implements IReturn { public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CustomFieldValidationsQuery'; } public getMethod() { return 'GET'; } public createResponse() { return new CustomFieldValidationsQueryResponse(); } }