/* Options: Date: 2024-10-18 04:30:31 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddStatistic.* //ExcludeTypes: //DefaultImports: */ export interface IReturnVoid { createResponse(): void; } export enum ProgramName { DO4Outlook = 'DO4Outlook', DO4Word = 'DO4Word', DO4Excel = 'DO4Excel', DO4PowerPoint = 'DO4PowerPoint', ITS = 'ITS', Other = 'Other', } export enum Action { Start = 'Start', Command = 'Command', Other = 'Other', } /** * Add a statistic entity. */ // @Route("/statistics", "POST") // @Api(Description="Add a statistic entity.") export class AddStatistic implements IReturnVoid { /** * Computername */ // @ApiMember(Description="Computername", IsRequired=true) public Computer: string; /** * Program for the statistic entry */ // @ApiMember(Description="Program for the statistic entry", IsRequired=true) public ProgramName: ProgramName; /** * Version of the program */ // @ApiMember(Description="Version of the program") public ProgramVersion: string; /** * Action of statistic */ // @ApiMember(Description="Action of statistic", IsRequired=true) public Action: Action; /** * First parameter */ // @ApiMember(Description="First parameter", IsRequired=true) public Param1: string; /** * Second parameter */ // @ApiMember(Description="Second parameter") public Param2: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AddStatistic'; } public getMethod() { return 'POST'; } public createResponse() {} }