/* Options: Date: 2024-10-18 04:27:55 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddStatistic.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* /** * Add a statistic entity. */ @Route(Path="/statistics", Verbs="POST") @Api(Description="Add a statistic entity.") open class AddStatistic : IReturnVoid { /** * Computername */ @ApiMember(Description="Computername", IsRequired=true) var Computer:String? = null /** * Program for the statistic entry */ @ApiMember(Description="Program for the statistic entry", IsRequired=true) var ProgramName:ProgramName? = null /** * Version of the program */ @ApiMember(Description="Version of the program") var ProgramVersion:String? = null /** * Action of statistic */ @ApiMember(Description="Action of statistic", IsRequired=true) var Action:Action? = null /** * First parameter */ @ApiMember(Description="First parameter", IsRequired=true) var Param1:String? = null /** * Second parameter */ @ApiMember(Description="Second parameter") var Param2:String? = null } enum class ProgramName { DO4Outlook, DO4Word, DO4Excel, DO4PowerPoint, Its, Other, } enum class Action { Start, Command, Other, }