/* Options: Date: 2025-12-06 07:33:10 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: ContactNBCRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ContactNBCResponse implements IConvertible { ResponseStatus? ResponseStatus; List? data = []; ContactNBCResponse({this.ResponseStatus,this.data}); ContactNBCResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); data = JsonConverters.fromJson(json['data'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'data': JsonConverters.toJson(data,'List',context!) }; getTypeName() => "ContactNBCResponse"; TypeContext? context = _ctx; } // @Route("/v1/Contact/{ContactId}/NBC", "GET") class ContactNBCRequest implements IReturn, IConvertible, IGet { int? ContactId; ContactNBCRequest({this.ContactId}); ContactNBCRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactId = json['ContactId']; return this; } Map toJson() => { 'ContactId': ContactId }; createResponse() => ContactNBCResponse(); getResponseTypeName() => "ContactNBCResponse"; getTypeName() => "ContactNBCRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ContactNBCResponse': TypeInfo(TypeOf.Class, create:() => ContactNBCResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ContactNBCRequest': TypeInfo(TypeOf.Class, create:() => ContactNBCRequest()), });