/* Options: Date: 2025-12-06 07:25:11 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: AgentRegistrationTempReportRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class AgentRegistrationTemp implements IConvertible { int? AgentRegistrationTempId; String? ApplicationId; String? Company; String? EIN; String? FirstName; String? MiddleName; String? LastName; String? Address1; String? Address2; String? City; String? State; String? Zip; String? Email; String? HomePhone; String? CellPhone; String? WorkPhone; bool? AgreeToDisclosures; DateTime? AgreeToDate; DateTime? PaidDate; String? AgentNumber; String? Upline1Name; int? Upline1; String? Upline2Name; int? Upline2; String? RecruitedBy; DateTime? CreatedDate; DateTime? DOB; String? SSN; String? Password; double? Upline1Percent; double? Upline2Percent; int? AgentId; String? AccountName; String? AccountType; String? AccountNumber; String? AccountRouting; String? w9_1; String? w9_2; String? w9_3_1; String? w9_3_2; String? w9_3_3; String? w9_3_4; String? w9_3_5; String? w9_3_6; String? w9_3_7; String? w9_3_8; String? w9_4_1; String? w9_4_2; String? w9_5; String? w9_6; String? w9_7; bool? IsSecurityLicensed; String? SecurityLicense; String? Position; String? School; String? District; String? StoreName; AgentRegistrationTemp({this.AgentRegistrationTempId,this.ApplicationId,this.Company,this.EIN,this.FirstName,this.MiddleName,this.LastName,this.Address1,this.Address2,this.City,this.State,this.Zip,this.Email,this.HomePhone,this.CellPhone,this.WorkPhone,this.AgreeToDisclosures,this.AgreeToDate,this.PaidDate,this.AgentNumber,this.Upline1Name,this.Upline1,this.Upline2Name,this.Upline2,this.RecruitedBy,this.CreatedDate,this.DOB,this.SSN,this.Password,this.Upline1Percent,this.Upline2Percent,this.AgentId,this.AccountName,this.AccountType,this.AccountNumber,this.AccountRouting,this.w9_1,this.w9_2,this.w9_3_1,this.w9_3_2,this.w9_3_3,this.w9_3_4,this.w9_3_5,this.w9_3_6,this.w9_3_7,this.w9_3_8,this.w9_4_1,this.w9_4_2,this.w9_5,this.w9_6,this.w9_7,this.IsSecurityLicensed,this.SecurityLicense,this.Position,this.School,this.District,this.StoreName}); AgentRegistrationTemp.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgentRegistrationTempId = json['AgentRegistrationTempId']; ApplicationId = json['ApplicationId']; Company = json['Company']; EIN = json['EIN']; FirstName = json['FirstName']; MiddleName = json['MiddleName']; LastName = json['LastName']; Address1 = json['Address1']; Address2 = json['Address2']; City = json['City']; State = json['State']; Zip = json['Zip']; Email = json['Email']; HomePhone = json['HomePhone']; CellPhone = json['CellPhone']; WorkPhone = json['WorkPhone']; AgreeToDisclosures = json['AgreeToDisclosures']; AgreeToDate = JsonConverters.fromJson(json['AgreeToDate'],'DateTime',context!); PaidDate = JsonConverters.fromJson(json['PaidDate'],'DateTime',context!); AgentNumber = json['AgentNumber']; Upline1Name = json['Upline1Name']; Upline1 = json['Upline1']; Upline2Name = json['Upline2Name']; Upline2 = json['Upline2']; RecruitedBy = json['RecruitedBy']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); DOB = JsonConverters.fromJson(json['DOB'],'DateTime',context!); SSN = json['SSN']; Password = json['Password']; Upline1Percent = JsonConverters.toDouble(json['Upline1Percent']); Upline2Percent = JsonConverters.toDouble(json['Upline2Percent']); AgentId = json['AgentId']; AccountName = json['AccountName']; AccountType = json['AccountType']; AccountNumber = json['AccountNumber']; AccountRouting = json['AccountRouting']; w9_1 = json['w9_1']; w9_2 = json['w9_2']; w9_3_1 = json['w9_3_1']; w9_3_2 = json['w9_3_2']; w9_3_3 = json['w9_3_3']; w9_3_4 = json['w9_3_4']; w9_3_5 = json['w9_3_5']; w9_3_6 = json['w9_3_6']; w9_3_7 = json['w9_3_7']; w9_3_8 = json['w9_3_8']; w9_4_1 = json['w9_4_1']; w9_4_2 = json['w9_4_2']; w9_5 = json['w9_5']; w9_6 = json['w9_6']; w9_7 = json['w9_7']; IsSecurityLicensed = json['IsSecurityLicensed']; SecurityLicense = json['SecurityLicense']; Position = json['Position']; School = json['School']; District = json['District']; StoreName = json['StoreName']; return this; } Map toJson() => { 'AgentRegistrationTempId': AgentRegistrationTempId, 'ApplicationId': ApplicationId, 'Company': Company, 'EIN': EIN, 'FirstName': FirstName, 'MiddleName': MiddleName, 'LastName': LastName, 'Address1': Address1, 'Address2': Address2, 'City': City, 'State': State, 'Zip': Zip, 'Email': Email, 'HomePhone': HomePhone, 'CellPhone': CellPhone, 'WorkPhone': WorkPhone, 'AgreeToDisclosures': AgreeToDisclosures, 'AgreeToDate': JsonConverters.toJson(AgreeToDate,'DateTime',context!), 'PaidDate': JsonConverters.toJson(PaidDate,'DateTime',context!), 'AgentNumber': AgentNumber, 'Upline1Name': Upline1Name, 'Upline1': Upline1, 'Upline2Name': Upline2Name, 'Upline2': Upline2, 'RecruitedBy': RecruitedBy, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'DOB': JsonConverters.toJson(DOB,'DateTime',context!), 'SSN': SSN, 'Password': Password, 'Upline1Percent': Upline1Percent, 'Upline2Percent': Upline2Percent, 'AgentId': AgentId, 'AccountName': AccountName, 'AccountType': AccountType, 'AccountNumber': AccountNumber, 'AccountRouting': AccountRouting, 'w9_1': w9_1, 'w9_2': w9_2, 'w9_3_1': w9_3_1, 'w9_3_2': w9_3_2, 'w9_3_3': w9_3_3, 'w9_3_4': w9_3_4, 'w9_3_5': w9_3_5, 'w9_3_6': w9_3_6, 'w9_3_7': w9_3_7, 'w9_3_8': w9_3_8, 'w9_4_1': w9_4_1, 'w9_4_2': w9_4_2, 'w9_5': w9_5, 'w9_6': w9_6, 'w9_7': w9_7, 'IsSecurityLicensed': IsSecurityLicensed, 'SecurityLicense': SecurityLicense, 'Position': Position, 'School': School, 'District': District, 'StoreName': StoreName }; getTypeName() => "AgentRegistrationTemp"; TypeContext? context = _ctx; } class AgentRegistrationTempExtended extends AgentRegistrationTemp implements IConvertible { String? FullName; String? Address; DateTime? ContractingComplete; DateTime? PackageMailed; String? TrackingNum; String? Upline1AgentName; String? Upline2AgentName; bool? HasAgreement; bool? IsAgent; AgentRegistrationTempExtended({this.FullName,this.Address,this.ContractingComplete,this.PackageMailed,this.TrackingNum,this.Upline1AgentName,this.Upline2AgentName,this.HasAgreement,this.IsAgent}); AgentRegistrationTempExtended.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); FullName = json['FullName']; Address = json['Address']; ContractingComplete = JsonConverters.fromJson(json['ContractingComplete'],'DateTime',context!); PackageMailed = JsonConverters.fromJson(json['PackageMailed'],'DateTime',context!); TrackingNum = json['TrackingNum']; Upline1AgentName = json['Upline1AgentName']; Upline2AgentName = json['Upline2AgentName']; HasAgreement = json['HasAgreement']; IsAgent = json['IsAgent']; return this; } Map toJson() => super.toJson()..addAll({ 'FullName': FullName, 'Address': Address, 'ContractingComplete': JsonConverters.toJson(ContractingComplete,'DateTime',context!), 'PackageMailed': JsonConverters.toJson(PackageMailed,'DateTime',context!), 'TrackingNum': TrackingNum, 'Upline1AgentName': Upline1AgentName, 'Upline2AgentName': Upline2AgentName, 'HasAgreement': HasAgreement, 'IsAgent': IsAgent }); getTypeName() => "AgentRegistrationTempExtended"; TypeContext? context = _ctx; } class AgentRegistrationTempReportResponse implements IConvertible { ResponseStatus? ResponseStatus; List? ReportData = []; AgentRegistrationTempReportResponse({this.ResponseStatus,this.ReportData}); AgentRegistrationTempReportResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); ReportData = JsonConverters.fromJson(json['ReportData'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'ReportData': JsonConverters.toJson(ReportData,'List',context!) }; getTypeName() => "AgentRegistrationTempReportResponse"; TypeContext? context = _ctx; } // @Route("/v1/AgentRegistrationTempReport", "GET") class AgentRegistrationTempReportRequest implements IReturn, IConvertible, IGet { AgentRegistrationTempReportRequest(); AgentRegistrationTempReportRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => AgentRegistrationTempReportResponse(); getResponseTypeName() => "AgentRegistrationTempReportResponse"; getTypeName() => "AgentRegistrationTempReportRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'AgentRegistrationTemp': TypeInfo(TypeOf.Class, create:() => AgentRegistrationTemp()), 'AgentRegistrationTempExtended': TypeInfo(TypeOf.Class, create:() => AgentRegistrationTempExtended()), 'AgentRegistrationTempReportResponse': TypeInfo(TypeOf.Class, create:() => AgentRegistrationTempReportResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AgentRegistrationTempReportRequest': TypeInfo(TypeOf.Class, create:() => AgentRegistrationTempReportRequest()), });