Trendsic Platform Service

<back to all web services

FactFinderConfigRequest

Requires Authentication
The following routes are available for this service:
GET,POST,OPTIONS/v1/FactFinderConfig
<?php namespace dtos;

use DateTime;
use Exception;
use DateInterval;
use JsonSerializable;
use ServiceStack\{IReturn,IReturnVoid,IGet,IPost,IPut,IDelete,IPatch,IMeta,IHasSessionId,IHasBearerToken,IHasVersion};
use ServiceStack\{ICrud,ICreateDb,IUpdateDb,IPatchDb,IDeleteDb,ISaveDb,AuditBase,QueryDb,QueryDb2,QueryData,QueryData2,QueryResponse};
use ServiceStack\{ResponseStatus,ResponseError,EmptyResponse,IdResponse,ArrayList,KeyValuePair2,StringResponse,StringsResponse,Tuple2,Tuple3,ByteArray};
use ServiceStack\{JsonConverters,Returns,TypeContext};


class FactFinderConfig implements JsonSerializable
{
    public function __construct(
        /** @var bool|null */
        public ?bool $ei_lastName=null,
        /** @var bool|null */
        public ?bool $ei_firstname=null,
        /** @var bool|null */
        public ?bool $ei_mi=null,
        /** @var bool|null */
        public ?bool $ei_dob=null,
        /** @var bool|null */
        public ?bool $ei_age=null,
        /** @var bool|null */
        public ?bool $ei_district=null,
        /** @var bool|null */
        public ?bool $ei_school=null,
        /** @var bool|null */
        public ?bool $ei_room=null,
        /** @var bool|null */
        public ?bool $ei_position=null,
        /** @var bool|null */
        public ?bool $ei_yearswdist=null,
        /** @var bool|null */
        public ?bool $ei_yearswodist=null,
        /** @var bool|null */
        public ?bool $ei_pastocc=null,
        /** @var bool|null */
        public ?bool $ei_address=null,
        /** @var bool|null */
        public ?bool $ei_city=null,
        /** @var bool|null */
        public ?bool $ei_state=null,
        /** @var bool|null */
        public ?bool $ei_zip=null,
        /** @var bool|null */
        public ?bool $ei_cellphone=null,
        /** @var bool|null */
        public ?bool $ei_workphone=null,
        /** @var bool|null */
        public ?bool $ei_personalemail=null,
        /** @var bool|null */
        public ?bool $ei_workemail=null,
        /** @var bool|null */
        public ?bool $ei_spousename=null,
        /** @var bool|null */
        public ?bool $ei_spousedob=null,
        /** @var bool|null */
        public ?bool $ei_spouseage=null,
        /** @var bool|null */
        public ?bool $ei_spousecellphone=null,
        /** @var bool|null */
        public ?bool $ei_spouseemail=null,
        /** @var bool|null */
        public ?bool $ei_spouseoccupation=null,
        /** @var bool|null */
        public ?bool $ei_spouseposition=null,
        /** @var bool|null */
        public ?bool $ei_spouseyears=null,
        /** @var bool|null */
        public ?bool $ei_spousepastocc=null,
        /** @var bool|null */
        public ?bool $ei_reasonmeeting=null,
        /** @var bool|null */
        public ?bool $emt_workstatus=null,
        /** @var bool|null */
        public ?bool $emt_unusedsickdays=null,
        /** @var bool|null */
        public ?bool $emt_unusedsickhours=null,
        /** @var bool|null */
        public ?bool $emt_cbsdays=null,
        /** @var bool|null */
        public ?bool $emt_cbshours=null,
        /** @var bool|null */
        public ?bool $emt_dpw=null,
        /** @var bool|null */
        public ?bool $emt_hpw=null,
        /** @var bool|null */
        public ?bool $emt_mpy=null,
        /** @var bool|null */
        public ?bool $emt_numpretaxchecks=null,
        /** @var bool|null */
        public ?bool $fin_clientgross=null,
        /** @var bool|null */
        public ?bool $fin_clientnet=null,
        /** @var bool|null */
        public ?bool $fin_householdgross=null,
        /** @var bool|null */
        public ?bool $fin_householdnet=null,
        /** @var bool|null */
        public ?bool $fin_desiredretincome=null,
        /** @var bool|null */
        public ?bool $fin_estexpenses=null,
        /** @var bool|null */
        public ?bool $fin_discincome=null,
        /** @var bool|null */
        public ?bool $fin_exptype=null,
        /** @var bool|null */
        public ?bool $fin_desc=null,
        /** @var bool|null */
        public ?bool $fin_balance=null,
        /** @var bool|null */
        public ?bool $fin_interestrate=null,
        /** @var bool|null */
        public ?bool $fin_minpayment=null,
        /** @var bool|null */
        public ?bool $fin_monthlypayment=null,
        /** @var bool|null */
        public ?bool $pen_pensystem=null,
        /** @var bool|null */
        public ?bool $pen_penstart=null,
        /** @var bool|null */
        public ?bool $pen_servicecredit=null,
        /** @var bool|null */
        public ?bool $pen_servicecreditasofdate=null,
        /** @var bool|null */
        public ?bool $pen_desiredretdate=null,
        /** @var bool|null */
        public ?bool $pen_desiredretage=null,
        /** @var bool|null */
        public ?bool $pen_spousalbenefitdesired=null,
        /** @var bool|null */
        public ?bool $pen_formula=null,
        /** @var bool|null */
        public ?bool $pen_defbalance=null,
        /** @var bool|null */
        public ?bool $pen_defspousebalance=null,
        /** @var bool|null */
        public ?bool $prot_plife=null,
        /** @var bool|null */
        public ?bool $prot_pcarrier=null,
        /** @var bool|null */
        public ?bool $prot_pfaceamount=null,
        /** @var bool|null */
        public ?bool $prot_pissuedate=null,
        /** @var bool|null */
        public ?bool $prot_plifepremium=null,
        /** @var bool|null */
        public ?bool $prot_ptype=null,
        /** @var bool|null */
        public ?bool $prot_ptypeof=null,
        /** @var bool|null */
        public ?bool $prot_pcashvalue=null,
        /** @var bool|null */
        public ?bool $prot_slife=null,
        /** @var bool|null */
        public ?bool $prot_scarrier=null,
        /** @var bool|null */
        public ?bool $prot_sfaceamount=null,
        /** @var bool|null */
        public ?bool $prot_sissuedate=null,
        /** @var bool|null */
        public ?bool $prot_slifepremium=null,
        /** @var bool|null */
        public ?bool $prot_stype=null,
        /** @var bool|null */
        public ?bool $prot_stypeof=null,
        /** @var bool|null */
        public ?bool $prot_scashvalue=null,
        /** @var bool|null */
        public ?bool $prot_pltc=null,
        /** @var bool|null */
        public ?bool $prot_pltcpremium=null,
        /** @var bool|null */
        public ?bool $prot_pdisability=null,
        /** @var bool|null */
        public ?bool $prot_pdisabilitypremium=null,
        /** @var bool|null */
        public ?bool $prot_sltc=null,
        /** @var bool|null */
        public ?bool $prot_sltcpremium=null,
        /** @var bool|null */
        public ?bool $prot_sdisability=null,
        /** @var bool|null */
        public ?bool $prot_sdisabilitypremium=null,
        /** @var bool|null */
        public ?bool $efi_monthlycontrib=null,
        /** @var bool|null */
        public ?bool $efi_fundbalance=null,
        /** @var bool|null */
        public ?bool $efi_isthreetosixmonths=null,
        /** @var bool|null */
        public ?bool $lta_haveretiresavings=null,
        /** @var bool|null */
        public ?bool $lta_priorretireplan=null,
        /** @var bool|null */
        public ?bool $lta_havedistplan=null,
        /** @var bool|null */
        public ?bool $lta_plantype=null,
        /** @var bool|null */
        public ?bool $lta_company=null,
        /** @var bool|null */
        public ?bool $lta_contrib=null,
        /** @var bool|null */
        public ?bool $lta_balance=null,
        /** @var bool|null */
        public ?bool $ira_acctowner=null,
        /** @var bool|null */
        public ?bool $ira_company=null,
        /** @var bool|null */
        public ?bool $ira_taxcode=null,
        /** @var bool|null */
        public ?bool $ira_accounttype=null,
        /** @var bool|null */
        public ?bool $ira_acctnumber=null,
        /** @var bool|null */
        public ?bool $ira_inception=null,
        /** @var bool|null */
        public ?bool $ira_currentvalue=null,
        /** @var bool|null */
        public ?bool $ira_monthlycontrib=null,
        /** @var bool|null */
        public ?bool $ira_surrcharge=null,
        /** @var bool|null */
        public ?bool $ira_surrvalue=null,
        /** @var bool|null */
        public ?bool $ira_totalfees=null,
        /** @var bool|null */
        public ?bool $ira_tpaok=null,
        /** @var bool|null */
        public ?bool $ira_addlformsreq=null,
        /** @var bool|null */
        public ?bool $ira_sigreq=null,
        /** @var bool|null */
        public ?bool $ira_outstandingloans=null,
        /** @var bool|null */
        public ?bool $ira_originalformsreq=null,
        /** @var bool|null */
        public ?bool $ira_faxaccepted=null,
        /** @var bool|null */
        public ?bool $ira_faxnumber=null,
        /** @var bool|null */
        public ?bool $ira_notes=null,
        /** @var bool|null */
        public ?bool $ira_mailaddr=null,
        /** @var bool|null */
        public ?bool $ira_mailcity=null,
        /** @var bool|null */
        public ?bool $ira_mailstate=null,
        /** @var bool|null */
        public ?bool $ira_mailzip=null,
        /** @var bool|null */
        public ?bool $kcf_name=null,
        /** @var bool|null */
        public ?bool $kcf_dob=null,
        /** @var bool|null */
        public ?bool $kcf_age=null,
        /** @var bool|null */
        public ?bool $kcf_fund=null,
        /** @var bool|null */
        public ?bool $kcf_contribution=null,
        /** @var bool|null */
        public ?bool $kcf_balance=null,
        /** @var bool|null */
        public ?bool $an_notes=null,
        /** @var bool|null */
        public ?bool $cr_name=null,
        /** @var bool|null */
        public ?bool $cr_campus=null,
        /** @var bool|null */
        public ?bool $cr_room=null,
        /** @var bool|null */
        public ?bool $cr_phone=null
    ) {
    }

    /** @throws Exception */
    public function fromMap($o): void {
        if (isset($o['ei_lastName'])) $this->ei_lastName = $o['ei_lastName'];
        if (isset($o['ei_firstname'])) $this->ei_firstname = $o['ei_firstname'];
        if (isset($o['ei_mi'])) $this->ei_mi = $o['ei_mi'];
        if (isset($o['ei_dob'])) $this->ei_dob = $o['ei_dob'];
        if (isset($o['ei_age'])) $this->ei_age = $o['ei_age'];
        if (isset($o['ei_district'])) $this->ei_district = $o['ei_district'];
        if (isset($o['ei_school'])) $this->ei_school = $o['ei_school'];
        if (isset($o['ei_room'])) $this->ei_room = $o['ei_room'];
        if (isset($o['ei_position'])) $this->ei_position = $o['ei_position'];
        if (isset($o['ei_yearswdist'])) $this->ei_yearswdist = $o['ei_yearswdist'];
        if (isset($o['ei_yearswodist'])) $this->ei_yearswodist = $o['ei_yearswodist'];
        if (isset($o['ei_pastocc'])) $this->ei_pastocc = $o['ei_pastocc'];
        if (isset($o['ei_address'])) $this->ei_address = $o['ei_address'];
        if (isset($o['ei_city'])) $this->ei_city = $o['ei_city'];
        if (isset($o['ei_state'])) $this->ei_state = $o['ei_state'];
        if (isset($o['ei_zip'])) $this->ei_zip = $o['ei_zip'];
        if (isset($o['ei_cellphone'])) $this->ei_cellphone = $o['ei_cellphone'];
        if (isset($o['ei_workphone'])) $this->ei_workphone = $o['ei_workphone'];
        if (isset($o['ei_personalemail'])) $this->ei_personalemail = $o['ei_personalemail'];
        if (isset($o['ei_workemail'])) $this->ei_workemail = $o['ei_workemail'];
        if (isset($o['ei_spousename'])) $this->ei_spousename = $o['ei_spousename'];
        if (isset($o['ei_spousedob'])) $this->ei_spousedob = $o['ei_spousedob'];
        if (isset($o['ei_spouseage'])) $this->ei_spouseage = $o['ei_spouseage'];
        if (isset($o['ei_spousecellphone'])) $this->ei_spousecellphone = $o['ei_spousecellphone'];
        if (isset($o['ei_spouseemail'])) $this->ei_spouseemail = $o['ei_spouseemail'];
        if (isset($o['ei_spouseoccupation'])) $this->ei_spouseoccupation = $o['ei_spouseoccupation'];
        if (isset($o['ei_spouseposition'])) $this->ei_spouseposition = $o['ei_spouseposition'];
        if (isset($o['ei_spouseyears'])) $this->ei_spouseyears = $o['ei_spouseyears'];
        if (isset($o['ei_spousepastocc'])) $this->ei_spousepastocc = $o['ei_spousepastocc'];
        if (isset($o['ei_reasonmeeting'])) $this->ei_reasonmeeting = $o['ei_reasonmeeting'];
        if (isset($o['emt_workstatus'])) $this->emt_workstatus = $o['emt_workstatus'];
        if (isset($o['emt_unusedsickdays'])) $this->emt_unusedsickdays = $o['emt_unusedsickdays'];
        if (isset($o['emt_unusedsickhours'])) $this->emt_unusedsickhours = $o['emt_unusedsickhours'];
        if (isset($o['emt_cbsdays'])) $this->emt_cbsdays = $o['emt_cbsdays'];
        if (isset($o['emt_cbshours'])) $this->emt_cbshours = $o['emt_cbshours'];
        if (isset($o['emt_dpw'])) $this->emt_dpw = $o['emt_dpw'];
        if (isset($o['emt_hpw'])) $this->emt_hpw = $o['emt_hpw'];
        if (isset($o['emt_mpy'])) $this->emt_mpy = $o['emt_mpy'];
        if (isset($o['emt_numpretaxchecks'])) $this->emt_numpretaxchecks = $o['emt_numpretaxchecks'];
        if (isset($o['fin_clientgross'])) $this->fin_clientgross = $o['fin_clientgross'];
        if (isset($o['fin_clientnet'])) $this->fin_clientnet = $o['fin_clientnet'];
        if (isset($o['fin_householdgross'])) $this->fin_householdgross = $o['fin_householdgross'];
        if (isset($o['fin_householdnet'])) $this->fin_householdnet = $o['fin_householdnet'];
        if (isset($o['fin_desiredretincome'])) $this->fin_desiredretincome = $o['fin_desiredretincome'];
        if (isset($o['fin_estexpenses'])) $this->fin_estexpenses = $o['fin_estexpenses'];
        if (isset($o['fin_discincome'])) $this->fin_discincome = $o['fin_discincome'];
        if (isset($o['fin_exptype'])) $this->fin_exptype = $o['fin_exptype'];
        if (isset($o['fin_desc'])) $this->fin_desc = $o['fin_desc'];
        if (isset($o['fin_balance'])) $this->fin_balance = $o['fin_balance'];
        if (isset($o['fin_interestrate'])) $this->fin_interestrate = $o['fin_interestrate'];
        if (isset($o['fin_minpayment'])) $this->fin_minpayment = $o['fin_minpayment'];
        if (isset($o['fin_monthlypayment'])) $this->fin_monthlypayment = $o['fin_monthlypayment'];
        if (isset($o['pen_pensystem'])) $this->pen_pensystem = $o['pen_pensystem'];
        if (isset($o['pen_penstart'])) $this->pen_penstart = $o['pen_penstart'];
        if (isset($o['pen_servicecredit'])) $this->pen_servicecredit = $o['pen_servicecredit'];
        if (isset($o['pen_servicecreditasofdate'])) $this->pen_servicecreditasofdate = $o['pen_servicecreditasofdate'];
        if (isset($o['pen_desiredretdate'])) $this->pen_desiredretdate = $o['pen_desiredretdate'];
        if (isset($o['pen_desiredretage'])) $this->pen_desiredretage = $o['pen_desiredretage'];
        if (isset($o['pen_spousalbenefitdesired'])) $this->pen_spousalbenefitdesired = $o['pen_spousalbenefitdesired'];
        if (isset($o['pen_formula'])) $this->pen_formula = $o['pen_formula'];
        if (isset($o['pen_defbalance'])) $this->pen_defbalance = $o['pen_defbalance'];
        if (isset($o['pen_defspousebalance'])) $this->pen_defspousebalance = $o['pen_defspousebalance'];
        if (isset($o['prot_plife'])) $this->prot_plife = $o['prot_plife'];
        if (isset($o['prot_pcarrier'])) $this->prot_pcarrier = $o['prot_pcarrier'];
        if (isset($o['prot_pfaceamount'])) $this->prot_pfaceamount = $o['prot_pfaceamount'];
        if (isset($o['prot_pissuedate'])) $this->prot_pissuedate = $o['prot_pissuedate'];
        if (isset($o['prot_plifepremium'])) $this->prot_plifepremium = $o['prot_plifepremium'];
        if (isset($o['prot_ptype'])) $this->prot_ptype = $o['prot_ptype'];
        if (isset($o['prot_ptypeof'])) $this->prot_ptypeof = $o['prot_ptypeof'];
        if (isset($o['prot_pcashvalue'])) $this->prot_pcashvalue = $o['prot_pcashvalue'];
        if (isset($o['prot_slife'])) $this->prot_slife = $o['prot_slife'];
        if (isset($o['prot_scarrier'])) $this->prot_scarrier = $o['prot_scarrier'];
        if (isset($o['prot_sfaceamount'])) $this->prot_sfaceamount = $o['prot_sfaceamount'];
        if (isset($o['prot_sissuedate'])) $this->prot_sissuedate = $o['prot_sissuedate'];
        if (isset($o['prot_slifepremium'])) $this->prot_slifepremium = $o['prot_slifepremium'];
        if (isset($o['prot_stype'])) $this->prot_stype = $o['prot_stype'];
        if (isset($o['prot_stypeof'])) $this->prot_stypeof = $o['prot_stypeof'];
        if (isset($o['prot_scashvalue'])) $this->prot_scashvalue = $o['prot_scashvalue'];
        if (isset($o['prot_pltc'])) $this->prot_pltc = $o['prot_pltc'];
        if (isset($o['prot_pltcpremium'])) $this->prot_pltcpremium = $o['prot_pltcpremium'];
        if (isset($o['prot_pdisability'])) $this->prot_pdisability = $o['prot_pdisability'];
        if (isset($o['prot_pdisabilitypremium'])) $this->prot_pdisabilitypremium = $o['prot_pdisabilitypremium'];
        if (isset($o['prot_sltc'])) $this->prot_sltc = $o['prot_sltc'];
        if (isset($o['prot_sltcpremium'])) $this->prot_sltcpremium = $o['prot_sltcpremium'];
        if (isset($o['prot_sdisability'])) $this->prot_sdisability = $o['prot_sdisability'];
        if (isset($o['prot_sdisabilitypremium'])) $this->prot_sdisabilitypremium = $o['prot_sdisabilitypremium'];
        if (isset($o['efi_monthlycontrib'])) $this->efi_monthlycontrib = $o['efi_monthlycontrib'];
        if (isset($o['efi_fundbalance'])) $this->efi_fundbalance = $o['efi_fundbalance'];
        if (isset($o['efi_isthreetosixmonths'])) $this->efi_isthreetosixmonths = $o['efi_isthreetosixmonths'];
        if (isset($o['lta_haveretiresavings'])) $this->lta_haveretiresavings = $o['lta_haveretiresavings'];
        if (isset($o['lta_priorretireplan'])) $this->lta_priorretireplan = $o['lta_priorretireplan'];
        if (isset($o['lta_havedistplan'])) $this->lta_havedistplan = $o['lta_havedistplan'];
        if (isset($o['lta_plantype'])) $this->lta_plantype = $o['lta_plantype'];
        if (isset($o['lta_company'])) $this->lta_company = $o['lta_company'];
        if (isset($o['lta_contrib'])) $this->lta_contrib = $o['lta_contrib'];
        if (isset($o['lta_balance'])) $this->lta_balance = $o['lta_balance'];
        if (isset($o['ira_acctowner'])) $this->ira_acctowner = $o['ira_acctowner'];
        if (isset($o['ira_company'])) $this->ira_company = $o['ira_company'];
        if (isset($o['ira_taxcode'])) $this->ira_taxcode = $o['ira_taxcode'];
        if (isset($o['ira_accounttype'])) $this->ira_accounttype = $o['ira_accounttype'];
        if (isset($o['ira_acctnumber'])) $this->ira_acctnumber = $o['ira_acctnumber'];
        if (isset($o['ira_inception'])) $this->ira_inception = $o['ira_inception'];
        if (isset($o['ira_currentvalue'])) $this->ira_currentvalue = $o['ira_currentvalue'];
        if (isset($o['ira_monthlycontrib'])) $this->ira_monthlycontrib = $o['ira_monthlycontrib'];
        if (isset($o['ira_surrcharge'])) $this->ira_surrcharge = $o['ira_surrcharge'];
        if (isset($o['ira_surrvalue'])) $this->ira_surrvalue = $o['ira_surrvalue'];
        if (isset($o['ira_totalfees'])) $this->ira_totalfees = $o['ira_totalfees'];
        if (isset($o['ira_tpaok'])) $this->ira_tpaok = $o['ira_tpaok'];
        if (isset($o['ira_addlformsreq'])) $this->ira_addlformsreq = $o['ira_addlformsreq'];
        if (isset($o['ira_sigreq'])) $this->ira_sigreq = $o['ira_sigreq'];
        if (isset($o['ira_outstandingloans'])) $this->ira_outstandingloans = $o['ira_outstandingloans'];
        if (isset($o['ira_originalformsreq'])) $this->ira_originalformsreq = $o['ira_originalformsreq'];
        if (isset($o['ira_faxaccepted'])) $this->ira_faxaccepted = $o['ira_faxaccepted'];
        if (isset($o['ira_faxnumber'])) $this->ira_faxnumber = $o['ira_faxnumber'];
        if (isset($o['ira_notes'])) $this->ira_notes = $o['ira_notes'];
        if (isset($o['ira_mailaddr'])) $this->ira_mailaddr = $o['ira_mailaddr'];
        if (isset($o['ira_mailcity'])) $this->ira_mailcity = $o['ira_mailcity'];
        if (isset($o['ira_mailstate'])) $this->ira_mailstate = $o['ira_mailstate'];
        if (isset($o['ira_mailzip'])) $this->ira_mailzip = $o['ira_mailzip'];
        if (isset($o['kcf_name'])) $this->kcf_name = $o['kcf_name'];
        if (isset($o['kcf_dob'])) $this->kcf_dob = $o['kcf_dob'];
        if (isset($o['kcf_age'])) $this->kcf_age = $o['kcf_age'];
        if (isset($o['kcf_fund'])) $this->kcf_fund = $o['kcf_fund'];
        if (isset($o['kcf_contribution'])) $this->kcf_contribution = $o['kcf_contribution'];
        if (isset($o['kcf_balance'])) $this->kcf_balance = $o['kcf_balance'];
        if (isset($o['an_notes'])) $this->an_notes = $o['an_notes'];
        if (isset($o['cr_name'])) $this->cr_name = $o['cr_name'];
        if (isset($o['cr_campus'])) $this->cr_campus = $o['cr_campus'];
        if (isset($o['cr_room'])) $this->cr_room = $o['cr_room'];
        if (isset($o['cr_phone'])) $this->cr_phone = $o['cr_phone'];
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = [];
        if (isset($this->ei_lastName)) $o['ei_lastName'] = $this->ei_lastName;
        if (isset($this->ei_firstname)) $o['ei_firstname'] = $this->ei_firstname;
        if (isset($this->ei_mi)) $o['ei_mi'] = $this->ei_mi;
        if (isset($this->ei_dob)) $o['ei_dob'] = $this->ei_dob;
        if (isset($this->ei_age)) $o['ei_age'] = $this->ei_age;
        if (isset($this->ei_district)) $o['ei_district'] = $this->ei_district;
        if (isset($this->ei_school)) $o['ei_school'] = $this->ei_school;
        if (isset($this->ei_room)) $o['ei_room'] = $this->ei_room;
        if (isset($this->ei_position)) $o['ei_position'] = $this->ei_position;
        if (isset($this->ei_yearswdist)) $o['ei_yearswdist'] = $this->ei_yearswdist;
        if (isset($this->ei_yearswodist)) $o['ei_yearswodist'] = $this->ei_yearswodist;
        if (isset($this->ei_pastocc)) $o['ei_pastocc'] = $this->ei_pastocc;
        if (isset($this->ei_address)) $o['ei_address'] = $this->ei_address;
        if (isset($this->ei_city)) $o['ei_city'] = $this->ei_city;
        if (isset($this->ei_state)) $o['ei_state'] = $this->ei_state;
        if (isset($this->ei_zip)) $o['ei_zip'] = $this->ei_zip;
        if (isset($this->ei_cellphone)) $o['ei_cellphone'] = $this->ei_cellphone;
        if (isset($this->ei_workphone)) $o['ei_workphone'] = $this->ei_workphone;
        if (isset($this->ei_personalemail)) $o['ei_personalemail'] = $this->ei_personalemail;
        if (isset($this->ei_workemail)) $o['ei_workemail'] = $this->ei_workemail;
        if (isset($this->ei_spousename)) $o['ei_spousename'] = $this->ei_spousename;
        if (isset($this->ei_spousedob)) $o['ei_spousedob'] = $this->ei_spousedob;
        if (isset($this->ei_spouseage)) $o['ei_spouseage'] = $this->ei_spouseage;
        if (isset($this->ei_spousecellphone)) $o['ei_spousecellphone'] = $this->ei_spousecellphone;
        if (isset($this->ei_spouseemail)) $o['ei_spouseemail'] = $this->ei_spouseemail;
        if (isset($this->ei_spouseoccupation)) $o['ei_spouseoccupation'] = $this->ei_spouseoccupation;
        if (isset($this->ei_spouseposition)) $o['ei_spouseposition'] = $this->ei_spouseposition;
        if (isset($this->ei_spouseyears)) $o['ei_spouseyears'] = $this->ei_spouseyears;
        if (isset($this->ei_spousepastocc)) $o['ei_spousepastocc'] = $this->ei_spousepastocc;
        if (isset($this->ei_reasonmeeting)) $o['ei_reasonmeeting'] = $this->ei_reasonmeeting;
        if (isset($this->emt_workstatus)) $o['emt_workstatus'] = $this->emt_workstatus;
        if (isset($this->emt_unusedsickdays)) $o['emt_unusedsickdays'] = $this->emt_unusedsickdays;
        if (isset($this->emt_unusedsickhours)) $o['emt_unusedsickhours'] = $this->emt_unusedsickhours;
        if (isset($this->emt_cbsdays)) $o['emt_cbsdays'] = $this->emt_cbsdays;
        if (isset($this->emt_cbshours)) $o['emt_cbshours'] = $this->emt_cbshours;
        if (isset($this->emt_dpw)) $o['emt_dpw'] = $this->emt_dpw;
        if (isset($this->emt_hpw)) $o['emt_hpw'] = $this->emt_hpw;
        if (isset($this->emt_mpy)) $o['emt_mpy'] = $this->emt_mpy;
        if (isset($this->emt_numpretaxchecks)) $o['emt_numpretaxchecks'] = $this->emt_numpretaxchecks;
        if (isset($this->fin_clientgross)) $o['fin_clientgross'] = $this->fin_clientgross;
        if (isset($this->fin_clientnet)) $o['fin_clientnet'] = $this->fin_clientnet;
        if (isset($this->fin_householdgross)) $o['fin_householdgross'] = $this->fin_householdgross;
        if (isset($this->fin_householdnet)) $o['fin_householdnet'] = $this->fin_householdnet;
        if (isset($this->fin_desiredretincome)) $o['fin_desiredretincome'] = $this->fin_desiredretincome;
        if (isset($this->fin_estexpenses)) $o['fin_estexpenses'] = $this->fin_estexpenses;
        if (isset($this->fin_discincome)) $o['fin_discincome'] = $this->fin_discincome;
        if (isset($this->fin_exptype)) $o['fin_exptype'] = $this->fin_exptype;
        if (isset($this->fin_desc)) $o['fin_desc'] = $this->fin_desc;
        if (isset($this->fin_balance)) $o['fin_balance'] = $this->fin_balance;
        if (isset($this->fin_interestrate)) $o['fin_interestrate'] = $this->fin_interestrate;
        if (isset($this->fin_minpayment)) $o['fin_minpayment'] = $this->fin_minpayment;
        if (isset($this->fin_monthlypayment)) $o['fin_monthlypayment'] = $this->fin_monthlypayment;
        if (isset($this->pen_pensystem)) $o['pen_pensystem'] = $this->pen_pensystem;
        if (isset($this->pen_penstart)) $o['pen_penstart'] = $this->pen_penstart;
        if (isset($this->pen_servicecredit)) $o['pen_servicecredit'] = $this->pen_servicecredit;
        if (isset($this->pen_servicecreditasofdate)) $o['pen_servicecreditasofdate'] = $this->pen_servicecreditasofdate;
        if (isset($this->pen_desiredretdate)) $o['pen_desiredretdate'] = $this->pen_desiredretdate;
        if (isset($this->pen_desiredretage)) $o['pen_desiredretage'] = $this->pen_desiredretage;
        if (isset($this->pen_spousalbenefitdesired)) $o['pen_spousalbenefitdesired'] = $this->pen_spousalbenefitdesired;
        if (isset($this->pen_formula)) $o['pen_formula'] = $this->pen_formula;
        if (isset($this->pen_defbalance)) $o['pen_defbalance'] = $this->pen_defbalance;
        if (isset($this->pen_defspousebalance)) $o['pen_defspousebalance'] = $this->pen_defspousebalance;
        if (isset($this->prot_plife)) $o['prot_plife'] = $this->prot_plife;
        if (isset($this->prot_pcarrier)) $o['prot_pcarrier'] = $this->prot_pcarrier;
        if (isset($this->prot_pfaceamount)) $o['prot_pfaceamount'] = $this->prot_pfaceamount;
        if (isset($this->prot_pissuedate)) $o['prot_pissuedate'] = $this->prot_pissuedate;
        if (isset($this->prot_plifepremium)) $o['prot_plifepremium'] = $this->prot_plifepremium;
        if (isset($this->prot_ptype)) $o['prot_ptype'] = $this->prot_ptype;
        if (isset($this->prot_ptypeof)) $o['prot_ptypeof'] = $this->prot_ptypeof;
        if (isset($this->prot_pcashvalue)) $o['prot_pcashvalue'] = $this->prot_pcashvalue;
        if (isset($this->prot_slife)) $o['prot_slife'] = $this->prot_slife;
        if (isset($this->prot_scarrier)) $o['prot_scarrier'] = $this->prot_scarrier;
        if (isset($this->prot_sfaceamount)) $o['prot_sfaceamount'] = $this->prot_sfaceamount;
        if (isset($this->prot_sissuedate)) $o['prot_sissuedate'] = $this->prot_sissuedate;
        if (isset($this->prot_slifepremium)) $o['prot_slifepremium'] = $this->prot_slifepremium;
        if (isset($this->prot_stype)) $o['prot_stype'] = $this->prot_stype;
        if (isset($this->prot_stypeof)) $o['prot_stypeof'] = $this->prot_stypeof;
        if (isset($this->prot_scashvalue)) $o['prot_scashvalue'] = $this->prot_scashvalue;
        if (isset($this->prot_pltc)) $o['prot_pltc'] = $this->prot_pltc;
        if (isset($this->prot_pltcpremium)) $o['prot_pltcpremium'] = $this->prot_pltcpremium;
        if (isset($this->prot_pdisability)) $o['prot_pdisability'] = $this->prot_pdisability;
        if (isset($this->prot_pdisabilitypremium)) $o['prot_pdisabilitypremium'] = $this->prot_pdisabilitypremium;
        if (isset($this->prot_sltc)) $o['prot_sltc'] = $this->prot_sltc;
        if (isset($this->prot_sltcpremium)) $o['prot_sltcpremium'] = $this->prot_sltcpremium;
        if (isset($this->prot_sdisability)) $o['prot_sdisability'] = $this->prot_sdisability;
        if (isset($this->prot_sdisabilitypremium)) $o['prot_sdisabilitypremium'] = $this->prot_sdisabilitypremium;
        if (isset($this->efi_monthlycontrib)) $o['efi_monthlycontrib'] = $this->efi_monthlycontrib;
        if (isset($this->efi_fundbalance)) $o['efi_fundbalance'] = $this->efi_fundbalance;
        if (isset($this->efi_isthreetosixmonths)) $o['efi_isthreetosixmonths'] = $this->efi_isthreetosixmonths;
        if (isset($this->lta_haveretiresavings)) $o['lta_haveretiresavings'] = $this->lta_haveretiresavings;
        if (isset($this->lta_priorretireplan)) $o['lta_priorretireplan'] = $this->lta_priorretireplan;
        if (isset($this->lta_havedistplan)) $o['lta_havedistplan'] = $this->lta_havedistplan;
        if (isset($this->lta_plantype)) $o['lta_plantype'] = $this->lta_plantype;
        if (isset($this->lta_company)) $o['lta_company'] = $this->lta_company;
        if (isset($this->lta_contrib)) $o['lta_contrib'] = $this->lta_contrib;
        if (isset($this->lta_balance)) $o['lta_balance'] = $this->lta_balance;
        if (isset($this->ira_acctowner)) $o['ira_acctowner'] = $this->ira_acctowner;
        if (isset($this->ira_company)) $o['ira_company'] = $this->ira_company;
        if (isset($this->ira_taxcode)) $o['ira_taxcode'] = $this->ira_taxcode;
        if (isset($this->ira_accounttype)) $o['ira_accounttype'] = $this->ira_accounttype;
        if (isset($this->ira_acctnumber)) $o['ira_acctnumber'] = $this->ira_acctnumber;
        if (isset($this->ira_inception)) $o['ira_inception'] = $this->ira_inception;
        if (isset($this->ira_currentvalue)) $o['ira_currentvalue'] = $this->ira_currentvalue;
        if (isset($this->ira_monthlycontrib)) $o['ira_monthlycontrib'] = $this->ira_monthlycontrib;
        if (isset($this->ira_surrcharge)) $o['ira_surrcharge'] = $this->ira_surrcharge;
        if (isset($this->ira_surrvalue)) $o['ira_surrvalue'] = $this->ira_surrvalue;
        if (isset($this->ira_totalfees)) $o['ira_totalfees'] = $this->ira_totalfees;
        if (isset($this->ira_tpaok)) $o['ira_tpaok'] = $this->ira_tpaok;
        if (isset($this->ira_addlformsreq)) $o['ira_addlformsreq'] = $this->ira_addlformsreq;
        if (isset($this->ira_sigreq)) $o['ira_sigreq'] = $this->ira_sigreq;
        if (isset($this->ira_outstandingloans)) $o['ira_outstandingloans'] = $this->ira_outstandingloans;
        if (isset($this->ira_originalformsreq)) $o['ira_originalformsreq'] = $this->ira_originalformsreq;
        if (isset($this->ira_faxaccepted)) $o['ira_faxaccepted'] = $this->ira_faxaccepted;
        if (isset($this->ira_faxnumber)) $o['ira_faxnumber'] = $this->ira_faxnumber;
        if (isset($this->ira_notes)) $o['ira_notes'] = $this->ira_notes;
        if (isset($this->ira_mailaddr)) $o['ira_mailaddr'] = $this->ira_mailaddr;
        if (isset($this->ira_mailcity)) $o['ira_mailcity'] = $this->ira_mailcity;
        if (isset($this->ira_mailstate)) $o['ira_mailstate'] = $this->ira_mailstate;
        if (isset($this->ira_mailzip)) $o['ira_mailzip'] = $this->ira_mailzip;
        if (isset($this->kcf_name)) $o['kcf_name'] = $this->kcf_name;
        if (isset($this->kcf_dob)) $o['kcf_dob'] = $this->kcf_dob;
        if (isset($this->kcf_age)) $o['kcf_age'] = $this->kcf_age;
        if (isset($this->kcf_fund)) $o['kcf_fund'] = $this->kcf_fund;
        if (isset($this->kcf_contribution)) $o['kcf_contribution'] = $this->kcf_contribution;
        if (isset($this->kcf_balance)) $o['kcf_balance'] = $this->kcf_balance;
        if (isset($this->an_notes)) $o['an_notes'] = $this->an_notes;
        if (isset($this->cr_name)) $o['cr_name'] = $this->cr_name;
        if (isset($this->cr_campus)) $o['cr_campus'] = $this->cr_campus;
        if (isset($this->cr_room)) $o['cr_room'] = $this->cr_room;
        if (isset($this->cr_phone)) $o['cr_phone'] = $this->cr_phone;
        return empty($o) ? new class(){} : $o;
    }
}

class FactFinderConfigRequest implements JsonSerializable
{
    public function __construct(
        /** @var FactFinderConfig|null */
        public ?FactFinderConfig $Config=null
    ) {
    }

    /** @throws Exception */
    public function fromMap($o): void {
        if (isset($o['Config'])) $this->Config = JsonConverters::from('FactFinderConfig', $o['Config']);
    }
    
    /** @throws Exception */
    public function jsonSerialize(): mixed
    {
        $o = [];
        if (isset($this->Config)) $o['Config'] = JsonConverters::to('FactFinderConfig', $this->Config);
        return empty($o) ? new class(){} : $o;
    }
}

PHP FactFinderConfigRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/FactFinderConfig HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Config: 
	{
		ei_lastName: False,
		ei_firstname: False,
		ei_mi: False,
		ei_dob: False,
		ei_age: False,
		ei_district: False,
		ei_school: False,
		ei_room: False,
		ei_position: False,
		ei_yearswdist: False,
		ei_yearswodist: False,
		ei_pastocc: False,
		ei_address: False,
		ei_city: False,
		ei_state: False,
		ei_zip: False,
		ei_cellphone: False,
		ei_workphone: False,
		ei_personalemail: False,
		ei_workemail: False,
		ei_spousename: False,
		ei_spousedob: False,
		ei_spouseage: False,
		ei_spousecellphone: False,
		ei_spouseemail: False,
		ei_spouseoccupation: False,
		ei_spouseposition: False,
		ei_spouseyears: False,
		ei_spousepastocc: False,
		ei_reasonmeeting: False,
		emt_workstatus: False,
		emt_unusedsickdays: False,
		emt_unusedsickhours: False,
		emt_cbsdays: False,
		emt_cbshours: False,
		emt_dpw: False,
		emt_hpw: False,
		emt_mpy: False,
		emt_numpretaxchecks: False,
		fin_clientgross: False,
		fin_clientnet: False,
		fin_householdgross: False,
		fin_householdnet: False,
		fin_desiredretincome: False,
		fin_estexpenses: False,
		fin_discincome: False,
		fin_exptype: False,
		fin_desc: False,
		fin_balance: False,
		fin_interestrate: False,
		fin_minpayment: False,
		fin_monthlypayment: False,
		pen_pensystem: False,
		pen_penstart: False,
		pen_servicecredit: False,
		pen_servicecreditasofdate: False,
		pen_desiredretdate: False,
		pen_desiredretage: False,
		pen_spousalbenefitdesired: False,
		pen_formula: False,
		pen_defbalance: False,
		pen_defspousebalance: False,
		prot_plife: False,
		prot_pcarrier: False,
		prot_pfaceamount: False,
		prot_pissuedate: False,
		prot_plifepremium: False,
		prot_ptype: False,
		prot_ptypeof: False,
		prot_pcashvalue: False,
		prot_slife: False,
		prot_scarrier: False,
		prot_sfaceamount: False,
		prot_sissuedate: False,
		prot_slifepremium: False,
		prot_stype: False,
		prot_stypeof: False,
		prot_scashvalue: False,
		prot_pltc: False,
		prot_pltcpremium: False,
		prot_pdisability: False,
		prot_pdisabilitypremium: False,
		prot_sltc: False,
		prot_sltcpremium: False,
		prot_sdisability: False,
		prot_sdisabilitypremium: False,
		efi_monthlycontrib: False,
		efi_fundbalance: False,
		efi_isthreetosixmonths: False,
		lta_haveretiresavings: False,
		lta_priorretireplan: False,
		lta_havedistplan: False,
		lta_plantype: False,
		lta_company: False,
		lta_contrib: False,
		lta_balance: False,
		ira_acctowner: False,
		ira_company: False,
		ira_taxcode: False,
		ira_accounttype: False,
		ira_acctnumber: False,
		ira_inception: False,
		ira_currentvalue: False,
		ira_monthlycontrib: False,
		ira_surrcharge: False,
		ira_surrvalue: False,
		ira_totalfees: False,
		ira_tpaok: False,
		ira_addlformsreq: False,
		ira_sigreq: False,
		ira_outstandingloans: False,
		ira_originalformsreq: False,
		ira_faxaccepted: False,
		ira_faxnumber: False,
		ira_notes: False,
		ira_mailaddr: False,
		ira_mailcity: False,
		ira_mailstate: False,
		ira_mailzip: False,
		kcf_name: False,
		kcf_dob: False,
		kcf_age: False,
		kcf_fund: False,
		kcf_contribution: False,
		kcf_balance: False,
		an_notes: False,
		cr_name: False,
		cr_campus: False,
		cr_room: False,
		cr_phone: False
	}
}