/* Options: Date: 2026-08-10 14:51:18 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ReceptionistMessageRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ReceptionistMessageResponse implements IConvertible { String? TaskId; ResponseStatus? ResponseStatus; ReceptionistMessageResponse({this.TaskId,this.ResponseStatus}); ReceptionistMessageResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TaskId = json['TaskId']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'TaskId': TaskId, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ReceptionistMessageResponse"; TypeContext? context = _ctx; } // @Route("/v1/receptionist/tool/message", "POST,OPTIONS") class ReceptionistMessageRequest implements IReturn, IConvertible, IPost { String? Slug; String? CallerName; String? CallerPhone; String? Reason; ReceptionistMessageRequest({this.Slug,this.CallerName,this.CallerPhone,this.Reason}); ReceptionistMessageRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Slug = json['Slug']; CallerName = json['CallerName']; CallerPhone = json['CallerPhone']; Reason = json['Reason']; return this; } Map toJson() => { 'Slug': Slug, 'CallerName': CallerName, 'CallerPhone': CallerPhone, 'Reason': Reason }; createResponse() => ReceptionistMessageResponse(); getResponseTypeName() => "ReceptionistMessageResponse"; getTypeName() => "ReceptionistMessageRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ReceptionistMessageResponse': TypeInfo(TypeOf.Class, create:() => ReceptionistMessageResponse()), 'ReceptionistMessageRequest': TypeInfo(TypeOf.Class, create:() => ReceptionistMessageRequest()), });