/* Options: Date: 2026-03-31 18:44:38 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test-dogw.klokgroep.nl/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: AddStatistic.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Add a statistic entity. */ // @Route("/statistics", "POST") // @Api(Description="Add a statistic entity.") public class AddStatistic : IReturnVoid, Codable { /** * Computername */ // @ApiMember(Description="Computername", IsRequired=true) public var computer:String? /** * Program for the statistic entry */ // @ApiMember(Description="Program for the statistic entry", IsRequired=true) public var programName:ProgramName? /** * Version of the program */ // @ApiMember(Description="Version of the program") public var programVersion:String? /** * Action of statistic */ // @ApiMember(Description="Action of statistic", IsRequired=true) public var action:Action? /** * First parameter */ // @ApiMember(Description="First parameter", IsRequired=true) public var param1:String? /** * Second parameter */ // @ApiMember(Description="Second parameter") public var param2:String? /** * Duration of action */ // @ApiMember(Description="Duration of action") public var duration:Int? required public init(){} } public enum ProgramName : String, Codable { case DO4Outlook case DO4Word case DO4Excel case DO4PowerPoint case ITS case Other case DigiOfficeMobile } public enum Action : String, Codable { case Start case Command case NewDoc case ChangeDoc case NewVersion case Send case Other }