Class: VericredClient::ACAPlan

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ ACAPlan

Initializes the object

Parameters:

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

    Model attributes in the form of hash



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
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
1828
1829
1830
# File 'lib/vericred_client/models/aca_plan.rb', line 1454

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_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?(:'in_network_ids')
    if (value = attributes[:'in_network_ids']).is_a?(Array)
      self.in_network_ids = value
    end
  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?(:'out_of_network_ids')
    if (value = attributes[:'out_of_network_ids']).is_a?(Array)
      self.out_of_network_ids = value
    end
  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?(:'premium')
    self.premium = attributes[:'premium']
  end

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

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



990
991
992
# File 'lib/vericred_client/models/aca_plan.rb', line 990

def actuarial_value
  @actuarial_value
end

#adult_dentalObject

Does the plan provide dental coverage for adults?



993
994
995
# File 'lib/vericred_client/models/aca_plan.rb', line 993

def adult_dental
  @adult_dental
end

#age29_riderObject

True if the plan allows dependents up to age 29



996
997
998
# File 'lib/vericred_client/models/aca_plan.rb', line 996

def age29_rider
  @age29_rider
end

#ambulanceObject

Benefits string for ambulance coverage



999
1000
1001
# File 'lib/vericred_client/models/aca_plan.rb', line 999

def ambulance
  @ambulance
end

#benefits_summary_urlObject

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



1002
1003
1004
# File 'lib/vericred_client/models/aca_plan.rb', line 1002

def benefits_summary_url
  @benefits_summary_url
end

Link to a location to purchase the plan.



1005
1006
1007
# File 'lib/vericred_client/models/aca_plan.rb', line 1005

def buy_link
  @buy_link
end

#carrier_nameObject

Name of the insurance carrier



1008
1009
1010
# File 'lib/vericred_client/models/aca_plan.rb', line 1008

def carrier_name
  @carrier_name
end

#child_dentalObject

Does the plan provide dental coverage for children?



1011
1012
1013
# File 'lib/vericred_client/models/aca_plan.rb', line 1011

def child_dental
  @child_dental
end

#child_eye_examObject

Child eye exam benefits summary



1014
1015
1016
# File 'lib/vericred_client/models/aca_plan.rb', line 1014

def child_eye_exam
  @child_eye_exam
end

#child_eyewearObject

Child eyewear benefits summary



1017
1018
1019
# File 'lib/vericred_client/models/aca_plan.rb', line 1017

def child_eyewear
  @child_eyewear
end

#chiropractic_servicesObject

Chiropractic services benefits summary



1020
1021
1022
# File 'lib/vericred_client/models/aca_plan.rb', line 1020

def chiropractic_services
  @chiropractic_services
end

#coinsuranceObject

Standard cost share for most benefits



1023
1024
1025
# File 'lib/vericred_client/models/aca_plan.rb', line 1023

def coinsurance
  @coinsurance
end

#customer_service_phone_numberObject

Phone number to contact the insurance carrier



1026
1027
1028
# File 'lib/vericred_client/models/aca_plan.rb', line 1026

def customer_service_phone_number
  @customer_service_phone_number
end

#diagnostic_testObject

Diagnostic tests benefit summary



1029
1030
1031
# File 'lib/vericred_client/models/aca_plan.rb', line 1029

def diagnostic_test
  @diagnostic_test
end

#display_nameObject

Alternate name for the Plan



1032
1033
1034
# File 'lib/vericred_client/models/aca_plan.rb', line 1032

def display_name
  @display_name
end

#dp_riderObject

True if plan does not cover domestic partners



1035
1036
1037
# File 'lib/vericred_client/models/aca_plan.rb', line 1035

def dp_rider
  @dp_rider
end

#drug_formulary_urlObject

Link to the summary of drug benefits for the plan



1038
1039
1040
# File 'lib/vericred_client/models/aca_plan.rb', line 1038

def drug_formulary_url
  @drug_formulary_url
end

#durable_medical_equipmentObject

Benefits summary for durable medical equipment



1041
1042
1043
# File 'lib/vericred_client/models/aca_plan.rb', line 1041

def durable_medical_equipment
  @durable_medical_equipment
end

#effective_dateObject

Effective date of coverage.



1044
1045
1046
# File 'lib/vericred_client/models/aca_plan.rb', line 1044

def effective_date
  @effective_date
end

#embedded_deductibleObject

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



1047
1048
1049
# File 'lib/vericred_client/models/aca_plan.rb', line 1047

def embedded_deductible
  @embedded_deductible
end

#emergency_roomObject

Description of costs when visiting the ER



1050
1051
1052
# File 'lib/vericred_client/models/aca_plan.rb', line 1050

def emergency_room
  @emergency_room
end

#expiration_dateObject

Expiration date of coverage.



1053
1054
1055
# File 'lib/vericred_client/models/aca_plan.rb', line 1053

def expiration_date
  @expiration_date
end

#family_drug_deductibleObject

Deductible for drugs when a family is on the plan.



1056
1057
1058
# File 'lib/vericred_client/models/aca_plan.rb', line 1056

def family_drug_deductible
  @family_drug_deductible
end

#family_drug_moopObject

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



1059
1060
1061
# File 'lib/vericred_client/models/aca_plan.rb', line 1059

def family_drug_moop
  @family_drug_moop
end

#family_medical_deductibleObject

Deductible when a family is on the plan



1062
1063
1064
# File 'lib/vericred_client/models/aca_plan.rb', line 1062

def family_medical_deductible
  @family_medical_deductible
end

#family_medical_moopObject

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



1065
1066
1067
# File 'lib/vericred_client/models/aca_plan.rb', line 1065

def family_medical_moop
  @family_medical_moop
end

#fp_riderObject

True if plan does not cover family planning



1068
1069
1070
# File 'lib/vericred_client/models/aca_plan.rb', line 1068

def fp_rider
  @fp_rider
end

#gatedObject

Does the plan’s network require a physician referral?



1071
1072
1073
# File 'lib/vericred_client/models/aca_plan.rb', line 1071

def gated
  @gated
end

#generic_drugsObject

Cost for generic drugs



1074
1075
1076
# File 'lib/vericred_client/models/aca_plan.rb', line 1074

def generic_drugs
  @generic_drugs
end

#habilitation_servicesObject

Habilitation services benefits summary



1077
1078
1079
# File 'lib/vericred_client/models/aca_plan.rb', line 1077

def habilitation_services
  @habilitation_services
end

#hios_issuer_idObject

Returns the value of attribute hios_issuer_id.



1080
1081
1082
# File 'lib/vericred_client/models/aca_plan.rb', line 1080

def hios_issuer_id
  @hios_issuer_id
end

#home_health_careObject

Home health care benefits summary



1083
1084
1085
# File 'lib/vericred_client/models/aca_plan.rb', line 1083

def home_health_care
  @home_health_care
end

#hospice_serviceObject

Hospice service benefits summary



1086
1087
1088
# File 'lib/vericred_client/models/aca_plan.rb', line 1086

def hospice_service
  @hospice_service
end

#hsa_eligibleObject

Is the plan HSA eligible?



1089
1090
1091
# File 'lib/vericred_client/models/aca_plan.rb', line 1089

def hsa_eligible
  @hsa_eligible
end

#idObject

Government-issued HIOS plan ID



1092
1093
1094
# File 'lib/vericred_client/models/aca_plan.rb', line 1092

def id
  @id
end

#identifiersObject

List of identifiers of this Plan



1095
1096
1097
# File 'lib/vericred_client/models/aca_plan.rb', line 1095

def identifiers
  @identifiers
end

#imagingObject

Benefits summary for imaging coverage



1098
1099
1100
# File 'lib/vericred_client/models/aca_plan.rb', line 1098

def imaging
  @imaging
end

#imaging_centerObject

Imaging center benefits summary



1101
1102
1103
# File 'lib/vericred_client/models/aca_plan.rb', line 1101

def imaging_center
  @imaging_center
end

#imaging_physicianObject

Imaging physician benefits summary



1104
1105
1106
# File 'lib/vericred_client/models/aca_plan.rb', line 1104

def imaging_physician
  @imaging_physician
end

#in_network_idsObject

List of NPI numbers for Providers passed in who accept this Plan



1107
1108
1109
# File 'lib/vericred_client/models/aca_plan.rb', line 1107

def in_network_ids
  @in_network_ids
end

#individual_drug_deductibleObject

Deductible for drugs when an individual is on the plan



1110
1111
1112
# File 'lib/vericred_client/models/aca_plan.rb', line 1110

def individual_drug_deductible
  @individual_drug_deductible
end

#individual_drug_moopObject

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



1113
1114
1115
# File 'lib/vericred_client/models/aca_plan.rb', line 1113

def individual_drug_moop
  @individual_drug_moop
end

#individual_medical_deductibleObject

Deductible when an individual is on the plan



1116
1117
1118
# File 'lib/vericred_client/models/aca_plan.rb', line 1116

def individual_medical_deductible
  @individual_medical_deductible
end

#individual_medical_moopObject

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



1119
1120
1121
# File 'lib/vericred_client/models/aca_plan.rb', line 1119

def individual_medical_moop
  @individual_medical_moop
end

#inpatient_birthObject

Inpatient birth benefits summary



1122
1123
1124
# File 'lib/vericred_client/models/aca_plan.rb', line 1122

def inpatient_birth
  @inpatient_birth
end

#inpatient_facilityObject

Cost under the plan for an inpatient facility



1125
1126
1127
# File 'lib/vericred_client/models/aca_plan.rb', line 1125

def inpatient_facility
  @inpatient_facility
end

#inpatient_mental_healthObject

Inpatient mental helath benefits summary



1128
1129
1130
# File 'lib/vericred_client/models/aca_plan.rb', line 1128

def inpatient_mental_health
  @inpatient_mental_health
end

#inpatient_physicianObject

Cost under the plan for an inpatient physician



1131
1132
1133
# File 'lib/vericred_client/models/aca_plan.rb', line 1131

def inpatient_physician
  @inpatient_physician
end

#inpatient_substanceObject

Inpatient substance abuse benefits summary



1134
1135
1136
# File 'lib/vericred_client/models/aca_plan.rb', line 1134

def inpatient_substance
  @inpatient_substance
end

#lab_testObject

Lab test benefits summary



1137
1138
1139
# File 'lib/vericred_client/models/aca_plan.rb', line 1137

def lab_test
  @lab_test
end

#levelObject

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



1140
1141
1142
# File 'lib/vericred_client/models/aca_plan.rb', line 1140

def level
  @level
end

#logo_urlObject

Link to a copy of the insurance carrier’s logo



1143
1144
1145
# File 'lib/vericred_client/models/aca_plan.rb', line 1143

def logo_url
  @logo_url
end

#mail_order_rxObject

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



1146
1147
1148
# File 'lib/vericred_client/models/aca_plan.rb', line 1146

def mail_order_rx
  @mail_order_rx
end

#nameObject

Marketing name of the plan



1149
1150
1151
# File 'lib/vericred_client/models/aca_plan.rb', line 1149

def name
  @name
end

#network_idsObject

List of Vericred-generated network_ids



1152
1153
1154
# File 'lib/vericred_client/models/aca_plan.rb', line 1152

def network_ids
  @network_ids
end

#network_sizeObject

Total number of Providers in network



1155
1156
1157
# File 'lib/vericred_client/models/aca_plan.rb', line 1155

def network_size
  @network_size
end

#networksObject

List of networks associated with the plan



1158
1159
1160
# File 'lib/vericred_client/models/aca_plan.rb', line 1158

def networks
  @networks
end

#non_preferred_brand_drugsObject

Cost under the plan for non-preferred brand drugs



1161
1162
1163
# File 'lib/vericred_client/models/aca_plan.rb', line 1161

def non_preferred_brand_drugs
  @non_preferred_brand_drugs
end

#nonpreferred_generic_drug_shareObject

Non-preferred generic drugs benefits summary



1164
1165
1166
# File 'lib/vericred_client/models/aca_plan.rb', line 1164

def nonpreferred_generic_drug_share
  @nonpreferred_generic_drug_share
end

#nonpreferred_specialty_drug_shareObject

Non-preferred specialty drugs benefits summary



1167
1168
1169
# File 'lib/vericred_client/models/aca_plan.rb', line 1167

def nonpreferred_specialty_drug_share
  @nonpreferred_specialty_drug_share
end

#off_marketObject

Is the plan off-market?



1170
1171
1172
# File 'lib/vericred_client/models/aca_plan.rb', line 1170

def off_market
  @off_market
end

#on_marketObject

Is the plan on-market?



1173
1174
1175
# File 'lib/vericred_client/models/aca_plan.rb', line 1173

def on_market
  @on_market
end

#out_of_network_coverageObject

Does this plan provide any out of network coverage?



1176
1177
1178
# File 'lib/vericred_client/models/aca_plan.rb', line 1176

def out_of_network_coverage
  @out_of_network_coverage
end

#out_of_network_idsObject

List of NPI numbers for Providers passed in who do not accept this Plan



1179
1180
1181
# File 'lib/vericred_client/models/aca_plan.rb', line 1179

def out_of_network_ids
  @out_of_network_ids
end

#outpatient_ambulatory_care_centerObject

Outpatient ambulatory care center benefits summary



1182
1183
1184
# File 'lib/vericred_client/models/aca_plan.rb', line 1182

def outpatient_ambulatory_care_center
  @outpatient_ambulatory_care_center
end

#outpatient_facilityObject

Benefits summary for outpatient facility coverage



1185
1186
1187
# File 'lib/vericred_client/models/aca_plan.rb', line 1185

def outpatient_facility
  @outpatient_facility
end

#outpatient_mental_healthObject

Benefits summary for outpatient mental health coverage



1188
1189
1190
# File 'lib/vericred_client/models/aca_plan.rb', line 1188

def outpatient_mental_health
  @outpatient_mental_health
end

#outpatient_physicianObject

Benefits summary for outpatient physician coverage



1191
1192
1193
# File 'lib/vericred_client/models/aca_plan.rb', line 1191

def outpatient_physician
  @outpatient_physician
end

#outpatient_substanceObject

Outpatient substance abuse benefits summary



1194
1195
1196
# File 'lib/vericred_client/models/aca_plan.rb', line 1194

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")?



1197
1198
1199
# File 'lib/vericred_client/models/aca_plan.rb', line 1197

def plan_calendar
  @plan_calendar
end

#plan_marketObject

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



1200
1201
1202
# File 'lib/vericred_client/models/aca_plan.rb', line 1200

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)



1203
1204
1205
# File 'lib/vericred_client/models/aca_plan.rb', line 1203

def plan_type
  @plan_type
end

#postnatal_careObject

Post-natal care benefits summary



1206
1207
1208
# File 'lib/vericred_client/models/aca_plan.rb', line 1206

def postnatal_care
  @postnatal_care
end

#preferred_brand_drugsObject

Cost under the plan for perferred brand drugs



1209
1210
1211
# File 'lib/vericred_client/models/aca_plan.rb', line 1209

def preferred_brand_drugs
  @preferred_brand_drugs
end

#premiumObject

Cumulative premium amount



1212
1213
1214
# File 'lib/vericred_client/models/aca_plan.rb', line 1212

def premium
  @premium
end

#premium_sourceObject

Source of the base pricing data



1215
1216
1217
# File 'lib/vericred_client/models/aca_plan.rb', line 1215

def premium_source
  @premium_source
end

#premium_subsidizedObject

Cumulative premium amount after subsidy



1218
1219
1220
# File 'lib/vericred_client/models/aca_plan.rb', line 1218

def premium_subsidized
  @premium_subsidized
end

#prenatal_careObject

Prenatal care benefits summary



1221
1222
1223
# File 'lib/vericred_client/models/aca_plan.rb', line 1221

def prenatal_care
  @prenatal_care
end

#prenatal_postnatal_careObject

Inpatient substance abuse benefits summary



1224
1225
1226
# File 'lib/vericred_client/models/aca_plan.rb', line 1224

def prenatal_postnatal_care
  @prenatal_postnatal_care
end

#preventative_careObject

Benefits summary for preventative care



1227
1228
1229
# File 'lib/vericred_client/models/aca_plan.rb', line 1227

def preventative_care
  @preventative_care
end

#primary_care_physicianObject

Cost under the plan to visit a Primary Care Physician



1230
1231
1232
# File 'lib/vericred_client/models/aca_plan.rb', line 1230

def primary_care_physician
  @primary_care_physician
end

#rehabilitation_servicesObject

Benefits summary for rehabilitation services



1233
1234
1235
# File 'lib/vericred_client/models/aca_plan.rb', line 1233

def rehabilitation_services
  @rehabilitation_services
end

#service_area_idObject

Foreign key for service area



1236
1237
1238
# File 'lib/vericred_client/models/aca_plan.rb', line 1236

def service_area_id
  @service_area_id
end

#skilled_nursingObject

Benefits summary for skilled nursing services



1239
1240
1241
# File 'lib/vericred_client/models/aca_plan.rb', line 1239

def skilled_nursing
  @skilled_nursing
end

#skilled_nursing_facility_365Object

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



1242
1243
1244
# File 'lib/vericred_client/models/aca_plan.rb', line 1242

def skilled_nursing_facility_365
  @skilled_nursing_facility_365
end

#sourceObject

Source of the plan benefit data



1245
1246
1247
# File 'lib/vericred_client/models/aca_plan.rb', line 1245

def source
  @source
end

#specialistObject

Cost under the plan to visit a specialist



1248
1249
1250
# File 'lib/vericred_client/models/aca_plan.rb', line 1248

def specialist
  @specialist
end

#specialty_drugsObject

Cost under the plan for specialty drugs



1251
1252
1253
# File 'lib/vericred_client/models/aca_plan.rb', line 1251

def specialty_drugs
  @specialty_drugs
end

#typeObject

The type of the Plan



1254
1255
1256
# File 'lib/vericred_client/models/aca_plan.rb', line 1254

def type
  @type
end

#urgent_careObject

Benefits summary for urgent care



1257
1258
1259
# File 'lib/vericred_client/models/aca_plan.rb', line 1257

def urgent_care
  @urgent_care
end

Class Method Details

.attribute_mapObject

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



1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
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
# File 'lib/vericred_client/models/aca_plan.rb', line 1261

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_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',
    :'in_network_ids' => :'in_network_ids',
    :'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',
    :'out_of_network_ids' => :'out_of_network_ids',
    :'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',
    :'premium' => :'premium',
    :'premium_source' => :'premium_source',
    :'premium_subsidized' => :'premium_subsidized',
    :'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',
    :'urgent_care' => :'urgent_care'
  }
end

.swagger_typesObject

Attribute type mapping.



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
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
# File 'lib/vericred_client/models/aca_plan.rb', line 1357

def self.swagger_types
  {
    :'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',
    :'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',
    :'in_network_ids' => :'Array<Integer>',
    :'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',
    :'out_of_network_ids' => :'Array<Integer>',
    :'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',
    :'premium' => :'Float',
    :'premium_source' => :'String',
    :'premium_subsidized' => :'Float',
    :'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',
    :'urgent_care' => :'String'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



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
1935
1936
1937
1938
1939
1940
# File 'lib/vericred_client/models/aca_plan.rb', line 1847

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_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 &&
      in_network_ids == o.in_network_ids &&
      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 &&
      out_of_network_ids == o.out_of_network_ids &&
      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 &&
      premium == o.premium &&
      premium_source == o.premium_source &&
      premium_subsidized == o.premium_subsidized &&
      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 &&
      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



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
2009
2010
2011
2012
2013
2014
# File 'lib/vericred_client/models/aca_plan.rb', line 1978

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



2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
# File 'lib/vericred_client/models/aca_plan.rb', line 2044

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



1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
# File 'lib/vericred_client/models/aca_plan.rb', line 1957

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


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

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



1950
1951
1952
# File 'lib/vericred_client/models/aca_plan.rb', line 1950

def hash
  [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, 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, in_network_ids, 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, out_of_network_ids, outpatient_ambulatory_care_center, outpatient_facility, outpatient_mental_health, outpatient_physician, outpatient_substance, plan_calendar, plan_market, plan_type, postnatal_care, preferred_brand_drugs, premium, premium_source, premium_subsidized, 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, 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



1834
1835
1836
1837
# File 'lib/vericred_client/models/aca_plan.rb', line 1834

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



2024
2025
2026
# File 'lib/vericred_client/models/aca_plan.rb', line 2024

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



2030
2031
2032
2033
2034
2035
2036
2037
2038
# File 'lib/vericred_client/models/aca_plan.rb', line 2030

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



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

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



1841
1842
1843
# File 'lib/vericred_client/models/aca_plan.rb', line 1841

def valid?
  return true
end