/* Options: Date: 2026-02-08 12:28:38 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: MergeContactsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class MergeContactsResponse implements IConvertible { ResponseStatus? ResponseStatus; MergeContactsResponse({this.ResponseStatus}); MergeContactsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "MergeContactsResponse"; TypeContext? context = _ctx; } // @Route("/v1/MergeContact/{PrimaryContact}/{SecondaryContact}", "POST,OPTIONS") class MergeContactsRequest implements IReturn, IConvertible, IPost { int? PrimaryContact; int? SecondaryContact; MergeContactsRequest({this.PrimaryContact,this.SecondaryContact}); MergeContactsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PrimaryContact = json['PrimaryContact']; SecondaryContact = json['SecondaryContact']; return this; } Map toJson() => { 'PrimaryContact': PrimaryContact, 'SecondaryContact': SecondaryContact }; createResponse() => MergeContactsResponse(); getResponseTypeName() => "MergeContactsResponse"; getTypeName() => "MergeContactsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'MergeContactsResponse': TypeInfo(TypeOf.Class, create:() => MergeContactsResponse()), 'MergeContactsRequest': TypeInfo(TypeOf.Class, create:() => MergeContactsRequest()), });