Class: VericredClient::ACAPlan
- Inherits:
-
Object
- Object
- VericredClient::ACAPlan
- Defined in:
- lib/vericred_client/models/aca_plan.rb
Instance Attribute Summary collapse
-
#actuarial_value ⇒ Object
Percentage of total average costs for covered benefits that a plan will cover.
-
#adult_dental ⇒ Object
Does the plan provide dental coverage for adults?.
-
#age29_rider ⇒ Object
True if the plan allows dependents up to age 29.
-
#ambulance ⇒ Object
Benefits string for ambulance coverage.
-
#benefits_summary_url ⇒ Object
Link to the summary of benefits and coverage (SBC) document.
-
#buy_link ⇒ Object
Link to a location to purchase the plan.
-
#carrier_name ⇒ Object
Name of the insurance carrier.
-
#child_dental ⇒ Object
Does the plan provide dental coverage for children?.
-
#child_eye_exam ⇒ Object
Child eye exam benefits summary.
-
#child_eyewear ⇒ Object
Child eyewear benefits summary.
-
#chiropractic_services ⇒ Object
Chiropractic services benefits summary.
-
#coinsurance ⇒ Object
Standard cost share for most benefits.
-
#customer_service_phone_number ⇒ Object
Phone number to contact the insurance carrier.
-
#diagnostic_test ⇒ Object
Diagnostic tests benefit summary.
-
#display_name ⇒ Object
Alternate name for the Plan.
-
#dp_rider ⇒ Object
True if plan does not cover domestic partners.
-
#drug_formulary_url ⇒ Object
Link to the summary of drug benefits for the plan.
-
#durable_medical_equipment ⇒ Object
Benefits summary for durable medical equipment.
-
#effective_date ⇒ Object
Effective date of coverage.
-
#embedded_deductible ⇒ Object
Is the individual deductible for each covered person, embedded in the family deductible.
-
#emergency_room ⇒ Object
Description of costs when visiting the ER.
-
#expiration_date ⇒ Object
Expiration date of coverage.
-
#family_drug_deductible ⇒ Object
Deductible for drugs when a family is on the plan.
-
#family_drug_moop ⇒ Object
Maximum out-of-pocket for drugs when a family is on the plan.
-
#family_medical_deductible ⇒ Object
Deductible when a family is on the plan.
-
#family_medical_moop ⇒ Object
Maximum out-of-pocket when a family is on the plan.
-
#fp_rider ⇒ Object
True if plan does not cover family planning.
-
#gated ⇒ Object
Does the plan’s network require a physician referral?.
-
#generic_drugs ⇒ Object
Cost for generic drugs.
-
#habilitation_services ⇒ Object
Habilitation services benefits summary.
-
#hios_issuer_id ⇒ Object
Returns the value of attribute hios_issuer_id.
-
#home_health_care ⇒ Object
Home health care benefits summary.
-
#hospice_service ⇒ Object
Hospice service benefits summary.
-
#hsa_eligible ⇒ Object
Is the plan HSA eligible?.
-
#id ⇒ Object
Government-issued HIOS plan ID.
-
#identifiers ⇒ Object
List of identifiers of this Plan.
-
#imaging ⇒ Object
Benefits summary for imaging coverage.
-
#imaging_center ⇒ Object
Imaging center benefits summary.
-
#imaging_physician ⇒ Object
Imaging physician benefits summary.
-
#in_network_ids ⇒ Object
List of NPI numbers for Providers passed in who accept this Plan.
-
#individual_drug_deductible ⇒ Object
Deductible for drugs when an individual is on the plan.
-
#individual_drug_moop ⇒ Object
Maximum out-of-pocket for drugs when an individual is on the plan.
-
#individual_medical_deductible ⇒ Object
Deductible when an individual is on the plan.
-
#individual_medical_moop ⇒ Object
Maximum out-of-pocket when an individual is on the plan.
-
#inpatient_birth ⇒ Object
Inpatient birth benefits summary.
-
#inpatient_facility ⇒ Object
Cost under the plan for an inpatient facility.
-
#inpatient_mental_health ⇒ Object
Inpatient mental helath benefits summary.
-
#inpatient_physician ⇒ Object
Cost under the plan for an inpatient physician.
-
#inpatient_substance ⇒ Object
Inpatient substance abuse benefits summary.
-
#lab_test ⇒ Object
Lab test benefits summary.
-
#level ⇒ Object
Plan metal grouping (e.g. platinum, gold, silver, etc).
-
#logo_url ⇒ Object
Link to a copy of the insurance carrier’s logo.
-
#mail_order_rx ⇒ Object
Multiple of the standard Rx cost share for orders filled via mail order.
-
#name ⇒ Object
Marketing name of the plan.
-
#network_ids ⇒ Object
List of Vericred-generated network_ids.
-
#network_size ⇒ Object
Total number of Providers in network.
-
#non_preferred_brand_drugs ⇒ Object
Cost under the plan for non-preferred brand drugs.
-
#nonpreferred_generic_drug_share ⇒ Object
Non-preferred generic drugs benefits summary.
-
#nonpreferred_specialty_drug_share ⇒ Object
Non-preferred specialty drugs benefits summary.
-
#off_market ⇒ Object
Is the plan off-market?.
-
#on_market ⇒ Object
Is the plan on-market?.
-
#out_of_network_coverage ⇒ Object
Does this plan provide any out of network coverage?.
-
#out_of_network_ids ⇒ Object
List of NPI numbers for Providers passed in who do not accept this Plan.
-
#outpatient_ambulatory_care_center ⇒ Object
Outpatient ambulatory care center benefits summary.
-
#outpatient_facility ⇒ Object
Benefits summary for outpatient facility coverage.
-
#outpatient_mental_health ⇒ Object
Benefits summary for outpatient mental health coverage.
-
#outpatient_physician ⇒ Object
Benefits summary for outpatient physician coverage.
-
#outpatient_substance ⇒ Object
Outpatient substance abuse benefits summary.
-
#plan_calendar ⇒ Object
Are deductibles and MOOPs reset on Dec-31 ("calendar year"), 365 days after enrollment date ("plan year"), or are both options available ("both")?.
-
#plan_market ⇒ Object
Market in which the plan is offered (on_marketplace, shop, etc).
-
#plan_type ⇒ Object
Category of the plan (e.g. EPO, HMO, PPO, POS, Indemnity, PACE, Medicare-Medicaid, HMO w/POS, Cost, FFS, MSA).
-
#postnatal_care ⇒ Object
Post-natal care benefits summary.
-
#preferred_brand_drugs ⇒ Object
Cost under the plan for perferred brand drugs.
-
#premium ⇒ Object
Cumulative premium amount.
-
#premium_source ⇒ Object
Source of the base pricing data.
-
#premium_subsidized ⇒ Object
Cumulative premium amount after subsidy.
-
#prenatal_care ⇒ Object
Prenatal care benefits summary.
-
#prenatal_postnatal_care ⇒ Object
Inpatient substance abuse benefits summary.
-
#preventative_care ⇒ Object
Benefits summary for preventative care.
-
#primary_care_physician ⇒ Object
Cost under the plan to visit a Primary Care Physician.
-
#rehabilitation_services ⇒ Object
Benefits summary for rehabilitation services.
-
#service_area_id ⇒ Object
Foreign key for service area.
-
#skilled_nursing ⇒ Object
Benefits summary for skilled nursing services.
-
#skilled_nursing_facility_365 ⇒ Object
Does the plan cover full-time, year-round, nursing facilities?.
-
#source ⇒ Object
Source of the plan benefit data.
-
#specialist ⇒ Object
Cost under the plan to visit a specialist.
-
#specialty_drugs ⇒ Object
Cost under the plan for specialty drugs.
-
#type ⇒ Object
The type of the Plan.
-
#urgent_care ⇒ Object
Benefits summary for urgent care.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ ACAPlan
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ ACAPlan
Initializes the object
478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 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 |
# File 'lib/vericred_client/models/aca_plan.rb', line 478 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?(:'network_size') self.network_size = attributes[:'network_size'] 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. = 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 end |
Instance Attribute Details
#actuarial_value ⇒ Object
Percentage of total average costs for covered benefits that a plan will cover.
238 239 240 |
# File 'lib/vericred_client/models/aca_plan.rb', line 238 def actuarial_value @actuarial_value end |
#adult_dental ⇒ Object
Does the plan provide dental coverage for adults?
55 56 57 |
# File 'lib/vericred_client/models/aca_plan.rb', line 55 def adult_dental @adult_dental end |
#age29_rider ⇒ Object
True if the plan allows dependents up to age 29
58 59 60 |
# File 'lib/vericred_client/models/aca_plan.rb', line 58 def age29_rider @age29_rider end |
#ambulance ⇒ Object
Benefits string for ambulance coverage
61 62 63 |
# File 'lib/vericred_client/models/aca_plan.rb', line 61 def ambulance @ambulance end |
#benefits_summary_url ⇒ Object
Link to the summary of benefits and coverage (SBC) document.
64 65 66 |
# File 'lib/vericred_client/models/aca_plan.rb', line 64 def benefits_summary_url @benefits_summary_url end |
#buy_link ⇒ Object
Link to a location to purchase the plan.
67 68 69 |
# File 'lib/vericred_client/models/aca_plan.rb', line 67 def buy_link @buy_link end |
#carrier_name ⇒ Object
Name of the insurance carrier
19 20 21 |
# File 'lib/vericred_client/models/aca_plan.rb', line 19 def carrier_name @carrier_name end |
#child_dental ⇒ Object
Does the plan provide dental coverage for children?
70 71 72 |
# File 'lib/vericred_client/models/aca_plan.rb', line 70 def child_dental @child_dental end |
#child_eye_exam ⇒ Object
Child eye exam benefits summary
76 77 78 |
# File 'lib/vericred_client/models/aca_plan.rb', line 76 def child_eye_exam @child_eye_exam end |
#child_eyewear ⇒ Object
Child eyewear benefits summary
73 74 75 |
# File 'lib/vericred_client/models/aca_plan.rb', line 73 def child_eyewear @child_eyewear end |
#chiropractic_services ⇒ Object
Chiropractic services benefits summary
241 242 243 |
# File 'lib/vericred_client/models/aca_plan.rb', line 241 def chiropractic_services @chiropractic_services end |
#coinsurance ⇒ Object
Standard cost share for most benefits
244 245 246 |
# File 'lib/vericred_client/models/aca_plan.rb', line 244 def coinsurance @coinsurance end |
#customer_service_phone_number ⇒ Object
Phone number to contact the insurance carrier
79 80 81 |
# File 'lib/vericred_client/models/aca_plan.rb', line 79 def customer_service_phone_number @customer_service_phone_number end |
#diagnostic_test ⇒ Object
Diagnostic tests benefit summary
85 86 87 |
# File 'lib/vericred_client/models/aca_plan.rb', line 85 def diagnostic_test @diagnostic_test end |
#display_name ⇒ Object
Alternate name for the Plan
22 23 24 |
# File 'lib/vericred_client/models/aca_plan.rb', line 22 def display_name @display_name end |
#dp_rider ⇒ Object
True if plan does not cover domestic partners
88 89 90 |
# File 'lib/vericred_client/models/aca_plan.rb', line 88 def dp_rider @dp_rider end |
#drug_formulary_url ⇒ Object
Link to the summary of drug benefits for the plan
91 92 93 |
# File 'lib/vericred_client/models/aca_plan.rb', line 91 def drug_formulary_url @drug_formulary_url end |
#durable_medical_equipment ⇒ Object
Benefits summary for durable medical equipment
82 83 84 |
# File 'lib/vericred_client/models/aca_plan.rb', line 82 def durable_medical_equipment @durable_medical_equipment end |
#effective_date ⇒ Object
Effective date of coverage.
25 26 27 |
# File 'lib/vericred_client/models/aca_plan.rb', line 25 def effective_date @effective_date end |
#embedded_deductible ⇒ Object
Is the individual deductible for each covered person, embedded in the family deductible
247 248 249 |
# File 'lib/vericred_client/models/aca_plan.rb', line 247 def @embedded_deductible end |
#emergency_room ⇒ Object
Description of costs when visiting the ER
94 95 96 |
# File 'lib/vericred_client/models/aca_plan.rb', line 94 def emergency_room @emergency_room end |
#expiration_date ⇒ Object
Expiration date of coverage.
28 29 30 |
# File 'lib/vericred_client/models/aca_plan.rb', line 28 def expiration_date @expiration_date end |
#family_drug_deductible ⇒ Object
Deductible for drugs when a family is on the plan.
97 98 99 |
# File 'lib/vericred_client/models/aca_plan.rb', line 97 def family_drug_deductible @family_drug_deductible end |
#family_drug_moop ⇒ Object
Maximum out-of-pocket for drugs when a family is on the plan
100 101 102 |
# File 'lib/vericred_client/models/aca_plan.rb', line 100 def family_drug_moop @family_drug_moop end |
#family_medical_deductible ⇒ Object
Deductible when a family is on the plan
103 104 105 |
# File 'lib/vericred_client/models/aca_plan.rb', line 103 def family_medical_deductible @family_medical_deductible end |
#family_medical_moop ⇒ Object
Maximum out-of-pocket when a family is on the plan
106 107 108 |
# File 'lib/vericred_client/models/aca_plan.rb', line 106 def family_medical_moop @family_medical_moop end |
#fp_rider ⇒ Object
True if plan does not cover family planning
109 110 111 |
# File 'lib/vericred_client/models/aca_plan.rb', line 109 def fp_rider @fp_rider end |
#gated ⇒ Object
Does the plan’s network require a physician referral?
250 251 252 |
# File 'lib/vericred_client/models/aca_plan.rb', line 250 def gated @gated end |
#generic_drugs ⇒ Object
Cost for generic drugs
112 113 114 |
# File 'lib/vericred_client/models/aca_plan.rb', line 112 def generic_drugs @generic_drugs end |
#habilitation_services ⇒ Object
Habilitation services benefits summary
115 116 117 |
# File 'lib/vericred_client/models/aca_plan.rb', line 115 def habilitation_services @habilitation_services end |
#hios_issuer_id ⇒ Object
Returns the value of attribute hios_issuer_id.
118 119 120 |
# File 'lib/vericred_client/models/aca_plan.rb', line 118 def hios_issuer_id @hios_issuer_id end |
#home_health_care ⇒ Object
Home health care benefits summary
121 122 123 |
# File 'lib/vericred_client/models/aca_plan.rb', line 121 def home_health_care @home_health_care end |
#hospice_service ⇒ Object
Hospice service benefits summary
124 125 126 |
# File 'lib/vericred_client/models/aca_plan.rb', line 124 def hospice_service @hospice_service end |
#hsa_eligible ⇒ Object
Is the plan HSA eligible?
127 128 129 |
# File 'lib/vericred_client/models/aca_plan.rb', line 127 def hsa_eligible @hsa_eligible end |
#id ⇒ Object
Government-issued HIOS plan ID
130 131 132 |
# File 'lib/vericred_client/models/aca_plan.rb', line 130 def id @id end |
#identifiers ⇒ Object
List of identifiers of this Plan
31 32 33 |
# File 'lib/vericred_client/models/aca_plan.rb', line 31 def identifiers @identifiers end |
#imaging ⇒ Object
Benefits summary for imaging coverage
133 134 135 |
# File 'lib/vericred_client/models/aca_plan.rb', line 133 def imaging @imaging end |
#imaging_center ⇒ Object
Imaging center benefits summary
253 254 255 |
# File 'lib/vericred_client/models/aca_plan.rb', line 253 def imaging_center @imaging_center end |
#imaging_physician ⇒ Object
Imaging physician benefits summary
256 257 258 |
# File 'lib/vericred_client/models/aca_plan.rb', line 256 def imaging_physician @imaging_physician end |
#in_network_ids ⇒ Object
List of NPI numbers for Providers passed in who accept this Plan
163 164 165 |
# File 'lib/vericred_client/models/aca_plan.rb', line 163 def in_network_ids @in_network_ids end |
#individual_drug_deductible ⇒ Object
Deductible for drugs when an individual is on the plan
136 137 138 |
# File 'lib/vericred_client/models/aca_plan.rb', line 136 def individual_drug_deductible @individual_drug_deductible end |
#individual_drug_moop ⇒ Object
Maximum out-of-pocket for drugs when an individual is on the plan
139 140 141 |
# File 'lib/vericred_client/models/aca_plan.rb', line 139 def individual_drug_moop @individual_drug_moop end |
#individual_medical_deductible ⇒ Object
Deductible when an individual is on the plan
142 143 144 |
# File 'lib/vericred_client/models/aca_plan.rb', line 142 def individual_medical_deductible @individual_medical_deductible end |
#individual_medical_moop ⇒ Object
Maximum out-of-pocket when an individual is on the plan
145 146 147 |
# File 'lib/vericred_client/models/aca_plan.rb', line 145 def individual_medical_moop @individual_medical_moop end |
#inpatient_birth ⇒ Object
Inpatient birth benefits summary
148 149 150 |
# File 'lib/vericred_client/models/aca_plan.rb', line 148 def inpatient_birth @inpatient_birth end |
#inpatient_facility ⇒ Object
Cost under the plan for an inpatient facility
151 152 153 |
# File 'lib/vericred_client/models/aca_plan.rb', line 151 def inpatient_facility @inpatient_facility end |
#inpatient_mental_health ⇒ Object
Inpatient mental helath benefits summary
154 155 156 |
# File 'lib/vericred_client/models/aca_plan.rb', line 154 def inpatient_mental_health @inpatient_mental_health end |
#inpatient_physician ⇒ Object
Cost under the plan for an inpatient physician
157 158 159 |
# File 'lib/vericred_client/models/aca_plan.rb', line 157 def inpatient_physician @inpatient_physician end |
#inpatient_substance ⇒ Object
Inpatient substance abuse benefits summary
160 161 162 |
# File 'lib/vericred_client/models/aca_plan.rb', line 160 def inpatient_substance @inpatient_substance end |
#lab_test ⇒ Object
Lab test benefits summary
259 260 261 |
# File 'lib/vericred_client/models/aca_plan.rb', line 259 def lab_test @lab_test end |
#level ⇒ Object
Plan metal grouping (e.g. platinum, gold, silver, etc)
166 167 168 |
# File 'lib/vericred_client/models/aca_plan.rb', line 166 def level @level end |
#logo_url ⇒ Object
Link to a copy of the insurance carrier’s logo
169 170 171 |
# File 'lib/vericred_client/models/aca_plan.rb', line 169 def logo_url @logo_url end |
#mail_order_rx ⇒ Object
Multiple of the standard Rx cost share for orders filled via mail order
262 263 264 |
# File 'lib/vericred_client/models/aca_plan.rb', line 262 def mail_order_rx @mail_order_rx end |
#name ⇒ Object
Marketing name of the plan
34 35 36 |
# File 'lib/vericred_client/models/aca_plan.rb', line 34 def name @name end |
#network_ids ⇒ Object
List of Vericred-generated network_ids
37 38 39 |
# File 'lib/vericred_client/models/aca_plan.rb', line 37 def network_ids @network_ids end |
#network_size ⇒ Object
Total number of Providers in network
40 41 42 |
# File 'lib/vericred_client/models/aca_plan.rb', line 40 def network_size @network_size end |
#non_preferred_brand_drugs ⇒ Object
Cost under the plan for non-preferred brand drugs
172 173 174 |
# File 'lib/vericred_client/models/aca_plan.rb', line 172 def non_preferred_brand_drugs @non_preferred_brand_drugs end |
#nonpreferred_generic_drug_share ⇒ Object
Non-preferred generic drugs benefits summary
265 266 267 |
# File 'lib/vericred_client/models/aca_plan.rb', line 265 def nonpreferred_generic_drug_share @nonpreferred_generic_drug_share end |
#nonpreferred_specialty_drug_share ⇒ Object
Non-preferred specialty drugs benefits summary
268 269 270 |
# File 'lib/vericred_client/models/aca_plan.rb', line 268 def nonpreferred_specialty_drug_share @nonpreferred_specialty_drug_share end |
#off_market ⇒ Object
Is the plan off-market?
178 179 180 |
# File 'lib/vericred_client/models/aca_plan.rb', line 178 def off_market @off_market end |
#on_market ⇒ Object
Is the plan on-market?
175 176 177 |
# File 'lib/vericred_client/models/aca_plan.rb', line 175 def on_market @on_market end |
#out_of_network_coverage ⇒ Object
Does this plan provide any out of network coverage?
181 182 183 |
# File 'lib/vericred_client/models/aca_plan.rb', line 181 def out_of_network_coverage @out_of_network_coverage end |
#out_of_network_ids ⇒ Object
List of NPI numbers for Providers passed in who do not accept this Plan
184 185 186 |
# File 'lib/vericred_client/models/aca_plan.rb', line 184 def out_of_network_ids @out_of_network_ids end |
#outpatient_ambulatory_care_center ⇒ Object
Outpatient ambulatory care center benefits summary
271 272 273 |
# File 'lib/vericred_client/models/aca_plan.rb', line 271 def outpatient_ambulatory_care_center @outpatient_ambulatory_care_center end |
#outpatient_facility ⇒ Object
Benefits summary for outpatient facility coverage
187 188 189 |
# File 'lib/vericred_client/models/aca_plan.rb', line 187 def outpatient_facility @outpatient_facility end |
#outpatient_mental_health ⇒ Object
Benefits summary for outpatient mental health coverage
190 191 192 |
# File 'lib/vericred_client/models/aca_plan.rb', line 190 def outpatient_mental_health @outpatient_mental_health end |
#outpatient_physician ⇒ Object
Benefits summary for outpatient physician coverage
193 194 195 |
# File 'lib/vericred_client/models/aca_plan.rb', line 193 def outpatient_physician @outpatient_physician end |
#outpatient_substance ⇒ Object
Outpatient substance abuse benefits summary
196 197 198 |
# File 'lib/vericred_client/models/aca_plan.rb', line 196 def outpatient_substance @outpatient_substance end |
#plan_calendar ⇒ Object
Are deductibles and MOOPs reset on Dec-31 ("calendar year"), 365 days after enrollment date ("plan year"), or are both options available ("both")?
274 275 276 |
# File 'lib/vericred_client/models/aca_plan.rb', line 274 def plan_calendar @plan_calendar end |
#plan_market ⇒ Object
Market in which the plan is offered (on_marketplace, shop, etc)
199 200 201 |
# File 'lib/vericred_client/models/aca_plan.rb', line 199 def plan_market @plan_market end |
#plan_type ⇒ Object
Category of the plan (e.g. EPO, HMO, PPO, POS, Indemnity, PACE, Medicare-Medicaid, HMO w/POS, Cost, FFS, MSA)
43 44 45 |
# File 'lib/vericred_client/models/aca_plan.rb', line 43 def plan_type @plan_type end |
#postnatal_care ⇒ Object
Post-natal care benefits summary
280 281 282 |
# File 'lib/vericred_client/models/aca_plan.rb', line 280 def postnatal_care @postnatal_care end |
#preferred_brand_drugs ⇒ Object
Cost under the plan for perferred brand drugs
202 203 204 |
# File 'lib/vericred_client/models/aca_plan.rb', line 202 def preferred_brand_drugs @preferred_brand_drugs end |
#premium ⇒ Object
Cumulative premium amount
214 215 216 |
# File 'lib/vericred_client/models/aca_plan.rb', line 214 def premium @premium end |
#premium_source ⇒ Object
Source of the base pricing data
217 218 219 |
# File 'lib/vericred_client/models/aca_plan.rb', line 217 def premium_source @premium_source end |
#premium_subsidized ⇒ Object
Cumulative premium amount after subsidy
211 212 213 |
# File 'lib/vericred_client/models/aca_plan.rb', line 211 def premium_subsidized @premium_subsidized end |
#prenatal_care ⇒ Object
Prenatal care benefits summary
277 278 279 |
# File 'lib/vericred_client/models/aca_plan.rb', line 277 def prenatal_care @prenatal_care end |
#prenatal_postnatal_care ⇒ Object
Inpatient substance abuse benefits summary
205 206 207 |
# File 'lib/vericred_client/models/aca_plan.rb', line 205 def prenatal_postnatal_care @prenatal_postnatal_care end |
#preventative_care ⇒ Object
Benefits summary for preventative care
208 209 210 |
# File 'lib/vericred_client/models/aca_plan.rb', line 208 def preventative_care @preventative_care end |
#primary_care_physician ⇒ Object
Cost under the plan to visit a Primary Care Physician
220 221 222 |
# File 'lib/vericred_client/models/aca_plan.rb', line 220 def primary_care_physician @primary_care_physician end |
#rehabilitation_services ⇒ Object
Benefits summary for rehabilitation services
223 224 225 |
# File 'lib/vericred_client/models/aca_plan.rb', line 223 def rehabilitation_services @rehabilitation_services end |
#service_area_id ⇒ Object
Foreign key for service area
46 47 48 |
# File 'lib/vericred_client/models/aca_plan.rb', line 46 def service_area_id @service_area_id end |
#skilled_nursing ⇒ Object
Benefits summary for skilled nursing services
226 227 228 |
# File 'lib/vericred_client/models/aca_plan.rb', line 226 def skilled_nursing @skilled_nursing end |
#skilled_nursing_facility_365 ⇒ Object
Does the plan cover full-time, year-round, nursing facilities?
283 284 285 |
# File 'lib/vericred_client/models/aca_plan.rb', line 283 def skilled_nursing_facility_365 @skilled_nursing_facility_365 end |
#source ⇒ Object
Source of the plan benefit data
49 50 51 |
# File 'lib/vericred_client/models/aca_plan.rb', line 49 def source @source end |
#specialist ⇒ Object
Cost under the plan to visit a specialist
229 230 231 |
# File 'lib/vericred_client/models/aca_plan.rb', line 229 def specialist @specialist end |
#specialty_drugs ⇒ Object
Cost under the plan for specialty drugs
232 233 234 |
# File 'lib/vericred_client/models/aca_plan.rb', line 232 def specialty_drugs @specialty_drugs end |
#type ⇒ Object
The type of the Plan
52 53 54 |
# File 'lib/vericred_client/models/aca_plan.rb', line 52 def type @type end |
#urgent_care ⇒ Object
Benefits summary for urgent care
235 236 237 |
# File 'lib/vericred_client/models/aca_plan.rb', line 235 def urgent_care @urgent_care end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
287 288 289 290 291 292 293 294 295 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 |
# File 'lib/vericred_client/models/aca_plan.rb', line 287 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', :'network_size' => :'network_size', :'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' } end |
.swagger_types ⇒ Object
Attribute type mapping.
382 383 384 385 386 387 388 389 390 391 392 393 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 |
# File 'lib/vericred_client/models/aca_plan.rb', line 382 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>', :'network_size' => :'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' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 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 |
# File 'lib/vericred_client/models/aca_plan.rb', line 865 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 && network_size == o.network_size && 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 && == o. && 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 end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 |
# File 'lib/vericred_client/models/aca_plan.rb', line 995 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
1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 |
# File 'lib/vericred_client/models/aca_plan.rb', line 1061 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
974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 |
# File 'lib/vericred_client/models/aca_plan.rb', line 974 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
961 962 963 |
# File 'lib/vericred_client/models/aca_plan.rb', line 961 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
967 968 969 |
# File 'lib/vericred_client/models/aca_plan.rb', line 967 def hash [carrier_name, display_name, effective_date, expiration_date, identifiers, name, network_ids, network_size, 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, , 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].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
852 853 854 855 |
# File 'lib/vericred_client/models/aca_plan.rb', line 852 def list_invalid_properties invalid_properties = Array.new return invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
1041 1042 1043 |
# File 'lib/vericred_client/models/aca_plan.rb', line 1041 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
1047 1048 1049 1050 1051 1052 1053 1054 1055 |
# File 'lib/vericred_client/models/aca_plan.rb', line 1047 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_s ⇒ String
Returns the string representation of the object
1035 1036 1037 |
# File 'lib/vericred_client/models/aca_plan.rb', line 1035 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
859 860 861 |
# File 'lib/vericred_client/models/aca_plan.rb', line 859 def valid? return true end |