/* Options: Date: 2026-02-14 18:03:47 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: LiveAnswerSendEmail.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class LiveAnswerEmailRecipient implements IConvertible { String? name; String? address; LiveAnswerEmailRecipient({this.name,this.address}); LiveAnswerEmailRecipient.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; address = json['address']; return this; } Map toJson() => { 'name': name, 'address': address }; getTypeName() => "LiveAnswerEmailRecipient"; TypeContext? context = _ctx; } // @Route("/nodes/live-answer/email") class LiveAnswerSendEmail implements IConvertible, IPost { String? flowId; String? sessionId; String? nodeId; String? clientId; String? subject; String? body; List? to; List? cc; List? bcc; LiveAnswerSendEmail({this.flowId,this.sessionId,this.nodeId,this.clientId,this.subject,this.body,this.to,this.cc,this.bcc}); LiveAnswerSendEmail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { flowId = json['flowId']; sessionId = json['sessionId']; nodeId = json['nodeId']; clientId = json['clientId']; subject = json['subject']; body = json['body']; to = JsonConverters.fromJson(json['to'],'List',context!); cc = JsonConverters.fromJson(json['cc'],'List',context!); bcc = JsonConverters.fromJson(json['bcc'],'List',context!); return this; } Map toJson() => { 'flowId': flowId, 'sessionId': sessionId, 'nodeId': nodeId, 'clientId': clientId, 'subject': subject, 'body': body, 'to': JsonConverters.toJson(to,'List',context!), 'cc': JsonConverters.toJson(cc,'List',context!), 'bcc': JsonConverters.toJson(bcc,'List',context!) }; getTypeName() => "LiveAnswerSendEmail"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'evovoice.io', types: { 'LiveAnswerEmailRecipient': TypeInfo(TypeOf.Class, create:() => LiveAnswerEmailRecipient()), 'LiveAnswerSendEmail': TypeInfo(TypeOf.Class, create:() => LiveAnswerSendEmail()), 'List': TypeInfo(TypeOf.Class, create:() => []), });