/* Options: Date: 2024-10-18 04:15:08 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateDraftCorporateIdentityMail.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; 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 RegistrationProfileFieldStateBase implements IConvertible { String? DocumentFieldID; bool? Required; bool? Visible; bool? Readonly; RegistrationProfileFieldStateBase({this.DocumentFieldID,this.Required,this.Visible,this.Readonly}); RegistrationProfileFieldStateBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentFieldID = json['DocumentFieldID']; Required = json['Required']; Visible = json['Visible']; Readonly = json['Readonly']; return this; } Map toJson() => { 'DocumentFieldID': DocumentFieldID, 'Required': Required, 'Visible': Visible, 'Readonly': Readonly }; getTypeName() => "RegistrationProfileFieldStateBase"; TypeContext? context = _ctx; } class Transition implements IConvertible { String? ID; String? Reason; DateTime? DelayDate; String? DelayReason; List? UserIDs; List? GroupIDs; Transition({this.ID,this.Reason,this.DelayDate,this.DelayReason,this.UserIDs,this.GroupIDs}); Transition.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Reason = json['Reason']; DelayDate = JsonConverters.fromJson(json['DelayDate'],'DateTime',context!); DelayReason = json['DelayReason']; UserIDs = JsonConverters.fromJson(json['UserIDs'],'List',context!); GroupIDs = JsonConverters.fromJson(json['GroupIDs'],'List',context!); return this; } Map toJson() => { 'ID': ID, 'Reason': Reason, 'DelayDate': JsonConverters.toJson(DelayDate,'DateTime',context!), 'DelayReason': DelayReason, 'UserIDs': JsonConverters.toJson(UserIDs,'List',context!), 'GroupIDs': JsonConverters.toJson(GroupIDs,'List',context!) }; getTypeName() => "Transition"; TypeContext? context = _ctx; } class Process implements IConvertible { int? ID; String? Title; String? Description; String? Note; String? Coordinator; bool? Urgent; List? Transitions; Process({this.ID,this.Title,this.Description,this.Note,this.Coordinator,this.Urgent,this.Transitions}); Process.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Title = json['Title']; Description = json['Description']; Note = json['Note']; Coordinator = json['Coordinator']; Urgent = json['Urgent']; Transitions = JsonConverters.fromJson(json['Transitions'],'List',context!); return this; } Map toJson() => { 'ID': ID, 'Title': Title, 'Description': Description, 'Note': Note, 'Coordinator': Coordinator, 'Urgent': Urgent, 'Transitions': JsonConverters.toJson(Transitions,'List',context!) }; getTypeName() => "Process"; TypeContext? context = _ctx; } class CorporateIdentityMail implements IConvertible { String? DocumentId; String? EmailHtml; bool? IsRegistered; String? DocumentNr; List? Values; String? RegistrationProfileID; bool? RegisterAutomatically; CorporateIdentityMail({this.DocumentId,this.EmailHtml,this.IsRegistered,this.DocumentNr,this.Values,this.RegistrationProfileID,this.RegisterAutomatically}); CorporateIdentityMail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentId = json['DocumentId']; EmailHtml = json['EmailHtml']; IsRegistered = json['IsRegistered']; DocumentNr = json['DocumentNr']; Values = JsonConverters.fromJson(json['Values'],'List',context!); RegistrationProfileID = json['RegistrationProfileID']; RegisterAutomatically = json['RegisterAutomatically']; return this; } Map toJson() => { 'DocumentId': DocumentId, 'EmailHtml': EmailHtml, 'IsRegistered': IsRegistered, 'DocumentNr': DocumentNr, 'Values': JsonConverters.toJson(Values,'List',context!), 'RegistrationProfileID': RegistrationProfileID, 'RegisterAutomatically': RegisterAutomatically }; getTypeName() => "CorporateIdentityMail"; TypeContext? context = _ctx; } class CreateDraftCorporateIdentityMail extends Outlook365Properties implements IReturn, IConvertible { String? RegistrationProfileID; List? Values; List? Processes; String? DocumentUploadId; String? MessageQueueId; String? ReplyEmailHtml; CreateDraftCorporateIdentityMail({this.RegistrationProfileID,this.Values,this.Processes,this.DocumentUploadId,this.MessageQueueId,this.ReplyEmailHtml}); CreateDraftCorporateIdentityMail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); RegistrationProfileID = json['RegistrationProfileID']; Values = JsonConverters.fromJson(json['Values'],'List',context!); Processes = JsonConverters.fromJson(json['Processes'],'List',context!); DocumentUploadId = json['DocumentUploadId']; MessageQueueId = json['MessageQueueId']; ReplyEmailHtml = json['ReplyEmailHtml']; return this; } Map toJson() => super.toJson()..addAll({ 'RegistrationProfileID': RegistrationProfileID, 'Values': JsonConverters.toJson(Values,'List',context!), 'Processes': JsonConverters.toJson(Processes,'List',context!), 'DocumentUploadId': DocumentUploadId, 'MessageQueueId': MessageQueueId, 'ReplyEmailHtml': ReplyEmailHtml }); createResponse() => CorporateIdentityMail(); getResponseTypeName() => "CorporateIdentityMail"; getTypeName() => "CreateDraftCorporateIdentityMail"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'RegistrationValue': TypeInfo(TypeOf.Class, create:() => RegistrationValue()), 'Outlook365Properties': TypeInfo(TypeOf.AbstractClass), 'RegistrationProfileFieldStateBase': TypeInfo(TypeOf.Class, create:() => RegistrationProfileFieldStateBase()), 'Transition': TypeInfo(TypeOf.Class, create:() => Transition()), 'Process': TypeInfo(TypeOf.Class, create:() => Process()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CorporateIdentityMail': TypeInfo(TypeOf.Class, create:() => CorporateIdentityMail()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CreateDraftCorporateIdentityMail': TypeInfo(TypeOf.Class, create:() => CreateDraftCorporateIdentityMail()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), });