/* Options: Date: 2025-05-04 23:41:44 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: SendEndpointMessage.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/chat/endpoint/message") class SendEndpointMessage implements IConvertible, IPost { String? sessionId; String? endpointId; String? body; String? attachmentUri; String? attachmentContentType; String? sender; String? displayName; SendEndpointMessage({this.sessionId,this.endpointId,this.body,this.attachmentUri,this.attachmentContentType,this.sender,this.displayName}); SendEndpointMessage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sessionId = json['sessionId']; endpointId = json['endpointId']; body = json['body']; attachmentUri = json['attachmentUri']; attachmentContentType = json['attachmentContentType']; sender = json['sender']; displayName = json['displayName']; return this; } Map toJson() => { 'sessionId': sessionId, 'endpointId': endpointId, 'body': body, 'attachmentUri': attachmentUri, 'attachmentContentType': attachmentContentType, 'sender': sender, 'displayName': displayName }; getTypeName() => "SendEndpointMessage"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'SendEndpointMessage': TypeInfo(TypeOf.Class, create:() => SendEndpointMessage()), });