/* Options: Date: 2025-12-06 07:53:02 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: ContactApplicationRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ActivityTracker_Application implements IConvertible { String? ContactName; String? Carriers; int? ApplicationId; int? ContactId; double? LifeAP; double? AnnuityFlow; double? AnnuityTransfer; DateTime? DateCreated; ActivityTracker_Application({this.ContactName,this.Carriers,this.ApplicationId,this.ContactId,this.LifeAP,this.AnnuityFlow,this.AnnuityTransfer,this.DateCreated}); ActivityTracker_Application.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactName = json['ContactName']; Carriers = json['Carriers']; ApplicationId = json['ApplicationId']; ContactId = json['ContactId']; LifeAP = JsonConverters.toDouble(json['LifeAP']); AnnuityFlow = JsonConverters.toDouble(json['AnnuityFlow']); AnnuityTransfer = JsonConverters.toDouble(json['AnnuityTransfer']); DateCreated = JsonConverters.fromJson(json['DateCreated'],'DateTime',context!); return this; } Map toJson() => { 'ContactName': ContactName, 'Carriers': Carriers, 'ApplicationId': ApplicationId, 'ContactId': ContactId, 'LifeAP': LifeAP, 'AnnuityFlow': AnnuityFlow, 'AnnuityTransfer': AnnuityTransfer, 'DateCreated': JsonConverters.toJson(DateCreated,'DateTime',context!) }; getTypeName() => "ActivityTracker_Application"; TypeContext? context = _ctx; } class ContactActivityResponse implements IConvertible { ResponseStatus? ResponseStatus; List? data = []; ContactActivityResponse({this.ResponseStatus,this.data}); ContactActivityResponse.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() => "ContactActivityResponse"; TypeContext? context = _ctx; } // @Route("/v1/Contact/{ContactId}/Application", "POST,OPTIONS") class ContactApplicationRequest implements IReturn, IConvertible, IPost { int? ContactId; ActivityTracker_Application? Application; ContactApplicationRequest({this.ContactId,this.Application}); ContactApplicationRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactId = json['ContactId']; Application = JsonConverters.fromJson(json['Application'],'ActivityTracker_Application',context!); return this; } Map toJson() => { 'ContactId': ContactId, 'Application': JsonConverters.toJson(Application,'ActivityTracker_Application',context!) }; createResponse() => ContactActivityResponse(); getResponseTypeName() => "ContactActivityResponse"; getTypeName() => "ContactApplicationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ActivityTracker_Application': TypeInfo(TypeOf.Class, create:() => ActivityTracker_Application()), 'ContactActivityResponse': TypeInfo(TypeOf.Class, create:() => ContactActivityResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ContactApplicationRequest': TypeInfo(TypeOf.Class, create:() => ContactApplicationRequest()), });