/* Options: Date: 2026-10-20 16:29:29 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: LicenseActionRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum LicenseAction { Check, IsOK, KombinationNotOK, LicenseUnknown, RegisterLicense, HasFreeLicense, NoFreeLicense, LicenseIsNowRegistered, Error, WarningExceeded, } class LicenseActionResponse implements IConvertible { LicenseAction? Answer; LicenseActionResponse({this.Answer}); LicenseActionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Answer = JsonConverters.fromJson(json['Answer'],'LicenseAction',context!); return this; } Map toJson() => { 'Answer': JsonConverters.toJson(Answer,'LicenseAction',context!) }; getTypeName() => "LicenseActionResponse"; TypeContext? context = _ctx; } class LicenseActionRequest implements IReturn, IConvertible, IPost { String? CryptedLicenseNr; String? CryptedStamp; String? HostName; LicenseAction? Action; LicenseActionRequest({this.CryptedLicenseNr,this.CryptedStamp,this.HostName,this.Action}); LicenseActionRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CryptedLicenseNr = json['CryptedLicenseNr']; CryptedStamp = json['CryptedStamp']; HostName = json['HostName']; Action = JsonConverters.fromJson(json['Action'],'LicenseAction',context!); return this; } Map toJson() => { 'CryptedLicenseNr': CryptedLicenseNr, 'CryptedStamp': CryptedStamp, 'HostName': HostName, 'Action': JsonConverters.toJson(Action,'LicenseAction',context!) }; createResponse() => LicenseActionResponse(); getResponseTypeName() => "LicenseActionResponse"; getTypeName() => "LicenseActionRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: '52.142.207.43', types: { 'LicenseAction': TypeInfo(TypeOf.Enum, enumValues:LicenseAction.values), 'LicenseActionResponse': TypeInfo(TypeOf.Class, create:() => LicenseActionResponse()), 'LicenseActionRequest': TypeInfo(TypeOf.Class, create:() => LicenseActionRequest()), });