/* Options: Date: 2025-05-04 22:48:11 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: AddToSessionLog.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * Adds the specified log entry to the session log. */ // @Route("/sessions/{sessionId}/log", "POST") // @Api(Description="Adds the specified log entry to the session log.") class AddToSessionLog implements IReturnVoid, IConvertible, IPost { /** * The ID of the active session */ // @ApiMember(Description="The ID of the active session") String? sessionId; /** * The log text to add */ // @ApiMember(Description="The log text to add") String? logText; AddToSessionLog({this.sessionId,this.logText}); AddToSessionLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sessionId = json['sessionId']; logText = json['logText']; return this; } Map toJson() => { 'sessionId': sessionId, 'logText': logText }; createResponse() {} getTypeName() => "AddToSessionLog"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'AddToSessionLog': TypeInfo(TypeOf.Class, create:() => AddToSessionLog()), });