Class: VericredClient::ACAPlanPre2018SearchResult

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ ACAPlanPre2018SearchResult

Initializes the object

Parameters:

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

    Model attributes in the form of hash



493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 493

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

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

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

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

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

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

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

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

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

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

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

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

  if attributes.has_key?(:'diagnostic_test')
    self.diagnostic_test = attributes[:'diagnostic_test']
  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?(:'emergency_room')
    self.emergency_room = attributes[:'emergency_room']
  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?(:'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?(:'imaging')
    self.imaging = attributes[:'imaging']
  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?(:'in_network_ids')
    if (value = attributes[:'in_network_ids']).is_a?(Array)
      self.in_network_ids = value
    end
  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?(:'non_preferred_brand_drugs')
    self.non_preferred_brand_drugs = attributes[:'non_preferred_brand_drugs']
  end

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

  if attributes.has_key?(:'off_market')
    self.off_market = attributes[:'off_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_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_market')
    self.plan_market = attributes[:'plan_market']
  end

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

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

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

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

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

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

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

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

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

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

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

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

end

Instance Attribute Details

#actuarial_valueObject

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



235
236
237
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 235

def actuarial_value
  @actuarial_value
end

#adult_dentalObject

Does the plan provide dental coverage for adults?



52
53
54
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 52

def adult_dental
  @adult_dental
end

#age29_riderObject

True if the plan allows dependents up to age 29



55
56
57
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 55

def age29_rider
  @age29_rider
end

#ambulanceObject

Benefits string for ambulance coverage



58
59
60
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 58

def ambulance
  @ambulance
end

#benefits_summary_urlObject

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



61
62
63
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 61

def benefits_summary_url
  @benefits_summary_url
end

Link to a location to purchase the plan.



64
65
66
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 64

def buy_link
  @buy_link
end

#carrier_nameObject

Name of the insurance carrier



19
20
21
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 19

def carrier_name
  @carrier_name
end

#child_dentalObject

Does the plan provide dental coverage for children?



67
68
69
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 67

def child_dental
  @child_dental
end

#child_eye_examObject

Child eye exam benefits summary



73
74
75
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 73

def child_eye_exam
  @child_eye_exam
end

#child_eyewearObject

Child eyewear benefits summary



70
71
72
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 70

def child_eyewear
  @child_eyewear
end

#chiropractic_servicesObject

Chiropractic services benefits summary



238
239
240
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 238

def chiropractic_services
  @chiropractic_services
end

#coinsuranceObject

Standard cost share for most benefits



241
242
243
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 241

def coinsurance
  @coinsurance
end

#customer_service_phone_numberObject

Phone number to contact the insurance carrier



76
77
78
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 76

def customer_service_phone_number
  @customer_service_phone_number
end

#dependent_premiumObject

Cumulative premium amount for dependents



292
293
294
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 292

def dependent_premium
  @dependent_premium
end

#diagnostic_testObject

Diagnostic tests benefit summary



82
83
84
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 82

def diagnostic_test
  @diagnostic_test
end

#display_nameObject

Alternate name for the Plan



22
23
24
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 22

def display_name
  @display_name
end

#dp_riderObject

True if plan does not cover domestic partners



85
86
87
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 85

def dp_rider
  @dp_rider
end

#drug_formulary_urlObject

Link to the summary of drug benefits for the plan



88
89
90
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 88

def drug_formulary_url
  @drug_formulary_url
end

#durable_medical_equipmentObject

Benefits summary for durable medical equipment



79
80
81
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 79

def durable_medical_equipment
  @durable_medical_equipment
end

#effective_dateObject

Effective date of coverage.



25
26
27
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 25

def effective_date
  @effective_date
end

#embedded_deductibleObject

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



244
245
246
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 244

def embedded_deductible
  @embedded_deductible
end

#emergency_roomObject

Description of costs when visiting the ER



91
92
93
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 91

def emergency_room
  @emergency_room
end

#employee_premiumObject

Cumulative premium amount for employees



289
290
291
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 289

def employee_premium
  @employee_premium
end

#expiration_dateObject

Expiration date of coverage.



28
29
30
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 28

def expiration_date
  @expiration_date
end

#family_drug_deductibleObject

Deductible for drugs when a family is on the plan.



94
95
96
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 94

def family_drug_deductible
  @family_drug_deductible
end

#family_drug_moopObject

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



97
98
99
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 97

def family_drug_moop
  @family_drug_moop
end

#family_medical_deductibleObject

Deductible when a family is on the plan



100
101
102
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 100

def family_medical_deductible
  @family_medical_deductible
end

#family_medical_moopObject

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



103
104
105
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 103

def family_medical_moop
  @family_medical_moop
end

#fp_riderObject

True if plan does not cover family planning



106
107
108
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 106

def fp_rider
  @fp_rider
end

#gatedObject

Does the plan’s network require a physician referral?



247
248
249
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 247

def gated
  @gated
end

#generic_drugsObject

Cost for generic drugs



109
110
111
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 109

def generic_drugs
  @generic_drugs
end

#habilitation_servicesObject

Habilitation services benefits summary



112
113
114
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 112

def habilitation_services
  @habilitation_services
end

#hios_issuer_idObject

Returns the value of attribute hios_issuer_id.



115
116
117
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 115

def hios_issuer_id
  @hios_issuer_id
end

#home_health_careObject

Home health care benefits summary



118
119
120
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 118

def home_health_care
  @home_health_care
end

#hospice_serviceObject

Hospice service benefits summary



121
122
123
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 121

def hospice_service
  @hospice_service
end

#hsa_eligibleObject

Is the plan HSA eligible?



124
125
126
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 124

def hsa_eligible
  @hsa_eligible
end

#idObject

Government-issued HIOS plan ID



127
128
129
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 127

def id
  @id
end

#identifiersObject

List of identifiers of this Plan



31
32
33
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 31

def identifiers
  @identifiers
end

#imagingObject

Benefits summary for imaging coverage



130
131
132
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 130

def imaging
  @imaging
end

#imaging_centerObject

Imaging center benefits summary



250
251
252
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 250

def imaging_center
  @imaging_center
end

#imaging_physicianObject

Imaging physician benefits summary



253
254
255
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 253

def imaging_physician
  @imaging_physician
end

#in_network_idsObject

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



160
161
162
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 160

def in_network_ids
  @in_network_ids
end

#individual_drug_deductibleObject

Deductible for drugs when an individual is on the plan



133
134
135
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 133

def individual_drug_deductible
  @individual_drug_deductible
end

#individual_drug_moopObject

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



136
137
138
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 136

def individual_drug_moop
  @individual_drug_moop
end

#individual_medical_deductibleObject

Deductible when an individual is on the plan



139
140
141
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 139

def individual_medical_deductible
  @individual_medical_deductible
end

#individual_medical_moopObject

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



142
143
144
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 142

def individual_medical_moop
  @individual_medical_moop
end

#inpatient_birthObject

Inpatient birth benefits summary



145
146
147
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 145

def inpatient_birth
  @inpatient_birth
end

#inpatient_facilityObject

Cost under the plan for an inpatient facility



148
149
150
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 148

def inpatient_facility
  @inpatient_facility
end

#inpatient_mental_healthObject

Inpatient mental helath benefits summary



151
152
153
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 151

def inpatient_mental_health
  @inpatient_mental_health
end

#inpatient_physicianObject

Cost under the plan for an inpatient physician



154
155
156
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 154

def inpatient_physician
  @inpatient_physician
end

#inpatient_substanceObject

Inpatient substance abuse benefits summary



157
158
159
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 157

def inpatient_substance
  @inpatient_substance
end

#lab_testObject

Lab test benefits summary



256
257
258
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 256

def lab_test
  @lab_test
end

#levelObject

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



163
164
165
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 163

def level
  @level
end

#logo_urlObject

Link to a copy of the insurance carrier’s logo



166
167
168
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 166

def logo_url
  @logo_url
end

#mail_order_rxObject

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



259
260
261
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 259

def mail_order_rx
  @mail_order_rx
end

#match_percentageObject

Percentage of doctors who matched this Plan



283
284
285
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 283

def match_percentage
  @match_percentage
end

#nameObject

Marketing name of the plan



34
35
36
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 34

def name
  @name
end

#network_idsObject

List of Vericred-generated network_ids



37
38
39
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 37

def network_ids
  @network_ids
end

#non_preferred_brand_drugsObject

Cost under the plan for non-preferred brand drugs



169
170
171
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 169

def non_preferred_brand_drugs
  @non_preferred_brand_drugs
end

#nonpreferred_generic_drug_shareObject

Non-preferred generic drugs benefits summary



262
263
264
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 262

def nonpreferred_generic_drug_share
  @nonpreferred_generic_drug_share
end

#nonpreferred_specialty_drug_shareObject

Non-preferred specialty drugs benefits summary



265
266
267
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 265

def nonpreferred_specialty_drug_share
  @nonpreferred_specialty_drug_share
end

#off_marketObject

Is the plan off-market?



175
176
177
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 175

def off_market
  @off_market
end

#on_marketObject

Is the plan on-market?



172
173
174
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 172

def on_market
  @on_market
end

#out_of_network_coverageObject

Does this plan provide any out of network coverage?



178
179
180
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 178

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



181
182
183
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 181

def out_of_network_ids
  @out_of_network_ids
end

#outpatient_ambulatory_care_centerObject

Outpatient ambulatory care center benefits summary



268
269
270
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 268

def outpatient_ambulatory_care_center
  @outpatient_ambulatory_care_center
end

#outpatient_facilityObject

Benefits summary for outpatient facility coverage



184
185
186
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 184

def outpatient_facility
  @outpatient_facility
end

#outpatient_mental_healthObject

Benefits summary for outpatient mental health coverage



187
188
189
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 187

def outpatient_mental_health
  @outpatient_mental_health
end

#outpatient_physicianObject

Benefits summary for outpatient physician coverage



190
191
192
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 190

def outpatient_physician
  @outpatient_physician
end

#outpatient_substanceObject

Outpatient substance abuse benefits summary



193
194
195
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 193

def outpatient_substance
  @outpatient_substance
end

#perfect_match_percentageObject

Percentage of employees with 100% matchedch



286
287
288
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 286

def perfect_match_percentage
  @perfect_match_percentage
end

#plan_calendarObject

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



271
272
273
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 271

def plan_calendar
  @plan_calendar
end

#plan_marketObject

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



196
197
198
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 196

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)



40
41
42
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 40

def plan_type
  @plan_type
end

#postnatal_careObject

Post-natal care benefits summary



277
278
279
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 277

def postnatal_care
  @postnatal_care
end

#preferred_brand_drugsObject

Cost under the plan for perferred brand drugs



199
200
201
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 199

def preferred_brand_drugs
  @preferred_brand_drugs
end

#premiumObject

Cumulative premium amount



211
212
213
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 211

def premium
  @premium
end

#premium_sourceObject

Source of the base pricing data



214
215
216
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 214

def premium_source
  @premium_source
end

#premium_subsidizedObject

Cumulative premium amount after subsidy



208
209
210
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 208

def premium_subsidized
  @premium_subsidized
end

#prenatal_careObject

Prenatal care benefits summary



274
275
276
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 274

def prenatal_care
  @prenatal_care
end

#prenatal_postnatal_careObject

Inpatient substance abuse benefits summary



202
203
204
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 202

def prenatal_postnatal_care
  @prenatal_postnatal_care
end

#preventative_careObject

Benefits summary for preventative care



205
206
207
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 205

def preventative_care
  @preventative_care
end

#primary_care_physicianObject

Cost under the plan to visit a Primary Care Physician



217
218
219
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 217

def primary_care_physician
  @primary_care_physician
end

#rehabilitation_servicesObject

Benefits summary for rehabilitation services



220
221
222
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 220

def rehabilitation_services
  @rehabilitation_services
end

#service_area_idObject

Foreign key for service area



43
44
45
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 43

def service_area_id
  @service_area_id
end

#skilled_nursingObject

Benefits summary for skilled nursing services



223
224
225
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 223

def skilled_nursing
  @skilled_nursing
end

#skilled_nursing_facility_365Object

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



280
281
282
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 280

def skilled_nursing_facility_365
  @skilled_nursing_facility_365
end

#sourceObject

Source of the plan benefit data



46
47
48
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 46

def source
  @source
end

#specialistObject

Cost under the plan to visit a specialist



226
227
228
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 226

def specialist
  @specialist
end

#specialty_drugsObject

Cost under the plan for specialty drugs



229
230
231
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 229

def specialty_drugs
  @specialty_drugs
end

#typeObject

The type of the Plan



49
50
51
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 49

def type
  @type
end

#urgent_careObject

Benefits summary for urgent care



232
233
234
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 232

def urgent_care
  @urgent_care
end

Class Method Details

.attribute_mapObject

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



296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 296

def self.attribute_map
  {
    :'carrier_name' => :'carrier_name',
    :'display_name' => :'display_name',
    :'effective_date' => :'effective_date',
    :'expiration_date' => :'expiration_date',
    :'identifiers' => :'identifiers',
    :'name' => :'name',
    :'network_ids' => :'network_ids',
    :'plan_type' => :'plan_type',
    :'service_area_id' => :'service_area_id',
    :'source' => :'source',
    :'type' => :'type',
    :'adult_dental' => :'adult_dental',
    :'age29_rider' => :'age29_rider',
    :'ambulance' => :'ambulance',
    :'benefits_summary_url' => :'benefits_summary_url',
    :'buy_link' => :'buy_link',
    :'child_dental' => :'child_dental',
    :'child_eyewear' => :'child_eyewear',
    :'child_eye_exam' => :'child_eye_exam',
    :'customer_service_phone_number' => :'customer_service_phone_number',
    :'durable_medical_equipment' => :'durable_medical_equipment',
    :'diagnostic_test' => :'diagnostic_test',
    :'dp_rider' => :'dp_rider',
    :'drug_formulary_url' => :'drug_formulary_url',
    :'emergency_room' => :'emergency_room',
    :'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',
    :'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',
    :'imaging' => :'imaging',
    :'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',
    :'in_network_ids' => :'in_network_ids',
    :'level' => :'level',
    :'logo_url' => :'logo_url',
    :'non_preferred_brand_drugs' => :'non_preferred_brand_drugs',
    :'on_market' => :'on_market',
    :'off_market' => :'off_market',
    :'out_of_network_coverage' => :'out_of_network_coverage',
    :'out_of_network_ids' => :'out_of_network_ids',
    :'outpatient_facility' => :'outpatient_facility',
    :'outpatient_mental_health' => :'outpatient_mental_health',
    :'outpatient_physician' => :'outpatient_physician',
    :'outpatient_substance' => :'outpatient_substance',
    :'plan_market' => :'plan_market',
    :'preferred_brand_drugs' => :'preferred_brand_drugs',
    :'prenatal_postnatal_care' => :'prenatal_postnatal_care',
    :'preventative_care' => :'preventative_care',
    :'premium_subsidized' => :'premium_subsidized',
    :'premium' => :'premium',
    :'premium_source' => :'premium_source',
    :'primary_care_physician' => :'primary_care_physician',
    :'rehabilitation_services' => :'rehabilitation_services',
    :'skilled_nursing' => :'skilled_nursing',
    :'specialist' => :'specialist',
    :'specialty_drugs' => :'specialty_drugs',
    :'urgent_care' => :'urgent_care',
    :'actuarial_value' => :'actuarial_value',
    :'chiropractic_services' => :'chiropractic_services',
    :'coinsurance' => :'coinsurance',
    :'embedded_deductible' => :'embedded_deductible',
    :'gated' => :'gated',
    :'imaging_center' => :'imaging_center',
    :'imaging_physician' => :'imaging_physician',
    :'lab_test' => :'lab_test',
    :'mail_order_rx' => :'mail_order_rx',
    :'nonpreferred_generic_drug_share' => :'nonpreferred_generic_drug_share',
    :'nonpreferred_specialty_drug_share' => :'nonpreferred_specialty_drug_share',
    :'outpatient_ambulatory_care_center' => :'outpatient_ambulatory_care_center',
    :'plan_calendar' => :'plan_calendar',
    :'prenatal_care' => :'prenatal_care',
    :'postnatal_care' => :'postnatal_care',
    :'skilled_nursing_facility_365' => :'skilled_nursing_facility_365',
    :'match_percentage' => :'match_percentage',
    :'perfect_match_percentage' => :'perfect_match_percentage',
    :'employee_premium' => :'employee_premium',
    :'dependent_premium' => :'dependent_premium'
  }
end

.swagger_typesObject

Attribute type mapping.



394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 394

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

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 892

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      carrier_name == o.carrier_name &&
      display_name == o.display_name &&
      effective_date == o.effective_date &&
      expiration_date == o.expiration_date &&
      identifiers == o.identifiers &&
      name == o.name &&
      network_ids == o.network_ids &&
      plan_type == o.plan_type &&
      service_area_id == o.service_area_id &&
      source == o.source &&
      type == o.type &&
      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 &&
      child_dental == o.child_dental &&
      child_eyewear == o.child_eyewear &&
      child_eye_exam == o.child_eye_exam &&
      customer_service_phone_number == o.customer_service_phone_number &&
      durable_medical_equipment == o.durable_medical_equipment &&
      diagnostic_test == o.diagnostic_test &&
      dp_rider == o.dp_rider &&
      drug_formulary_url == o.drug_formulary_url &&
      emergency_room == o.emergency_room &&
      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 &&
      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 &&
      imaging == o.imaging &&
      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 &&
      in_network_ids == o.in_network_ids &&
      level == o.level &&
      logo_url == o.logo_url &&
      non_preferred_brand_drugs == o.non_preferred_brand_drugs &&
      on_market == o.on_market &&
      off_market == o.off_market &&
      out_of_network_coverage == o.out_of_network_coverage &&
      out_of_network_ids == o.out_of_network_ids &&
      outpatient_facility == o.outpatient_facility &&
      outpatient_mental_health == o.outpatient_mental_health &&
      outpatient_physician == o.outpatient_physician &&
      outpatient_substance == o.outpatient_substance &&
      plan_market == o.plan_market &&
      preferred_brand_drugs == o.preferred_brand_drugs &&
      prenatal_postnatal_care == o.prenatal_postnatal_care &&
      preventative_care == o.preventative_care &&
      premium_subsidized == o.premium_subsidized &&
      premium == o.premium &&
      premium_source == o.premium_source &&
      primary_care_physician == o.primary_care_physician &&
      rehabilitation_services == o.rehabilitation_services &&
      skilled_nursing == o.skilled_nursing &&
      specialist == o.specialist &&
      specialty_drugs == o.specialty_drugs &&
      urgent_care == o.urgent_care &&
      actuarial_value == o.actuarial_value &&
      chiropractic_services == o.chiropractic_services &&
      coinsurance == o.coinsurance &&
      embedded_deductible == o.embedded_deductible &&
      gated == o.gated &&
      imaging_center == o.imaging_center &&
      imaging_physician == o.imaging_physician &&
      lab_test == o.lab_test &&
      mail_order_rx == o.mail_order_rx &&
      nonpreferred_generic_drug_share == o.nonpreferred_generic_drug_share &&
      nonpreferred_specialty_drug_share == o.nonpreferred_specialty_drug_share &&
      outpatient_ambulatory_care_center == o.outpatient_ambulatory_care_center &&
      plan_calendar == o.plan_calendar &&
      prenatal_care == o.prenatal_care &&
      postnatal_care == o.postnatal_care &&
      skilled_nursing_facility_365 == o.skilled_nursing_facility_365 &&
      match_percentage == o.match_percentage &&
      perfect_match_percentage == o.perfect_match_percentage &&
      employee_premium == o.employee_premium &&
      dependent_premium == o.dependent_premium
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



1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 1025

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



1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 1091

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



1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 1004

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


991
992
993
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 991

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



997
998
999
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 997

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



879
880
881
882
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 879

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



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

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



1077
1078
1079
1080
1081
1082
1083
1084
1085
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 1077

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



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

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



886
887
888
# File 'lib/vericred_client/models/aca_plan_pre2018_search_result.rb', line 886

def valid?
  return true
end