Class: VericredClient::ACAPlanPre2018Bulk

Inherits:
Object
  • Object
show all
Defined in:
lib/vericred_client/models/aca_plan_pre2018_bulk.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ ACAPlanPre2018Bulk

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1467

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}

  if attributes.has_key?(:'actuarial_value')
    self.actuarial_value = attributes[:'actuarial_value']
  end

  if attributes.has_key?(:'adult_dental')
    self.adult_dental = attributes[:'adult_dental']
  end

  if attributes.has_key?(:'age29_rider')
    self.age29_rider = attributes[:'age29_rider']
  end

  if attributes.has_key?(:'ambulance')
    self.ambulance = attributes[:'ambulance']
  end

  if attributes.has_key?(:'benefits_summary_url')
    self.benefits_summary_url = attributes[:'benefits_summary_url']
  end

  if attributes.has_key?(:'buy_link')
    self.buy_link = attributes[:'buy_link']
  end

  if attributes.has_key?(:'carrier_disclaimers')
    self.carrier_disclaimers = attributes[:'carrier_disclaimers']
  end

  if attributes.has_key?(:'carrier_name')
    self.carrier_name = attributes[:'carrier_name']
  end

  if attributes.has_key?(:'child_dental')
    self.child_dental = attributes[:'child_dental']
  end

  if attributes.has_key?(:'child_eye_exam')
    self.child_eye_exam = attributes[:'child_eye_exam']
  end

  if attributes.has_key?(:'child_eyewear')
    self.child_eyewear = attributes[:'child_eyewear']
  end

  if attributes.has_key?(:'chiropractic_services')
    self.chiropractic_services = attributes[:'chiropractic_services']
  end

  if attributes.has_key?(:'coinsurance')
    self.coinsurance = attributes[:'coinsurance']
  end

  if attributes.has_key?(:'customer_service_phone_number')
    self.customer_service_phone_number = attributes[:'customer_service_phone_number']
  end

  if attributes.has_key?(:'diagnostic_test')
    self.diagnostic_test = attributes[:'diagnostic_test']
  end

  if attributes.has_key?(:'display_name')
    self.display_name = attributes[:'display_name']
  end

  if attributes.has_key?(:'dp_rider')
    self.dp_rider = attributes[:'dp_rider']
  end

  if attributes.has_key?(:'drug_formulary_url')
    self.drug_formulary_url = attributes[:'drug_formulary_url']
  end

  if attributes.has_key?(:'durable_medical_equipment')
    self.durable_medical_equipment = attributes[:'durable_medical_equipment']
  end

  if attributes.has_key?(:'effective_date')
    self.effective_date = attributes[:'effective_date']
  end

  if attributes.has_key?(:'embedded_deductible')
    self.embedded_deductible = attributes[:'embedded_deductible']
  end

  if attributes.has_key?(:'emergency_room')
    self.emergency_room = attributes[:'emergency_room']
  end

  if attributes.has_key?(:'expiration_date')
    self.expiration_date = attributes[:'expiration_date']
  end

  if attributes.has_key?(:'family_drug_deductible')
    self.family_drug_deductible = attributes[:'family_drug_deductible']
  end

  if attributes.has_key?(:'family_drug_moop')
    self.family_drug_moop = attributes[:'family_drug_moop']
  end

  if attributes.has_key?(:'family_medical_deductible')
    self.family_medical_deductible = attributes[:'family_medical_deductible']
  end

  if attributes.has_key?(:'family_medical_moop')
    self.family_medical_moop = attributes[:'family_medical_moop']
  end

  if attributes.has_key?(:'fp_rider')
    self.fp_rider = attributes[:'fp_rider']
  end

  if attributes.has_key?(:'gated')
    self.gated = attributes[:'gated']
  end

  if attributes.has_key?(:'generic_drugs')
    self.generic_drugs = attributes[:'generic_drugs']
  end

  if attributes.has_key?(:'habilitation_services')
    self.habilitation_services = attributes[:'habilitation_services']
  end

  if attributes.has_key?(:'hios_issuer_id')
    self.hios_issuer_id = attributes[:'hios_issuer_id']
  end

  if attributes.has_key?(:'home_health_care')
    self.home_health_care = attributes[:'home_health_care']
  end

  if attributes.has_key?(:'hospice_service')
    self.hospice_service = attributes[:'hospice_service']
  end

  if attributes.has_key?(:'hsa_eligible')
    self.hsa_eligible = attributes[:'hsa_eligible']
  end

  if attributes.has_key?(:'id')
    self.id = attributes[:'id']
  end

  if attributes.has_key?(:'identifiers')
    if (value = attributes[:'identifiers']).is_a?(Array)
      self.identifiers = value
    end
  end

  if attributes.has_key?(:'imaging')
    self.imaging = attributes[:'imaging']
  end

  if attributes.has_key?(:'imaging_center')
    self.imaging_center = attributes[:'imaging_center']
  end

  if attributes.has_key?(:'imaging_physician')
    self.imaging_physician = attributes[:'imaging_physician']
  end

  if attributes.has_key?(:'individual_drug_deductible')
    self.individual_drug_deductible = attributes[:'individual_drug_deductible']
  end

  if attributes.has_key?(:'individual_drug_moop')
    self.individual_drug_moop = attributes[:'individual_drug_moop']
  end

  if attributes.has_key?(:'individual_medical_deductible')
    self.individual_medical_deductible = attributes[:'individual_medical_deductible']
  end

  if attributes.has_key?(:'individual_medical_moop')
    self.individual_medical_moop = attributes[:'individual_medical_moop']
  end

  if attributes.has_key?(:'inpatient_birth')
    self.inpatient_birth = attributes[:'inpatient_birth']
  end

  if attributes.has_key?(:'inpatient_facility')
    self.inpatient_facility = attributes[:'inpatient_facility']
  end

  if attributes.has_key?(:'inpatient_mental_health')
    self.inpatient_mental_health = attributes[:'inpatient_mental_health']
  end

  if attributes.has_key?(:'inpatient_physician')
    self.inpatient_physician = attributes[:'inpatient_physician']
  end

  if attributes.has_key?(:'inpatient_substance')
    self.inpatient_substance = attributes[:'inpatient_substance']
  end

  if attributes.has_key?(:'lab_test')
    self.lab_test = attributes[:'lab_test']
  end

  if attributes.has_key?(:'level')
    self.level = attributes[:'level']
  end

  if attributes.has_key?(:'logo_url')
    self.logo_url = attributes[:'logo_url']
  end

  if attributes.has_key?(:'mail_order_rx')
    self.mail_order_rx = attributes[:'mail_order_rx']
  end

  if attributes.has_key?(:'name')
    self.name = attributes[:'name']
  end

  if attributes.has_key?(:'network_ids')
    if (value = attributes[:'network_ids']).is_a?(Array)
      self.network_ids = value
    end
  end

  if attributes.has_key?(:'network_size')
    self.network_size = attributes[:'network_size']
  end

  if attributes.has_key?(:'networks')
    if (value = attributes[:'networks']).is_a?(Array)
      self.networks = value
    end
  end

  if attributes.has_key?(:'non_preferred_brand_drugs')
    self.non_preferred_brand_drugs = attributes[:'non_preferred_brand_drugs']
  end

  if attributes.has_key?(:'nonpreferred_generic_drug_share')
    self.nonpreferred_generic_drug_share = attributes[:'nonpreferred_generic_drug_share']
  end

  if attributes.has_key?(:'nonpreferred_specialty_drug_share')
    self.nonpreferred_specialty_drug_share = attributes[:'nonpreferred_specialty_drug_share']
  end

  if attributes.has_key?(:'off_market')
    self.off_market = attributes[:'off_market']
  end

  if attributes.has_key?(:'on_market')
    self.on_market = attributes[:'on_market']
  end

  if attributes.has_key?(:'out_of_network_coverage')
    self.out_of_network_coverage = attributes[:'out_of_network_coverage']
  end

  if attributes.has_key?(:'outpatient_ambulatory_care_center')
    self.outpatient_ambulatory_care_center = attributes[:'outpatient_ambulatory_care_center']
  end

  if attributes.has_key?(:'outpatient_facility')
    self.outpatient_facility = attributes[:'outpatient_facility']
  end

  if attributes.has_key?(:'outpatient_mental_health')
    self.outpatient_mental_health = attributes[:'outpatient_mental_health']
  end

  if attributes.has_key?(:'outpatient_physician')
    self.outpatient_physician = attributes[:'outpatient_physician']
  end

  if attributes.has_key?(:'outpatient_substance')
    self.outpatient_substance = attributes[:'outpatient_substance']
  end

  if attributes.has_key?(:'plan_calendar')
    self.plan_calendar = attributes[:'plan_calendar']
  end

  if attributes.has_key?(:'plan_market')
    self.plan_market = attributes[:'plan_market']
  end

  if attributes.has_key?(:'plan_type')
    self.plan_type = attributes[:'plan_type']
  end

  if attributes.has_key?(:'postnatal_care')
    self.postnatal_care = attributes[:'postnatal_care']
  end

  if attributes.has_key?(:'preferred_brand_drugs')
    self.preferred_brand_drugs = attributes[:'preferred_brand_drugs']
  end

  if attributes.has_key?(:'prenatal_care')
    self.prenatal_care = attributes[:'prenatal_care']
  end

  if attributes.has_key?(:'prenatal_postnatal_care')
    self.prenatal_postnatal_care = attributes[:'prenatal_postnatal_care']
  end

  if attributes.has_key?(:'preventative_care')
    self.preventative_care = attributes[:'preventative_care']
  end

  if attributes.has_key?(:'primary_care_physician')
    self.primary_care_physician = attributes[:'primary_care_physician']
  end

  if attributes.has_key?(:'rehabilitation_services')
    self.rehabilitation_services = attributes[:'rehabilitation_services']
  end

  if attributes.has_key?(:'service_area_id')
    self.service_area_id = attributes[:'service_area_id']
  end

  if attributes.has_key?(:'skilled_nursing')
    self.skilled_nursing = attributes[:'skilled_nursing']
  end

  if attributes.has_key?(:'skilled_nursing_facility_365')
    self.skilled_nursing_facility_365 = attributes[:'skilled_nursing_facility_365']
  end

  if attributes.has_key?(:'source')
    self.source = attributes[:'source']
  end

  if attributes.has_key?(:'specialist')
    self.specialist = attributes[:'specialist']
  end

  if attributes.has_key?(:'specialty_drugs')
    self.specialty_drugs = attributes[:'specialty_drugs']
  end

  if attributes.has_key?(:'type')
    self.type = attributes[:'type']
  end

  if attributes.has_key?(:'updated_at')
    self.updated_at = attributes[:'updated_at']
  end

  if attributes.has_key?(:'urgent_care')
    self.urgent_care = attributes[:'urgent_care']
  end

end

Instance Attribute Details

#actuarial_valueObject

Percentage of total average costs for covered benefits that a plan will cover.



1018
1019
1020
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1018

def actuarial_value
  @actuarial_value
end

#adult_dentalObject

Does the plan provide dental coverage for adults?



1021
1022
1023
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1021

def adult_dental
  @adult_dental
end

#age29_riderObject

True if the plan allows dependents up to age 29



1024
1025
1026
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1024

def age29_rider
  @age29_rider
end

#ambulanceObject

Benefits string for ambulance coverage



1027
1028
1029
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1027

def ambulance
  @ambulance
end

#benefits_summary_urlObject

Link to the summary of benefits and coverage (SBC) document.



1030
1031
1032
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1030

def benefits_summary_url
  @benefits_summary_url
end

Link to a location to purchase the plan.



1033
1034
1035
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1033

def buy_link
  @buy_link
end

#carrier_disclaimersObject

Most recent Disclaimer issued for this Plan



1036
1037
1038
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1036

def carrier_disclaimers
  @carrier_disclaimers
end

#carrier_nameObject

Name of the insurance carrier



1039
1040
1041
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1039

def carrier_name
  @carrier_name
end

#child_dentalObject

Child dental benefits summary



1042
1043
1044
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1042

def child_dental
  @child_dental
end

#child_eye_examObject

Child eye exam benefits summary



1045
1046
1047
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1045

def child_eye_exam
  @child_eye_exam
end

#child_eyewearObject

Child eyewear benefits summary



1048
1049
1050
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1048

def child_eyewear
  @child_eyewear
end

#chiropractic_servicesObject

Does the plan provide a degree of coverage for chiropractic services?



1051
1052
1053
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1051

def chiropractic_services
  @chiropractic_services
end

#coinsuranceObject

Standard cost share for most benefits



1054
1055
1056
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1054

def coinsurance
  @coinsurance
end

#customer_service_phone_numberObject

Phone number to contact the insurance carrier



1057
1058
1059
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1057

def customer_service_phone_number
  @customer_service_phone_number
end

#diagnostic_testObject

Diagnostic tests benefit summary



1060
1061
1062
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1060

def diagnostic_test
  @diagnostic_test
end

#display_nameObject

Alternate name for the Plan



1063
1064
1065
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1063

def display_name
  @display_name
end

#dp_riderObject

True if plan does not cover domestic partners



1066
1067
1068
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1066

def dp_rider
  @dp_rider
end

#drug_formulary_urlObject

Link to the summary of drug benefits for the plan



1069
1070
1071
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1069

def drug_formulary_url
  @drug_formulary_url
end

#durable_medical_equipmentObject

Benefits summary for durable medical equipment



1072
1073
1074
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1072

def durable_medical_equipment
  @durable_medical_equipment
end

#effective_dateObject

Effective date of coverage.



1075
1076
1077
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1075

def effective_date
  @effective_date
end

#embedded_deductibleObject

Is the individual deductible for each covered person, embedded in the family deductible



1078
1079
1080
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1078

def embedded_deductible
  @embedded_deductible
end

#emergency_roomObject

Description of costs when visiting the ER



1081
1082
1083
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1081

def emergency_room
  @emergency_room
end

#expiration_dateObject

Expiration date of coverage.



1084
1085
1086
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1084

def expiration_date
  @expiration_date
end

#family_drug_deductibleObject

Deductible for drugs when a family is on the plan.



1087
1088
1089
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1087

def family_drug_deductible
  @family_drug_deductible
end

#family_drug_moopObject

Maximum out-of-pocket for drugs when a family is on the plan



1090
1091
1092
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1090

def family_drug_moop
  @family_drug_moop
end

#family_medical_deductibleObject

Deductible when a family is on the plan



1093
1094
1095
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1093

def family_medical_deductible
  @family_medical_deductible
end

#family_medical_moopObject

Maximum out-of-pocket when a family is on the plan



1096
1097
1098
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1096

def family_medical_moop
  @family_medical_moop
end

#fp_riderObject

True if plan does not cover family planning



1099
1100
1101
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1099

def fp_rider
  @fp_rider
end

#gatedObject

Does the plan’s network require a physician referral?



1102
1103
1104
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1102

def gated
  @gated
end

#generic_drugsObject

Cost for generic drugs



1105
1106
1107
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1105

def generic_drugs
  @generic_drugs
end

#habilitation_servicesObject

Habilitation services benefits summary



1108
1109
1110
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1108

def habilitation_services
  @habilitation_services
end

#hios_issuer_idObject

Returns the value of attribute hios_issuer_id.



1111
1112
1113
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1111

def hios_issuer_id
  @hios_issuer_id
end

#home_health_careObject

Home health care benefits summary



1114
1115
1116
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1114

def home_health_care
  @home_health_care
end

#hospice_serviceObject

Hospice service benefits summary



1117
1118
1119
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1117

def hospice_service
  @hospice_service
end

#hsa_eligibleObject

Is the plan HSA eligible?



1120
1121
1122
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1120

def hsa_eligible
  @hsa_eligible
end

#idObject

Government-issued HIOS plan ID



1123
1124
1125
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1123

def id
  @id
end

#identifiersObject

List of identifiers of this Plan



1126
1127
1128
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1126

def identifiers
  @identifiers
end

#imagingObject

Benefits summary for imaging coverage



1129
1130
1131
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1129

def imaging
  @imaging
end

#imaging_centerObject

Imaging center benefits summary



1132
1133
1134
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1132

def imaging_center
  @imaging_center
end

#imaging_physicianObject

Imaging physician benefits summary



1135
1136
1137
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1135

def imaging_physician
  @imaging_physician
end

#individual_drug_deductibleObject

Deductible for drugs when an individual is on the plan



1138
1139
1140
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1138

def individual_drug_deductible
  @individual_drug_deductible
end

#individual_drug_moopObject

Maximum out-of-pocket for drugs when an individual is on the plan



1141
1142
1143
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1141

def individual_drug_moop
  @individual_drug_moop
end

#individual_medical_deductibleObject

Deductible when an individual is on the plan



1144
1145
1146
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1144

def individual_medical_deductible
  @individual_medical_deductible
end

#individual_medical_moopObject

Maximum out-of-pocket when an individual is on the plan



1147
1148
1149
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1147

def individual_medical_moop
  @individual_medical_moop
end

#inpatient_birthObject

Inpatient birth benefits summary



1150
1151
1152
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1150

def inpatient_birth
  @inpatient_birth
end

#inpatient_facilityObject

Cost under the plan for an inpatient facility



1153
1154
1155
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1153

def inpatient_facility
  @inpatient_facility
end

#inpatient_mental_healthObject

Inpatient mental helath benefits summary



1156
1157
1158
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1156

def inpatient_mental_health
  @inpatient_mental_health
end

#inpatient_physicianObject

Cost under the plan for an inpatient physician



1159
1160
1161
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1159

def inpatient_physician
  @inpatient_physician
end

#inpatient_substanceObject

Inpatient substance abuse benefits summary



1162
1163
1164
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1162

def inpatient_substance
  @inpatient_substance
end

#lab_testObject

Lab test benefits summary



1165
1166
1167
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1165

def lab_test
  @lab_test
end

#levelObject

Plan metal grouping (e.g. platinum, gold, silver, etc)



1168
1169
1170
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1168

def level
  @level
end

#logo_urlObject

Link to a copy of the insurance carrier’s logo



1171
1172
1173
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1171

def logo_url
  @logo_url
end

#mail_order_rxObject

Multiple of the standard Rx cost share for orders filled via mail order



1174
1175
1176
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1174

def mail_order_rx
  @mail_order_rx
end

#nameObject

Marketing name of the plan



1177
1178
1179
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1177

def name
  @name
end

#network_idsObject

List of Vericred-generated network_ids



1180
1181
1182
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1180

def network_ids
  @network_ids
end

#network_sizeObject

Total number of Providers in network



1183
1184
1185
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1183

def network_size
  @network_size
end

#networksObject

List of networks associated with the plan



1186
1187
1188
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1186

def networks
  @networks
end

#non_preferred_brand_drugsObject

Cost under the plan for non-preferred brand drugs



1189
1190
1191
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1189

def non_preferred_brand_drugs
  @non_preferred_brand_drugs
end

#nonpreferred_generic_drug_shareObject

Non-preferred generic drugs benefits summary



1192
1193
1194
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1192

def nonpreferred_generic_drug_share
  @nonpreferred_generic_drug_share
end

#nonpreferred_specialty_drug_shareObject

Non-preferred specialty drugs benefits summary



1195
1196
1197
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1195

def nonpreferred_specialty_drug_share
  @nonpreferred_specialty_drug_share
end

#off_marketObject

Is the plan off-market?



1198
1199
1200
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1198

def off_market
  @off_market
end

#on_marketObject

Is the plan on-market?



1201
1202
1203
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1201

def on_market
  @on_market
end

#out_of_network_coverageObject

Does this plan provide any out of network coverage?



1204
1205
1206
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1204

def out_of_network_coverage
  @out_of_network_coverage
end

#outpatient_ambulatory_care_centerObject

Outpatient ambulatory care center benefits summary



1207
1208
1209
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1207

def outpatient_ambulatory_care_center
  @outpatient_ambulatory_care_center
end

#outpatient_facilityObject

Benefits summary for outpatient facility coverage



1210
1211
1212
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1210

def outpatient_facility
  @outpatient_facility
end

#outpatient_mental_healthObject

Benefits summary for outpatient mental health coverage



1213
1214
1215
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1213

def outpatient_mental_health
  @outpatient_mental_health
end

#outpatient_physicianObject

Benefits summary for outpatient physician coverage



1216
1217
1218
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1216

def outpatient_physician
  @outpatient_physician
end

#outpatient_substanceObject

Outpatient substance abuse benefits summary



1219
1220
1221
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1219

def outpatient_substance
  @outpatient_substance
end

#plan_calendarObject

Are deductibles and MOOPs reset on Dec-31 ("calendar year"), 365 day(s) after enrollment date ("plan year"), or are both options available ("both")?



1222
1223
1224
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1222

def plan_calendar
  @plan_calendar
end

#plan_marketObject

Market in which the plan is offered (on_marketplace, shop, etc)



1225
1226
1227
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1225

def plan_market
  @plan_market
end

#plan_typeObject

Category of the plan (e.g. EPO, HMO, PPO, POS, Indemnity, PACE, Medicare-Medicaid, HMO w/POS, Cost, FFS, MSA)



1228
1229
1230
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1228

def plan_type
  @plan_type
end

#postnatal_careObject

Post-natal care benefits summary



1231
1232
1233
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1231

def postnatal_care
  @postnatal_care
end

#preferred_brand_drugsObject

Cost under the plan for perferred brand drugs



1234
1235
1236
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1234

def preferred_brand_drugs
  @preferred_brand_drugs
end

#prenatal_careObject

Prenatal care benefits summary



1237
1238
1239
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1237

def prenatal_care
  @prenatal_care
end

#prenatal_postnatal_careObject

Inpatient substance abuse benefits summary



1240
1241
1242
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1240

def prenatal_postnatal_care
  @prenatal_postnatal_care
end

#preventative_careObject

Benefits summary for preventative care



1243
1244
1245
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1243

def preventative_care
  @preventative_care
end

#primary_care_physicianObject

Cost under the plan to visit a Primary Care Physician



1246
1247
1248
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1246

def primary_care_physician
  @primary_care_physician
end

#rehabilitation_servicesObject

Benefits summary for rehabilitation services



1249
1250
1251
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1249

def rehabilitation_services
  @rehabilitation_services
end

#service_area_idObject

Foreign key for service area



1252
1253
1254
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1252

def service_area_id
  @service_area_id
end

#skilled_nursingObject

Benefits summary for skilled nursing services



1255
1256
1257
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1255

def skilled_nursing
  @skilled_nursing
end

#skilled_nursing_facility_365Object

Does the plan cover full-time, year-round, nursing facilities?



1258
1259
1260
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1258

def skilled_nursing_facility_365
  @skilled_nursing_facility_365
end

#sourceObject

Source of the plan benefit data



1261
1262
1263
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1261

def source
  @source
end

#specialistObject

Cost under the plan to visit a specialist



1264
1265
1266
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1264

def specialist
  @specialist
end

#specialty_drugsObject

Cost under the plan for specialty drugs



1267
1268
1269
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1267

def specialty_drugs
  @specialty_drugs
end

#typeObject

The type of the Plan



1270
1271
1272
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1270

def type
  @type
end

#updated_atObject

Time when plan was last updated



1273
1274
1275
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1273

def updated_at
  @updated_at
end

#urgent_careObject

Benefits summary for urgent care



1276
1277
1278
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1276

def urgent_care
  @urgent_care
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1280

def self.attribute_map
  {
    :'actuarial_value' => :'actuarial_value',
    :'adult_dental' => :'adult_dental',
    :'age29_rider' => :'age29_rider',
    :'ambulance' => :'ambulance',
    :'benefits_summary_url' => :'benefits_summary_url',
    :'buy_link' => :'buy_link',
    :'carrier_disclaimers' => :'carrier_disclaimers',
    :'carrier_name' => :'carrier_name',
    :'child_dental' => :'child_dental',
    :'child_eye_exam' => :'child_eye_exam',
    :'child_eyewear' => :'child_eyewear',
    :'chiropractic_services' => :'chiropractic_services',
    :'coinsurance' => :'coinsurance',
    :'customer_service_phone_number' => :'customer_service_phone_number',
    :'diagnostic_test' => :'diagnostic_test',
    :'display_name' => :'display_name',
    :'dp_rider' => :'dp_rider',
    :'drug_formulary_url' => :'drug_formulary_url',
    :'durable_medical_equipment' => :'durable_medical_equipment',
    :'effective_date' => :'effective_date',
    :'embedded_deductible' => :'embedded_deductible',
    :'emergency_room' => :'emergency_room',
    :'expiration_date' => :'expiration_date',
    :'family_drug_deductible' => :'family_drug_deductible',
    :'family_drug_moop' => :'family_drug_moop',
    :'family_medical_deductible' => :'family_medical_deductible',
    :'family_medical_moop' => :'family_medical_moop',
    :'fp_rider' => :'fp_rider',
    :'gated' => :'gated',
    :'generic_drugs' => :'generic_drugs',
    :'habilitation_services' => :'habilitation_services',
    :'hios_issuer_id' => :'hios_issuer_id',
    :'home_health_care' => :'home_health_care',
    :'hospice_service' => :'hospice_service',
    :'hsa_eligible' => :'hsa_eligible',
    :'id' => :'id',
    :'identifiers' => :'identifiers',
    :'imaging' => :'imaging',
    :'imaging_center' => :'imaging_center',
    :'imaging_physician' => :'imaging_physician',
    :'individual_drug_deductible' => :'individual_drug_deductible',
    :'individual_drug_moop' => :'individual_drug_moop',
    :'individual_medical_deductible' => :'individual_medical_deductible',
    :'individual_medical_moop' => :'individual_medical_moop',
    :'inpatient_birth' => :'inpatient_birth',
    :'inpatient_facility' => :'inpatient_facility',
    :'inpatient_mental_health' => :'inpatient_mental_health',
    :'inpatient_physician' => :'inpatient_physician',
    :'inpatient_substance' => :'inpatient_substance',
    :'lab_test' => :'lab_test',
    :'level' => :'level',
    :'logo_url' => :'logo_url',
    :'mail_order_rx' => :'mail_order_rx',
    :'name' => :'name',
    :'network_ids' => :'network_ids',
    :'network_size' => :'network_size',
    :'networks' => :'networks',
    :'non_preferred_brand_drugs' => :'non_preferred_brand_drugs',
    :'nonpreferred_generic_drug_share' => :'nonpreferred_generic_drug_share',
    :'nonpreferred_specialty_drug_share' => :'nonpreferred_specialty_drug_share',
    :'off_market' => :'off_market',
    :'on_market' => :'on_market',
    :'out_of_network_coverage' => :'out_of_network_coverage',
    :'outpatient_ambulatory_care_center' => :'outpatient_ambulatory_care_center',
    :'outpatient_facility' => :'outpatient_facility',
    :'outpatient_mental_health' => :'outpatient_mental_health',
    :'outpatient_physician' => :'outpatient_physician',
    :'outpatient_substance' => :'outpatient_substance',
    :'plan_calendar' => :'plan_calendar',
    :'plan_market' => :'plan_market',
    :'plan_type' => :'plan_type',
    :'postnatal_care' => :'postnatal_care',
    :'preferred_brand_drugs' => :'preferred_brand_drugs',
    :'prenatal_care' => :'prenatal_care',
    :'prenatal_postnatal_care' => :'prenatal_postnatal_care',
    :'preventative_care' => :'preventative_care',
    :'primary_care_physician' => :'primary_care_physician',
    :'rehabilitation_services' => :'rehabilitation_services',
    :'service_area_id' => :'service_area_id',
    :'skilled_nursing' => :'skilled_nursing',
    :'skilled_nursing_facility_365' => :'skilled_nursing_facility_365',
    :'source' => :'source',
    :'specialist' => :'specialist',
    :'specialty_drugs' => :'specialty_drugs',
    :'type' => :'type',
    :'updated_at' => :'updated_at',
    :'urgent_care' => :'urgent_care'
  }
end

.swagger_typesObject

Attribute type mapping.



1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1373

def self.swagger_types
  {
    :'actuarial_value' => :'Float',
    :'adult_dental' => :'BOOLEAN',
    :'age29_rider' => :'BOOLEAN',
    :'ambulance' => :'String',
    :'benefits_summary_url' => :'String',
    :'buy_link' => :'String',
    :'carrier_disclaimers' => :'String',
    :'carrier_name' => :'String',
    :'child_dental' => :'String',
    :'child_eye_exam' => :'String',
    :'child_eyewear' => :'String',
    :'chiropractic_services' => :'BOOLEAN',
    :'coinsurance' => :'Float',
    :'customer_service_phone_number' => :'String',
    :'diagnostic_test' => :'String',
    :'display_name' => :'String',
    :'dp_rider' => :'BOOLEAN',
    :'drug_formulary_url' => :'String',
    :'durable_medical_equipment' => :'String',
    :'effective_date' => :'String',
    :'embedded_deductible' => :'String',
    :'emergency_room' => :'String',
    :'expiration_date' => :'String',
    :'family_drug_deductible' => :'String',
    :'family_drug_moop' => :'String',
    :'family_medical_deductible' => :'String',
    :'family_medical_moop' => :'String',
    :'fp_rider' => :'BOOLEAN',
    :'gated' => :'BOOLEAN',
    :'generic_drugs' => :'String',
    :'habilitation_services' => :'String',
    :'hios_issuer_id' => :'String',
    :'home_health_care' => :'String',
    :'hospice_service' => :'String',
    :'hsa_eligible' => :'BOOLEAN',
    :'id' => :'String',
    :'identifiers' => :'Array<PlanIdentifier>',
    :'imaging' => :'String',
    :'imaging_center' => :'String',
    :'imaging_physician' => :'String',
    :'individual_drug_deductible' => :'String',
    :'individual_drug_moop' => :'String',
    :'individual_medical_deductible' => :'String',
    :'individual_medical_moop' => :'String',
    :'inpatient_birth' => :'String',
    :'inpatient_facility' => :'String',
    :'inpatient_mental_health' => :'String',
    :'inpatient_physician' => :'String',
    :'inpatient_substance' => :'String',
    :'lab_test' => :'String',
    :'level' => :'String',
    :'logo_url' => :'String',
    :'mail_order_rx' => :'Float',
    :'name' => :'String',
    :'network_ids' => :'Array<Integer>',
    :'network_size' => :'Integer',
    :'networks' => :'Array<PlanNetwork>',
    :'non_preferred_brand_drugs' => :'String',
    :'nonpreferred_generic_drug_share' => :'String',
    :'nonpreferred_specialty_drug_share' => :'String',
    :'off_market' => :'BOOLEAN',
    :'on_market' => :'BOOLEAN',
    :'out_of_network_coverage' => :'BOOLEAN',
    :'outpatient_ambulatory_care_center' => :'String',
    :'outpatient_facility' => :'String',
    :'outpatient_mental_health' => :'String',
    :'outpatient_physician' => :'String',
    :'outpatient_substance' => :'String',
    :'plan_calendar' => :'String',
    :'plan_market' => :'String',
    :'plan_type' => :'String',
    :'postnatal_care' => :'String',
    :'preferred_brand_drugs' => :'String',
    :'prenatal_care' => :'String',
    :'prenatal_postnatal_care' => :'String',
    :'preventative_care' => :'String',
    :'primary_care_physician' => :'String',
    :'rehabilitation_services' => :'String',
    :'service_area_id' => :'String',
    :'skilled_nursing' => :'String',
    :'skilled_nursing_facility_365' => :'String',
    :'source' => :'String',
    :'specialist' => :'String',
    :'specialty_drugs' => :'String',
    :'type' => :'String',
    :'updated_at' => :'String',
    :'urgent_care' => :'String'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1844

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      actuarial_value == o.actuarial_value &&
      adult_dental == o.adult_dental &&
      age29_rider == o.age29_rider &&
      ambulance == o.ambulance &&
      benefits_summary_url == o.benefits_summary_url &&
      buy_link == o.buy_link &&
      carrier_disclaimers == o.carrier_disclaimers &&
      carrier_name == o.carrier_name &&
      child_dental == o.child_dental &&
      child_eye_exam == o.child_eye_exam &&
      child_eyewear == o.child_eyewear &&
      chiropractic_services == o.chiropractic_services &&
      coinsurance == o.coinsurance &&
      customer_service_phone_number == o.customer_service_phone_number &&
      diagnostic_test == o.diagnostic_test &&
      display_name == o.display_name &&
      dp_rider == o.dp_rider &&
      drug_formulary_url == o.drug_formulary_url &&
      durable_medical_equipment == o.durable_medical_equipment &&
      effective_date == o.effective_date &&
      embedded_deductible == o.embedded_deductible &&
      emergency_room == o.emergency_room &&
      expiration_date == o.expiration_date &&
      family_drug_deductible == o.family_drug_deductible &&
      family_drug_moop == o.family_drug_moop &&
      family_medical_deductible == o.family_medical_deductible &&
      family_medical_moop == o.family_medical_moop &&
      fp_rider == o.fp_rider &&
      gated == o.gated &&
      generic_drugs == o.generic_drugs &&
      habilitation_services == o.habilitation_services &&
      hios_issuer_id == o.hios_issuer_id &&
      home_health_care == o.home_health_care &&
      hospice_service == o.hospice_service &&
      hsa_eligible == o.hsa_eligible &&
      id == o.id &&
      identifiers == o.identifiers &&
      imaging == o.imaging &&
      imaging_center == o.imaging_center &&
      imaging_physician == o.imaging_physician &&
      individual_drug_deductible == o.individual_drug_deductible &&
      individual_drug_moop == o.individual_drug_moop &&
      individual_medical_deductible == o.individual_medical_deductible &&
      individual_medical_moop == o.individual_medical_moop &&
      inpatient_birth == o.inpatient_birth &&
      inpatient_facility == o.inpatient_facility &&
      inpatient_mental_health == o.inpatient_mental_health &&
      inpatient_physician == o.inpatient_physician &&
      inpatient_substance == o.inpatient_substance &&
      lab_test == o.lab_test &&
      level == o.level &&
      logo_url == o.logo_url &&
      mail_order_rx == o.mail_order_rx &&
      name == o.name &&
      network_ids == o.network_ids &&
      network_size == o.network_size &&
      networks == o.networks &&
      non_preferred_brand_drugs == o.non_preferred_brand_drugs &&
      nonpreferred_generic_drug_share == o.nonpreferred_generic_drug_share &&
      nonpreferred_specialty_drug_share == o.nonpreferred_specialty_drug_share &&
      off_market == o.off_market &&
      on_market == o.on_market &&
      out_of_network_coverage == o.out_of_network_coverage &&
      outpatient_ambulatory_care_center == o.outpatient_ambulatory_care_center &&
      outpatient_facility == o.outpatient_facility &&
      outpatient_mental_health == o.outpatient_mental_health &&
      outpatient_physician == o.outpatient_physician &&
      outpatient_substance == o.outpatient_substance &&
      plan_calendar == o.plan_calendar &&
      plan_market == o.plan_market &&
      plan_type == o.plan_type &&
      postnatal_care == o.postnatal_care &&
      preferred_brand_drugs == o.preferred_brand_drugs &&
      prenatal_care == o.prenatal_care &&
      prenatal_postnatal_care == o.prenatal_postnatal_care &&
      preventative_care == o.preventative_care &&
      primary_care_physician == o.primary_care_physician &&
      rehabilitation_services == o.rehabilitation_services &&
      service_area_id == o.service_area_id &&
      skilled_nursing == o.skilled_nursing &&
      skilled_nursing_facility_365 == o.skilled_nursing_facility_365 &&
      source == o.source &&
      specialist == o.specialist &&
      specialty_drugs == o.specialty_drugs &&
      type == o.type &&
      updated_at == o.updated_at &&
      urgent_care == o.urgent_care
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1972

def _deserialize(type, value)
  case type.to_sym
  when :DateTime
    DateTime.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :BOOLEAN
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    temp_model = VericredClient.const_get(type).new
    temp_model.build_from_hash(value)
  end
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 2038

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map{ |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1951

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.swagger_types.each_pair do |key, type|
    if type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


1938
1939
1940
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1938

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



1944
1945
1946
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1944

def hash
  [actuarial_value, adult_dental, age29_rider, ambulance, benefits_summary_url, buy_link, carrier_disclaimers, carrier_name, child_dental, child_eye_exam, child_eyewear, chiropractic_services, coinsurance, customer_service_phone_number, diagnostic_test, display_name, dp_rider, drug_formulary_url, durable_medical_equipment, effective_date, embedded_deductible, emergency_room, expiration_date, family_drug_deductible, family_drug_moop, family_medical_deductible, family_medical_moop, fp_rider, gated, generic_drugs, habilitation_services, hios_issuer_id, home_health_care, hospice_service, hsa_eligible, id, identifiers, imaging, imaging_center, imaging_physician, individual_drug_deductible, individual_drug_moop, individual_medical_deductible, individual_medical_moop, inpatient_birth, inpatient_facility, inpatient_mental_health, inpatient_physician, inpatient_substance, lab_test, level, logo_url, mail_order_rx, name, network_ids, network_size, networks, non_preferred_brand_drugs, nonpreferred_generic_drug_share, nonpreferred_specialty_drug_share, off_market, on_market, out_of_network_coverage, outpatient_ambulatory_care_center, outpatient_facility, outpatient_mental_health, outpatient_physician, outpatient_substance, plan_calendar, plan_market, plan_type, postnatal_care, preferred_brand_drugs, prenatal_care, prenatal_postnatal_care, preventative_care, primary_care_physician, rehabilitation_services, service_area_id, skilled_nursing, skilled_nursing_facility_365, source, specialist, specialty_drugs, type, updated_at, urgent_care].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properies with the reasons



1831
1832
1833
1834
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1831

def list_invalid_properties
  invalid_properties = Array.new
  return invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



2018
2019
2020
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 2018

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



2024
2025
2026
2027
2028
2029
2030
2031
2032
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 2024

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    next if value.nil?
    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



2012
2013
2014
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 2012

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



1838
1839
1840
# File 'lib/vericred_client/models/aca_plan_pre2018_bulk.rb', line 1838

def valid?
  return true
end