/* Options: Date: 2025-06-20 00:26:09 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SendLiveAnswerChatMessage.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class LiveAnswerMessage implements IConvertible { String? id; String? role; String? participant; String? content; String? date; LiveAnswerMessage({this.id,this.role,this.participant,this.content,this.date}); LiveAnswerMessage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; role = json['role']; participant = json['participant']; content = json['content']; date = json['date']; return this; } Map toJson() => { 'id': id, 'role': role, 'participant': participant, 'content': content, 'date': date }; getTypeName() => "LiveAnswerMessage"; TypeContext? context = _ctx; } // @Route("/nodes/live-answer-chat/send") class SendLiveAnswerChatMessage implements IReturn, IConvertible, IPost { String? chatToken; String? message; SendLiveAnswerChatMessage({this.chatToken,this.message}); SendLiveAnswerChatMessage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { chatToken = json['chatToken']; message = json['message']; return this; } Map toJson() => { 'chatToken': chatToken, 'message': message }; createResponse() => LiveAnswerMessage(); getResponseTypeName() => "LiveAnswerMessage"; getTypeName() => "SendLiveAnswerChatMessage"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'LiveAnswerMessage': TypeInfo(TypeOf.Class, create:() => LiveAnswerMessage()), 'SendLiveAnswerChatMessage': TypeInfo(TypeOf.Class, create:() => SendLiveAnswerChatMessage()), });