/* Options: Date: 2025-07-18 01:20:27 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://hcbtas-q-albamfs-api.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SiteContextReq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; import 'dart:collection'; class Time implements IConvertible { int? hours; int? minutes; Time({this.hours,this.minutes}); Time.fromJson(Map json) { fromMap(json); } fromMap(Map json) { hours = json['hours']; minutes = json['minutes']; return this; } Map toJson() => { 'hours': hours, 'minutes': minutes }; getTypeName() => "Time"; TypeContext? context = _ctx; } class OpeningHours implements IConvertible { Time? opening; Time? lunchStart; Time? lunchEnd; Time? closing; OpeningHours({this.opening,this.lunchStart,this.lunchEnd,this.closing}); OpeningHours.fromJson(Map json) { fromMap(json); } fromMap(Map json) { opening = JsonConverters.fromJson(json['opening'],'Time',context!); lunchStart = JsonConverters.fromJson(json['lunchStart'],'Time',context!); lunchEnd = JsonConverters.fromJson(json['lunchEnd'],'Time',context!); closing = JsonConverters.fromJson(json['closing'],'Time',context!); return this; } Map toJson() => { 'opening': JsonConverters.toJson(opening,'Time',context!), 'lunchStart': JsonConverters.toJson(lunchStart,'Time',context!), 'lunchEnd': JsonConverters.toJson(lunchEnd,'Time',context!), 'closing': JsonConverters.toJson(closing,'Time',context!) }; getTypeName() => "OpeningHours"; TypeContext? context = _ctx; } class ContactDetails implements IConvertible { String? website; String? email; String? phoneNumber; Map? openingHours; bool? showInFooter; ContactDetails({this.website,this.email,this.phoneNumber,this.openingHours,this.showInFooter}); ContactDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { website = json['website']; email = json['email']; phoneNumber = json['phoneNumber']; openingHours = JsonConverters.fromJson(json['openingHours'],'Map',context!); showInFooter = json['showInFooter']; return this; } Map toJson() => { 'website': website, 'email': email, 'phoneNumber': phoneNumber, 'openingHours': JsonConverters.toJson(openingHours,'Map',context!), 'showInFooter': showInFooter }; getTypeName() => "ContactDetails"; TypeContext? context = _ctx; } class Entity implements IEntity, IConvertible { String? id; Entity({this.id}); Entity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; getTypeName() => "Entity"; TypeContext? context = _ctx; } enum AuthenticationMethodType { NemId, SSO, Common, Single, } // @Route("/members", "PUT") class Member extends Member implements IReturn, IConvertible { String? id; String? email; String? employeeGuidString; bool? ignoreGender; Member({this.id,this.email,this.employeeGuidString,this.ignoreGender}); Member.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); id = json['id']; email = json['email']; employeeGuidString = json['employeeGuidString']; ignoreGender = json['ignoreGender']; return this; } Map toJson() => super.toJson()..addAll({ 'id': id, 'email': email, 'employeeGuidString': employeeGuidString, 'ignoreGender': ignoreGender }); createResponse() => Member(); getResponseTypeName() => "Member"; getTypeName() => "Member"; TypeContext? context = _ctx; } class Document implements IId, ITimestamp, IConvertible { int? id; String? reference; String? description; String? tags; int? countryId; int? clientId; int? memberId; String? group; String? subTag; String? languageIsoCode; DateTime? benefitEffectiveDate; String? bulkName; int? size; DateTime? dateCreated; bool? inactive; Uint8List? timestamp; Client? client; Country? country; Member? member; List? documentGroups; String? blobName; String? contentType; String? filename; Document({this.id,this.reference,this.description,this.tags,this.countryId,this.clientId,this.memberId,this.group,this.subTag,this.languageIsoCode,this.benefitEffectiveDate,this.bulkName,this.size,this.dateCreated,this.inactive,this.timestamp,this.client,this.country,this.member,this.documentGroups,this.blobName,this.contentType,this.filename}); Document.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; reference = json['reference']; description = json['description']; tags = json['tags']; countryId = json['countryId']; clientId = json['clientId']; memberId = json['memberId']; group = json['group']; subTag = json['subTag']; languageIsoCode = json['languageIsoCode']; benefitEffectiveDate = JsonConverters.fromJson(json['benefitEffectiveDate'],'DateTime',context!); bulkName = json['bulkName']; size = json['size']; dateCreated = JsonConverters.fromJson(json['dateCreated'],'DateTime',context!); inactive = json['inactive']; timestamp = JsonConverters.fromJson(json['timestamp'],'Uint8List',context!); client = JsonConverters.fromJson(json['client'],'Client',context!); country = JsonConverters.fromJson(json['country'],'Country',context!); member = JsonConverters.fromJson(json['member'],'Member',context!); documentGroups = JsonConverters.fromJson(json['documentGroups'],'List',context!); blobName = json['blobName']; contentType = json['contentType']; filename = json['filename']; return this; } Map toJson() => { 'id': id, 'reference': reference, 'description': description, 'tags': tags, 'countryId': countryId, 'clientId': clientId, 'memberId': memberId, 'group': group, 'subTag': subTag, 'languageIsoCode': languageIsoCode, 'benefitEffectiveDate': JsonConverters.toJson(benefitEffectiveDate,'DateTime',context!), 'bulkName': bulkName, 'size': size, 'dateCreated': JsonConverters.toJson(dateCreated,'DateTime',context!), 'inactive': inactive, 'timestamp': JsonConverters.toJson(timestamp,'Uint8List',context!), 'client': JsonConverters.toJson(client,'Client',context!), 'country': JsonConverters.toJson(country,'Country',context!), 'member': JsonConverters.toJson(member,'Member',context!), 'documentGroups': JsonConverters.toJson(documentGroups,'List',context!), 'blobName': blobName, 'contentType': contentType, 'filename': filename }; getTypeName() => "Document"; TypeContext? context = _ctx; } class Member extends Entity implements IProjectable, IConvertible { String? userId; String? systemId; String? schemeCode; String? sessionId; String? clientId; String? clientCode; bool? isDefault; String? groupId; String? groupNameUpper; String? appName; String? appNameUpper; String? key; String? keyUpper; String? country; String? locale; String? ccy; String? cdy; String? status; String? statusCode; String? category; String? scheme; String? primarySalary; String? email; Employer? employer; Roles? roles; DateTime? asAt; DateTime? calcDate; DateTime? nextEOFY; double? periodToNextEOFY; int? year; bool? hasPartner; bool? includePartner; bool? includePartnerInCalc; bool? homeOwner; int? targetAge; int? targetTime; double? targetIncomeR; double? targetIncomeRFreq; double? targetIncomeRAnnual; double? targetP; bool? includeSS; String? firstName; String? lastName; Gender? gender; DateTime? dob; double? salary; List? people; List? assets; bool? includeAnnuities; List? annuities; Spending? spending; List? investmentProperties; Map?>? incomeVectors; AssumptionsConfig? config; List? indexation; List? annuityDisc; Map?>? indexationRates; Map?>? annuityDiscRates; double? balance; String? planSomeValue; bool? flag1; bool? flag2; bool? isFriendly; String? financingOption; int? totalYears; int? totalLoopYears; double? age; double? ageR; int? intAge; String? indexType; String? indexTypePre; String? indexTypePost; String? deflationType; Map? custom; CountryCalculatorConfiguration? countryCalcConfig; MemberSummary? summary; DateTime? lastModified; bool? isReturningUser; String? clientCountryConfigCacheKey; double? personalAssets; Summary? resultsSummary; TotalContribution? totalContribution; Member({this.userId,this.systemId,this.schemeCode,this.sessionId,this.clientId,this.clientCode,this.isDefault,this.groupId,this.groupNameUpper,this.appName,this.appNameUpper,this.key,this.keyUpper,this.country,this.locale,this.ccy,this.cdy,this.status,this.statusCode,this.category,this.scheme,this.primarySalary,this.email,this.employer,this.roles,this.asAt,this.calcDate,this.nextEOFY,this.periodToNextEOFY,this.year,this.hasPartner,this.includePartner,this.includePartnerInCalc,this.homeOwner,this.targetAge,this.targetTime,this.targetIncomeR,this.targetIncomeRFreq,this.targetIncomeRAnnual,this.targetP,this.includeSS,this.firstName,this.lastName,this.gender,this.dob,this.salary,this.people,this.assets,this.includeAnnuities,this.annuities,this.spending,this.investmentProperties,this.incomeVectors,this.config,this.indexation,this.annuityDisc,this.indexationRates,this.annuityDiscRates,this.balance,this.planSomeValue,this.flag1,this.flag2,this.isFriendly,this.financingOption,this.totalYears,this.totalLoopYears,this.age,this.ageR,this.intAge,this.indexType,this.indexTypePre,this.indexTypePost,this.deflationType,this.custom,this.countryCalcConfig,this.summary,this.lastModified,this.isReturningUser,this.clientCountryConfigCacheKey,this.personalAssets,this.resultsSummary,this.totalContribution}); Member.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); userId = json['userId']; systemId = json['systemId']; schemeCode = json['schemeCode']; sessionId = json['sessionId']; clientId = json['clientId']; clientCode = json['clientCode']; isDefault = json['isDefault']; groupId = json['groupId']; groupNameUpper = json['groupNameUpper']; appName = json['appName']; appNameUpper = json['appNameUpper']; key = json['key']; keyUpper = json['keyUpper']; country = json['country']; locale = json['locale']; ccy = json['ccy']; cdy = json['cdy']; status = json['status']; statusCode = json['statusCode']; category = json['category']; scheme = json['scheme']; primarySalary = json['primarySalary']; email = json['email']; employer = JsonConverters.fromJson(json['employer'],'Employer',context!); roles = JsonConverters.fromJson(json['roles'],'Roles',context!); asAt = JsonConverters.fromJson(json['asAt'],'DateTime',context!); calcDate = JsonConverters.fromJson(json['calcDate'],'DateTime',context!); nextEOFY = JsonConverters.fromJson(json['nextEOFY'],'DateTime',context!); periodToNextEOFY = JsonConverters.toDouble(json['periodToNextEOFY']); year = json['year']; hasPartner = json['hasPartner']; includePartner = json['includePartner']; includePartnerInCalc = json['includePartnerInCalc']; homeOwner = json['homeOwner']; targetAge = json['targetAge']; targetTime = json['targetTime']; targetIncomeR = JsonConverters.toDouble(json['targetIncomeR']); targetIncomeRFreq = JsonConverters.toDouble(json['targetIncomeRFreq']); targetIncomeRAnnual = JsonConverters.toDouble(json['targetIncomeRAnnual']); targetP = JsonConverters.toDouble(json['targetP']); includeSS = json['includeSS']; firstName = json['firstName']; lastName = json['lastName']; gender = JsonConverters.fromJson(json['gender'],'Gender',context!); dob = JsonConverters.fromJson(json['dob'],'DateTime',context!); salary = JsonConverters.toDouble(json['salary']); people = JsonConverters.fromJson(json['people'],'List',context!); assets = JsonConverters.fromJson(json['assets'],'List',context!); includeAnnuities = json['includeAnnuities']; annuities = JsonConverters.fromJson(json['annuities'],'List',context!); spending = JsonConverters.fromJson(json['spending'],'Spending',context!); investmentProperties = JsonConverters.fromJson(json['investmentProperties'],'List',context!); incomeVectors = JsonConverters.fromJson(json['incomeVectors'],'Map?>',context!); config = JsonConverters.fromJson(json['config'],'AssumptionsConfig',context!); indexation = JsonConverters.fromJson(json['indexation'],'List',context!); annuityDisc = JsonConverters.fromJson(json['annuityDisc'],'List',context!); indexationRates = JsonConverters.fromJson(json['indexationRates'],'Map?>',context!); annuityDiscRates = JsonConverters.fromJson(json['annuityDiscRates'],'Map?>',context!); balance = JsonConverters.toDouble(json['balance']); planSomeValue = json['planSomeValue']; flag1 = json['flag1']; flag2 = json['flag2']; isFriendly = json['isFriendly']; financingOption = json['financingOption']; totalYears = json['totalYears']; totalLoopYears = json['totalLoopYears']; age = JsonConverters.toDouble(json['age']); ageR = JsonConverters.toDouble(json['ageR']); intAge = json['intAge']; indexType = json['indexType']; indexTypePre = json['indexTypePre']; indexTypePost = json['indexTypePost']; deflationType = json['deflationType']; custom = JsonConverters.toStringMap(json['custom']); countryCalcConfig = JsonConverters.fromJson(json['countryCalcConfig'],'CountryCalculatorConfiguration',context!); summary = JsonConverters.fromJson(json['summary'],'MemberSummary',context!); lastModified = JsonConverters.fromJson(json['lastModified'],'DateTime',context!); isReturningUser = json['isReturningUser']; clientCountryConfigCacheKey = json['clientCountryConfigCacheKey']; personalAssets = JsonConverters.toDouble(json['personalAssets']); resultsSummary = JsonConverters.fromJson(json['resultsSummary'],'Summary',context!); totalContribution = JsonConverters.fromJson(json['totalContribution'],'TotalContribution',context!); return this; } Map toJson() => super.toJson()..addAll({ 'userId': userId, 'systemId': systemId, 'schemeCode': schemeCode, 'sessionId': sessionId, 'clientId': clientId, 'clientCode': clientCode, 'isDefault': isDefault, 'groupId': groupId, 'groupNameUpper': groupNameUpper, 'appName': appName, 'appNameUpper': appNameUpper, 'key': key, 'keyUpper': keyUpper, 'country': country, 'locale': locale, 'ccy': ccy, 'cdy': cdy, 'status': status, 'statusCode': statusCode, 'category': category, 'scheme': scheme, 'primarySalary': primarySalary, 'email': email, 'employer': JsonConverters.toJson(employer,'Employer',context!), 'roles': JsonConverters.toJson(roles,'Roles',context!), 'asAt': JsonConverters.toJson(asAt,'DateTime',context!), 'calcDate': JsonConverters.toJson(calcDate,'DateTime',context!), 'nextEOFY': JsonConverters.toJson(nextEOFY,'DateTime',context!), 'periodToNextEOFY': periodToNextEOFY, 'year': year, 'hasPartner': hasPartner, 'includePartner': includePartner, 'includePartnerInCalc': includePartnerInCalc, 'homeOwner': homeOwner, 'targetAge': targetAge, 'targetTime': targetTime, 'targetIncomeR': targetIncomeR, 'targetIncomeRFreq': targetIncomeRFreq, 'targetIncomeRAnnual': targetIncomeRAnnual, 'targetP': targetP, 'includeSS': includeSS, 'firstName': firstName, 'lastName': lastName, 'gender': JsonConverters.toJson(gender,'Gender',context!), 'dob': JsonConverters.toJson(dob,'DateTime',context!), 'salary': salary, 'people': JsonConverters.toJson(people,'List',context!), 'assets': JsonConverters.toJson(assets,'List',context!), 'includeAnnuities': includeAnnuities, 'annuities': JsonConverters.toJson(annuities,'List',context!), 'spending': JsonConverters.toJson(spending,'Spending',context!), 'investmentProperties': JsonConverters.toJson(investmentProperties,'List',context!), 'incomeVectors': JsonConverters.toJson(incomeVectors,'Map?>',context!), 'config': JsonConverters.toJson(config,'AssumptionsConfig',context!), 'indexation': JsonConverters.toJson(indexation,'List',context!), 'annuityDisc': JsonConverters.toJson(annuityDisc,'List',context!), 'indexationRates': JsonConverters.toJson(indexationRates,'Map?>',context!), 'annuityDiscRates': JsonConverters.toJson(annuityDiscRates,'Map?>',context!), 'balance': balance, 'planSomeValue': planSomeValue, 'flag1': flag1, 'flag2': flag2, 'isFriendly': isFriendly, 'financingOption': financingOption, 'totalYears': totalYears, 'totalLoopYears': totalLoopYears, 'age': age, 'ageR': ageR, 'intAge': intAge, 'indexType': indexType, 'indexTypePre': indexTypePre, 'indexTypePost': indexTypePost, 'deflationType': deflationType, 'custom': custom, 'countryCalcConfig': JsonConverters.toJson(countryCalcConfig,'CountryCalculatorConfiguration',context!), 'summary': JsonConverters.toJson(summary,'MemberSummary',context!), 'lastModified': JsonConverters.toJson(lastModified,'DateTime',context!), 'isReturningUser': isReturningUser, 'clientCountryConfigCacheKey': clientCountryConfigCacheKey, 'personalAssets': personalAssets, 'resultsSummary': JsonConverters.toJson(resultsSummary,'Summary',context!), 'totalContribution': JsonConverters.toJson(totalContribution,'TotalContribution',context!) }); getTypeName() => "Member"; TypeContext? context = _ctx; } class Member implements IId, ITimestamp, IConvertible { int? id; String? employeeGuid; String? employeeId; int? clientId; int? configurationId; String? lastName; String? firstName; String? companyName; String? employeeGroup; String? title; DateTime? birthdate; String? emailAddress; MaritalStatuses? maritalStatus; DateTime? partnerBirthDate; IsoGenders? gender; int? militaryMonthCount; double? annualSalary; double? monthlySalary; int? salaryFrequency; GermanFederalStates? deFederalState; GermanTaxClasses? deTaxClass; bool? deChurchTax; double? dePrivNursingInsurance; String? pensionFinancingOption; bool? hasPrivHealthInsurance; double? privHealthInsurance; int? childrenCount; DateTime? child1BirthDate; DateTime? child2BirthDate; DateTime? child3BirthDate; DateTime? child4BirthDate; DateTime? child5BirthDate; DateTime? child6BirthDate; DateTime? child7BirthDate; DateTime? child8BirthDate; DateTime? child9BirthDate; DateTime? child10BirthDate; String? authId; DateTime? authRegistrationDate; String? activationCode; DateTime? activationExpiringDate; DateTime? planInfoDate; String? planInfoBag; bool? inactive; DateTime? dateCreated; DateTime? removeRequestDate; Uint8List? timestamp; Client? client; DateTime? contributionDataDate; String? beneficiaryFirstName; String? beneficiaryLastName; String? beneficiaryTitle; DateTime? beneficiaryDateOfBirth; String? addressLine1; String? addressLine2; String? addressLine3; String? phoneNumber; String? mobileNumber; DateTime? dateCommencedService; DateTime? calculatorDataDate; String? calculatorDataBag; DateTime? periodStart; DateTime? periodEnd; int? memberId; String? infoBag; String? projectionInfoBag; String? companyPlanInfo; String? infoProviderReference; DateTime? dateOfHire; String? ssin; bool? isProxy; bool? isAllowedToVote; String? userId; String? participantStatus; String? investmentStrategy; bool? isAllowedToUpdatePlan; double? pensionableSalary; DateTime? dateOfBirthSpouse; DateTime? dateOfBirthYoungestChild; DateTime? dateHiredOfPlan; String? contractType; String? investmentRiskProfile; List? documents; List? powensConnectionSyncs; List? members; List? groupMembers; Member? parent; String? pensionFundManager; List? proxyAccesses; List? beneficiaries; List? currentBalances; List? detailedBalances; List? votingPollAnswers; List? investmentAllocations; List? memberContributions; List? participantStatusFormAnswers; Member({this.id,this.employeeGuid,this.employeeId,this.clientId,this.configurationId,this.lastName,this.firstName,this.companyName,this.employeeGroup,this.title,this.birthdate,this.emailAddress,this.maritalStatus,this.partnerBirthDate,this.gender,this.militaryMonthCount,this.annualSalary,this.monthlySalary,this.salaryFrequency,this.deFederalState,this.deTaxClass,this.deChurchTax,this.dePrivNursingInsurance,this.pensionFinancingOption,this.hasPrivHealthInsurance,this.privHealthInsurance,this.childrenCount,this.child1BirthDate,this.child2BirthDate,this.child3BirthDate,this.child4BirthDate,this.child5BirthDate,this.child6BirthDate,this.child7BirthDate,this.child8BirthDate,this.child9BirthDate,this.child10BirthDate,this.authId,this.authRegistrationDate,this.activationCode,this.activationExpiringDate,this.planInfoDate,this.planInfoBag,this.inactive,this.dateCreated,this.removeRequestDate,this.timestamp,this.client,this.contributionDataDate,this.beneficiaryFirstName,this.beneficiaryLastName,this.beneficiaryTitle,this.beneficiaryDateOfBirth,this.addressLine1,this.addressLine2,this.addressLine3,this.phoneNumber,this.mobileNumber,this.dateCommencedService,this.calculatorDataDate,this.calculatorDataBag,this.periodStart,this.periodEnd,this.memberId,this.infoBag,this.projectionInfoBag,this.companyPlanInfo,this.infoProviderReference,this.dateOfHire,this.ssin,this.isProxy,this.isAllowedToVote,this.userId,this.participantStatus,this.investmentStrategy,this.isAllowedToUpdatePlan,this.pensionableSalary,this.dateOfBirthSpouse,this.dateOfBirthYoungestChild,this.dateHiredOfPlan,this.contractType,this.investmentRiskProfile,this.documents,this.powensConnectionSyncs,this.members,this.groupMembers,this.parent,this.pensionFundManager,this.proxyAccesses,this.beneficiaries,this.currentBalances,this.detailedBalances,this.votingPollAnswers,this.investmentAllocations,this.memberContributions,this.participantStatusFormAnswers}); Member.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; employeeGuid = json['employeeGuid']; employeeId = json['employeeId']; clientId = json['clientId']; configurationId = json['configurationId']; lastName = json['lastName']; firstName = json['firstName']; companyName = json['companyName']; employeeGroup = json['employeeGroup']; title = json['title']; birthdate = JsonConverters.fromJson(json['birthdate'],'DateTime',context!); emailAddress = json['emailAddress']; maritalStatus = JsonConverters.fromJson(json['maritalStatus'],'MaritalStatuses',context!); partnerBirthDate = JsonConverters.fromJson(json['partnerBirthDate'],'DateTime',context!); gender = JsonConverters.fromJson(json['gender'],'IsoGenders',context!); militaryMonthCount = json['militaryMonthCount']; annualSalary = JsonConverters.toDouble(json['annualSalary']); monthlySalary = JsonConverters.toDouble(json['monthlySalary']); salaryFrequency = json['salaryFrequency']; deFederalState = JsonConverters.fromJson(json['deFederalState'],'GermanFederalStates',context!); deTaxClass = JsonConverters.fromJson(json['deTaxClass'],'GermanTaxClasses',context!); deChurchTax = json['deChurchTax']; dePrivNursingInsurance = JsonConverters.toDouble(json['dePrivNursingInsurance']); pensionFinancingOption = json['pensionFinancingOption']; hasPrivHealthInsurance = json['hasPrivHealthInsurance']; privHealthInsurance = JsonConverters.toDouble(json['privHealthInsurance']); childrenCount = json['childrenCount']; child1BirthDate = JsonConverters.fromJson(json['child1BirthDate'],'DateTime',context!); child2BirthDate = JsonConverters.fromJson(json['child2BirthDate'],'DateTime',context!); child3BirthDate = JsonConverters.fromJson(json['child3BirthDate'],'DateTime',context!); child4BirthDate = JsonConverters.fromJson(json['child4BirthDate'],'DateTime',context!); child5BirthDate = JsonConverters.fromJson(json['child5BirthDate'],'DateTime',context!); child6BirthDate = JsonConverters.fromJson(json['child6BirthDate'],'DateTime',context!); child7BirthDate = JsonConverters.fromJson(json['child7BirthDate'],'DateTime',context!); child8BirthDate = JsonConverters.fromJson(json['child8BirthDate'],'DateTime',context!); child9BirthDate = JsonConverters.fromJson(json['child9BirthDate'],'DateTime',context!); child10BirthDate = JsonConverters.fromJson(json['child10BirthDate'],'DateTime',context!); authId = json['authId']; authRegistrationDate = JsonConverters.fromJson(json['authRegistrationDate'],'DateTime',context!); activationCode = json['activationCode']; activationExpiringDate = JsonConverters.fromJson(json['activationExpiringDate'],'DateTime',context!); planInfoDate = JsonConverters.fromJson(json['planInfoDate'],'DateTime',context!); planInfoBag = json['planInfoBag']; inactive = json['inactive']; dateCreated = JsonConverters.fromJson(json['dateCreated'],'DateTime',context!); removeRequestDate = JsonConverters.fromJson(json['removeRequestDate'],'DateTime',context!); timestamp = JsonConverters.fromJson(json['timestamp'],'Uint8List',context!); client = JsonConverters.fromJson(json['client'],'Client',context!); contributionDataDate = JsonConverters.fromJson(json['contributionDataDate'],'DateTime',context!); beneficiaryFirstName = json['beneficiaryFirstName']; beneficiaryLastName = json['beneficiaryLastName']; beneficiaryTitle = json['beneficiaryTitle']; beneficiaryDateOfBirth = JsonConverters.fromJson(json['beneficiaryDateOfBirth'],'DateTime',context!); addressLine1 = json['addressLine1']; addressLine2 = json['addressLine2']; addressLine3 = json['addressLine3']; phoneNumber = json['phoneNumber']; mobileNumber = json['mobileNumber']; dateCommencedService = JsonConverters.fromJson(json['dateCommencedService'],'DateTime',context!); calculatorDataDate = JsonConverters.fromJson(json['calculatorDataDate'],'DateTime',context!); calculatorDataBag = json['calculatorDataBag']; periodStart = JsonConverters.fromJson(json['periodStart'],'DateTime',context!); periodEnd = JsonConverters.fromJson(json['periodEnd'],'DateTime',context!); memberId = json['memberId']; infoBag = json['infoBag']; projectionInfoBag = json['projectionInfoBag']; companyPlanInfo = json['companyPlanInfo']; infoProviderReference = json['infoProviderReference']; dateOfHire = JsonConverters.fromJson(json['dateOfHire'],'DateTime',context!); ssin = json['ssin']; isProxy = json['isProxy']; isAllowedToVote = json['isAllowedToVote']; userId = json['userId']; participantStatus = json['participantStatus']; investmentStrategy = json['investmentStrategy']; isAllowedToUpdatePlan = json['isAllowedToUpdatePlan']; pensionableSalary = JsonConverters.toDouble(json['pensionableSalary']); dateOfBirthSpouse = JsonConverters.fromJson(json['dateOfBirthSpouse'],'DateTime',context!); dateOfBirthYoungestChild = JsonConverters.fromJson(json['dateOfBirthYoungestChild'],'DateTime',context!); dateHiredOfPlan = JsonConverters.fromJson(json['dateHiredOfPlan'],'DateTime',context!); contractType = json['contractType']; investmentRiskProfile = json['investmentRiskProfile']; documents = JsonConverters.fromJson(json['documents'],'List',context!); powensConnectionSyncs = JsonConverters.fromJson(json['powensConnectionSyncs'],'List',context!); members = JsonConverters.fromJson(json['members'],'List',context!); groupMembers = JsonConverters.fromJson(json['groupMembers'],'List',context!); parent = JsonConverters.fromJson(json['parent'],'Member',context!); pensionFundManager = json['pensionFundManager']; proxyAccesses = JsonConverters.fromJson(json['proxyAccesses'],'List',context!); beneficiaries = JsonConverters.fromJson(json['beneficiaries'],'List',context!); currentBalances = JsonConverters.fromJson(json['currentBalances'],'List',context!); detailedBalances = JsonConverters.fromJson(json['detailedBalances'],'List',context!); votingPollAnswers = JsonConverters.fromJson(json['votingPollAnswers'],'List',context!); investmentAllocations = JsonConverters.fromJson(json['investmentAllocations'],'List',context!); memberContributions = JsonConverters.fromJson(json['memberContributions'],'List',context!); participantStatusFormAnswers = JsonConverters.fromJson(json['participantStatusFormAnswers'],'List',context!); return this; } Map toJson() => { 'id': id, 'employeeGuid': employeeGuid, 'employeeId': employeeId, 'clientId': clientId, 'configurationId': configurationId, 'lastName': lastName, 'firstName': firstName, 'companyName': companyName, 'employeeGroup': employeeGroup, 'title': title, 'birthdate': JsonConverters.toJson(birthdate,'DateTime',context!), 'emailAddress': emailAddress, 'maritalStatus': JsonConverters.toJson(maritalStatus,'MaritalStatuses',context!), 'partnerBirthDate': JsonConverters.toJson(partnerBirthDate,'DateTime',context!), 'gender': JsonConverters.toJson(gender,'IsoGenders',context!), 'militaryMonthCount': militaryMonthCount, 'annualSalary': annualSalary, 'monthlySalary': monthlySalary, 'salaryFrequency': salaryFrequency, 'deFederalState': JsonConverters.toJson(deFederalState,'GermanFederalStates',context!), 'deTaxClass': JsonConverters.toJson(deTaxClass,'GermanTaxClasses',context!), 'deChurchTax': deChurchTax, 'dePrivNursingInsurance': dePrivNursingInsurance, 'pensionFinancingOption': pensionFinancingOption, 'hasPrivHealthInsurance': hasPrivHealthInsurance, 'privHealthInsurance': privHealthInsurance, 'childrenCount': childrenCount, 'child1BirthDate': JsonConverters.toJson(child1BirthDate,'DateTime',context!), 'child2BirthDate': JsonConverters.toJson(child2BirthDate,'DateTime',context!), 'child3BirthDate': JsonConverters.toJson(child3BirthDate,'DateTime',context!), 'child4BirthDate': JsonConverters.toJson(child4BirthDate,'DateTime',context!), 'child5BirthDate': JsonConverters.toJson(child5BirthDate,'DateTime',context!), 'child6BirthDate': JsonConverters.toJson(child6BirthDate,'DateTime',context!), 'child7BirthDate': JsonConverters.toJson(child7BirthDate,'DateTime',context!), 'child8BirthDate': JsonConverters.toJson(child8BirthDate,'DateTime',context!), 'child9BirthDate': JsonConverters.toJson(child9BirthDate,'DateTime',context!), 'child10BirthDate': JsonConverters.toJson(child10BirthDate,'DateTime',context!), 'authId': authId, 'authRegistrationDate': JsonConverters.toJson(authRegistrationDate,'DateTime',context!), 'activationCode': activationCode, 'activationExpiringDate': JsonConverters.toJson(activationExpiringDate,'DateTime',context!), 'planInfoDate': JsonConverters.toJson(planInfoDate,'DateTime',context!), 'planInfoBag': planInfoBag, 'inactive': inactive, 'dateCreated': JsonConverters.toJson(dateCreated,'DateTime',context!), 'removeRequestDate': JsonConverters.toJson(removeRequestDate,'DateTime',context!), 'timestamp': JsonConverters.toJson(timestamp,'Uint8List',context!), 'client': JsonConverters.toJson(client,'Client',context!), 'contributionDataDate': JsonConverters.toJson(contributionDataDate,'DateTime',context!), 'beneficiaryFirstName': beneficiaryFirstName, 'beneficiaryLastName': beneficiaryLastName, 'beneficiaryTitle': beneficiaryTitle, 'beneficiaryDateOfBirth': JsonConverters.toJson(beneficiaryDateOfBirth,'DateTime',context!), 'addressLine1': addressLine1, 'addressLine2': addressLine2, 'addressLine3': addressLine3, 'phoneNumber': phoneNumber, 'mobileNumber': mobileNumber, 'dateCommencedService': JsonConverters.toJson(dateCommencedService,'DateTime',context!), 'calculatorDataDate': JsonConverters.toJson(calculatorDataDate,'DateTime',context!), 'calculatorDataBag': calculatorDataBag, 'periodStart': JsonConverters.toJson(periodStart,'DateTime',context!), 'periodEnd': JsonConverters.toJson(periodEnd,'DateTime',context!), 'memberId': memberId, 'infoBag': infoBag, 'projectionInfoBag': projectionInfoBag, 'companyPlanInfo': companyPlanInfo, 'infoProviderReference': infoProviderReference, 'dateOfHire': JsonConverters.toJson(dateOfHire,'DateTime',context!), 'ssin': ssin, 'isProxy': isProxy, 'isAllowedToVote': isAllowedToVote, 'userId': userId, 'participantStatus': participantStatus, 'investmentStrategy': investmentStrategy, 'isAllowedToUpdatePlan': isAllowedToUpdatePlan, 'pensionableSalary': pensionableSalary, 'dateOfBirthSpouse': JsonConverters.toJson(dateOfBirthSpouse,'DateTime',context!), 'dateOfBirthYoungestChild': JsonConverters.toJson(dateOfBirthYoungestChild,'DateTime',context!), 'dateHiredOfPlan': JsonConverters.toJson(dateHiredOfPlan,'DateTime',context!), 'contractType': contractType, 'investmentRiskProfile': investmentRiskProfile, 'documents': JsonConverters.toJson(documents,'List',context!), 'powensConnectionSyncs': JsonConverters.toJson(powensConnectionSyncs,'List',context!), 'members': JsonConverters.toJson(members,'List',context!), 'groupMembers': JsonConverters.toJson(groupMembers,'List',context!), 'parent': JsonConverters.toJson(parent,'Member',context!), 'pensionFundManager': pensionFundManager, 'proxyAccesses': JsonConverters.toJson(proxyAccesses,'List',context!), 'beneficiaries': JsonConverters.toJson(beneficiaries,'List',context!), 'currentBalances': JsonConverters.toJson(currentBalances,'List',context!), 'detailedBalances': JsonConverters.toJson(detailedBalances,'List',context!), 'votingPollAnswers': JsonConverters.toJson(votingPollAnswers,'List',context!), 'investmentAllocations': JsonConverters.toJson(investmentAllocations,'List',context!), 'memberContributions': JsonConverters.toJson(memberContributions,'List',context!), 'participantStatusFormAnswers': JsonConverters.toJson(participantStatusFormAnswers,'List',context!) }; getTypeName() => "Member"; TypeContext? context = _ctx; } class Member implements IConvertible { int? memberId; String? employeeId; String? employeeGuid; String? email; String? title; String? firstName; String? companyName; String? employeeGroup; String? lastName; DateTime? dateOfBirth; IsoGenders? gender; MaritalStatuses? maritalStatus; int? numberOfChildren; int? childrenCount; double? monthlySalary; double? annualSalary; DkPensionTerms? dkPensionTerms; String? dkPrivateEmailAddress; String? dkEmployerName; bool? dkContactConsent; bool? dkPersonalMandate; GermanFederalStates? deFederalState; GermanTaxClasses? deTaxClass; bool? deChurchTax; bool? hasPrivHealthInsurance; double? privHealthInsurance; double? dePrivNursingInsurance; DateTime? contributionDataDate; String? beneficiaryFirstName; String? beneficiaryLastName; String? beneficiaryTitle; DateTime? beneficiaryDateOfBirth; String? addressLine1; String? addressLine2; String? addressLine3; String? phoneNumber; String? mobileNumber; DateTime? dateCommencedService; DateTime? partnerBirthDate; int? militaryMonthCount; DateTime? child1BirthDate; DateTime? child2BirthDate; DateTime? child3BirthDate; DateTime? child4BirthDate; DateTime? child5BirthDate; DateTime? child6BirthDate; DateTime? child7BirthDate; DateTime? child8BirthDate; DateTime? child9BirthDate; DateTime? child10BirthDate; String? infoBag; String? projectionInfoBag; int? clientId; String? companyPlanInfo; String? pensionFundManager; DateTime? dateOfHire; List? powensConnections; bool? isPrivateClient; bool? isProxy; List? beneficiaries; List? currentBalances; List? detailedBalances; DateTime? beneficiariesLatestSubmittedDate; String? userId; String? participantStatus; String? investmentStrategy; bool? isAllowedToUpdatePlan; double? pensionableSalary; DateTime? dateOfBirthSpouse; DateTime? dateOfBirthYoungestChild; DateTime? dateHiredOfPlan; String? contractType; bool? isAllowedToVote; VotingPollAnswer? votingPollAnswer; Member({this.memberId,this.employeeId,this.employeeGuid,this.email,this.title,this.firstName,this.companyName,this.employeeGroup,this.lastName,this.dateOfBirth,this.gender,this.maritalStatus,this.numberOfChildren,this.childrenCount,this.monthlySalary,this.annualSalary,this.dkPensionTerms,this.dkPrivateEmailAddress,this.dkEmployerName,this.dkContactConsent,this.dkPersonalMandate,this.deFederalState,this.deTaxClass,this.deChurchTax,this.hasPrivHealthInsurance,this.privHealthInsurance,this.dePrivNursingInsurance,this.contributionDataDate,this.beneficiaryFirstName,this.beneficiaryLastName,this.beneficiaryTitle,this.beneficiaryDateOfBirth,this.addressLine1,this.addressLine2,this.addressLine3,this.phoneNumber,this.mobileNumber,this.dateCommencedService,this.partnerBirthDate,this.militaryMonthCount,this.child1BirthDate,this.child2BirthDate,this.child3BirthDate,this.child4BirthDate,this.child5BirthDate,this.child6BirthDate,this.child7BirthDate,this.child8BirthDate,this.child9BirthDate,this.child10BirthDate,this.infoBag,this.projectionInfoBag,this.clientId,this.companyPlanInfo,this.pensionFundManager,this.dateOfHire,this.powensConnections,this.isPrivateClient,this.isProxy,this.beneficiaries,this.currentBalances,this.detailedBalances,this.beneficiariesLatestSubmittedDate,this.userId,this.participantStatus,this.investmentStrategy,this.isAllowedToUpdatePlan,this.pensionableSalary,this.dateOfBirthSpouse,this.dateOfBirthYoungestChild,this.dateHiredOfPlan,this.contractType,this.isAllowedToVote,this.votingPollAnswer}); Member.fromJson(Map json) { fromMap(json); } fromMap(Map json) { memberId = json['memberId']; employeeId = json['employeeId']; employeeGuid = json['employeeGuid']; email = json['email']; title = json['title']; firstName = json['firstName']; companyName = json['companyName']; employeeGroup = json['employeeGroup']; lastName = json['lastName']; dateOfBirth = JsonConverters.fromJson(json['dateOfBirth'],'DateTime',context!); gender = JsonConverters.fromJson(json['gender'],'IsoGenders',context!); maritalStatus = JsonConverters.fromJson(json['maritalStatus'],'MaritalStatuses',context!); numberOfChildren = json['numberOfChildren']; childrenCount = json['childrenCount']; monthlySalary = JsonConverters.toDouble(json['monthlySalary']); annualSalary = JsonConverters.toDouble(json['annualSalary']); dkPensionTerms = JsonConverters.fromJson(json['dkPensionTerms'],'DkPensionTerms',context!); dkPrivateEmailAddress = json['dkPrivateEmailAddress']; dkEmployerName = json['dkEmployerName']; dkContactConsent = json['dkContactConsent']; dkPersonalMandate = json['dkPersonalMandate']; deFederalState = JsonConverters.fromJson(json['deFederalState'],'GermanFederalStates',context!); deTaxClass = JsonConverters.fromJson(json['deTaxClass'],'GermanTaxClasses',context!); deChurchTax = json['deChurchTax']; hasPrivHealthInsurance = json['hasPrivHealthInsurance']; privHealthInsurance = JsonConverters.toDouble(json['privHealthInsurance']); dePrivNursingInsurance = JsonConverters.toDouble(json['dePrivNursingInsurance']); contributionDataDate = JsonConverters.fromJson(json['contributionDataDate'],'DateTime',context!); beneficiaryFirstName = json['beneficiaryFirstName']; beneficiaryLastName = json['beneficiaryLastName']; beneficiaryTitle = json['beneficiaryTitle']; beneficiaryDateOfBirth = JsonConverters.fromJson(json['beneficiaryDateOfBirth'],'DateTime',context!); addressLine1 = json['addressLine1']; addressLine2 = json['addressLine2']; addressLine3 = json['addressLine3']; phoneNumber = json['phoneNumber']; mobileNumber = json['mobileNumber']; dateCommencedService = JsonConverters.fromJson(json['dateCommencedService'],'DateTime',context!); partnerBirthDate = JsonConverters.fromJson(json['partnerBirthDate'],'DateTime',context!); militaryMonthCount = json['militaryMonthCount']; child1BirthDate = JsonConverters.fromJson(json['child1BirthDate'],'DateTime',context!); child2BirthDate = JsonConverters.fromJson(json['child2BirthDate'],'DateTime',context!); child3BirthDate = JsonConverters.fromJson(json['child3BirthDate'],'DateTime',context!); child4BirthDate = JsonConverters.fromJson(json['child4BirthDate'],'DateTime',context!); child5BirthDate = JsonConverters.fromJson(json['child5BirthDate'],'DateTime',context!); child6BirthDate = JsonConverters.fromJson(json['child6BirthDate'],'DateTime',context!); child7BirthDate = JsonConverters.fromJson(json['child7BirthDate'],'DateTime',context!); child8BirthDate = JsonConverters.fromJson(json['child8BirthDate'],'DateTime',context!); child9BirthDate = JsonConverters.fromJson(json['child9BirthDate'],'DateTime',context!); child10BirthDate = JsonConverters.fromJson(json['child10BirthDate'],'DateTime',context!); infoBag = json['infoBag']; projectionInfoBag = json['projectionInfoBag']; clientId = json['clientId']; companyPlanInfo = json['companyPlanInfo']; pensionFundManager = json['pensionFundManager']; dateOfHire = JsonConverters.fromJson(json['dateOfHire'],'DateTime',context!); powensConnections = JsonConverters.fromJson(json['powensConnections'],'List',context!); isPrivateClient = json['isPrivateClient']; isProxy = json['isProxy']; beneficiaries = JsonConverters.fromJson(json['beneficiaries'],'List',context!); currentBalances = JsonConverters.fromJson(json['currentBalances'],'List',context!); detailedBalances = JsonConverters.fromJson(json['detailedBalances'],'List',context!); beneficiariesLatestSubmittedDate = JsonConverters.fromJson(json['beneficiariesLatestSubmittedDate'],'DateTime',context!); userId = json['userId']; participantStatus = json['participantStatus']; investmentStrategy = json['investmentStrategy']; isAllowedToUpdatePlan = json['isAllowedToUpdatePlan']; pensionableSalary = JsonConverters.toDouble(json['pensionableSalary']); dateOfBirthSpouse = JsonConverters.fromJson(json['dateOfBirthSpouse'],'DateTime',context!); dateOfBirthYoungestChild = JsonConverters.fromJson(json['dateOfBirthYoungestChild'],'DateTime',context!); dateHiredOfPlan = JsonConverters.fromJson(json['dateHiredOfPlan'],'DateTime',context!); contractType = json['contractType']; isAllowedToVote = json['isAllowedToVote']; votingPollAnswer = JsonConverters.fromJson(json['votingPollAnswer'],'VotingPollAnswer',context!); return this; } Map toJson() => { 'memberId': memberId, 'employeeId': employeeId, 'employeeGuid': employeeGuid, 'email': email, 'title': title, 'firstName': firstName, 'companyName': companyName, 'employeeGroup': employeeGroup, 'lastName': lastName, 'dateOfBirth': JsonConverters.toJson(dateOfBirth,'DateTime',context!), 'gender': JsonConverters.toJson(gender,'IsoGenders',context!), 'maritalStatus': JsonConverters.toJson(maritalStatus,'MaritalStatuses',context!), 'numberOfChildren': numberOfChildren, 'childrenCount': childrenCount, 'monthlySalary': monthlySalary, 'annualSalary': annualSalary, 'dkPensionTerms': JsonConverters.toJson(dkPensionTerms,'DkPensionTerms',context!), 'dkPrivateEmailAddress': dkPrivateEmailAddress, 'dkEmployerName': dkEmployerName, 'dkContactConsent': dkContactConsent, 'dkPersonalMandate': dkPersonalMandate, 'deFederalState': JsonConverters.toJson(deFederalState,'GermanFederalStates',context!), 'deTaxClass': JsonConverters.toJson(deTaxClass,'GermanTaxClasses',context!), 'deChurchTax': deChurchTax, 'hasPrivHealthInsurance': hasPrivHealthInsurance, 'privHealthInsurance': privHealthInsurance, 'dePrivNursingInsurance': dePrivNursingInsurance, 'contributionDataDate': JsonConverters.toJson(contributionDataDate,'DateTime',context!), 'beneficiaryFirstName': beneficiaryFirstName, 'beneficiaryLastName': beneficiaryLastName, 'beneficiaryTitle': beneficiaryTitle, 'beneficiaryDateOfBirth': JsonConverters.toJson(beneficiaryDateOfBirth,'DateTime',context!), 'addressLine1': addressLine1, 'addressLine2': addressLine2, 'addressLine3': addressLine3, 'phoneNumber': phoneNumber, 'mobileNumber': mobileNumber, 'dateCommencedService': JsonConverters.toJson(dateCommencedService,'DateTime',context!), 'partnerBirthDate': JsonConverters.toJson(partnerBirthDate,'DateTime',context!), 'militaryMonthCount': militaryMonthCount, 'child1BirthDate': JsonConverters.toJson(child1BirthDate,'DateTime',context!), 'child2BirthDate': JsonConverters.toJson(child2BirthDate,'DateTime',context!), 'child3BirthDate': JsonConverters.toJson(child3BirthDate,'DateTime',context!), 'child4BirthDate': JsonConverters.toJson(child4BirthDate,'DateTime',context!), 'child5BirthDate': JsonConverters.toJson(child5BirthDate,'DateTime',context!), 'child6BirthDate': JsonConverters.toJson(child6BirthDate,'DateTime',context!), 'child7BirthDate': JsonConverters.toJson(child7BirthDate,'DateTime',context!), 'child8BirthDate': JsonConverters.toJson(child8BirthDate,'DateTime',context!), 'child9BirthDate': JsonConverters.toJson(child9BirthDate,'DateTime',context!), 'child10BirthDate': JsonConverters.toJson(child10BirthDate,'DateTime',context!), 'infoBag': infoBag, 'projectionInfoBag': projectionInfoBag, 'clientId': clientId, 'companyPlanInfo': companyPlanInfo, 'pensionFundManager': pensionFundManager, 'dateOfHire': JsonConverters.toJson(dateOfHire,'DateTime',context!), 'powensConnections': JsonConverters.toJson(powensConnections,'List',context!), 'isPrivateClient': isPrivateClient, 'isProxy': isProxy, 'beneficiaries': JsonConverters.toJson(beneficiaries,'List',context!), 'currentBalances': JsonConverters.toJson(currentBalances,'List',context!), 'detailedBalances': JsonConverters.toJson(detailedBalances,'List',context!), 'beneficiariesLatestSubmittedDate': JsonConverters.toJson(beneficiariesLatestSubmittedDate,'DateTime',context!), 'userId': userId, 'participantStatus': participantStatus, 'investmentStrategy': investmentStrategy, 'isAllowedToUpdatePlan': isAllowedToUpdatePlan, 'pensionableSalary': pensionableSalary, 'dateOfBirthSpouse': JsonConverters.toJson(dateOfBirthSpouse,'DateTime',context!), 'dateOfBirthYoungestChild': JsonConverters.toJson(dateOfBirthYoungestChild,'DateTime',context!), 'dateHiredOfPlan': JsonConverters.toJson(dateHiredOfPlan,'DateTime',context!), 'contractType': contractType, 'isAllowedToVote': isAllowedToVote, 'votingPollAnswer': JsonConverters.toJson(votingPollAnswer,'VotingPollAnswer',context!) }; getTypeName() => "Member"; TypeContext? context = _ctx; } enum LogoSource { Consultant, Employer, } class Branding implements IConvertible { LogoSource? primaryLogo; LogoSource? secondaryLogo; String? primaryMobileMargin; String? primaryDesktopMargin; String? secondaryMobileMargin; String? secondaryDesktopMargin; Branding({this.primaryLogo,this.secondaryLogo,this.primaryMobileMargin,this.primaryDesktopMargin,this.secondaryMobileMargin,this.secondaryDesktopMargin}); Branding.fromJson(Map json) { fromMap(json); } fromMap(Map json) { primaryLogo = JsonConverters.fromJson(json['primaryLogo'],'LogoSource',context!); secondaryLogo = JsonConverters.fromJson(json['secondaryLogo'],'LogoSource',context!); primaryMobileMargin = json['primaryMobileMargin']; primaryDesktopMargin = json['primaryDesktopMargin']; secondaryMobileMargin = json['secondaryMobileMargin']; secondaryDesktopMargin = json['secondaryDesktopMargin']; return this; } Map toJson() => { 'primaryLogo': JsonConverters.toJson(primaryLogo,'LogoSource',context!), 'secondaryLogo': JsonConverters.toJson(secondaryLogo,'LogoSource',context!), 'primaryMobileMargin': primaryMobileMargin, 'primaryDesktopMargin': primaryDesktopMargin, 'secondaryMobileMargin': secondaryMobileMargin, 'secondaryDesktopMargin': secondaryDesktopMargin }; getTypeName() => "Branding"; TypeContext? context = _ctx; } class ConditionalAccess implements IConvertible { List? healthInsuranceExcludedUrls; List? pensionSchemeExcludedUrls; List? investmentChoiceExcludedUrls; ConditionalAccess({this.healthInsuranceExcludedUrls,this.pensionSchemeExcludedUrls,this.investmentChoiceExcludedUrls}); ConditionalAccess.fromJson(Map json) { fromMap(json); } fromMap(Map json) { healthInsuranceExcludedUrls = JsonConverters.fromJson(json['healthInsuranceExcludedUrls'],'List',context!); pensionSchemeExcludedUrls = JsonConverters.fromJson(json['pensionSchemeExcludedUrls'],'List',context!); investmentChoiceExcludedUrls = JsonConverters.fromJson(json['investmentChoiceExcludedUrls'],'List',context!); return this; } Map toJson() => { 'healthInsuranceExcludedUrls': JsonConverters.toJson(healthInsuranceExcludedUrls,'List',context!), 'pensionSchemeExcludedUrls': JsonConverters.toJson(pensionSchemeExcludedUrls,'List',context!), 'investmentChoiceExcludedUrls': JsonConverters.toJson(investmentChoiceExcludedUrls,'List',context!) }; getTypeName() => "ConditionalAccess"; TypeContext? context = _ctx; } class PrimaryPalette implements IConvertible { String? primaryColour1; String? primaryColour2; String? primaryColour3; String? primaryColour4; String? primaryColour5; String? primaryColour6; String? primaryColour7; String? primaryColour8; String? primaryColour9; String? primaryColour10; String? primaryColour11; String? primaryColour12; String? primaryColour13; String? primaryColour14; String? primaryColour15; String? primaryColour16; String? primaryColour17; String? primaryColour18; String? primaryColour19; PrimaryPalette({this.primaryColour1,this.primaryColour2,this.primaryColour3,this.primaryColour4,this.primaryColour5,this.primaryColour6,this.primaryColour7,this.primaryColour8,this.primaryColour9,this.primaryColour10,this.primaryColour11,this.primaryColour12,this.primaryColour13,this.primaryColour14,this.primaryColour15,this.primaryColour16,this.primaryColour17,this.primaryColour18,this.primaryColour19}); PrimaryPalette.fromJson(Map json) { fromMap(json); } fromMap(Map json) { primaryColour1 = json['primaryColour1']; primaryColour2 = json['primaryColour2']; primaryColour3 = json['primaryColour3']; primaryColour4 = json['primaryColour4']; primaryColour5 = json['primaryColour5']; primaryColour6 = json['primaryColour6']; primaryColour7 = json['primaryColour7']; primaryColour8 = json['primaryColour8']; primaryColour9 = json['primaryColour9']; primaryColour10 = json['primaryColour10']; primaryColour11 = json['primaryColour11']; primaryColour12 = json['primaryColour12']; primaryColour13 = json['primaryColour13']; primaryColour14 = json['primaryColour14']; primaryColour15 = json['primaryColour15']; primaryColour16 = json['primaryColour16']; primaryColour17 = json['primaryColour17']; primaryColour18 = json['primaryColour18']; primaryColour19 = json['primaryColour19']; return this; } Map toJson() => { 'primaryColour1': primaryColour1, 'primaryColour2': primaryColour2, 'primaryColour3': primaryColour3, 'primaryColour4': primaryColour4, 'primaryColour5': primaryColour5, 'primaryColour6': primaryColour6, 'primaryColour7': primaryColour7, 'primaryColour8': primaryColour8, 'primaryColour9': primaryColour9, 'primaryColour10': primaryColour10, 'primaryColour11': primaryColour11, 'primaryColour12': primaryColour12, 'primaryColour13': primaryColour13, 'primaryColour14': primaryColour14, 'primaryColour15': primaryColour15, 'primaryColour16': primaryColour16, 'primaryColour17': primaryColour17, 'primaryColour18': primaryColour18, 'primaryColour19': primaryColour19 }; getTypeName() => "PrimaryPalette"; TypeContext? context = _ctx; } class SecondaryPalette implements IConvertible { String? secondaryColour1; String? secondaryColour2; String? secondaryColour3; String? secondaryColour4; SecondaryPalette({this.secondaryColour1,this.secondaryColour2,this.secondaryColour3,this.secondaryColour4}); SecondaryPalette.fromJson(Map json) { fromMap(json); } fromMap(Map json) { secondaryColour1 = json['secondaryColour1']; secondaryColour2 = json['secondaryColour2']; secondaryColour3 = json['secondaryColour3']; secondaryColour4 = json['secondaryColour4']; return this; } Map toJson() => { 'secondaryColour1': secondaryColour1, 'secondaryColour2': secondaryColour2, 'secondaryColour3': secondaryColour3, 'secondaryColour4': secondaryColour4 }; getTypeName() => "SecondaryPalette"; TypeContext? context = _ctx; } class DecorativeColourPalette implements IConvertible { String? decorativeColour1; String? decorativeColour2; String? decorativeColour3; DecorativeColourPalette({this.decorativeColour1,this.decorativeColour2,this.decorativeColour3}); DecorativeColourPalette.fromJson(Map json) { fromMap(json); } fromMap(Map json) { decorativeColour1 = json['decorativeColour1']; decorativeColour2 = json['decorativeColour2']; decorativeColour3 = json['decorativeColour3']; return this; } Map toJson() => { 'decorativeColour1': decorativeColour1, 'decorativeColour2': decorativeColour2, 'decorativeColour3': decorativeColour3 }; getTypeName() => "DecorativeColourPalette"; TypeContext? context = _ctx; } class DecorativeGrayPalette implements IConvertible { String? decorativeColour1; String? decorativeColour2; String? decorativeColour3; String? decorativeColour4; String? decorativeColour5; String? decorativeColour6; String? decorativeColour7; String? decorativeColour8; String? decorativeColour9; String? decorativeColour10; String? decorativeColour11; String? decorativeColour12; DecorativeGrayPalette({this.decorativeColour1,this.decorativeColour2,this.decorativeColour3,this.decorativeColour4,this.decorativeColour5,this.decorativeColour6,this.decorativeColour7,this.decorativeColour8,this.decorativeColour9,this.decorativeColour10,this.decorativeColour11,this.decorativeColour12}); DecorativeGrayPalette.fromJson(Map json) { fromMap(json); } fromMap(Map json) { decorativeColour1 = json['decorativeColour1']; decorativeColour2 = json['decorativeColour2']; decorativeColour3 = json['decorativeColour3']; decorativeColour4 = json['decorativeColour4']; decorativeColour5 = json['decorativeColour5']; decorativeColour6 = json['decorativeColour6']; decorativeColour7 = json['decorativeColour7']; decorativeColour8 = json['decorativeColour8']; decorativeColour9 = json['decorativeColour9']; decorativeColour10 = json['decorativeColour10']; decorativeColour11 = json['decorativeColour11']; decorativeColour12 = json['decorativeColour12']; return this; } Map toJson() => { 'decorativeColour1': decorativeColour1, 'decorativeColour2': decorativeColour2, 'decorativeColour3': decorativeColour3, 'decorativeColour4': decorativeColour4, 'decorativeColour5': decorativeColour5, 'decorativeColour6': decorativeColour6, 'decorativeColour7': decorativeColour7, 'decorativeColour8': decorativeColour8, 'decorativeColour9': decorativeColour9, 'decorativeColour10': decorativeColour10, 'decorativeColour11': decorativeColour11, 'decorativeColour12': decorativeColour12 }; getTypeName() => "DecorativeGrayPalette"; TypeContext? context = _ctx; } class FontPalette implements IConvertible { String? fontColour1; String? fontColour2; FontPalette({this.fontColour1,this.fontColour2}); FontPalette.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fontColour1 = json['fontColour1']; fontColour2 = json['fontColour2']; return this; } Map toJson() => { 'fontColour1': fontColour1, 'fontColour2': fontColour2 }; getTypeName() => "FontPalette"; TypeContext? context = _ctx; } class ColorScheme implements IConvertible { String? newNavigationColorScheme; PrimaryPalette? primaryPalette; SecondaryPalette? secondaryPalette; DecorativeColourPalette? decorativeColourPalette; DecorativeGrayPalette? decorativeGrayPalette; FontPalette? fontPalette; ColorScheme({this.newNavigationColorScheme,this.primaryPalette,this.secondaryPalette,this.decorativeColourPalette,this.decorativeGrayPalette,this.fontPalette}); ColorScheme.fromJson(Map json) { fromMap(json); } fromMap(Map json) { newNavigationColorScheme = json['newNavigationColorScheme']; primaryPalette = JsonConverters.fromJson(json['primaryPalette'],'PrimaryPalette',context!); secondaryPalette = JsonConverters.fromJson(json['secondaryPalette'],'SecondaryPalette',context!); decorativeColourPalette = JsonConverters.fromJson(json['decorativeColourPalette'],'DecorativeColourPalette',context!); decorativeGrayPalette = JsonConverters.fromJson(json['decorativeGrayPalette'],'DecorativeGrayPalette',context!); fontPalette = JsonConverters.fromJson(json['fontPalette'],'FontPalette',context!); return this; } Map toJson() => { 'newNavigationColorScheme': newNavigationColorScheme, 'primaryPalette': JsonConverters.toJson(primaryPalette,'PrimaryPalette',context!), 'secondaryPalette': JsonConverters.toJson(secondaryPalette,'SecondaryPalette',context!), 'decorativeColourPalette': JsonConverters.toJson(decorativeColourPalette,'DecorativeColourPalette',context!), 'decorativeGrayPalette': JsonConverters.toJson(decorativeGrayPalette,'DecorativeGrayPalette',context!), 'fontPalette': JsonConverters.toJson(fontPalette,'FontPalette',context!) }; getTypeName() => "ColorScheme"; TypeContext? context = _ctx; } class Entity implements IConvertible { String? logoUri; String? name; ContactDetails? contactDetails; Entity({this.logoUri,this.name,this.contactDetails}); Entity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { logoUri = json['logoUri']; name = json['name']; contactDetails = JsonConverters.fromJson(json['contactDetails'],'ContactDetails',context!); return this; } Map toJson() => { 'logoUri': logoUri, 'name': name, 'contactDetails': JsonConverters.toJson(contactDetails,'ContactDetails',context!) }; getTypeName() => "Entity"; TypeContext? context = _ctx; } class CarrierEntity extends Entity implements IConvertible { String? carrierId; CarrierEntity({this.carrierId}); CarrierEntity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); carrierId = json['carrierId']; return this; } Map toJson() => super.toJson()..addAll({ 'carrierId': carrierId }); getTypeName() => "CarrierEntity"; TypeContext? context = _ctx; } class CounsellingOption implements IConvertible { bool? isEnabled; DateTime? startDate; DateTime? endDate; ContactDetails? contactDetails; String? url; double? fee; List? bookingGroups; CounsellingOption({this.isEnabled,this.startDate,this.endDate,this.contactDetails,this.url,this.fee,this.bookingGroups}); CounsellingOption.fromJson(Map json) { fromMap(json); } fromMap(Map json) { isEnabled = json['isEnabled']; startDate = JsonConverters.fromJson(json['startDate'],'DateTime',context!); endDate = JsonConverters.fromJson(json['endDate'],'DateTime',context!); contactDetails = JsonConverters.fromJson(json['contactDetails'],'ContactDetails',context!); url = json['url']; fee = JsonConverters.toDouble(json['fee']); bookingGroups = JsonConverters.fromJson(json['bookingGroups'],'List',context!); return this; } Map toJson() => { 'isEnabled': isEnabled, 'startDate': JsonConverters.toJson(startDate,'DateTime',context!), 'endDate': JsonConverters.toJson(endDate,'DateTime',context!), 'contactDetails': JsonConverters.toJson(contactDetails,'ContactDetails',context!), 'url': url, 'fee': fee, 'bookingGroups': JsonConverters.toJson(bookingGroups,'List',context!) }; getTypeName() => "CounsellingOption"; TypeContext? context = _ctx; } class CounsellingOptions implements IConvertible { bool? isEnabled; CounsellingOption? callbackOption; CounsellingOption? sendAnEmailOption; CounsellingOption? serviceLineOption; CounsellingOption? bookAppointment; CounsellingOption? seniorAdvisory; CounsellingOptions({this.isEnabled,this.callbackOption,this.sendAnEmailOption,this.serviceLineOption,this.bookAppointment,this.seniorAdvisory}); CounsellingOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { isEnabled = json['isEnabled']; callbackOption = JsonConverters.fromJson(json['callbackOption'],'CounsellingOption',context!); sendAnEmailOption = JsonConverters.fromJson(json['sendAnEmailOption'],'CounsellingOption',context!); serviceLineOption = JsonConverters.fromJson(json['serviceLineOption'],'CounsellingOption',context!); bookAppointment = JsonConverters.fromJson(json['bookAppointment'],'CounsellingOption',context!); seniorAdvisory = JsonConverters.fromJson(json['seniorAdvisory'],'CounsellingOption',context!); return this; } Map toJson() => { 'isEnabled': isEnabled, 'callbackOption': JsonConverters.toJson(callbackOption,'CounsellingOption',context!), 'sendAnEmailOption': JsonConverters.toJson(sendAnEmailOption,'CounsellingOption',context!), 'serviceLineOption': JsonConverters.toJson(serviceLineOption,'CounsellingOption',context!), 'bookAppointment': JsonConverters.toJson(bookAppointment,'CounsellingOption',context!), 'seniorAdvisory': JsonConverters.toJson(seniorAdvisory,'CounsellingOption',context!) }; getTypeName() => "CounsellingOptions"; TypeContext? context = _ctx; } abstract class CalculatorConfiguration { CalculatorConfiguration(); CalculatorConfiguration.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "CalculatorConfiguration"; TypeContext? context = _ctx; } class FolkepensionParameters implements IConvertible { int? year; double? baseAmount; double? pensionSupplementSingle; double? pensionSupplementOther; double? deductionOnBaseAmount; double? deductionOnIncomeOtherPct; double? deductionIncomeAfterAMB; double? deductionPensionSupplementSingle; double? deductionPensionSupplementOther; double? reductionBaseAmount; double? reductionPensionSupplement; double? reductionPensionSupplementOther; double? reductionPensionSupplementSpouse; FolkepensionParameters({this.year,this.baseAmount,this.pensionSupplementSingle,this.pensionSupplementOther,this.deductionOnBaseAmount,this.deductionOnIncomeOtherPct,this.deductionIncomeAfterAMB,this.deductionPensionSupplementSingle,this.deductionPensionSupplementOther,this.reductionBaseAmount,this.reductionPensionSupplement,this.reductionPensionSupplementOther,this.reductionPensionSupplementSpouse}); FolkepensionParameters.fromJson(Map json) { fromMap(json); } fromMap(Map json) { year = json['year']; baseAmount = JsonConverters.toDouble(json['baseAmount']); pensionSupplementSingle = JsonConverters.toDouble(json['pensionSupplementSingle']); pensionSupplementOther = JsonConverters.toDouble(json['pensionSupplementOther']); deductionOnBaseAmount = JsonConverters.toDouble(json['deductionOnBaseAmount']); deductionOnIncomeOtherPct = JsonConverters.toDouble(json['deductionOnIncomeOtherPct']); deductionIncomeAfterAMB = JsonConverters.toDouble(json['deductionIncomeAfterAMB']); deductionPensionSupplementSingle = JsonConverters.toDouble(json['deductionPensionSupplementSingle']); deductionPensionSupplementOther = JsonConverters.toDouble(json['deductionPensionSupplementOther']); reductionBaseAmount = JsonConverters.toDouble(json['reductionBaseAmount']); reductionPensionSupplement = JsonConverters.toDouble(json['reductionPensionSupplement']); reductionPensionSupplementOther = JsonConverters.toDouble(json['reductionPensionSupplementOther']); reductionPensionSupplementSpouse = JsonConverters.toDouble(json['reductionPensionSupplementSpouse']); return this; } Map toJson() => { 'year': year, 'baseAmount': baseAmount, 'pensionSupplementSingle': pensionSupplementSingle, 'pensionSupplementOther': pensionSupplementOther, 'deductionOnBaseAmount': deductionOnBaseAmount, 'deductionOnIncomeOtherPct': deductionOnIncomeOtherPct, 'deductionIncomeAfterAMB': deductionIncomeAfterAMB, 'deductionPensionSupplementSingle': deductionPensionSupplementSingle, 'deductionPensionSupplementOther': deductionPensionSupplementOther, 'reductionBaseAmount': reductionBaseAmount, 'reductionPensionSupplement': reductionPensionSupplement, 'reductionPensionSupplementOther': reductionPensionSupplementOther, 'reductionPensionSupplementSpouse': reductionPensionSupplementSpouse }; getTypeName() => "FolkepensionParameters"; TypeContext? context = _ctx; } class FortidspensionParameters implements IConvertible { int? year; double? stateSingle; double? stateOther; double? deductionOnIncomeOther; double? maxContributionPensioner; double? maxContributionNotPensioner; double? deductionSingle; double? deductionOther; double? reductionIncome; double? reductionIncomeSpouse; double? minimumSingle; double? minimumOther; FortidspensionParameters({this.year,this.stateSingle,this.stateOther,this.deductionOnIncomeOther,this.maxContributionPensioner,this.maxContributionNotPensioner,this.deductionSingle,this.deductionOther,this.reductionIncome,this.reductionIncomeSpouse,this.minimumSingle,this.minimumOther}); FortidspensionParameters.fromJson(Map json) { fromMap(json); } fromMap(Map json) { year = json['year']; stateSingle = JsonConverters.toDouble(json['stateSingle']); stateOther = JsonConverters.toDouble(json['stateOther']); deductionOnIncomeOther = JsonConverters.toDouble(json['deductionOnIncomeOther']); maxContributionPensioner = JsonConverters.toDouble(json['maxContributionPensioner']); maxContributionNotPensioner = JsonConverters.toDouble(json['maxContributionNotPensioner']); deductionSingle = JsonConverters.toDouble(json['deductionSingle']); deductionOther = JsonConverters.toDouble(json['deductionOther']); reductionIncome = JsonConverters.toDouble(json['reductionIncome']); reductionIncomeSpouse = JsonConverters.toDouble(json['reductionIncomeSpouse']); minimumSingle = JsonConverters.toDouble(json['minimumSingle']); minimumOther = JsonConverters.toDouble(json['minimumOther']); return this; } Map toJson() => { 'year': year, 'stateSingle': stateSingle, 'stateOther': stateOther, 'deductionOnIncomeOther': deductionOnIncomeOther, 'maxContributionPensioner': maxContributionPensioner, 'maxContributionNotPensioner': maxContributionNotPensioner, 'deductionSingle': deductionSingle, 'deductionOther': deductionOther, 'reductionIncome': reductionIncome, 'reductionIncomeSpouse': reductionIncomeSpouse, 'minimumSingle': minimumSingle, 'minimumOther': minimumOther }; getTypeName() => "FortidspensionParameters"; TypeContext? context = _ctx; } class DanishTaxParameters implements IConvertible { double? labourMarketContributionRate; double? bottomTaxRate; double? healthContributionRate; double? topTaxRate; double? topTaxLimit; double? taxCeilingPercentage; double? taxCeilingPercentagePositiveNetCapitalIncome; double? personalAllowanceYoung; double? personalAllowance; double? maximalCapitalPensionDeduction; double? baseDeductionPositiveNetCapitalIncome; double? shareTaxRateBelowLimit; double? shareTaxRateAboveLimit; double? limitShareTax; double? bottomLimitEmployeeDeduction; double? employeeDeductionRate; double? maximumEmploymentAllowance; double? propertyValueTaxPercentageBelowLimitEVL; double? propertyValueTaxPercentageAboveLimitEVL; double? limitPropertyValueTax; double? deductionOfPropertyValueTax6; double? deductionOfPropertyValueTax7; double? maximumImpactUnderEVL; double? negativeNetCapitalIncome; double? bottomDeductionEqualizationTax; double? equalizationTax; double? transferableBottomDeductionEqualizationTax; double? bottomLineJobDeduction; double? jobDeductionRate; double? maximumJobDeduction; List? countyTaxLookup; DanishTaxParameters({this.labourMarketContributionRate,this.bottomTaxRate,this.healthContributionRate,this.topTaxRate,this.topTaxLimit,this.taxCeilingPercentage,this.taxCeilingPercentagePositiveNetCapitalIncome,this.personalAllowanceYoung,this.personalAllowance,this.maximalCapitalPensionDeduction,this.baseDeductionPositiveNetCapitalIncome,this.shareTaxRateBelowLimit,this.shareTaxRateAboveLimit,this.limitShareTax,this.bottomLimitEmployeeDeduction,this.employeeDeductionRate,this.maximumEmploymentAllowance,this.propertyValueTaxPercentageBelowLimitEVL,this.propertyValueTaxPercentageAboveLimitEVL,this.limitPropertyValueTax,this.deductionOfPropertyValueTax6,this.deductionOfPropertyValueTax7,this.maximumImpactUnderEVL,this.negativeNetCapitalIncome,this.bottomDeductionEqualizationTax,this.equalizationTax,this.transferableBottomDeductionEqualizationTax,this.bottomLineJobDeduction,this.jobDeductionRate,this.maximumJobDeduction,this.countyTaxLookup}); DanishTaxParameters.fromJson(Map json) { fromMap(json); } fromMap(Map json) { labourMarketContributionRate = JsonConverters.toDouble(json['labourMarketContributionRate']); bottomTaxRate = JsonConverters.toDouble(json['bottomTaxRate']); healthContributionRate = JsonConverters.toDouble(json['healthContributionRate']); topTaxRate = JsonConverters.toDouble(json['topTaxRate']); topTaxLimit = JsonConverters.toDouble(json['topTaxLimit']); taxCeilingPercentage = JsonConverters.toDouble(json['taxCeilingPercentage']); taxCeilingPercentagePositiveNetCapitalIncome = JsonConverters.toDouble(json['taxCeilingPercentagePositiveNetCapitalIncome']); personalAllowanceYoung = JsonConverters.toDouble(json['personalAllowanceYoung']); personalAllowance = JsonConverters.toDouble(json['personalAllowance']); maximalCapitalPensionDeduction = JsonConverters.toDouble(json['maximalCapitalPensionDeduction']); baseDeductionPositiveNetCapitalIncome = JsonConverters.toDouble(json['baseDeductionPositiveNetCapitalIncome']); shareTaxRateBelowLimit = JsonConverters.toDouble(json['shareTaxRateBelowLimit']); shareTaxRateAboveLimit = JsonConverters.toDouble(json['shareTaxRateAboveLimit']); limitShareTax = JsonConverters.toDouble(json['limitShareTax']); bottomLimitEmployeeDeduction = JsonConverters.toDouble(json['bottomLimitEmployeeDeduction']); employeeDeductionRate = JsonConverters.toDouble(json['employeeDeductionRate']); maximumEmploymentAllowance = JsonConverters.toDouble(json['maximumEmploymentAllowance']); propertyValueTaxPercentageBelowLimitEVL = JsonConverters.toDouble(json['propertyValueTaxPercentageBelowLimitEVL']); propertyValueTaxPercentageAboveLimitEVL = JsonConverters.toDouble(json['propertyValueTaxPercentageAboveLimitEVL']); limitPropertyValueTax = JsonConverters.toDouble(json['limitPropertyValueTax']); deductionOfPropertyValueTax6 = JsonConverters.toDouble(json['deductionOfPropertyValueTax6']); deductionOfPropertyValueTax7 = JsonConverters.toDouble(json['deductionOfPropertyValueTax7']); maximumImpactUnderEVL = JsonConverters.toDouble(json['maximumImpactUnderEVL']); negativeNetCapitalIncome = JsonConverters.toDouble(json['negativeNetCapitalIncome']); bottomDeductionEqualizationTax = JsonConverters.toDouble(json['bottomDeductionEqualizationTax']); equalizationTax = JsonConverters.toDouble(json['equalizationTax']); transferableBottomDeductionEqualizationTax = JsonConverters.toDouble(json['transferableBottomDeductionEqualizationTax']); bottomLineJobDeduction = JsonConverters.toDouble(json['bottomLineJobDeduction']); jobDeductionRate = JsonConverters.toDouble(json['jobDeductionRate']); maximumJobDeduction = JsonConverters.toDouble(json['maximumJobDeduction']); countyTaxLookup = JsonConverters.fromJson(json['countyTaxLookup'],'List',context!); return this; } Map toJson() => { 'labourMarketContributionRate': labourMarketContributionRate, 'bottomTaxRate': bottomTaxRate, 'healthContributionRate': healthContributionRate, 'topTaxRate': topTaxRate, 'topTaxLimit': topTaxLimit, 'taxCeilingPercentage': taxCeilingPercentage, 'taxCeilingPercentagePositiveNetCapitalIncome': taxCeilingPercentagePositiveNetCapitalIncome, 'personalAllowanceYoung': personalAllowanceYoung, 'personalAllowance': personalAllowance, 'maximalCapitalPensionDeduction': maximalCapitalPensionDeduction, 'baseDeductionPositiveNetCapitalIncome': baseDeductionPositiveNetCapitalIncome, 'shareTaxRateBelowLimit': shareTaxRateBelowLimit, 'shareTaxRateAboveLimit': shareTaxRateAboveLimit, 'limitShareTax': limitShareTax, 'bottomLimitEmployeeDeduction': bottomLimitEmployeeDeduction, 'employeeDeductionRate': employeeDeductionRate, 'maximumEmploymentAllowance': maximumEmploymentAllowance, 'propertyValueTaxPercentageBelowLimitEVL': propertyValueTaxPercentageBelowLimitEVL, 'propertyValueTaxPercentageAboveLimitEVL': propertyValueTaxPercentageAboveLimitEVL, 'limitPropertyValueTax': limitPropertyValueTax, 'deductionOfPropertyValueTax6': deductionOfPropertyValueTax6, 'deductionOfPropertyValueTax7': deductionOfPropertyValueTax7, 'maximumImpactUnderEVL': maximumImpactUnderEVL, 'negativeNetCapitalIncome': negativeNetCapitalIncome, 'bottomDeductionEqualizationTax': bottomDeductionEqualizationTax, 'equalizationTax': equalizationTax, 'transferableBottomDeductionEqualizationTax': transferableBottomDeductionEqualizationTax, 'bottomLineJobDeduction': bottomLineJobDeduction, 'jobDeductionRate': jobDeductionRate, 'maximumJobDeduction': maximumJobDeduction, 'countyTaxLookup': JsonConverters.toJson(countyTaxLookup,'List',context!) }; getTypeName() => "DanishTaxParameters"; TypeContext? context = _ctx; } class DanishAdvisoryParameters implements IConvertible { int? normalRetirementAge; int? planningHorizon; double? retirementGreenThresholdPct; double? retirementAmberThresholdPct; double? incapacityGreenThresholdPct; double? incapacityAmberThresholdPct; double? criticalIllnessGreenThresholdPct; double? criticalIllnessAmberThresholdPct; double? deathSingleGreenThresholdPct; double? deathSingleAmberThresholdPct; double? deathMarriedGreenThresholdPct; double? deathMarriedAmberThresholdPct; DanishAdvisoryParameters({this.normalRetirementAge,this.planningHorizon,this.retirementGreenThresholdPct,this.retirementAmberThresholdPct,this.incapacityGreenThresholdPct,this.incapacityAmberThresholdPct,this.criticalIllnessGreenThresholdPct,this.criticalIllnessAmberThresholdPct,this.deathSingleGreenThresholdPct,this.deathSingleAmberThresholdPct,this.deathMarriedGreenThresholdPct,this.deathMarriedAmberThresholdPct}); DanishAdvisoryParameters.fromJson(Map json) { fromMap(json); } fromMap(Map json) { normalRetirementAge = json['normalRetirementAge']; planningHorizon = json['planningHorizon']; retirementGreenThresholdPct = JsonConverters.toDouble(json['retirementGreenThresholdPct']); retirementAmberThresholdPct = JsonConverters.toDouble(json['retirementAmberThresholdPct']); incapacityGreenThresholdPct = JsonConverters.toDouble(json['incapacityGreenThresholdPct']); incapacityAmberThresholdPct = JsonConverters.toDouble(json['incapacityAmberThresholdPct']); criticalIllnessGreenThresholdPct = JsonConverters.toDouble(json['criticalIllnessGreenThresholdPct']); criticalIllnessAmberThresholdPct = JsonConverters.toDouble(json['criticalIllnessAmberThresholdPct']); deathSingleGreenThresholdPct = JsonConverters.toDouble(json['deathSingleGreenThresholdPct']); deathSingleAmberThresholdPct = JsonConverters.toDouble(json['deathSingleAmberThresholdPct']); deathMarriedGreenThresholdPct = JsonConverters.toDouble(json['deathMarriedGreenThresholdPct']); deathMarriedAmberThresholdPct = JsonConverters.toDouble(json['deathMarriedAmberThresholdPct']); return this; } Map toJson() => { 'normalRetirementAge': normalRetirementAge, 'planningHorizon': planningHorizon, 'retirementGreenThresholdPct': retirementGreenThresholdPct, 'retirementAmberThresholdPct': retirementAmberThresholdPct, 'incapacityGreenThresholdPct': incapacityGreenThresholdPct, 'incapacityAmberThresholdPct': incapacityAmberThresholdPct, 'criticalIllnessGreenThresholdPct': criticalIllnessGreenThresholdPct, 'criticalIllnessAmberThresholdPct': criticalIllnessAmberThresholdPct, 'deathSingleGreenThresholdPct': deathSingleGreenThresholdPct, 'deathSingleAmberThresholdPct': deathSingleAmberThresholdPct, 'deathMarriedGreenThresholdPct': deathMarriedGreenThresholdPct, 'deathMarriedAmberThresholdPct': deathMarriedAmberThresholdPct }; getTypeName() => "DanishAdvisoryParameters"; TypeContext? context = _ctx; } class DanishGeneralPensionParameters implements IConvertible { double? instalmentPensionContributionCeiling; double? retirementSavingContributionCeilingLessThan5; double? retirementSavingContributionCeilingMoreThan5; DanishGeneralPensionParameters({this.instalmentPensionContributionCeiling,this.retirementSavingContributionCeilingLessThan5,this.retirementSavingContributionCeilingMoreThan5}); DanishGeneralPensionParameters.fromJson(Map json) { fromMap(json); } fromMap(Map json) { instalmentPensionContributionCeiling = JsonConverters.toDouble(json['instalmentPensionContributionCeiling']); retirementSavingContributionCeilingLessThan5 = JsonConverters.toDouble(json['retirementSavingContributionCeilingLessThan5']); retirementSavingContributionCeilingMoreThan5 = JsonConverters.toDouble(json['retirementSavingContributionCeilingMoreThan5']); return this; } Map toJson() => { 'instalmentPensionContributionCeiling': instalmentPensionContributionCeiling, 'retirementSavingContributionCeilingLessThan5': retirementSavingContributionCeilingLessThan5, 'retirementSavingContributionCeilingMoreThan5': retirementSavingContributionCeilingMoreThan5 }; getTypeName() => "DanishGeneralPensionParameters"; TypeContext? context = _ctx; } class DkCalculatorConfiguration extends CalculatorConfiguration implements IConvertible { FolkepensionParameters? folkepensionParameters; FortidspensionParameters? fortidspensionParameters; DanishTaxParameters? danishTaxParameters; DanishAdvisoryParameters? danishAdvisoryParameters; DanishGeneralPensionParameters? danishGeneralPensionParameters; DkCalculatorConfiguration({this.folkepensionParameters,this.fortidspensionParameters,this.danishTaxParameters,this.danishAdvisoryParameters,this.danishGeneralPensionParameters}); DkCalculatorConfiguration.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); folkepensionParameters = JsonConverters.fromJson(json['folkepensionParameters'],'FolkepensionParameters',context!); fortidspensionParameters = JsonConverters.fromJson(json['fortidspensionParameters'],'FortidspensionParameters',context!); danishTaxParameters = JsonConverters.fromJson(json['danishTaxParameters'],'DanishTaxParameters',context!); danishAdvisoryParameters = JsonConverters.fromJson(json['danishAdvisoryParameters'],'DanishAdvisoryParameters',context!); danishGeneralPensionParameters = JsonConverters.fromJson(json['danishGeneralPensionParameters'],'DanishGeneralPensionParameters',context!); return this; } Map toJson() => super.toJson()..addAll({ 'folkepensionParameters': JsonConverters.toJson(folkepensionParameters,'FolkepensionParameters',context!), 'fortidspensionParameters': JsonConverters.toJson(fortidspensionParameters,'FortidspensionParameters',context!), 'danishTaxParameters': JsonConverters.toJson(danishTaxParameters,'DanishTaxParameters',context!), 'danishAdvisoryParameters': JsonConverters.toJson(danishAdvisoryParameters,'DanishAdvisoryParameters',context!), 'danishGeneralPensionParameters': JsonConverters.toJson(danishGeneralPensionParameters,'DanishGeneralPensionParameters',context!) }); getTypeName() => "DkCalculatorConfiguration"; TypeContext? context = _ctx; } class SecurityToken implements IConvertible { String? value; DateTime? expiration; SecurityToken({this.value,this.expiration}); SecurityToken.fromJson(Map json) { fromMap(json); } fromMap(Map json) { value = json['value']; expiration = JsonConverters.fromJson(json['expiration'],'DateTime',context!); return this; } Map toJson() => { 'value': value, 'expiration': JsonConverters.toJson(expiration,'DateTime',context!) }; getTypeName() => "SecurityToken"; TypeContext? context = _ctx; } enum DkTaxationCode { Free, FullTax, FullDuty, NoInfo, } class DkPensionsInfoProjection implements IConvertible { int? id; int? savingsNumber; int? retirementAge; DkTaxationCode? taxCode; bool? includeInProjection; int? fromAge; int? toAge; int? amount; DkPensionsInfoProjection({this.id,this.savingsNumber,this.retirementAge,this.taxCode,this.includeInProjection,this.fromAge,this.toAge,this.amount}); DkPensionsInfoProjection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; savingsNumber = json['savingsNumber']; retirementAge = json['retirementAge']; taxCode = JsonConverters.fromJson(json['taxCode'],'DkTaxationCode',context!); includeInProjection = json['includeInProjection']; fromAge = json['fromAge']; toAge = json['toAge']; amount = json['amount']; return this; } Map toJson() => { 'id': id, 'savingsNumber': savingsNumber, 'retirementAge': retirementAge, 'taxCode': JsonConverters.toJson(taxCode,'DkTaxationCode',context!), 'includeInProjection': includeInProjection, 'fromAge': fromAge, 'toAge': toAge, 'amount': amount }; getTypeName() => "DkPensionsInfoProjection"; TypeContext? context = _ctx; } class DkPensionsInfoSaving implements IConvertible { int? number; String? carrier; String? referenceNumber; int? annualContribution; bool? includeInProjection; DateTime? statementDate; int? savings; List? projections; DkPensionsInfoSaving({this.number,this.carrier,this.referenceNumber,this.annualContribution,this.includeInProjection,this.statementDate,this.savings,this.projections}); DkPensionsInfoSaving.fromJson(Map json) { fromMap(json); } fromMap(Map json) { number = json['number']; carrier = json['carrier']; referenceNumber = json['referenceNumber']; annualContribution = json['annualContribution']; includeInProjection = json['includeInProjection']; statementDate = JsonConverters.fromJson(json['statementDate'],'DateTime',context!); savings = json['savings']; projections = JsonConverters.fromJson(json['projections'],'List',context!); return this; } Map toJson() => { 'number': number, 'carrier': carrier, 'referenceNumber': referenceNumber, 'annualContribution': annualContribution, 'includeInProjection': includeInProjection, 'statementDate': JsonConverters.toJson(statementDate,'DateTime',context!), 'savings': savings, 'projections': JsonConverters.toJson(projections,'List',context!) }; getTypeName() => "DkPensionsInfoSaving"; TypeContext? context = _ctx; } enum PensionsInfoBenefitType { Death, LossOfWorkAbility, CriticalIllness, Health, } enum PensionsInfoPaymentType { Lumpsum, FixedTermAnnuity, Annuity, } enum PensionsInfoBeneficiaryType { AccountOwner, NextAkin, Children, Estate, NamedBeneficiary, Spouse, } class DkPensionsInfoRisk implements IConvertible { int? number; String? carrier; PensionsInfoBenefitType? risk; PensionsInfoPaymentType? paymentType; PensionsInfoBeneficiaryType? beneficiary; DkTaxationCode? taxCode; int? amount; DkPensionsInfoRisk({this.number,this.carrier,this.risk,this.paymentType,this.beneficiary,this.taxCode,this.amount}); DkPensionsInfoRisk.fromJson(Map json) { fromMap(json); } fromMap(Map json) { number = json['number']; carrier = json['carrier']; risk = JsonConverters.fromJson(json['risk'],'PensionsInfoBenefitType',context!); paymentType = JsonConverters.fromJson(json['paymentType'],'PensionsInfoPaymentType',context!); beneficiary = JsonConverters.fromJson(json['beneficiary'],'PensionsInfoBeneficiaryType',context!); taxCode = JsonConverters.fromJson(json['taxCode'],'DkTaxationCode',context!); amount = json['amount']; return this; } Map toJson() => { 'number': number, 'carrier': carrier, 'risk': JsonConverters.toJson(risk,'PensionsInfoBenefitType',context!), 'paymentType': JsonConverters.toJson(paymentType,'PensionsInfoPaymentType',context!), 'beneficiary': JsonConverters.toJson(beneficiary,'PensionsInfoBeneficiaryType',context!), 'taxCode': JsonConverters.toJson(taxCode,'DkTaxationCode',context!), 'amount': amount }; getTypeName() => "DkPensionsInfoRisk"; TypeContext? context = _ctx; } class DkPensionsInfo implements IConvertible { DateTime? date; List? savings; List? projections; List? risks; DkPensionsInfo({this.date,this.savings,this.projections,this.risks}); DkPensionsInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { date = JsonConverters.fromJson(json['date'],'DateTime',context!); savings = JsonConverters.fromJson(json['savings'],'List',context!); projections = JsonConverters.fromJson(json['projections'],'List',context!); risks = JsonConverters.fromJson(json['risks'],'List',context!); return this; } Map toJson() => { 'date': JsonConverters.toJson(date,'DateTime',context!), 'savings': JsonConverters.toJson(savings,'List',context!), 'projections': JsonConverters.toJson(projections,'List',context!), 'risks': JsonConverters.toJson(risks,'List',context!) }; getTypeName() => "DkPensionsInfo"; TypeContext? context = _ctx; } class FormerDdrValues implements IConvertible { double? retirementInsuranceCeiling; double? healthInsuranceCeiling; double? currentPensionLevel; double? referenceIncome; FormerDdrValues({this.retirementInsuranceCeiling,this.healthInsuranceCeiling,this.currentPensionLevel,this.referenceIncome}); FormerDdrValues.fromJson(Map json) { fromMap(json); } fromMap(Map json) { retirementInsuranceCeiling = JsonConverters.toDouble(json['retirementInsuranceCeiling']); healthInsuranceCeiling = JsonConverters.toDouble(json['healthInsuranceCeiling']); currentPensionLevel = JsonConverters.toDouble(json['currentPensionLevel']); referenceIncome = JsonConverters.toDouble(json['referenceIncome']); return this; } Map toJson() => { 'retirementInsuranceCeiling': retirementInsuranceCeiling, 'healthInsuranceCeiling': healthInsuranceCeiling, 'currentPensionLevel': currentPensionLevel, 'referenceIncome': referenceIncome }; getTypeName() => "FormerDdrValues"; TypeContext? context = _ctx; } class DeSocialSecurityParameters implements IConvertible { double? retirementInsuranceCeiling; double? healthInsuranceCeiling; double? currentPensionLevel; double? referenceIncome; FormerDdrValues? ddrValues; double? employerRetirementPct; double? employerUnemployementPct; double? employerHealthInsuranceBasePct; double? employerHealthInsuranceAdditionalPct; double? employerNursingCarePct; double? employeeRetirementPct; double? employeeUnemployementPct; double? employeeHealthInsuranceBasePct; double? employeeHealthInsuranceAdditionalPct; double? employeeNursingCarePct; double? employeeChildlessNursingCareAdditionalPct; DeSocialSecurityParameters({this.retirementInsuranceCeiling,this.healthInsuranceCeiling,this.currentPensionLevel,this.referenceIncome,this.ddrValues,this.employerRetirementPct,this.employerUnemployementPct,this.employerHealthInsuranceBasePct,this.employerHealthInsuranceAdditionalPct,this.employerNursingCarePct,this.employeeRetirementPct,this.employeeUnemployementPct,this.employeeHealthInsuranceBasePct,this.employeeHealthInsuranceAdditionalPct,this.employeeNursingCarePct,this.employeeChildlessNursingCareAdditionalPct}); DeSocialSecurityParameters.fromJson(Map json) { fromMap(json); } fromMap(Map json) { retirementInsuranceCeiling = JsonConverters.toDouble(json['retirementInsuranceCeiling']); healthInsuranceCeiling = JsonConverters.toDouble(json['healthInsuranceCeiling']); currentPensionLevel = JsonConverters.toDouble(json['currentPensionLevel']); referenceIncome = JsonConverters.toDouble(json['referenceIncome']); ddrValues = JsonConverters.fromJson(json['ddrValues'],'FormerDdrValues',context!); employerRetirementPct = JsonConverters.toDouble(json['employerRetirementPct']); employerUnemployementPct = JsonConverters.toDouble(json['employerUnemployementPct']); employerHealthInsuranceBasePct = JsonConverters.toDouble(json['employerHealthInsuranceBasePct']); employerHealthInsuranceAdditionalPct = JsonConverters.toDouble(json['employerHealthInsuranceAdditionalPct']); employerNursingCarePct = JsonConverters.toDouble(json['employerNursingCarePct']); employeeRetirementPct = JsonConverters.toDouble(json['employeeRetirementPct']); employeeUnemployementPct = JsonConverters.toDouble(json['employeeUnemployementPct']); employeeHealthInsuranceBasePct = JsonConverters.toDouble(json['employeeHealthInsuranceBasePct']); employeeHealthInsuranceAdditionalPct = JsonConverters.toDouble(json['employeeHealthInsuranceAdditionalPct']); employeeNursingCarePct = JsonConverters.toDouble(json['employeeNursingCarePct']); employeeChildlessNursingCareAdditionalPct = JsonConverters.toDouble(json['employeeChildlessNursingCareAdditionalPct']); return this; } Map toJson() => { 'retirementInsuranceCeiling': retirementInsuranceCeiling, 'healthInsuranceCeiling': healthInsuranceCeiling, 'currentPensionLevel': currentPensionLevel, 'referenceIncome': referenceIncome, 'ddrValues': JsonConverters.toJson(ddrValues,'FormerDdrValues',context!), 'employerRetirementPct': employerRetirementPct, 'employerUnemployementPct': employerUnemployementPct, 'employerHealthInsuranceBasePct': employerHealthInsuranceBasePct, 'employerHealthInsuranceAdditionalPct': employerHealthInsuranceAdditionalPct, 'employerNursingCarePct': employerNursingCarePct, 'employeeRetirementPct': employeeRetirementPct, 'employeeUnemployementPct': employeeUnemployementPct, 'employeeHealthInsuranceBasePct': employeeHealthInsuranceBasePct, 'employeeHealthInsuranceAdditionalPct': employeeHealthInsuranceAdditionalPct, 'employeeNursingCarePct': employeeNursingCarePct, 'employeeChildlessNursingCareAdditionalPct': employeeChildlessNursingCareAdditionalPct }; getTypeName() => "DeSocialSecurityParameters"; TypeContext? context = _ctx; } class DeCalculatorConfiguration extends CalculatorConfiguration implements IConvertible { DeSocialSecurityParameters? socialSecurityParameters; DeCalculatorConfiguration({this.socialSecurityParameters}); DeCalculatorConfiguration.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); socialSecurityParameters = JsonConverters.fromJson(json['socialSecurityParameters'],'DeSocialSecurityParameters',context!); return this; } Map toJson() => super.toJson()..addAll({ 'socialSecurityParameters': JsonConverters.toJson(socialSecurityParameters,'DeSocialSecurityParameters',context!) }); getTypeName() => "DeCalculatorConfiguration"; TypeContext? context = _ctx; } class Cover implements IConvertible { CarrierEntity? carrier; String? payOut; String? unit; String? expiryAge; String? defaultTaxCode; String? optionalTaxCode; bool? scalingDown; bool? hasBasic; bool? hasExtra; double? basicBenefit; double? basicMinimumAmount; double? extraBenefit; Cover({this.carrier,this.payOut,this.unit,this.expiryAge,this.defaultTaxCode,this.optionalTaxCode,this.scalingDown,this.hasBasic,this.hasExtra,this.basicBenefit,this.basicMinimumAmount,this.extraBenefit}); Cover.fromJson(Map json) { fromMap(json); } fromMap(Map json) { carrier = JsonConverters.fromJson(json['carrier'],'CarrierEntity',context!); payOut = json['payOut']; unit = json['unit']; expiryAge = json['expiryAge']; defaultTaxCode = json['defaultTaxCode']; optionalTaxCode = json['optionalTaxCode']; scalingDown = json['scalingDown']; hasBasic = json['hasBasic']; hasExtra = json['hasExtra']; basicBenefit = JsonConverters.toDouble(json['basicBenefit']); basicMinimumAmount = JsonConverters.toDouble(json['basicMinimumAmount']); extraBenefit = JsonConverters.toDouble(json['extraBenefit']); return this; } Map toJson() => { 'carrier': JsonConverters.toJson(carrier,'CarrierEntity',context!), 'payOut': payOut, 'unit': unit, 'expiryAge': expiryAge, 'defaultTaxCode': defaultTaxCode, 'optionalTaxCode': optionalTaxCode, 'scalingDown': scalingDown, 'hasBasic': hasBasic, 'hasExtra': hasExtra, 'basicBenefit': basicBenefit, 'basicMinimumAmount': basicMinimumAmount, 'extraBenefit': extraBenefit }; getTypeName() => "Cover"; TypeContext? context = _ctx; } class DisabilityCover implements IConvertible { Cover? basicDisabilityCover; bool? basicSalaryScale; bool? paragraph17; bool? professionDisability; int? minimumDisabilityPeriodMonths; bool? jobCapacityAssessmentBenefit; DisabilityCover({this.basicDisabilityCover,this.basicSalaryScale,this.paragraph17,this.professionDisability,this.minimumDisabilityPeriodMonths,this.jobCapacityAssessmentBenefit}); DisabilityCover.fromJson(Map json) { fromMap(json); } fromMap(Map json) { basicDisabilityCover = JsonConverters.fromJson(json['basicDisabilityCover'],'Cover',context!); basicSalaryScale = json['basicSalaryScale']; paragraph17 = json['paragraph17']; professionDisability = json['professionDisability']; minimumDisabilityPeriodMonths = json['minimumDisabilityPeriodMonths']; jobCapacityAssessmentBenefit = json['jobCapacityAssessmentBenefit']; return this; } Map toJson() => { 'basicDisabilityCover': JsonConverters.toJson(basicDisabilityCover,'Cover',context!), 'basicSalaryScale': basicSalaryScale, 'paragraph17': paragraph17, 'professionDisability': professionDisability, 'minimumDisabilityPeriodMonths': minimumDisabilityPeriodMonths, 'jobCapacityAssessmentBenefit': jobCapacityAssessmentBenefit }; getTypeName() => "DisabilityCover"; TypeContext? context = _ctx; } class DisabilityInsurancePlan implements IConvertible { String? disabilityDegree; bool? hasPremiumWaiverCover; List? disabilityCover; DisabilityInsurancePlan({this.disabilityDegree,this.hasPremiumWaiverCover,this.disabilityCover}); DisabilityInsurancePlan.fromJson(Map json) { fromMap(json); } fromMap(Map json) { disabilityDegree = json['disabilityDegree']; hasPremiumWaiverCover = json['hasPremiumWaiverCover']; disabilityCover = JsonConverters.fromJson(json['disabilityCover'],'List',context!); return this; } Map toJson() => { 'disabilityDegree': disabilityDegree, 'hasPremiumWaiverCover': hasPremiumWaiverCover, 'disabilityCover': JsonConverters.toJson(disabilityCover,'List',context!) }; getTypeName() => "DisabilityInsurancePlan"; TypeContext? context = _ctx; } class CriticalIllnessInsurancePlan implements IConvertible { List? criticalIllnessCover; List? criticalIllnessChildrenCover; CriticalIllnessInsurancePlan({this.criticalIllnessCover,this.criticalIllnessChildrenCover}); CriticalIllnessInsurancePlan.fromJson(Map json) { fromMap(json); } fromMap(Map json) { criticalIllnessCover = JsonConverters.fromJson(json['criticalIllnessCover'],'List',context!); criticalIllnessChildrenCover = JsonConverters.fromJson(json['criticalIllnessChildrenCover'],'List',context!); return this; } Map toJson() => { 'criticalIllnessCover': JsonConverters.toJson(criticalIllnessCover,'List',context!), 'criticalIllnessChildrenCover': JsonConverters.toJson(criticalIllnessChildrenCover,'List',context!) }; getTypeName() => "CriticalIllnessInsurancePlan"; TypeContext? context = _ctx; } class DeathCover implements IConvertible { Cover? cover; String? depositGuarantee; bool? depositGuarenteeOptional; DeathCover({this.cover,this.depositGuarantee,this.depositGuarenteeOptional}); DeathCover.fromJson(Map json) { fromMap(json); } fromMap(Map json) { cover = JsonConverters.fromJson(json['cover'],'Cover',context!); depositGuarantee = json['depositGuarantee']; depositGuarenteeOptional = json['depositGuarenteeOptional']; return this; } Map toJson() => { 'cover': JsonConverters.toJson(cover,'Cover',context!), 'depositGuarantee': depositGuarantee, 'depositGuarenteeOptional': depositGuarenteeOptional }; getTypeName() => "DeathCover"; TypeContext? context = _ctx; } class DeathInsurancePlan implements IConvertible { List? deathCover; List? deathChildrenCover; DeathInsurancePlan({this.deathCover,this.deathChildrenCover}); DeathInsurancePlan.fromJson(Map json) { fromMap(json); } fromMap(Map json) { deathCover = JsonConverters.fromJson(json['deathCover'],'List',context!); deathChildrenCover = JsonConverters.fromJson(json['deathChildrenCover'],'List',context!); return this; } Map toJson() => { 'deathCover': JsonConverters.toJson(deathCover,'List',context!), 'deathChildrenCover': JsonConverters.toJson(deathChildrenCover,'List',context!) }; getTypeName() => "DeathInsurancePlan"; TypeContext? context = _ctx; } enum CoverageTypes { None, Optional, Mandatory, } class HealthInsurancePlan implements IConvertible { CarrierEntity? carrier; double? expiryAge; CoverageTypes? coverageType; CoverageTypes? spouseCoverageType; CoverageTypes? childCoverageType; int? childCoverageMaxAge; HealthInsurancePlan({this.carrier,this.expiryAge,this.coverageType,this.spouseCoverageType,this.childCoverageType,this.childCoverageMaxAge}); HealthInsurancePlan.fromJson(Map json) { fromMap(json); } fromMap(Map json) { carrier = JsonConverters.fromJson(json['carrier'],'CarrierEntity',context!); expiryAge = JsonConverters.toDouble(json['expiryAge']); coverageType = JsonConverters.fromJson(json['coverageType'],'CoverageTypes',context!); spouseCoverageType = JsonConverters.fromJson(json['spouseCoverageType'],'CoverageTypes',context!); childCoverageType = JsonConverters.fromJson(json['childCoverageType'],'CoverageTypes',context!); childCoverageMaxAge = json['childCoverageMaxAge']; return this; } Map toJson() => { 'carrier': JsonConverters.toJson(carrier,'CarrierEntity',context!), 'expiryAge': expiryAge, 'coverageType': JsonConverters.toJson(coverageType,'CoverageTypes',context!), 'spouseCoverageType': JsonConverters.toJson(spouseCoverageType,'CoverageTypes',context!), 'childCoverageType': JsonConverters.toJson(childCoverageType,'CoverageTypes',context!), 'childCoverageMaxAge': childCoverageMaxAge }; getTypeName() => "HealthInsurancePlan"; TypeContext? context = _ctx; } class AccidentInsurancePlan implements IConvertible { CarrierEntity? carrier; double? expiryAge; int? insuranceAmount; bool? deathCover; bool? dentalCover; AccidentInsurancePlan({this.carrier,this.expiryAge,this.insuranceAmount,this.deathCover,this.dentalCover}); AccidentInsurancePlan.fromJson(Map json) { fromMap(json); } fromMap(Map json) { carrier = JsonConverters.fromJson(json['carrier'],'CarrierEntity',context!); expiryAge = JsonConverters.toDouble(json['expiryAge']); insuranceAmount = json['insuranceAmount']; deathCover = json['deathCover']; dentalCover = json['dentalCover']; return this; } Map toJson() => { 'carrier': JsonConverters.toJson(carrier,'CarrierEntity',context!), 'expiryAge': expiryAge, 'insuranceAmount': insuranceAmount, 'deathCover': deathCover, 'dentalCover': dentalCover }; getTypeName() => "AccidentInsurancePlan"; TypeContext? context = _ctx; } class DentalInsurancePlan implements IConvertible { CarrierEntity? carrier; double? expiryAge; String? coverageType; bool? extendedCoverage; DentalInsurancePlan({this.carrier,this.expiryAge,this.coverageType,this.extendedCoverage}); DentalInsurancePlan.fromJson(Map json) { fromMap(json); } fromMap(Map json) { carrier = JsonConverters.fromJson(json['carrier'],'CarrierEntity',context!); expiryAge = JsonConverters.toDouble(json['expiryAge']); coverageType = json['coverageType']; extendedCoverage = json['extendedCoverage']; return this; } Map toJson() => { 'carrier': JsonConverters.toJson(carrier,'CarrierEntity',context!), 'expiryAge': expiryAge, 'coverageType': coverageType, 'extendedCoverage': extendedCoverage }; getTypeName() => "DentalInsurancePlan"; TypeContext? context = _ctx; } class SeniorCitizenConcept implements IConvertible { bool? solidary; bool? hasSpecificPrice; double? specificPrice; SeniorCitizenConcept({this.solidary,this.hasSpecificPrice,this.specificPrice}); SeniorCitizenConcept.fromJson(Map json) { fromMap(json); } fromMap(Map json) { solidary = json['solidary']; hasSpecificPrice = json['hasSpecificPrice']; specificPrice = JsonConverters.toDouble(json['specificPrice']); return this; } Map toJson() => { 'solidary': solidary, 'hasSpecificPrice': hasSpecificPrice, 'specificPrice': specificPrice }; getTypeName() => "SeniorCitizenConcept"; TypeContext? context = _ctx; } class RetirementPlan implements IConvertible { String? contributionUnit; double? mandatoryEmployerContribution; double? mandatoryEmployeeContribution; double? additionalContribution; List? savingOptions; CarrierEntity? defaultCarrier; bool? hasDefaultSavingProduct; SavingProduct? defaultSavingProduct; RetirementPlan({this.contributionUnit,this.mandatoryEmployerContribution,this.mandatoryEmployeeContribution,this.additionalContribution,this.savingOptions,this.defaultCarrier,this.hasDefaultSavingProduct,this.defaultSavingProduct}); RetirementPlan.fromJson(Map json) { fromMap(json); } fromMap(Map json) { contributionUnit = json['contributionUnit']; mandatoryEmployerContribution = JsonConverters.toDouble(json['mandatoryEmployerContribution']); mandatoryEmployeeContribution = JsonConverters.toDouble(json['mandatoryEmployeeContribution']); additionalContribution = JsonConverters.toDouble(json['additionalContribution']); savingOptions = JsonConverters.fromJson(json['savingOptions'],'List',context!); defaultCarrier = JsonConverters.fromJson(json['defaultCarrier'],'CarrierEntity',context!); hasDefaultSavingProduct = json['hasDefaultSavingProduct']; defaultSavingProduct = JsonConverters.fromJson(json['defaultSavingProduct'],'SavingProduct',context!); return this; } Map toJson() => { 'contributionUnit': contributionUnit, 'mandatoryEmployerContribution': mandatoryEmployerContribution, 'mandatoryEmployeeContribution': mandatoryEmployeeContribution, 'additionalContribution': additionalContribution, 'savingOptions': JsonConverters.toJson(savingOptions,'List',context!), 'defaultCarrier': JsonConverters.toJson(defaultCarrier,'CarrierEntity',context!), 'hasDefaultSavingProduct': hasDefaultSavingProduct, 'defaultSavingProduct': JsonConverters.toJson(defaultSavingProduct,'SavingProduct',context!) }; getTypeName() => "RetirementPlan"; TypeContext? context = _ctx; } enum RetirementBenefitAmountDisplayOptionType { Accumulated, Guaranteed, Projected, } class DeRetirementPlans implements IConvertible { RetirementBenefitAmountDisplayOptionType? retirementBenefitAmountDisplayOption; List? retirementBenefitAmountDisplayOptions; List? financingVehicles; List? contributionTypes; List? retirementPlans; List? defaultRetirementPlans; DeRetirementPlans({this.retirementBenefitAmountDisplayOption,this.retirementBenefitAmountDisplayOptions,this.financingVehicles,this.contributionTypes,this.retirementPlans,this.defaultRetirementPlans}); DeRetirementPlans.fromJson(Map json) { fromMap(json); } fromMap(Map json) { retirementBenefitAmountDisplayOption = JsonConverters.fromJson(json['retirementBenefitAmountDisplayOption'],'RetirementBenefitAmountDisplayOptionType',context!); retirementBenefitAmountDisplayOptions = JsonConverters.fromJson(json['retirementBenefitAmountDisplayOptions'],'List',context!); financingVehicles = JsonConverters.fromJson(json['financingVehicles'],'List',context!); contributionTypes = JsonConverters.fromJson(json['contributionTypes'],'List',context!); retirementPlans = JsonConverters.fromJson(json['retirementPlans'],'List',context!); defaultRetirementPlans = JsonConverters.fromJson(json['defaultRetirementPlans'],'List',context!); return this; } Map toJson() => { 'retirementBenefitAmountDisplayOption': JsonConverters.toJson(retirementBenefitAmountDisplayOption,'RetirementBenefitAmountDisplayOptionType',context!), 'retirementBenefitAmountDisplayOptions': JsonConverters.toJson(retirementBenefitAmountDisplayOptions,'List',context!), 'financingVehicles': JsonConverters.toJson(financingVehicles,'List',context!), 'contributionTypes': JsonConverters.toJson(contributionTypes,'List',context!), 'retirementPlans': JsonConverters.toJson(retirementPlans,'List',context!), 'defaultRetirementPlans': JsonConverters.toJson(defaultRetirementPlans,'List',context!) }; getTypeName() => "DeRetirementPlans"; TypeContext? context = _ctx; } class PreventiveTreatment implements IConvertible { CarrierEntity? carrier; double? expiryAge; PreventiveTreatment({this.carrier,this.expiryAge}); PreventiveTreatment.fromJson(Map json) { fromMap(json); } fromMap(Map json) { carrier = JsonConverters.fromJson(json['carrier'],'CarrierEntity',context!); expiryAge = JsonConverters.toDouble(json['expiryAge']); return this; } Map toJson() => { 'carrier': JsonConverters.toJson(carrier,'CarrierEntity',context!), 'expiryAge': expiryAge }; getTypeName() => "PreventiveTreatment"; TypeContext? context = _ctx; } class PathFinder implements IConvertible { CarrierEntity? carrier; double? expiryAge; PathFinder({this.carrier,this.expiryAge}); PathFinder.fromJson(Map json) { fromMap(json); } fromMap(Map json) { carrier = JsonConverters.fromJson(json['carrier'],'CarrierEntity',context!); expiryAge = JsonConverters.toDouble(json['expiryAge']); return this; } Map toJson() => { 'carrier': JsonConverters.toJson(carrier,'CarrierEntity',context!), 'expiryAge': expiryAge }; getTypeName() => "PathFinder"; TypeContext? context = _ctx; } class FinancialWellbeing implements IConvertible { CarrierEntity? carrier; double? expiryAge; FinancialWellbeing({this.carrier,this.expiryAge}); FinancialWellbeing.fromJson(Map json) { fromMap(json); } fromMap(Map json) { carrier = JsonConverters.fromJson(json['carrier'],'CarrierEntity',context!); expiryAge = JsonConverters.toDouble(json['expiryAge']); return this; } Map toJson() => { 'carrier': JsonConverters.toJson(carrier,'CarrierEntity',context!), 'expiryAge': expiryAge }; getTypeName() => "FinancialWellbeing"; TypeContext? context = _ctx; } class AuthenticationMethod implements IConvertible { AuthenticationMethodType? type; String? saClientId; List? registrationFields; AuthenticationMethod({this.type,this.saClientId,this.registrationFields}); AuthenticationMethod.fromJson(Map json) { fromMap(json); } fromMap(Map json) { type = JsonConverters.fromJson(json['type'],'AuthenticationMethodType',context!); saClientId = json['saClientId']; registrationFields = JsonConverters.fromJson(json['registrationFields'],'List',context!); return this; } Map toJson() => { 'type': JsonConverters.toJson(type,'AuthenticationMethodType',context!), 'saClientId': saClientId, 'registrationFields': JsonConverters.toJson(registrationFields,'List',context!) }; getTypeName() => "AuthenticationMethod"; TypeContext? context = _ctx; } class ClientCountryConfig extends DatedEntity implements IConvertible { String? clientCode; String? clientName; String? countryCode; DataSourceResult? source; int? ageRMin; int? ageRMax; String? primarySalary; AnnuityConfig? annuityConfig; List? assets; List? contTables; List? investments; Map?>? content; Map? environments; Map?>? customNumericConstraints; Map? assetReturnRates; double? investmentPropertyRates; Map? getAssetClassFundDictionary; Map? getTermBasedFundDictionary; Map>?>? getAllocationsDictionary; Map? assetNameMap; Map?>? assetContNameMap; String? cacheKey; ClientCountryConfig({this.clientCode,this.clientName,this.countryCode,this.source,this.ageRMin,this.ageRMax,this.primarySalary,this.annuityConfig,this.assets,this.contTables,this.investments,this.content,this.environments,this.customNumericConstraints,this.assetReturnRates,this.investmentPropertyRates,this.getAssetClassFundDictionary,this.getTermBasedFundDictionary,this.getAllocationsDictionary,this.assetNameMap,this.assetContNameMap,this.cacheKey}); ClientCountryConfig.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); clientCode = json['clientCode']; clientName = json['clientName']; countryCode = json['countryCode']; source = JsonConverters.fromJson(json['source'],'DataSourceResult',context!); ageRMin = json['ageRMin']; ageRMax = json['ageRMax']; primarySalary = json['primarySalary']; annuityConfig = JsonConverters.fromJson(json['annuityConfig'],'AnnuityConfig',context!); assets = JsonConverters.fromJson(json['assets'],'List',context!); contTables = JsonConverters.fromJson(json['contTables'],'List',context!); investments = JsonConverters.fromJson(json['investments'],'List',context!); content = JsonConverters.fromJson(json['content'],'Map?>',context!); environments = JsonConverters.toStringMap(json['environments']); customNumericConstraints = JsonConverters.fromJson(json['customNumericConstraints'],'Map?>',context!); assetReturnRates = JsonConverters.fromJson(json['assetReturnRates'],'Map',context!); investmentPropertyRates = JsonConverters.toDouble(json['investmentPropertyRates']); getAssetClassFundDictionary = JsonConverters.fromJson(json['getAssetClassFundDictionary'],'Map',context!); getTermBasedFundDictionary = JsonConverters.fromJson(json['getTermBasedFundDictionary'],'Map',context!); getAllocationsDictionary = JsonConverters.fromJson(json['getAllocationsDictionary'],'Map>?>',context!); assetNameMap = JsonConverters.toStringMap(json['assetNameMap']); assetContNameMap = JsonConverters.fromJson(json['assetContNameMap'],'Map?>',context!); cacheKey = json['cacheKey']; return this; } Map toJson() => super.toJson()..addAll({ 'clientCode': clientCode, 'clientName': clientName, 'countryCode': countryCode, 'source': JsonConverters.toJson(source,'DataSourceResult',context!), 'ageRMin': ageRMin, 'ageRMax': ageRMax, 'primarySalary': primarySalary, 'annuityConfig': JsonConverters.toJson(annuityConfig,'AnnuityConfig',context!), 'assets': JsonConverters.toJson(assets,'List',context!), 'contTables': JsonConverters.toJson(contTables,'List',context!), 'investments': JsonConverters.toJson(investments,'List',context!), 'content': JsonConverters.toJson(content,'Map?>',context!), 'environments': environments, 'customNumericConstraints': JsonConverters.toJson(customNumericConstraints,'Map?>',context!), 'assetReturnRates': JsonConverters.toJson(assetReturnRates,'Map',context!), 'investmentPropertyRates': investmentPropertyRates, 'getAssetClassFundDictionary': JsonConverters.toJson(getAssetClassFundDictionary,'Map',context!), 'getTermBasedFundDictionary': JsonConverters.toJson(getTermBasedFundDictionary,'Map',context!), 'getAllocationsDictionary': JsonConverters.toJson(getAllocationsDictionary,'Map>?>',context!), 'assetNameMap': assetNameMap, 'assetContNameMap': JsonConverters.toJson(assetContNameMap,'Map?>',context!), 'cacheKey': cacheKey }); getTypeName() => "ClientCountryConfig"; TypeContext? context = _ctx; } class CalculatorReportTableColors implements IConvertible { String? headerTableFontColor; String? basicTableHeaderColor; String? basicTableFontColor; String? panel1Color; String? panel2Color; String? panel3Color; CalculatorReportTableColors({this.headerTableFontColor,this.basicTableHeaderColor,this.basicTableFontColor,this.panel1Color,this.panel2Color,this.panel3Color}); CalculatorReportTableColors.fromJson(Map json) { fromMap(json); } fromMap(Map json) { headerTableFontColor = json['headerTableFontColor']; basicTableHeaderColor = json['basicTableHeaderColor']; basicTableFontColor = json['basicTableFontColor']; panel1Color = json['panel1Color']; panel2Color = json['panel2Color']; panel3Color = json['panel3Color']; return this; } Map toJson() => { 'headerTableFontColor': headerTableFontColor, 'basicTableHeaderColor': basicTableHeaderColor, 'basicTableFontColor': basicTableFontColor, 'panel1Color': panel1Color, 'panel2Color': panel2Color, 'panel3Color': panel3Color }; getTypeName() => "CalculatorReportTableColors"; TypeContext? context = _ctx; } class CalculatorReportColors implements IConvertible { CalculatorReportTableColors? tableColors; List? chart1Colors; List? chart2Colors; List? chart3Colors; CalculatorReportColors({this.tableColors,this.chart1Colors,this.chart2Colors,this.chart3Colors}); CalculatorReportColors.fromJson(Map json) { fromMap(json); } fromMap(Map json) { tableColors = JsonConverters.fromJson(json['tableColors'],'CalculatorReportTableColors',context!); chart1Colors = JsonConverters.fromJson(json['chart1Colors'],'List',context!); chart2Colors = JsonConverters.fromJson(json['chart2Colors'],'List',context!); chart3Colors = JsonConverters.fromJson(json['chart3Colors'],'List',context!); return this; } Map toJson() => { 'tableColors': JsonConverters.toJson(tableColors,'CalculatorReportTableColors',context!), 'chart1Colors': JsonConverters.toJson(chart1Colors,'List',context!), 'chart2Colors': JsonConverters.toJson(chart2Colors,'List',context!), 'chart3Colors': JsonConverters.toJson(chart3Colors,'List',context!) }; getTypeName() => "CalculatorReportColors"; TypeContext? context = _ctx; } class CalculatorColorScheme implements IConvertible { String? primaryColor1; String? primaryColor2; String? decorativeColor1; String? decorativeColor2; String? decorativeColor3; String? decorativeColor4; String? decorativeColor5; String? fontColor1; String? fontColor2; String? tableHeaderFontColor; String? tableEmployerMatchFontColor; List? chartColors; CalculatorReportColors? reportColors; CalculatorColorScheme({this.primaryColor1,this.primaryColor2,this.decorativeColor1,this.decorativeColor2,this.decorativeColor3,this.decorativeColor4,this.decorativeColor5,this.fontColor1,this.fontColor2,this.tableHeaderFontColor,this.tableEmployerMatchFontColor,this.chartColors,this.reportColors}); CalculatorColorScheme.fromJson(Map json) { fromMap(json); } fromMap(Map json) { primaryColor1 = json['primaryColor1']; primaryColor2 = json['primaryColor2']; decorativeColor1 = json['decorativeColor1']; decorativeColor2 = json['decorativeColor2']; decorativeColor3 = json['decorativeColor3']; decorativeColor4 = json['decorativeColor4']; decorativeColor5 = json['decorativeColor5']; fontColor1 = json['fontColor1']; fontColor2 = json['fontColor2']; tableHeaderFontColor = json['tableHeaderFontColor']; tableEmployerMatchFontColor = json['tableEmployerMatchFontColor']; chartColors = JsonConverters.fromJson(json['chartColors'],'List',context!); reportColors = JsonConverters.fromJson(json['reportColors'],'CalculatorReportColors',context!); return this; } Map toJson() => { 'primaryColor1': primaryColor1, 'primaryColor2': primaryColor2, 'decorativeColor1': decorativeColor1, 'decorativeColor2': decorativeColor2, 'decorativeColor3': decorativeColor3, 'decorativeColor4': decorativeColor4, 'decorativeColor5': decorativeColor5, 'fontColor1': fontColor1, 'fontColor2': fontColor2, 'tableHeaderFontColor': tableHeaderFontColor, 'tableEmployerMatchFontColor': tableEmployerMatchFontColor, 'chartColors': JsonConverters.toJson(chartColors,'List',context!), 'reportColors': JsonConverters.toJson(reportColors,'CalculatorReportColors',context!) }; getTypeName() => "CalculatorColorScheme"; TypeContext? context = _ctx; } class CalculatorDkAnnuityPrice implements IConvertible { String? carrierName; String? riskProfile; double? price; CalculatorDkAnnuityPrice({this.carrierName,this.riskProfile,this.price}); CalculatorDkAnnuityPrice.fromJson(Map json) { fromMap(json); } fromMap(Map json) { carrierName = json['carrierName']; riskProfile = json['riskProfile']; price = JsonConverters.toDouble(json['price']); return this; } Map toJson() => { 'carrierName': carrierName, 'riskProfile': riskProfile, 'price': price }; getTypeName() => "CalculatorDkAnnuityPrice"; TypeContext? context = _ctx; } enum CalculatorFrPlanType { PEE, PERCOL, PERO, PERIN, } enum CalculatorFrContributionCapType { None, Amount, MatchPercent, PercentOfSSCC, } enum CalculatorFrContributionType { EmployeeMandatory, EmployerMandatory, EmployerMatch, } class CalculatorFrContributionCap implements IConvertible { CalculatorFrContributionCapType? type; CalculatorFrContributionType? contributionType; double? value; CalculatorFrContributionCap({this.type,this.contributionType,this.value}); CalculatorFrContributionCap.fromJson(Map json) { fromMap(json); } fromMap(Map json) { type = JsonConverters.fromJson(json['type'],'CalculatorFrContributionCapType',context!); contributionType = JsonConverters.fromJson(json['contributionType'],'CalculatorFrContributionType',context!); value = JsonConverters.toDouble(json['value']); return this; } Map toJson() => { 'type': JsonConverters.toJson(type,'CalculatorFrContributionCapType',context!), 'contributionType': JsonConverters.toJson(contributionType,'CalculatorFrContributionType',context!), 'value': value }; getTypeName() => "CalculatorFrContributionCap"; TypeContext? context = _ctx; } class CalculatorFrPlanConfiguration implements IConvertible { CalculatorFrPlanType? type; String? name; double? contributionFee; double? aumFeeUnitLinked; double? aumFeeInsurerAsset; List? planLevelContributionCaps; Map?>? fundLevelContributionCaps; Map?>? contributionRuleMapping; CalculatorFrPlanConfiguration({this.type,this.name,this.contributionFee,this.aumFeeUnitLinked,this.aumFeeInsurerAsset,this.planLevelContributionCaps,this.fundLevelContributionCaps,this.contributionRuleMapping}); CalculatorFrPlanConfiguration.fromJson(Map json) { fromMap(json); } fromMap(Map json) { type = JsonConverters.fromJson(json['type'],'CalculatorFrPlanType',context!); name = json['name']; contributionFee = JsonConverters.toDouble(json['contributionFee']); aumFeeUnitLinked = JsonConverters.toDouble(json['aumFeeUnitLinked']); aumFeeInsurerAsset = JsonConverters.toDouble(json['aumFeeInsurerAsset']); planLevelContributionCaps = JsonConverters.fromJson(json['planLevelContributionCaps'],'List',context!); fundLevelContributionCaps = JsonConverters.fromJson(json['fundLevelContributionCaps'],'Map?>',context!); contributionRuleMapping = JsonConverters.fromJson(json['contributionRuleMapping'],'Map?>',context!); return this; } Map toJson() => { 'type': JsonConverters.toJson(type,'CalculatorFrPlanType',context!), 'name': name, 'contributionFee': contributionFee, 'aumFeeUnitLinked': aumFeeUnitLinked, 'aumFeeInsurerAsset': aumFeeInsurerAsset, 'planLevelContributionCaps': JsonConverters.toJson(planLevelContributionCaps,'List',context!), 'fundLevelContributionCaps': JsonConverters.toJson(fundLevelContributionCaps,'Map?>',context!), 'contributionRuleMapping': JsonConverters.toJson(contributionRuleMapping,'Map?>',context!) }; getTypeName() => "CalculatorFrPlanConfiguration"; TypeContext? context = _ctx; } enum CalculatorFrContributionBracketType { None, MultipleOfSSCC, FixedAmount, } class CalculatorFrContributionBracket implements IConvertible { double? threshold; double? rate; CalculatorFrContributionBracket({this.threshold,this.rate}); CalculatorFrContributionBracket.fromJson(Map json) { fromMap(json); } fromMap(Map json) { threshold = JsonConverters.toDouble(json['threshold']); rate = JsonConverters.toDouble(json['rate']); return this; } Map toJson() => { 'threshold': threshold, 'rate': rate }; getTypeName() => "CalculatorFrContributionBracket"; TypeContext? context = _ctx; } class CalculatorFrContributionRule implements IConvertible { int? id; String? name; CalculatorFrContributionType? contributionType; CalculatorFrContributionBracketType? bracketType; List? brackets; int? numberOfBrackets; CalculatorFrContributionRule({this.id,this.name,this.contributionType,this.bracketType,this.brackets,this.numberOfBrackets}); CalculatorFrContributionRule.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; contributionType = JsonConverters.fromJson(json['contributionType'],'CalculatorFrContributionType',context!); bracketType = JsonConverters.fromJson(json['bracketType'],'CalculatorFrContributionBracketType',context!); brackets = JsonConverters.fromJson(json['brackets'],'List',context!); numberOfBrackets = json['numberOfBrackets']; return this; } Map toJson() => { 'id': id, 'name': name, 'contributionType': JsonConverters.toJson(contributionType,'CalculatorFrContributionType',context!), 'bracketType': JsonConverters.toJson(bracketType,'CalculatorFrContributionBracketType',context!), 'brackets': JsonConverters.toJson(brackets,'List',context!), 'numberOfBrackets': numberOfBrackets }; getTypeName() => "CalculatorFrContributionRule"; TypeContext? context = _ctx; } class CalculatorFrConfiguration implements IConvertible { List? planConfigurations; List? contributionRules; CalculatorFrConfiguration({this.planConfigurations,this.contributionRules}); CalculatorFrConfiguration.fromJson(Map json) { fromMap(json); } fromMap(Map json) { planConfigurations = JsonConverters.fromJson(json['planConfigurations'],'List',context!); contributionRules = JsonConverters.fromJson(json['contributionRules'],'List',context!); return this; } Map toJson() => { 'planConfigurations': JsonConverters.toJson(planConfigurations,'List',context!), 'contributionRules': JsonConverters.toJson(contributionRules,'List',context!) }; getTypeName() => "CalculatorFrConfiguration"; TypeContext? context = _ctx; } class RPCLevelInfo implements IConvertible { double? level1; double? level2; double? level3; RPCLevelInfo({this.level1,this.level2,this.level3}); RPCLevelInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { level1 = JsonConverters.toDouble(json['level1']); level2 = JsonConverters.toDouble(json['level2']); level3 = JsonConverters.toDouble(json['level3']); return this; } Map toJson() => { 'level1': level1, 'level2': level2, 'level3': level3 }; getTypeName() => "RPCLevelInfo"; TypeContext? context = _ctx; } class CalculatorPtAnnuityFactorLP implements IConvertible { int? age; bool? isReversionary; double? factor; CalculatorPtAnnuityFactorLP({this.age,this.isReversionary,this.factor}); CalculatorPtAnnuityFactorLP.fromJson(Map json) { fromMap(json); } fromMap(Map json) { age = json['age']; isReversionary = json['isReversionary']; factor = JsonConverters.toDouble(json['factor']); return this; } Map toJson() => { 'age': age, 'isReversionary': isReversionary, 'factor': factor }; getTypeName() => "CalculatorPtAnnuityFactorLP"; TypeContext? context = _ctx; } class CalculatorPtAnnuityFactorPD implements IConvertible { int? term; String? investmentCode; double? factor; CalculatorPtAnnuityFactorPD({this.term,this.investmentCode,this.factor}); CalculatorPtAnnuityFactorPD.fromJson(Map json) { fromMap(json); } fromMap(Map json) { term = json['term']; investmentCode = json['investmentCode']; factor = JsonConverters.toDouble(json['factor']); return this; } Map toJson() => { 'term': term, 'investmentCode': investmentCode, 'factor': factor }; getTypeName() => "CalculatorPtAnnuityFactorPD"; TypeContext? context = _ctx; } class CalculatorSalaryGrowthIndexMapping implements IConvertible { String? name; String? indexType; CalculatorSalaryGrowthIndexMapping({this.name,this.indexType}); CalculatorSalaryGrowthIndexMapping.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; indexType = json['indexType']; return this; } Map toJson() => { 'name': name, 'indexType': indexType }; getTypeName() => "CalculatorSalaryGrowthIndexMapping"; TypeContext? context = _ctx; } class CalculatorData implements IConvertible { bool? isEnabled; String? cdyPosition; int? amountInputPrecision; int? percentInputPrecision; Map? locale; int? displayPrecision; int? upwardsConversionPrecision; int? downwardsConversionPrecision; bool? useInvestmentProductsFile; String? investmentProductsFileName; Member? member; ClientCountryConfig? clientCountryConfig; CalculatorColorScheme? colorScheme; Map?>? riskProfileMapping; String? defaultRiskLevel; List? dkAnnuityPriceList; Map? dkCarrierIDMapping; String? dkDefaultCarrierID; CalculatorFrConfiguration? frConfiguration; RPCLevelInfo? rpcLevelInfo; bool? frIncludePEROProfitSharingSavings; List? ptLifetimePensionAnnuityFactors; List? ptPensionDrawdownAnnuityFactors; List? salaryGrowthIndexMappings; CalculatorData({this.isEnabled,this.cdyPosition,this.amountInputPrecision,this.percentInputPrecision,this.locale,this.displayPrecision,this.upwardsConversionPrecision,this.downwardsConversionPrecision,this.useInvestmentProductsFile,this.investmentProductsFileName,this.member,this.clientCountryConfig,this.colorScheme,this.riskProfileMapping,this.defaultRiskLevel,this.dkAnnuityPriceList,this.dkCarrierIDMapping,this.dkDefaultCarrierID,this.frConfiguration,this.rpcLevelInfo,this.frIncludePEROProfitSharingSavings,this.ptLifetimePensionAnnuityFactors,this.ptPensionDrawdownAnnuityFactors,this.salaryGrowthIndexMappings}); CalculatorData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { isEnabled = json['isEnabled']; cdyPosition = json['cdyPosition']; amountInputPrecision = json['amountInputPrecision']; percentInputPrecision = json['percentInputPrecision']; locale = JsonConverters.toStringMap(json['locale']); displayPrecision = json['displayPrecision']; upwardsConversionPrecision = json['upwardsConversionPrecision']; downwardsConversionPrecision = json['downwardsConversionPrecision']; useInvestmentProductsFile = json['useInvestmentProductsFile']; investmentProductsFileName = json['investmentProductsFileName']; member = JsonConverters.fromJson(json['member'],'Member',context!); clientCountryConfig = JsonConverters.fromJson(json['clientCountryConfig'],'ClientCountryConfig',context!); colorScheme = JsonConverters.fromJson(json['colorScheme'],'CalculatorColorScheme',context!); riskProfileMapping = JsonConverters.fromJson(json['riskProfileMapping'],'Map?>',context!); defaultRiskLevel = json['defaultRiskLevel']; dkAnnuityPriceList = JsonConverters.fromJson(json['dkAnnuityPriceList'],'List',context!); dkCarrierIDMapping = JsonConverters.toStringMap(json['dkCarrierIDMapping']); dkDefaultCarrierID = json['dkDefaultCarrierID']; frConfiguration = JsonConverters.fromJson(json['frConfiguration'],'CalculatorFrConfiguration',context!); rpcLevelInfo = JsonConverters.fromJson(json['rpcLevelInfo'],'RPCLevelInfo',context!); frIncludePEROProfitSharingSavings = json['frIncludePEROProfitSharingSavings']; ptLifetimePensionAnnuityFactors = JsonConverters.fromJson(json['ptLifetimePensionAnnuityFactors'],'List',context!); ptPensionDrawdownAnnuityFactors = JsonConverters.fromJson(json['ptPensionDrawdownAnnuityFactors'],'List',context!); salaryGrowthIndexMappings = JsonConverters.fromJson(json['salaryGrowthIndexMappings'],'List',context!); return this; } Map toJson() => { 'isEnabled': isEnabled, 'cdyPosition': cdyPosition, 'amountInputPrecision': amountInputPrecision, 'percentInputPrecision': percentInputPrecision, 'locale': locale, 'displayPrecision': displayPrecision, 'upwardsConversionPrecision': upwardsConversionPrecision, 'downwardsConversionPrecision': downwardsConversionPrecision, 'useInvestmentProductsFile': useInvestmentProductsFile, 'investmentProductsFileName': investmentProductsFileName, 'member': JsonConverters.toJson(member,'Member',context!), 'clientCountryConfig': JsonConverters.toJson(clientCountryConfig,'ClientCountryConfig',context!), 'colorScheme': JsonConverters.toJson(colorScheme,'CalculatorColorScheme',context!), 'riskProfileMapping': JsonConverters.toJson(riskProfileMapping,'Map?>',context!), 'defaultRiskLevel': defaultRiskLevel, 'dkAnnuityPriceList': JsonConverters.toJson(dkAnnuityPriceList,'List',context!), 'dkCarrierIDMapping': dkCarrierIDMapping, 'dkDefaultCarrierID': dkDefaultCarrierID, 'frConfiguration': JsonConverters.toJson(frConfiguration,'CalculatorFrConfiguration',context!), 'rpcLevelInfo': JsonConverters.toJson(rpcLevelInfo,'RPCLevelInfo',context!), 'frIncludePEROProfitSharingSavings': frIncludePEROProfitSharingSavings, 'ptLifetimePensionAnnuityFactors': JsonConverters.toJson(ptLifetimePensionAnnuityFactors,'List',context!), 'ptPensionDrawdownAnnuityFactors': JsonConverters.toJson(ptPensionDrawdownAnnuityFactors,'List',context!), 'salaryGrowthIndexMappings': JsonConverters.toJson(salaryGrowthIndexMappings,'List',context!) }; getTypeName() => "CalculatorData"; TypeContext? context = _ctx; } class ConfigurationIds implements IConvertible { List? configuration; int? planParameters; ConfigurationIds({this.configuration,this.planParameters}); ConfigurationIds.fromJson(Map json) { fromMap(json); } fromMap(Map json) { configuration = JsonConverters.fromJson(json['configuration'],'List',context!); planParameters = json['planParameters']; return this; } Map toJson() => { 'configuration': JsonConverters.toJson(configuration,'List',context!), 'planParameters': planParameters }; getTypeName() => "ConfigurationIds"; TypeContext? context = _ctx; } class Document implements IConvertible { String? tags; String? subTag; int? size; DateTime? dateCreated; bool? isNew; String? reference; String? filename; String? languageIsoCode; Document({this.tags,this.subTag,this.size,this.dateCreated,this.isNew,this.reference,this.filename,this.languageIsoCode}); Document.fromJson(Map json) { fromMap(json); } fromMap(Map json) { tags = json['tags']; subTag = json['subTag']; size = json['size']; dateCreated = JsonConverters.fromJson(json['dateCreated'],'DateTime',context!); isNew = json['isNew']; reference = json['reference']; filename = json['filename']; languageIsoCode = json['languageIsoCode']; return this; } Map toJson() => { 'tags': tags, 'subTag': subTag, 'size': size, 'dateCreated': JsonConverters.toJson(dateCreated,'DateTime',context!), 'isNew': isNew, 'reference': reference, 'filename': filename, 'languageIsoCode': languageIsoCode }; getTypeName() => "Document"; TypeContext? context = _ctx; } class Period implements IConvertible { DateTime? start; DateTime? end; String? clientName; String? clientCode; int? clientId; String? authId; String? employeeId; String? infoProviderReference; String? status; Period({this.start,this.end,this.clientName,this.clientCode,this.clientId,this.authId,this.employeeId,this.infoProviderReference,this.status}); Period.fromJson(Map json) { fromMap(json); } fromMap(Map json) { start = JsonConverters.fromJson(json['start'],'DateTime',context!); end = JsonConverters.fromJson(json['end'],'DateTime',context!); clientName = json['clientName']; clientCode = json['clientCode']; clientId = json['clientId']; authId = json['authId']; employeeId = json['employeeId']; infoProviderReference = json['infoProviderReference']; status = json['status']; return this; } Map toJson() => { 'start': JsonConverters.toJson(start,'DateTime',context!), 'end': JsonConverters.toJson(end,'DateTime',context!), 'clientName': clientName, 'clientCode': clientCode, 'clientId': clientId, 'authId': authId, 'employeeId': employeeId, 'infoProviderReference': infoProviderReference, 'status': status }; getTypeName() => "Period"; TypeContext? context = _ctx; } class ConfigurationVersionGroupConfig implements IConvertible { List? entityColumnFilters; String? rule; ConfigurationVersionGroupConfig({this.entityColumnFilters,this.rule}); ConfigurationVersionGroupConfig.fromJson(Map json) { fromMap(json); } fromMap(Map json) { entityColumnFilters = JsonConverters.fromJson(json['entityColumnFilters'],'List',context!); rule = json['rule']; return this; } Map toJson() => { 'entityColumnFilters': JsonConverters.toJson(entityColumnFilters,'List',context!), 'rule': rule }; getTypeName() => "ConfigurationVersionGroupConfig"; TypeContext? context = _ctx; } class ConfigurationVersionMemberDocumentConfig implements IConvertible { int? maxFileSizeMB; List? allowedMIMETypes; ConfigurationVersionMemberDocumentConfig({this.maxFileSizeMB,this.allowedMIMETypes}); ConfigurationVersionMemberDocumentConfig.fromJson(Map json) { fromMap(json); } fromMap(Map json) { maxFileSizeMB = json['maxFileSizeMB']; allowedMIMETypes = JsonConverters.fromJson(json['allowedMIMETypes'],'List',context!); return this; } Map toJson() => { 'maxFileSizeMB': maxFileSizeMB, 'allowedMIMETypes': JsonConverters.toJson(allowedMIMETypes,'List',context!) }; getTypeName() => "ConfigurationVersionMemberDocumentConfig"; TypeContext? context = _ctx; } class PensionSightClient implements IConvertible { String? clientID; String? name; String? name_NL; String? name_FR; String? name_EN; String? text_Standard_Beneficiary_Nominations; String? text_Specific_Beneficiary_Nominations; PensionSightClient({this.clientID,this.name,this.name_NL,this.name_FR,this.name_EN,this.text_Standard_Beneficiary_Nominations,this.text_Specific_Beneficiary_Nominations}); PensionSightClient.fromJson(Map json) { fromMap(json); } fromMap(Map json) { clientID = json['clientID']; name = json['name']; name_NL = json['name_NL']; name_FR = json['name_FR']; name_EN = json['name_EN']; text_Standard_Beneficiary_Nominations = json['text_Standard_Beneficiary_Nominations']; text_Specific_Beneficiary_Nominations = json['text_Specific_Beneficiary_Nominations']; return this; } Map toJson() => { 'clientID': clientID, 'name': name, 'name_NL': name_NL, 'name_FR': name_FR, 'name_EN': name_EN, 'text_Standard_Beneficiary_Nominations': text_Standard_Beneficiary_Nominations, 'text_Specific_Beneficiary_Nominations': text_Specific_Beneficiary_Nominations }; getTypeName() => "PensionSightClient"; TypeContext? context = _ctx; } class UserResultConfiguration implements IConvertible { int? order; String? label; String? field; String? type; UserResultConfiguration({this.order,this.label,this.field,this.type}); UserResultConfiguration.fromJson(Map json) { fromMap(json); } fromMap(Map json) { order = json['order']; label = json['label']; field = json['field']; type = json['type']; return this; } Map toJson() => { 'order': order, 'label': label, 'field': field, 'type': type }; getTypeName() => "UserResultConfiguration"; TypeContext? context = _ctx; } class UserSearchConfiguration implements IConvertible { int? order; String? label; String? field; String? type; UserSearchConfiguration({this.order,this.label,this.field,this.type}); UserSearchConfiguration.fromJson(Map json) { fromMap(json); } fromMap(Map json) { order = json['order']; label = json['label']; field = json['field']; type = json['type']; return this; } Map toJson() => { 'order': order, 'label': label, 'field': field, 'type': type }; getTypeName() => "UserSearchConfiguration"; TypeContext? context = _ctx; } class UserResultConfigurationAdminProxy implements IConvertible { int? order; String? label; String? field; String? type; UserResultConfigurationAdminProxy({this.order,this.label,this.field,this.type}); UserResultConfigurationAdminProxy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { order = json['order']; label = json['label']; field = json['field']; type = json['type']; return this; } Map toJson() => { 'order': order, 'label': label, 'field': field, 'type': type }; getTypeName() => "UserResultConfigurationAdminProxy"; TypeContext? context = _ctx; } class UserSearchConfigurationAdminProxy implements IConvertible { int? order; String? label; String? field; String? type; UserSearchConfigurationAdminProxy({this.order,this.label,this.field,this.type}); UserSearchConfigurationAdminProxy.fromJson(Map json) { fromMap(json); } fromMap(Map json) { order = json['order']; label = json['label']; field = json['field']; type = json['type']; return this; } Map toJson() => { 'order': order, 'label': label, 'field': field, 'type': type }; getTypeName() => "UserSearchConfigurationAdminProxy"; TypeContext? context = _ctx; } class FrAccountBalance implements IConvertible { double? amount; String? currency; FrAccountBalance({this.amount,this.currency}); FrAccountBalance.fromJson(Map json) { fromMap(json); } fromMap(Map json) { amount = JsonConverters.toDouble(json['amount']); currency = json['currency']; return this; } Map toJson() => { 'amount': amount, 'currency': currency }; getTypeName() => "FrAccountBalance"; TypeContext? context = _ctx; } class Currency implements IConvertible { String? id; String? name; String? symbol; bool? crypto; int? precision; bool? prefix; dynamic? marketcap; DateTime? datetime; Currency({this.id,this.name,this.symbol,this.crypto,this.precision,this.prefix,this.marketcap,this.datetime}); Currency.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; symbol = json['symbol']; crypto = json['crypto']; precision = json['precision']; prefix = json['prefix']; marketcap = JsonConverters.fromJson(json['marketcap'],'dynamic',context!); datetime = JsonConverters.fromJson(json['datetime'],'DateTime',context!); return this; } Map toJson() => { 'id': id, 'name': name, 'symbol': symbol, 'crypto': crypto, 'precision': precision, 'prefix': prefix, 'marketcap': JsonConverters.toJson(marketcap,'dynamic',context!), 'datetime': JsonConverters.toJson(datetime,'DateTime',context!) }; getTypeName() => "Currency"; TypeContext? context = _ctx; } class Investment implements IConvertible { int? id; int? idAccount; int? idSecurity; int? idType; String? label; String? code; String? codeType; String? stockSymbol; String? source; String? description; double? quantity; double? unitPrice; double? unitValue; double? valuation; double? diff; double? diffPercent; double? prevDiff; double? prevDiffPercent; DateTime? vDate; DateTime? prevVDate; double? portfolioShare; List? calculated; DateTime? deleted; DateTime? lastUpdate; Currency? originalCurrency; double? originalValuation; double? originalUnitValue; double? originalUnitPrice; double? originalDiff; InvestmentDetail? details; dynamic? stockMarket; dynamic? type; List? pockets; Investment({this.id,this.idAccount,this.idSecurity,this.idType,this.label,this.code,this.codeType,this.stockSymbol,this.source,this.description,this.quantity,this.unitPrice,this.unitValue,this.valuation,this.diff,this.diffPercent,this.prevDiff,this.prevDiffPercent,this.vDate,this.prevVDate,this.portfolioShare,this.calculated,this.deleted,this.lastUpdate,this.originalCurrency,this.originalValuation,this.originalUnitValue,this.originalUnitPrice,this.originalDiff,this.details,this.stockMarket,this.type,this.pockets}); Investment.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; idAccount = json['idAccount']; idSecurity = json['idSecurity']; idType = json['idType']; label = json['label']; code = json['code']; codeType = json['codeType']; stockSymbol = json['stockSymbol']; source = json['source']; description = json['description']; quantity = JsonConverters.toDouble(json['quantity']); unitPrice = JsonConverters.toDouble(json['unitPrice']); unitValue = JsonConverters.toDouble(json['unitValue']); valuation = JsonConverters.toDouble(json['valuation']); diff = JsonConverters.toDouble(json['diff']); diffPercent = JsonConverters.toDouble(json['diffPercent']); prevDiff = JsonConverters.toDouble(json['prevDiff']); prevDiffPercent = JsonConverters.toDouble(json['prevDiffPercent']); vDate = JsonConverters.fromJson(json['vDate'],'DateTime',context!); prevVDate = JsonConverters.fromJson(json['prevVDate'],'DateTime',context!); portfolioShare = JsonConverters.toDouble(json['portfolioShare']); calculated = JsonConverters.fromJson(json['calculated'],'List',context!); deleted = JsonConverters.fromJson(json['deleted'],'DateTime',context!); lastUpdate = JsonConverters.fromJson(json['lastUpdate'],'DateTime',context!); originalCurrency = JsonConverters.fromJson(json['originalCurrency'],'Currency',context!); originalValuation = JsonConverters.toDouble(json['originalValuation']); originalUnitValue = JsonConverters.toDouble(json['originalUnitValue']); originalUnitPrice = JsonConverters.toDouble(json['originalUnitPrice']); originalDiff = JsonConverters.toDouble(json['originalDiff']); details = JsonConverters.fromJson(json['details'],'InvestmentDetail',context!); stockMarket = JsonConverters.fromJson(json['stockMarket'],'dynamic',context!); type = JsonConverters.fromJson(json['type'],'dynamic',context!); pockets = JsonConverters.fromJson(json['pockets'],'List',context!); return this; } Map toJson() => { 'id': id, 'idAccount': idAccount, 'idSecurity': idSecurity, 'idType': idType, 'label': label, 'code': code, 'codeType': codeType, 'stockSymbol': stockSymbol, 'source': source, 'description': description, 'quantity': quantity, 'unitPrice': unitPrice, 'unitValue': unitValue, 'valuation': valuation, 'diff': diff, 'diffPercent': diffPercent, 'prevDiff': prevDiff, 'prevDiffPercent': prevDiffPercent, 'vDate': JsonConverters.toJson(vDate,'DateTime',context!), 'prevVDate': JsonConverters.toJson(prevVDate,'DateTime',context!), 'portfolioShare': portfolioShare, 'calculated': JsonConverters.toJson(calculated,'List',context!), 'deleted': JsonConverters.toJson(deleted,'DateTime',context!), 'lastUpdate': JsonConverters.toJson(lastUpdate,'DateTime',context!), 'originalCurrency': JsonConverters.toJson(originalCurrency,'Currency',context!), 'originalValuation': originalValuation, 'originalUnitValue': originalUnitValue, 'originalUnitPrice': originalUnitPrice, 'originalDiff': originalDiff, 'details': JsonConverters.toJson(details,'InvestmentDetail',context!), 'stockMarket': JsonConverters.toJson(stockMarket,'dynamic',context!), 'type': JsonConverters.toJson(type,'dynamic',context!), 'pockets': JsonConverters.toJson(pockets,'List',context!) }; getTypeName() => "Investment"; TypeContext? context = _ctx; } enum AccountUsage { PRIV, ORGA, } enum AccountOwnership { Owner, CoOwner, Attorney, } class Loan implements IConvertible { double? totalAmount; double? availableAmount; double? usedAmount; DateTime? subscriptionDate; DateTime? maturityDate; double? nextPaymentAmount; DateTime? nextPaymentDate; double? rate; int? nbPaymentsLeft; int? nbPaymentsDone; int? nbPaymentsTotal; double? lastPaymentAmount; DateTime? lastPaymentDate; String? accountLabel; String? insuranceLabel; double? insuranceAmount; double? insuranceRate; int? duration; String? type; Loan({this.totalAmount,this.availableAmount,this.usedAmount,this.subscriptionDate,this.maturityDate,this.nextPaymentAmount,this.nextPaymentDate,this.rate,this.nbPaymentsLeft,this.nbPaymentsDone,this.nbPaymentsTotal,this.lastPaymentAmount,this.lastPaymentDate,this.accountLabel,this.insuranceLabel,this.insuranceAmount,this.insuranceRate,this.duration,this.type}); Loan.fromJson(Map json) { fromMap(json); } fromMap(Map json) { totalAmount = JsonConverters.toDouble(json['totalAmount']); availableAmount = JsonConverters.toDouble(json['availableAmount']); usedAmount = JsonConverters.toDouble(json['usedAmount']); subscriptionDate = JsonConverters.fromJson(json['subscriptionDate'],'DateTime',context!); maturityDate = JsonConverters.fromJson(json['maturityDate'],'DateTime',context!); nextPaymentAmount = JsonConverters.toDouble(json['nextPaymentAmount']); nextPaymentDate = JsonConverters.fromJson(json['nextPaymentDate'],'DateTime',context!); rate = JsonConverters.toDouble(json['rate']); nbPaymentsLeft = json['nbPaymentsLeft']; nbPaymentsDone = json['nbPaymentsDone']; nbPaymentsTotal = json['nbPaymentsTotal']; lastPaymentAmount = JsonConverters.toDouble(json['lastPaymentAmount']); lastPaymentDate = JsonConverters.fromJson(json['lastPaymentDate'],'DateTime',context!); accountLabel = json['accountLabel']; insuranceLabel = json['insuranceLabel']; insuranceAmount = JsonConverters.toDouble(json['insuranceAmount']); insuranceRate = JsonConverters.toDouble(json['insuranceRate']); duration = json['duration']; type = json['type']; return this; } Map toJson() => { 'totalAmount': totalAmount, 'availableAmount': availableAmount, 'usedAmount': usedAmount, 'subscriptionDate': JsonConverters.toJson(subscriptionDate,'DateTime',context!), 'maturityDate': JsonConverters.toJson(maturityDate,'DateTime',context!), 'nextPaymentAmount': nextPaymentAmount, 'nextPaymentDate': JsonConverters.toJson(nextPaymentDate,'DateTime',context!), 'rate': rate, 'nbPaymentsLeft': nbPaymentsLeft, 'nbPaymentsDone': nbPaymentsDone, 'nbPaymentsTotal': nbPaymentsTotal, 'lastPaymentAmount': lastPaymentAmount, 'lastPaymentDate': JsonConverters.toJson(lastPaymentDate,'DateTime',context!), 'accountLabel': accountLabel, 'insuranceLabel': insuranceLabel, 'insuranceAmount': insuranceAmount, 'insuranceRate': insuranceRate, 'duration': duration, 'type': type }; getTypeName() => "Loan"; TypeContext? context = _ctx; } class Information implements IConvertible { String? version; String? providerType; Information({this.version,this.providerType}); Information.fromJson(Map json) { fromMap(json); } fromMap(Map json) { version = json['version']; providerType = json['providerType']; return this; } Map toJson() => { 'version': version, 'providerType': providerType }; getTypeName() => "Information"; TypeContext? context = _ctx; } class Account implements IConvertible { int? id; int? idConnection; int? idUser; int? idSource; int? idParent; String? number; String? originalName; double? balance; double? coming; bool? display; DateTime? lastUpdate; DateTime? deleted; DateTime? disabled; String? iban; Currency? currency; String? type; int? idType; int? bookmarked; String? name; String? error; AccountUsage? usage; AccountOwnership? ownership; String? companyName; Loan? loan; String? webId; dynamic? openingDate; List? recipients; dynamic? bic; double? comingBalance; String? formattedBalance; List? calculated; double? valuation; double? diff; double? diffPercent; double? prevDiff; double? prevDiffPercent; Information? information; List? investments; List? transfers; Account({this.id,this.idConnection,this.idUser,this.idSource,this.idParent,this.number,this.originalName,this.balance,this.coming,this.display,this.lastUpdate,this.deleted,this.disabled,this.iban,this.currency,this.type,this.idType,this.bookmarked,this.name,this.error,this.usage,this.ownership,this.companyName,this.loan,this.webId,this.openingDate,this.recipients,this.bic,this.comingBalance,this.formattedBalance,this.calculated,this.valuation,this.diff,this.diffPercent,this.prevDiff,this.prevDiffPercent,this.information,this.investments,this.transfers}); Account.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; idConnection = json['idConnection']; idUser = json['idUser']; idSource = json['idSource']; idParent = json['idParent']; number = json['number']; originalName = json['originalName']; balance = JsonConverters.toDouble(json['balance']); coming = JsonConverters.toDouble(json['coming']); display = json['display']; lastUpdate = JsonConverters.fromJson(json['lastUpdate'],'DateTime',context!); deleted = JsonConverters.fromJson(json['deleted'],'DateTime',context!); disabled = JsonConverters.fromJson(json['disabled'],'DateTime',context!); iban = json['iban']; currency = JsonConverters.fromJson(json['currency'],'Currency',context!); type = json['type']; idType = json['idType']; bookmarked = json['bookmarked']; name = json['name']; error = json['error']; usage = JsonConverters.fromJson(json['usage'],'AccountUsage',context!); ownership = JsonConverters.fromJson(json['ownership'],'AccountOwnership',context!); companyName = json['companyName']; loan = JsonConverters.fromJson(json['loan'],'Loan',context!); webId = json['webId']; openingDate = JsonConverters.fromJson(json['openingDate'],'dynamic',context!); recipients = JsonConverters.fromJson(json['recipients'],'List',context!); bic = JsonConverters.fromJson(json['bic'],'dynamic',context!); comingBalance = JsonConverters.toDouble(json['comingBalance']); formattedBalance = json['formattedBalance']; calculated = JsonConverters.fromJson(json['calculated'],'List',context!); valuation = JsonConverters.toDouble(json['valuation']); diff = JsonConverters.toDouble(json['diff']); diffPercent = JsonConverters.toDouble(json['diffPercent']); prevDiff = JsonConverters.toDouble(json['prevDiff']); prevDiffPercent = JsonConverters.toDouble(json['prevDiffPercent']); information = JsonConverters.fromJson(json['information'],'Information',context!); investments = JsonConverters.fromJson(json['investments'],'List',context!); transfers = JsonConverters.fromJson(json['transfers'],'List',context!); return this; } Map toJson() => { 'id': id, 'idConnection': idConnection, 'idUser': idUser, 'idSource': idSource, 'idParent': idParent, 'number': number, 'originalName': originalName, 'balance': balance, 'coming': coming, 'display': display, 'lastUpdate': JsonConverters.toJson(lastUpdate,'DateTime',context!), 'deleted': JsonConverters.toJson(deleted,'DateTime',context!), 'disabled': JsonConverters.toJson(disabled,'DateTime',context!), 'iban': iban, 'currency': JsonConverters.toJson(currency,'Currency',context!), 'type': type, 'idType': idType, 'bookmarked': bookmarked, 'name': name, 'error': error, 'usage': JsonConverters.toJson(usage,'AccountUsage',context!), 'ownership': JsonConverters.toJson(ownership,'AccountOwnership',context!), 'companyName': companyName, 'loan': JsonConverters.toJson(loan,'Loan',context!), 'webId': webId, 'openingDate': JsonConverters.toJson(openingDate,'dynamic',context!), 'recipients': JsonConverters.toJson(recipients,'List',context!), 'bic': JsonConverters.toJson(bic,'dynamic',context!), 'comingBalance': comingBalance, 'formattedBalance': formattedBalance, 'calculated': JsonConverters.toJson(calculated,'List',context!), 'valuation': valuation, 'diff': diff, 'diffPercent': diffPercent, 'prevDiff': prevDiff, 'prevDiffPercent': prevDiffPercent, 'information': JsonConverters.toJson(information,'Information',context!), 'investments': JsonConverters.toJson(investments,'List',context!), 'transfers': JsonConverters.toJson(transfers,'List',context!) }; getTypeName() => "Account"; TypeContext? context = _ctx; } class FrMandatoryContribution implements IConvertible { int? employee; int? employer; FrMandatoryContribution({this.employee,this.employer}); FrMandatoryContribution.fromJson(Map json) { fromMap(json); } fromMap(Map json) { employee = json['employee']; employer = json['employer']; return this; } Map toJson() => { 'employee': employee, 'employer': employer }; getTypeName() => "FrMandatoryContribution"; TypeContext? context = _ctx; } class FrOption implements IConvertible { int? order; String? code; String? name; String? url; FrOption({this.order,this.code,this.name,this.url}); FrOption.fromJson(Map json) { fromMap(json); } fromMap(Map json) { order = json['order']; code = json['code']; name = json['name']; url = json['url']; return this; } Map toJson() => { 'order': order, 'code': code, 'name': name, 'url': url }; getTypeName() => "FrOption"; TypeContext? context = _ctx; } class FrInvestmentOptions implements IConvertible { List? options; FrInvestmentOptions({this.options}); FrInvestmentOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { options = JsonConverters.fromJson(json['options'],'List',context!); return this; } Map toJson() => { 'options': JsonConverters.toJson(options,'List',context!) }; getTypeName() => "FrInvestmentOptions"; TypeContext? context = _ctx; } class FrBeneficiary implements IConvertible { String? firstName; String? surName; FrBeneficiary({this.firstName,this.surName}); FrBeneficiary.fromJson(Map json) { fromMap(json); } fromMap(Map json) { firstName = json['firstName']; surName = json['surName']; return this; } Map toJson() => { 'firstName': firstName, 'surName': surName }; getTypeName() => "FrBeneficiary"; TypeContext? context = _ctx; } class FrFees implements IConvertible { double? contributions; double? asset1; double? asset2; FrFees({this.contributions,this.asset1,this.asset2}); FrFees.fromJson(Map json) { fromMap(json); } fromMap(Map json) { contributions = JsonConverters.toDouble(json['contributions']); asset1 = JsonConverters.toDouble(json['asset1']); asset2 = JsonConverters.toDouble(json['asset2']); return this; } Map toJson() => { 'contributions': contributions, 'asset1': asset1, 'asset2': asset2 }; getTypeName() => "FrFees"; TypeContext? context = _ctx; } enum PlanCategory { Others, Current, Previous, Individual, } enum PlanType { OTHERS, PEE, PERO, PERCOL, PERIN, } class FrPlanInformation implements IConvertible { int? id; String? planName; String? providerName; FrAccountBalance? accountBalance; List? assetAllocation; Account? accountDetails; String? powensAccountState; String? powensAccountType; List? accountInvestments; String? voluntaryContribution; FrMandatoryContribution? mandatoryContribution; String? mandatoryContributionFormula; FrInvestmentOptions? investmentOptions; String? stockTransfer; FrBeneficiary? beneficiary; String? formOfPayment; String? taxation; FrFees? fees; String? planInformation; String? type; String? planCategory; bool? enabled; String? url; PlanCategory? category; PlanType? planType; DateTime? dateUpdated; FrPlanInformation({this.id,this.planName,this.providerName,this.accountBalance,this.assetAllocation,this.accountDetails,this.powensAccountState,this.powensAccountType,this.accountInvestments,this.voluntaryContribution,this.mandatoryContribution,this.mandatoryContributionFormula,this.investmentOptions,this.stockTransfer,this.beneficiary,this.formOfPayment,this.taxation,this.fees,this.planInformation,this.type,this.planCategory,this.enabled,this.url,this.category,this.planType,this.dateUpdated}); FrPlanInformation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; planName = json['planName']; providerName = json['providerName']; accountBalance = JsonConverters.fromJson(json['accountBalance'],'FrAccountBalance',context!); assetAllocation = JsonConverters.fromJson(json['assetAllocation'],'List',context!); accountDetails = JsonConverters.fromJson(json['accountDetails'],'Account',context!); powensAccountState = json['powensAccountState']; powensAccountType = json['powensAccountType']; accountInvestments = JsonConverters.fromJson(json['accountInvestments'],'List',context!); voluntaryContribution = json['voluntaryContribution']; mandatoryContribution = JsonConverters.fromJson(json['mandatoryContribution'],'FrMandatoryContribution',context!); mandatoryContributionFormula = json['mandatoryContributionFormula']; investmentOptions = JsonConverters.fromJson(json['investmentOptions'],'FrInvestmentOptions',context!); stockTransfer = json['stockTransfer']; beneficiary = JsonConverters.fromJson(json['beneficiary'],'FrBeneficiary',context!); formOfPayment = json['formOfPayment']; taxation = json['taxation']; fees = JsonConverters.fromJson(json['fees'],'FrFees',context!); planInformation = json['planInformation']; type = json['type']; planCategory = json['planCategory']; enabled = json['enabled']; url = json['url']; category = JsonConverters.fromJson(json['category'],'PlanCategory',context!); planType = JsonConverters.fromJson(json['planType'],'PlanType',context!); dateUpdated = JsonConverters.fromJson(json['dateUpdated'],'DateTime',context!); return this; } Map toJson() => { 'id': id, 'planName': planName, 'providerName': providerName, 'accountBalance': JsonConverters.toJson(accountBalance,'FrAccountBalance',context!), 'assetAllocation': JsonConverters.toJson(assetAllocation,'List',context!), 'accountDetails': JsonConverters.toJson(accountDetails,'Account',context!), 'powensAccountState': powensAccountState, 'powensAccountType': powensAccountType, 'accountInvestments': JsonConverters.toJson(accountInvestments,'List',context!), 'voluntaryContribution': voluntaryContribution, 'mandatoryContribution': JsonConverters.toJson(mandatoryContribution,'FrMandatoryContribution',context!), 'mandatoryContributionFormula': mandatoryContributionFormula, 'investmentOptions': JsonConverters.toJson(investmentOptions,'FrInvestmentOptions',context!), 'stockTransfer': stockTransfer, 'beneficiary': JsonConverters.toJson(beneficiary,'FrBeneficiary',context!), 'formOfPayment': formOfPayment, 'taxation': taxation, 'fees': JsonConverters.toJson(fees,'FrFees',context!), 'planInformation': planInformation, 'type': type, 'planCategory': planCategory, 'enabled': enabled, 'url': url, 'category': JsonConverters.toJson(category,'PlanCategory',context!), 'planType': JsonConverters.toJson(planType,'PlanType',context!), 'dateUpdated': JsonConverters.toJson(dateUpdated,'DateTime',context!) }; getTypeName() => "FrPlanInformation"; TypeContext? context = _ctx; } class FrCompanyPlan implements IConvertible { DateTime? accountBalanceDate; DateTime? assetAllocationDate; List? plans; bool? hasDuplicate; FrCompanyPlan({this.accountBalanceDate,this.assetAllocationDate,this.plans,this.hasDuplicate}); FrCompanyPlan.fromJson(Map json) { fromMap(json); } fromMap(Map json) { accountBalanceDate = JsonConverters.fromJson(json['accountBalanceDate'],'DateTime',context!); assetAllocationDate = JsonConverters.fromJson(json['assetAllocationDate'],'DateTime',context!); plans = JsonConverters.fromJson(json['plans'],'List',context!); hasDuplicate = json['hasDuplicate']; return this; } Map toJson() => { 'accountBalanceDate': JsonConverters.toJson(accountBalanceDate,'DateTime',context!), 'assetAllocationDate': JsonConverters.toJson(assetAllocationDate,'DateTime',context!), 'plans': JsonConverters.toJson(plans,'List',context!), 'hasDuplicate': hasDuplicate }; getTypeName() => "FrCompanyPlan"; TypeContext? context = _ctx; } class PlanTypeMap implements IConvertible { FrCompanyPlan? pee; FrCompanyPlan? pero; FrCompanyPlan? percol; FrCompanyPlan? perin; FrCompanyPlan? noMatchingCategory; FrCompanyPlan? incorrectCategoryMapping; FrCompanyPlan? excessPlanMapping; PlanTypeMap({this.pee,this.pero,this.percol,this.perin,this.noMatchingCategory,this.incorrectCategoryMapping,this.excessPlanMapping}); PlanTypeMap.fromJson(Map json) { fromMap(json); } fromMap(Map json) { pee = JsonConverters.fromJson(json['pee'],'FrCompanyPlan',context!); pero = JsonConverters.fromJson(json['pero'],'FrCompanyPlan',context!); percol = JsonConverters.fromJson(json['percol'],'FrCompanyPlan',context!); perin = JsonConverters.fromJson(json['perin'],'FrCompanyPlan',context!); noMatchingCategory = JsonConverters.fromJson(json['noMatchingCategory'],'FrCompanyPlan',context!); incorrectCategoryMapping = JsonConverters.fromJson(json['incorrectCategoryMapping'],'FrCompanyPlan',context!); excessPlanMapping = JsonConverters.fromJson(json['excessPlanMapping'],'FrCompanyPlan',context!); return this; } Map toJson() => { 'pee': JsonConverters.toJson(pee,'FrCompanyPlan',context!), 'pero': JsonConverters.toJson(pero,'FrCompanyPlan',context!), 'percol': JsonConverters.toJson(percol,'FrCompanyPlan',context!), 'perin': JsonConverters.toJson(perin,'FrCompanyPlan',context!), 'noMatchingCategory': JsonConverters.toJson(noMatchingCategory,'FrCompanyPlan',context!), 'incorrectCategoryMapping': JsonConverters.toJson(incorrectCategoryMapping,'FrCompanyPlan',context!), 'excessPlanMapping': JsonConverters.toJson(excessPlanMapping,'FrCompanyPlan',context!) }; getTypeName() => "PlanTypeMap"; TypeContext? context = _ctx; } class FrCompanyPlans implements IConvertible { FrCompanyPlan? currentEmployerPlans; FrCompanyPlan? previousEmployerPlans; FrCompanyPlan? individualCompanyPlans; FrCompanyPlan? others; PlanTypeMap? current; PlanTypeMap? previous; PlanTypeMap? individual; FrCompanyPlans({this.currentEmployerPlans,this.previousEmployerPlans,this.individualCompanyPlans,this.others,this.current,this.previous,this.individual}); FrCompanyPlans.fromJson(Map json) { fromMap(json); } fromMap(Map json) { currentEmployerPlans = JsonConverters.fromJson(json['currentEmployerPlans'],'FrCompanyPlan',context!); previousEmployerPlans = JsonConverters.fromJson(json['previousEmployerPlans'],'FrCompanyPlan',context!); individualCompanyPlans = JsonConverters.fromJson(json['individualCompanyPlans'],'FrCompanyPlan',context!); others = JsonConverters.fromJson(json['others'],'FrCompanyPlan',context!); current = JsonConverters.fromJson(json['current'],'PlanTypeMap',context!); previous = JsonConverters.fromJson(json['previous'],'PlanTypeMap',context!); individual = JsonConverters.fromJson(json['individual'],'PlanTypeMap',context!); return this; } Map toJson() => { 'currentEmployerPlans': JsonConverters.toJson(currentEmployerPlans,'FrCompanyPlan',context!), 'previousEmployerPlans': JsonConverters.toJson(previousEmployerPlans,'FrCompanyPlan',context!), 'individualCompanyPlans': JsonConverters.toJson(individualCompanyPlans,'FrCompanyPlan',context!), 'others': JsonConverters.toJson(others,'FrCompanyPlan',context!), 'current': JsonConverters.toJson(current,'PlanTypeMap',context!), 'previous': JsonConverters.toJson(previous,'PlanTypeMap',context!), 'individual': JsonConverters.toJson(individual,'PlanTypeMap',context!) }; getTypeName() => "FrCompanyPlans"; TypeContext? context = _ctx; } class EsRetirementPlans implements IConvertible { List? retirementPlans; EsRetirementPlans({this.retirementPlans}); EsRetirementPlans.fromJson(Map json) { fromMap(json); } fromMap(Map json) { retirementPlans = JsonConverters.fromJson(json['retirementPlans'],'List',context!); return this; } Map toJson() => { 'retirementPlans': JsonConverters.toJson(retirementPlans,'List',context!) }; getTypeName() => "EsRetirementPlans"; TypeContext? context = _ctx; } class FrSocialSecurityParameters implements IConvertible { double? socialSecurityContributionCeiling; FrSocialSecurityParameters({this.socialSecurityContributionCeiling}); FrSocialSecurityParameters.fromJson(Map json) { fromMap(json); } fromMap(Map json) { socialSecurityContributionCeiling = JsonConverters.toDouble(json['socialSecurityContributionCeiling']); return this; } Map toJson() => { 'socialSecurityContributionCeiling': socialSecurityContributionCeiling }; getTypeName() => "FrSocialSecurityParameters"; TypeContext? context = _ctx; } class FrCalculatorConfiguration extends CalculatorConfiguration implements IConvertible { FrSocialSecurityParameters? socialSecurityParameters; FrCalculatorConfiguration({this.socialSecurityParameters}); FrCalculatorConfiguration.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); socialSecurityParameters = JsonConverters.fromJson(json['socialSecurityParameters'],'FrSocialSecurityParameters',context!); return this; } Map toJson() => super.toJson()..addAll({ 'socialSecurityParameters': JsonConverters.toJson(socialSecurityParameters,'FrSocialSecurityParameters',context!) }); getTypeName() => "FrCalculatorConfiguration"; TypeContext? context = _ctx; } class FrFundSetup implements IConvertible { String? id; String? name; String? code; FrFundSetup({this.id,this.name,this.code}); FrFundSetup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; name = json['name']; code = json['code']; return this; } Map toJson() => { 'id': id, 'name': name, 'code': code }; getTypeName() => "FrFundSetup"; TypeContext? context = _ctx; } class FrPlanSetup implements IConvertible { String? planType; String? name; List? funds; int? connectorID; String? personalInformation; String? voluntaryContributions; String? investmentOptions; String? payoutOptions; String? yourBeneficiaries; String? retirementLiquidation; FrPlanSetup({this.planType,this.name,this.funds,this.connectorID,this.personalInformation,this.voluntaryContributions,this.investmentOptions,this.payoutOptions,this.yourBeneficiaries,this.retirementLiquidation}); FrPlanSetup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { planType = json['planType']; name = json['name']; funds = JsonConverters.fromJson(json['funds'],'List',context!); connectorID = json['connectorID']; personalInformation = json['personalInformation']; voluntaryContributions = json['voluntaryContributions']; investmentOptions = json['investmentOptions']; payoutOptions = json['payoutOptions']; yourBeneficiaries = json['yourBeneficiaries']; retirementLiquidation = json['retirementLiquidation']; return this; } Map toJson() => { 'planType': planType, 'name': name, 'funds': JsonConverters.toJson(funds,'List',context!), 'connectorID': connectorID, 'personalInformation': personalInformation, 'voluntaryContributions': voluntaryContributions, 'investmentOptions': investmentOptions, 'payoutOptions': payoutOptions, 'yourBeneficiaries': yourBeneficiaries, 'retirementLiquidation': retirementLiquidation }; getTypeName() => "FrPlanSetup"; TypeContext? context = _ctx; } class FrPreviousPlansSetup implements IConvertible { String? providerName; String? planType; String? link; FrPreviousPlansSetup({this.providerName,this.planType,this.link}); FrPreviousPlansSetup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { providerName = json['providerName']; planType = json['planType']; link = json['link']; return this; } Map toJson() => { 'providerName': providerName, 'planType': planType, 'link': link }; getTypeName() => "FrPreviousPlansSetup"; TypeContext? context = _ctx; } class BeRetirementPlan implements IConvertible { List? retirementPlans; double? lumpSumTotalDeathCover; double? lumpSumTotalNoDeathCover; double? annuityTotalDeathCover; double? annuityTotalNoDeathCover; double? totalAccruedReserves; double? totalLegalMinimum; double? totalVestedReserves; BeRetirementPlan({this.retirementPlans,this.lumpSumTotalDeathCover,this.lumpSumTotalNoDeathCover,this.annuityTotalDeathCover,this.annuityTotalNoDeathCover,this.totalAccruedReserves,this.totalLegalMinimum,this.totalVestedReserves}); BeRetirementPlan.fromJson(Map json) { fromMap(json); } fromMap(Map json) { retirementPlans = JsonConverters.fromJson(json['retirementPlans'],'List',context!); lumpSumTotalDeathCover = JsonConverters.toDouble(json['lumpSumTotalDeathCover']); lumpSumTotalNoDeathCover = JsonConverters.toDouble(json['lumpSumTotalNoDeathCover']); annuityTotalDeathCover = JsonConverters.toDouble(json['annuityTotalDeathCover']); annuityTotalNoDeathCover = JsonConverters.toDouble(json['annuityTotalNoDeathCover']); totalAccruedReserves = JsonConverters.toDouble(json['totalAccruedReserves']); totalLegalMinimum = JsonConverters.toDouble(json['totalLegalMinimum']); totalVestedReserves = JsonConverters.toDouble(json['totalVestedReserves']); return this; } Map toJson() => { 'retirementPlans': JsonConverters.toJson(retirementPlans,'List',context!), 'lumpSumTotalDeathCover': lumpSumTotalDeathCover, 'lumpSumTotalNoDeathCover': lumpSumTotalNoDeathCover, 'annuityTotalDeathCover': annuityTotalDeathCover, 'annuityTotalNoDeathCover': annuityTotalNoDeathCover, 'totalAccruedReserves': totalAccruedReserves, 'totalLegalMinimum': totalLegalMinimum, 'totalVestedReserves': totalVestedReserves }; getTypeName() => "BeRetirementPlan"; TypeContext? context = _ctx; } class BeRetirementPlans implements IConvertible { String? type; double? reversible; BeRetirementPlan? employerRetirementPlan; BeRetirementPlan? employeeRetirementPlan; double? totalAnnuity; double? totalLumpSum; double? totalVestedReserves; double? totalAccruedReserves; double? totalLegalMinimum; BeRetirementPlans({this.type,this.reversible,this.employerRetirementPlan,this.employeeRetirementPlan,this.totalAnnuity,this.totalLumpSum,this.totalVestedReserves,this.totalAccruedReserves,this.totalLegalMinimum}); BeRetirementPlans.fromJson(Map json) { fromMap(json); } fromMap(Map json) { type = json['type']; reversible = JsonConverters.toDouble(json['reversible']); employerRetirementPlan = JsonConverters.fromJson(json['employerRetirementPlan'],'BeRetirementPlan',context!); employeeRetirementPlan = JsonConverters.fromJson(json['employeeRetirementPlan'],'BeRetirementPlan',context!); totalAnnuity = JsonConverters.toDouble(json['totalAnnuity']); totalLumpSum = JsonConverters.toDouble(json['totalLumpSum']); totalVestedReserves = JsonConverters.toDouble(json['totalVestedReserves']); totalAccruedReserves = JsonConverters.toDouble(json['totalAccruedReserves']); totalLegalMinimum = JsonConverters.toDouble(json['totalLegalMinimum']); return this; } Map toJson() => { 'type': type, 'reversible': reversible, 'employerRetirementPlan': JsonConverters.toJson(employerRetirementPlan,'BeRetirementPlan',context!), 'employeeRetirementPlan': JsonConverters.toJson(employeeRetirementPlan,'BeRetirementPlan',context!), 'totalAnnuity': totalAnnuity, 'totalLumpSum': totalLumpSum, 'totalVestedReserves': totalVestedReserves, 'totalAccruedReserves': totalAccruedReserves, 'totalLegalMinimum': totalLegalMinimum }; getTypeName() => "BeRetirementPlans"; TypeContext? context = _ctx; } class Contribution implements IConvertible { String? employmentStatusPlan; double? balanceCurrentEmployer; double? employeeContribution; DateTime? employeeContributionDate; double? employerContribution; DateTime? employerContributionDate; double? voluntaryContribution; DateTime? voluntaryContributionDate; double? totalContribution; Contribution({this.employmentStatusPlan,this.balanceCurrentEmployer,this.employeeContribution,this.employeeContributionDate,this.employerContribution,this.employerContributionDate,this.voluntaryContribution,this.voluntaryContributionDate,this.totalContribution}); Contribution.fromJson(Map json) { fromMap(json); } fromMap(Map json) { employmentStatusPlan = json['employmentStatusPlan']; balanceCurrentEmployer = JsonConverters.toDouble(json['balanceCurrentEmployer']); employeeContribution = JsonConverters.toDouble(json['employeeContribution']); employeeContributionDate = JsonConverters.fromJson(json['employeeContributionDate'],'DateTime',context!); employerContribution = JsonConverters.toDouble(json['employerContribution']); employerContributionDate = JsonConverters.fromJson(json['employerContributionDate'],'DateTime',context!); voluntaryContribution = JsonConverters.toDouble(json['voluntaryContribution']); voluntaryContributionDate = JsonConverters.fromJson(json['voluntaryContributionDate'],'DateTime',context!); totalContribution = JsonConverters.toDouble(json['totalContribution']); return this; } Map toJson() => { 'employmentStatusPlan': employmentStatusPlan, 'balanceCurrentEmployer': balanceCurrentEmployer, 'employeeContribution': employeeContribution, 'employeeContributionDate': JsonConverters.toJson(employeeContributionDate,'DateTime',context!), 'employerContribution': employerContribution, 'employerContributionDate': JsonConverters.toJson(employerContributionDate,'DateTime',context!), 'voluntaryContribution': voluntaryContribution, 'voluntaryContributionDate': JsonConverters.toJson(voluntaryContributionDate,'DateTime',context!), 'totalContribution': totalContribution }; getTypeName() => "Contribution"; TypeContext? context = _ctx; } class BeContributions implements IConvertible { List? balances; BeContributions({this.balances}); BeContributions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { balances = JsonConverters.fromJson(json['balances'],'List',context!); return this; } Map toJson() => { 'balances': JsonConverters.toJson(balances,'List',context!) }; getTypeName() => "BeContributions"; TypeContext? context = _ctx; } class PrivateClientProduct implements IConvertible { int? carrier; int? privateProductId; PrivateClientProduct({this.carrier,this.privateProductId}); PrivateClientProduct.fromJson(Map json) { fromMap(json); } fromMap(Map json) { carrier = json['carrier']; privateProductId = json['privateProductId']; return this; } Map toJson() => { 'carrier': carrier, 'privateProductId': privateProductId }; getTypeName() => "PrivateClientProduct"; TypeContext? context = _ctx; } class ConfigurationVersionEmailSetting implements IConvertible { String? id; String? subjectFormat; List? sendToBCC; List? sendToCC; List? sendFrom; String? bodyTemplate; ConfigurationVersionEmailSetting({this.id,this.subjectFormat,this.sendToBCC,this.sendToCC,this.sendFrom,this.bodyTemplate}); ConfigurationVersionEmailSetting.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; subjectFormat = json['subjectFormat']; sendToBCC = JsonConverters.fromJson(json['sendToBCC'],'List',context!); sendToCC = JsonConverters.fromJson(json['sendToCC'],'List',context!); sendFrom = JsonConverters.fromJson(json['sendFrom'],'List',context!); bodyTemplate = json['bodyTemplate']; return this; } Map toJson() => { 'id': id, 'subjectFormat': subjectFormat, 'sendToBCC': JsonConverters.toJson(sendToBCC,'List',context!), 'sendToCC': JsonConverters.toJson(sendToCC,'List',context!), 'sendFrom': JsonConverters.toJson(sendFrom,'List',context!), 'bodyTemplate': bodyTemplate }; getTypeName() => "ConfigurationVersionEmailSetting"; TypeContext? context = _ctx; } class FormTypeFieldsConfiguration implements IConvertible { int? order; String? label; String? field; String? type; List? validation; String? lookupReference; int? min; int? max; FormTypeFieldsConfiguration({this.order,this.label,this.field,this.type,this.validation,this.lookupReference,this.min,this.max}); FormTypeFieldsConfiguration.fromJson(Map json) { fromMap(json); } fromMap(Map json) { order = json['order']; label = json['label']; field = json['field']; type = json['type']; validation = JsonConverters.fromJson(json['validation'],'List',context!); lookupReference = json['lookupReference']; min = json['min']; max = json['max']; return this; } Map toJson() => { 'order': order, 'label': label, 'field': field, 'type': type, 'validation': JsonConverters.toJson(validation,'List',context!), 'lookupReference': lookupReference, 'min': min, 'max': max }; getTypeName() => "FormTypeFieldsConfiguration"; TypeContext? context = _ctx; } class FormTypeLookupConfiguration implements IConvertible { String? name; FormTypeLookupConfiguration({this.name}); FormTypeLookupConfiguration.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; return this; } Map toJson() => { 'name': name }; getTypeName() => "FormTypeLookupConfiguration"; TypeContext? context = _ctx; } class Question implements IConvertible { int? number; String? description; Question({this.number,this.description}); Question.fromJson(Map json) { fromMap(json); } fromMap(Map json) { number = json['number']; description = json['description']; return this; } Map toJson() => { 'number': number, 'description': description }; getTypeName() => "Question"; TypeContext? context = _ctx; } class Option implements IConvertible { int? value; String? description; Option({this.value,this.description}); Option.fromJson(Map json) { fromMap(json); } fromMap(Map json) { value = json['value']; description = json['description']; return this; } Map toJson() => { 'value': value, 'description': description }; getTypeName() => "Option"; TypeContext? context = _ctx; } class ProductQuestion implements IConvertible { Question? question; List