Class: VericredClient::ACAPlan2018

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ ACAPlan2018

Initializes the object

Parameters:

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

    Model attributes in the form of hash



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
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
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
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1489

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?(:'abortion_rider')
    self.abortion_rider = attributes[:'abortion_rider']
  end

  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_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?(:'essential_health_benefits_percentage')
    self.essential_health_benefits_percentage = attributes[:'essential_health_benefits_percentage']
  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?(:'infertility_treatment_rider')
    self.infertility_treatment_rider = attributes[:'infertility_treatment_rider']
  end

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

  if attributes.has_key?(:'inpatient_birth_physician')
    self.inpatient_birth_physician = attributes[:'inpatient_birth_physician']
  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_ancestors')
    if (value = attributes[:'plan_ancestors']).is_a?(Array)
      self.plan_ancestors = value
    end
  end

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

  if attributes.has_key?(:'plan_coinsurance')
    self.plan_coinsurance = attributes[:'plan_coinsurance']
  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?(:'telemedicine')
    self.telemedicine = attributes[:'telemedicine']
  end

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

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

end

Instance Attribute Details

#abortion_riderObject

True if plan covers abortion when there is no public funding available



1015
1016
1017
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1015

def abortion_rider
  @abortion_rider
end

#actuarial_valueObject

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



1018
1019
1020
# File 'lib/vericred_client/models/aca_plan2018.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_plan2018.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_plan2018.rb', line 1024

def age29_rider
  @age29_rider
end

#ambulanceObject

Benefits string for ambulance coverage



1027
1028
1029
# File 'lib/vericred_client/models/aca_plan2018.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_plan2018.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_plan2018.rb', line 1033

def buy_link
  @buy_link
end

#carrier_nameObject

Name of the insurance carrier



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

def carrier_name
  @carrier_name
end

#child_dentalObject

Does the plan provide dental coverage for children?



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

def child_dental
  @child_dental
end

#child_eye_examObject

Child eye exam benefits summary



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

def child_eye_exam
  @child_eye_exam
end

#child_eyewearObject

Child eyewear benefits summary



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

def child_eyewear
  @child_eyewear
end

#chiropractic_servicesObject

Chiropractic services benefits summary



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

def chiropractic_services
  @chiropractic_services
end

#coinsuranceObject

Standard cost share for most benefits



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

def coinsurance
  @coinsurance
end

#customer_service_phone_numberObject

Phone number to contact the insurance carrier



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

def customer_service_phone_number
  @customer_service_phone_number
end

#diagnostic_testObject

Diagnostic tests benefit summary



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

def diagnostic_test
  @diagnostic_test
end

#display_nameObject

Alternate name for the Plan



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

def display_name
  @display_name
end

#dp_riderObject

True if plan does not cover domestic partners



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

def dp_rider
  @dp_rider
end

#drug_formulary_urlObject

Link to the summary of drug benefits for the plan



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

def drug_formulary_url
  @drug_formulary_url
end

#durable_medical_equipmentObject

Benefits summary for durable medical equipment



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

def durable_medical_equipment
  @durable_medical_equipment
end

#effective_dateObject

Effective date of coverage.



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

def effective_date
  @effective_date
end

#embedded_deductibleObject

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



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

def embedded_deductible
  @embedded_deductible
end

#emergency_roomObject

Description of costs when visiting the ER



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

def emergency_room
  @emergency_room
end

#essential_health_benefits_percentageObject

Percentage of essential plan benefits



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

def essential_health_benefits_percentage
  @essential_health_benefits_percentage
end

#expiration_dateObject

Expiration date of coverage.



1084
1085
1086
# File 'lib/vericred_client/models/aca_plan2018.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_plan2018.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_plan2018.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_plan2018.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_plan2018.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_plan2018.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_plan2018.rb', line 1102

def gated
  @gated
end

#generic_drugsObject

Cost for generic drugs



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

def generic_drugs
  @generic_drugs
end

#habilitation_servicesObject

Habilitation services benefits summary



1108
1109
1110
# File 'lib/vericred_client/models/aca_plan2018.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_plan2018.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_plan2018.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_plan2018.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_plan2018.rb', line 1120

def hsa_eligible
  @hsa_eligible
end

#idObject

Government-issued HIOS plan ID



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

def id
  @id
end

#identifiersObject

List of identifiers of this Plan



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

def identifiers
  @identifiers
end

#imagingObject

Benefits summary for imaging coverage



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

def imaging
  @imaging
end

#imaging_centerObject

Imaging center benefits summary



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

def imaging_center
  @imaging_center
end

#imaging_physicianObject

Imaging physician benefits summary



1135
1136
1137
# File 'lib/vericred_client/models/aca_plan2018.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_plan2018.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_plan2018.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_plan2018.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_plan2018.rb', line 1147

def individual_medical_moop
  @individual_medical_moop
end

#infertility_treatment_riderObject

True if plan covers infertility treatment



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

def infertility_treatment_rider
  @infertility_treatment_rider
end

#inpatient_birthObject

Inpatient birth benefits summary



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

def inpatient_birth
  @inpatient_birth
end

#inpatient_birth_physicianObject

Description of the benefit for inpatient birth physician - this is called “Childbirth/delivery professional services” on an SBC



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

def inpatient_birth_physician
  @inpatient_birth_physician
end

#inpatient_facilityObject

Cost under the plan for an inpatient facility



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

def inpatient_facility
  @inpatient_facility
end

#inpatient_mental_healthObject

Inpatient mental helath benefits summary



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

def inpatient_mental_health
  @inpatient_mental_health
end

#inpatient_physicianObject

Cost under the plan for an inpatient physician



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

def inpatient_physician
  @inpatient_physician
end

#inpatient_substanceObject

Inpatient substance abuse benefits summary



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

def inpatient_substance
  @inpatient_substance
end

#lab_testObject

Lab test benefits summary



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

def lab_test
  @lab_test
end

#levelObject

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



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

def level
  @level
end

#logo_urlObject

Link to a copy of the insurance carrier’s logo



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

def logo_url
  @logo_url
end

#mail_order_rxObject

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



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

def mail_order_rx
  @mail_order_rx
end

#nameObject

Marketing name of the plan



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

def name
  @name
end

#network_idsObject

List of Vericred-generated network_ids



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

def network_ids
  @network_ids
end

#network_sizeObject

Total number of Providers in network



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

def network_size
  @network_size
end

#networksObject

List of networks associated with the plan



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

def networks
  @networks
end

#non_preferred_brand_drugsObject

Cost under the plan for non-preferred brand drugs



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

def non_preferred_brand_drugs
  @non_preferred_brand_drugs
end

#nonpreferred_generic_drug_shareObject

Non-preferred generic drugs benefits summary



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

def nonpreferred_generic_drug_share
  @nonpreferred_generic_drug_share
end

#nonpreferred_specialty_drug_shareObject

Non-preferred specialty drugs benefits summary



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

def nonpreferred_specialty_drug_share
  @nonpreferred_specialty_drug_share
end

#off_marketObject

Is the plan off-market?



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

def off_market
  @off_market
end

#on_marketObject

Is the plan on-market?



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

def on_market
  @on_market
end

#out_of_network_coverageObject

Does this plan provide any out of network coverage?



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

def out_of_network_coverage
  @out_of_network_coverage
end

#outpatient_ambulatory_care_centerObject

Outpatient ambulatory care center benefits summary



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

def outpatient_ambulatory_care_center
  @outpatient_ambulatory_care_center
end

#outpatient_facilityObject

Benefits summary for outpatient facility coverage



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

def outpatient_facility
  @outpatient_facility
end

#outpatient_mental_healthObject

Benefits summary for outpatient mental health coverage



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

def outpatient_mental_health
  @outpatient_mental_health
end

#outpatient_physicianObject

Benefits summary for outpatient physician coverage



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

def outpatient_physician
  @outpatient_physician
end

#outpatient_substanceObject

Outpatient substance abuse benefits summary



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

def outpatient_substance
  @outpatient_substance
end

#plan_ancestorsObject

A list of plan identifiers and years indicating the previous plans that the plan replaces



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

def plan_ancestors
  @plan_ancestors
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")?



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

def plan_calendar
  @plan_calendar
end

#plan_coinsuranceObject

The plan-level standard cost-share for substantially all benefits. It includes in-network, out-of-network, and tiers if applicable



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

def plan_coinsurance
  @plan_coinsurance
end

#plan_marketObject

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



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

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)



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

def plan_type
  @plan_type
end

#postnatal_careObject

Post-natal care benefits summary



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

def postnatal_care
  @postnatal_care
end

#preferred_brand_drugsObject

Cost under the plan for perferred brand drugs



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

def preferred_brand_drugs
  @preferred_brand_drugs
end

#prenatal_careObject

Prenatal care benefits summary



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

def prenatal_care
  @prenatal_care
end

#prenatal_postnatal_careObject

Inpatient substance abuse benefits summary



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

def prenatal_postnatal_care
  @prenatal_postnatal_care
end

#preventative_careObject

Benefits summary for preventative care



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

def preventative_care
  @preventative_care
end

#primary_care_physicianObject

Cost under the plan to visit a Primary Care Physician



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

def primary_care_physician
  @primary_care_physician
end

#rehabilitation_servicesObject

Benefits summary for rehabilitation services



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

def rehabilitation_services
  @rehabilitation_services
end

#service_area_idObject

Foreign key for service area



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

def service_area_id
  @service_area_id
end

#skilled_nursingObject

Benefits summary for skilled nursing services



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

def skilled_nursing
  @skilled_nursing
end

#skilled_nursing_facility_365Object

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



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

def skilled_nursing_facility_365
  @skilled_nursing_facility_365
end

#sourceObject

Source of the plan benefit data



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

def source
  @source
end

#specialistObject

Cost under the plan to visit a specialist



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

def specialist
  @specialist
end

#specialty_drugsObject

Cost under the plan for specialty drugs



1279
1280
1281
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1279

def specialty_drugs
  @specialty_drugs
end

#telemedicineObject

Indicates whether there is coverage for the remote delivery of medical benefits



1282
1283
1284
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1282

def telemedicine
  @telemedicine
end

#typeObject

The type of the Plan



1285
1286
1287
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1285

def type
  @type
end

#urgent_careObject

Benefits summary for urgent care



1288
1289
1290
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1288

def urgent_care
  @urgent_care
end

Class Method Details

.attribute_mapObject

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



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
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1292

def self.attribute_map
  {
    :'abortion_rider' => :'abortion_rider',
    :'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_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',
    :'essential_health_benefits_percentage' => :'essential_health_benefits_percentage',
    :'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',
    :'infertility_treatment_rider' => :'infertility_treatment_rider',
    :'inpatient_birth' => :'inpatient_birth',
    :'inpatient_birth_physician' => :'inpatient_birth_physician',
    :'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_ancestors' => :'plan_ancestors',
    :'plan_calendar' => :'plan_calendar',
    :'plan_coinsurance' => :'plan_coinsurance',
    :'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',
    :'telemedicine' => :'telemedicine',
    :'type' => :'type',
    :'urgent_care' => :'urgent_care'
  }
end

.swagger_typesObject

Attribute type mapping.



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
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1390

def self.swagger_types
  {
    :'abortion_rider' => :'BOOLEAN',
    :'actuarial_value' => :'Float',
    :'adult_dental' => :'BOOLEAN',
    :'age29_rider' => :'BOOLEAN',
    :'ambulance' => :'String',
    :'benefits_summary_url' => :'String',
    :'buy_link' => :'String',
    :'carrier_name' => :'String',
    :'child_dental' => :'BOOLEAN',
    :'child_eye_exam' => :'String',
    :'child_eyewear' => :'String',
    :'chiropractic_services' => :'String',
    :'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',
    :'essential_health_benefits_percentage' => :'Float',
    :'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',
    :'infertility_treatment_rider' => :'BOOLEAN',
    :'inpatient_birth' => :'String',
    :'inpatient_birth_physician' => :'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_ancestors' => :'Array<PlanAncestor>',
    :'plan_calendar' => :'String',
    :'plan_coinsurance' => :'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',
    :'telemedicine' => :'String',
    :'type' => :'String',
    :'urgent_care' => :'String'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



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
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1888

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      abortion_rider == o.abortion_rider &&
      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_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 &&
      essential_health_benefits_percentage == o.essential_health_benefits_percentage &&
      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 &&
      infertility_treatment_rider == o.infertility_treatment_rider &&
      inpatient_birth == o.inpatient_birth &&
      inpatient_birth_physician == o.inpatient_birth_physician &&
      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_ancestors == o.plan_ancestors &&
      plan_calendar == o.plan_calendar &&
      plan_coinsurance == o.plan_coinsurance &&
      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 &&
      telemedicine == o.telemedicine &&
      type == o.type &&
      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



2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
# File 'lib/vericred_client/models/aca_plan2018.rb', line 2021

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



2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
# File 'lib/vericred_client/models/aca_plan2018.rb', line 2087

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



2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
# File 'lib/vericred_client/models/aca_plan2018.rb', line 2000

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


1987
1988
1989
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1987

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



1993
1994
1995
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1993

def hash
  [abortion_rider, actuarial_value, adult_dental, age29_rider, ambulance, benefits_summary_url, buy_link, 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, essential_health_benefits_percentage, 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, infertility_treatment_rider, inpatient_birth, inpatient_birth_physician, 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_ancestors, plan_calendar, plan_coinsurance, 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, telemedicine, type, 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



1875
1876
1877
1878
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1875

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



2067
2068
2069
# File 'lib/vericred_client/models/aca_plan2018.rb', line 2067

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



2073
2074
2075
2076
2077
2078
2079
2080
2081
# File 'lib/vericred_client/models/aca_plan2018.rb', line 2073

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



2061
2062
2063
# File 'lib/vericred_client/models/aca_plan2018.rb', line 2061

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



1882
1883
1884
# File 'lib/vericred_client/models/aca_plan2018.rb', line 1882

def valid?
  return true
end