/* Options: Date: 2025-07-04 11:02:36 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://doapigw.baasbv.nl/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SaveDraftMail.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class RegistrationValue implements IConvertible { String? Key; String? Value; String? ShadowValue; RegistrationValue({this.Key,this.Value,this.ShadowValue}); RegistrationValue.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Key = json['Key']; Value = json['Value']; ShadowValue = json['ShadowValue']; return this; } Map toJson() => { 'Key': Key, 'Value': Value, 'ShadowValue': ShadowValue }; getTypeName() => "RegistrationValue"; TypeContext? context = _ctx; } abstract class Outlook365Properties { String? PidTag; String? ItemId; String? EwsUrl; String? Token; Outlook365Properties({this.PidTag,this.ItemId,this.EwsUrl,this.Token}); Outlook365Properties.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PidTag = json['PidTag']; ItemId = json['ItemId']; EwsUrl = json['EwsUrl']; Token = json['Token']; return this; } Map toJson() => { 'PidTag': PidTag, 'ItemId': ItemId, 'EwsUrl': EwsUrl, 'Token': Token }; getTypeName() => "Outlook365Properties"; TypeContext? context = _ctx; } class SaveDraftMail extends Outlook365Properties implements IReturn, IConvertible, IPost { String? RegistrationProfileID; List? Values; SaveDraftMail({this.RegistrationProfileID,this.Values}); SaveDraftMail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); RegistrationProfileID = json['RegistrationProfileID']; Values = JsonConverters.fromJson(json['Values'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'RegistrationProfileID': RegistrationProfileID, 'Values': JsonConverters.toJson(Values,'List',context!) }); createResponse() => bool(); getResponseTypeName() => "bool"; getTypeName() => "SaveDraftMail"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'doapigw.baasbv.nl', types: { 'RegistrationValue': TypeInfo(TypeOf.Class, create:() => RegistrationValue()), 'Outlook365Properties': TypeInfo(TypeOf.AbstractClass), 'SaveDraftMail': TypeInfo(TypeOf.Class, create:() => SaveDraftMail()), 'List': TypeInfo(TypeOf.Class, create:() => []), });