/* Options: Date: 2026-10-20 16:25:03 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://52.142.207.43:23770 //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateActionRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum UpdateAction { doCheckVersion, doNothing, doUpdate, doDowngrade, sendVersionlist, delete, install, execute, copy, move, Error, } class ModulVersionsInfo implements IConvertible { String? Modul; String? PruefAssembly; bool? istTestVersion; bool? istDisabled; String? URL; bool? willTestVersion; int? Major; int? Minor; int? Build; int? Revision; ModulVersionsInfo({this.Modul,this.PruefAssembly,this.istTestVersion,this.istDisabled,this.URL,this.willTestVersion,this.Major,this.Minor,this.Build,this.Revision}); ModulVersionsInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Modul = json['Modul']; PruefAssembly = json['PruefAssembly']; istTestVersion = json['istTestVersion']; istDisabled = json['istDisabled']; URL = json['URL']; willTestVersion = json['willTestVersion']; Major = json['Major']; Minor = json['Minor']; Build = json['Build']; Revision = json['Revision']; return this; } Map toJson() => { 'Modul': Modul, 'PruefAssembly': PruefAssembly, 'istTestVersion': istTestVersion, 'istDisabled': istDisabled, 'URL': URL, 'willTestVersion': willTestVersion, 'Major': Major, 'Minor': Minor, 'Build': Build, 'Revision': Revision }; getTypeName() => "ModulVersionsInfo"; TypeContext? context = _ctx; } class UpdateActionResponse implements IConvertible { UpdateAction? Answer; String? AnswerInfo1; String? AnswerInfo2; Map? ModulVersionen; UpdateActionResponse({this.Answer,this.AnswerInfo1,this.AnswerInfo2,this.ModulVersionen}); UpdateActionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Answer = JsonConverters.fromJson(json['Answer'],'UpdateAction',context!); AnswerInfo1 = json['AnswerInfo1']; AnswerInfo2 = json['AnswerInfo2']; ModulVersionen = JsonConverters.fromJson(json['ModulVersionen'],'Map',context!); return this; } Map toJson() => { 'Answer': JsonConverters.toJson(Answer,'UpdateAction',context!), 'AnswerInfo1': AnswerInfo1, 'AnswerInfo2': AnswerInfo2, 'ModulVersionen': JsonConverters.toJson(ModulVersionen,'Map',context!) }; getTypeName() => "UpdateActionResponse"; TypeContext? context = _ctx; } class UpdateActionRequest implements IReturn, IConvertible, IPost { String? CryptedLicenseNr; String? CryptedStamp; UpdateAction? Action; UpdateActionRequest({this.CryptedLicenseNr,this.CryptedStamp,this.Action}); UpdateActionRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CryptedLicenseNr = json['CryptedLicenseNr']; CryptedStamp = json['CryptedStamp']; Action = JsonConverters.fromJson(json['Action'],'UpdateAction',context!); return this; } Map toJson() => { 'CryptedLicenseNr': CryptedLicenseNr, 'CryptedStamp': CryptedStamp, 'Action': JsonConverters.toJson(Action,'UpdateAction',context!) }; createResponse() => UpdateActionResponse(); getResponseTypeName() => "UpdateActionResponse"; getTypeName() => "UpdateActionRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: '52.142.207.43', types: { 'UpdateAction': TypeInfo(TypeOf.Enum, enumValues:UpdateAction.values), 'ModulVersionsInfo': TypeInfo(TypeOf.Class, create:() => ModulVersionsInfo()), 'UpdateActionResponse': TypeInfo(TypeOf.Class, create:() => UpdateActionResponse()), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), 'UpdateActionRequest': TypeInfo(TypeOf.Class, create:() => UpdateActionRequest()), });