/* Options: Date: 2024-07-03 13:37:33 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: CustomFieldSlotsQuery.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class CustomFieldSlotsQueryResponse { /** @description Table to which the field belongs */ // @ApiMember(Description="Table to which the field belongs") public Table: string; /** @description Custom field id */ // @ApiMember(Description="Custom field id") public Id: number; /** @description Custom field column name */ // @ApiMember(Description="Custom field column name") public Name: string; /** @description The field datatype */ // @ApiMember(Description="The field datatype") public Datatype: string; /** @description If the slot is free or occupied */ // @ApiMember(Description="If the slot is free or occupied") public Occupied: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/customfields/slots", "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 CustomFieldSlotsQuery implements IReturn, ICompany { /** @description Company id to find custom fields for */ // @ApiMember(Description="Company id to find custom fields for", ParameterType="query") public CompanyId?: string; /** @description Table to which the field belongs */ // @ApiMember(Description="Table to which the field belongs", IsRequired=true) public Table: string; /** @description If you want to receive only free slots (not occupied). */ // @ApiMember(Description="If you want to receive only free slots (not occupied).") public FreeSlots?: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CustomFieldSlotsQuery'; } public getMethod() { return 'GET'; } public createResponse() { return new CustomFieldSlotsQueryResponse(); } }