/* Options: Date: 2026-10-20 16:18:50 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: ERAS2ClientNotificationRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ERAS2ClientNotification implements IConvertible { int? noteID; String? infotext; DateTime? valid_from; DateTime? valid_to; String? valid_version; String? license; ERAS2ClientNotification({this.noteID,this.infotext,this.valid_from,this.valid_to,this.valid_version,this.license}); ERAS2ClientNotification.fromJson(Map json) { fromMap(json); } fromMap(Map json) { noteID = json['noteID']; infotext = json['infotext']; valid_from = JsonConverters.fromJson(json['valid_from'],'DateTime',context!); valid_to = JsonConverters.fromJson(json['valid_to'],'DateTime',context!); valid_version = json['valid_version']; license = json['license']; return this; } Map toJson() => { 'noteID': noteID, 'infotext': infotext, 'valid_from': JsonConverters.toJson(valid_from,'DateTime',context!), 'valid_to': JsonConverters.toJson(valid_to,'DateTime',context!), 'valid_version': valid_version, 'license': license }; getTypeName() => "ERAS2ClientNotification"; TypeContext? context = _ctx; } class ERAS2ClientNotificationResponse implements IConvertible { List? notifications; ERAS2ClientNotificationResponse({this.notifications}); ERAS2ClientNotificationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { notifications = JsonConverters.fromJson(json['notifications'],'List',context!); return this; } Map toJson() => { 'notifications': JsonConverters.toJson(notifications,'List',context!) }; getTypeName() => "ERAS2ClientNotificationResponse"; TypeContext? context = _ctx; } class ERAS2ClientNotificationRequest implements IReturn, IConvertible, IPost { String? eras2_version; String? eras2_license; String? CallingOS; String? CallingOSArchitecture; String? LocalIP; String? CallingHost; String? CallingUser; String? CallingDomain; ERAS2ClientNotificationRequest({this.eras2_version,this.eras2_license,this.CallingOS,this.CallingOSArchitecture,this.LocalIP,this.CallingHost,this.CallingUser,this.CallingDomain}); ERAS2ClientNotificationRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { eras2_version = json['eras2_version']; eras2_license = json['eras2_license']; CallingOS = json['CallingOS']; CallingOSArchitecture = json['CallingOSArchitecture']; LocalIP = json['LocalIP']; CallingHost = json['CallingHost']; CallingUser = json['CallingUser']; CallingDomain = json['CallingDomain']; return this; } Map toJson() => { 'eras2_version': eras2_version, 'eras2_license': eras2_license, 'CallingOS': CallingOS, 'CallingOSArchitecture': CallingOSArchitecture, 'LocalIP': LocalIP, 'CallingHost': CallingHost, 'CallingUser': CallingUser, 'CallingDomain': CallingDomain }; createResponse() => ERAS2ClientNotificationResponse(); getResponseTypeName() => "ERAS2ClientNotificationResponse"; getTypeName() => "ERAS2ClientNotificationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: '52.142.207.43', types: { 'ERAS2ClientNotification': TypeInfo(TypeOf.Class, create:() => ERAS2ClientNotification()), 'ERAS2ClientNotificationResponse': TypeInfo(TypeOf.Class, create:() => ERAS2ClientNotificationResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ERAS2ClientNotificationRequest': TypeInfo(TypeOf.Class, create:() => ERAS2ClientNotificationRequest()), });