/* Options: Date: 2025-12-06 06:06:28 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: AgentMergeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class AgentMergeResponse implements IConvertible { ResponseStatus? ResponseStatus; bool? Success; AgentMergeResponse({this.ResponseStatus,this.Success}); AgentMergeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Success = json['Success']; return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Success': Success }; getTypeName() => "AgentMergeResponse"; TypeContext? context = _ctx; } // @Route("/v1/Agent/Merge", "POST,OPTIONS") class AgentMergeRequest implements IReturn, IConvertible, IPost { int? AgentTo; int? AgentFrom; AgentMergeRequest({this.AgentTo,this.AgentFrom}); AgentMergeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgentTo = json['AgentTo']; AgentFrom = json['AgentFrom']; return this; } Map toJson() => { 'AgentTo': AgentTo, 'AgentFrom': AgentFrom }; createResponse() => AgentMergeResponse(); getResponseTypeName() => "AgentMergeResponse"; getTypeName() => "AgentMergeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'AgentMergeResponse': TypeInfo(TypeOf.Class, create:() => AgentMergeResponse()), 'AgentMergeRequest': TypeInfo(TypeOf.Class, create:() => AgentMergeRequest()), });