Class: VericredClient::Plan
- Inherits:
-
Object
- Object
- VericredClient::Plan
- Defined in:
- lib/vericred_client/models/plan.rb
Instance Attribute Summary collapse
-
#adult_dental ⇒ Object
Does the plan provide dental coverage for adults?.
-
#age29_rider ⇒ Object
Returns the value of attribute age29_rider.
-
#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.
-
#customer_service_phone_number ⇒ Object
Phone number to contact the insurance carrier.
-
#diagnostic_test ⇒ Object
Diagnostic tests benefit summary.
-
#dp_rider ⇒ Object
Is this a domestic plan?.
-
#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.
-
#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
Is this a family plan?.
-
#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.
-
#id ⇒ Object
Government-issued HIOS plan ID.
-
#imaging ⇒ Object
Benefits summary for imaging coverage.
-
#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.
-
#level ⇒ Object
Plan metal grouping (e.g. platinum, gold, silver, etc).
-
#logo_url ⇒ Object
Link to a copy of the insurance carrier’s logo.
-
#name ⇒ Object
Marketing name of the plan.
-
#network_size ⇒ Object
Total number of Providers in network.
-
#non_preferred_brand_drugs ⇒ Object
Cost under the plan for non-preferred brand drugs.
-
#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_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_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).
-
#preferred_brand_drugs ⇒ Object
Cost under the plan for perferred brand drugs.
-
#premium ⇒ Object
Cumulative premium amount.
-
#premium_subsidized ⇒ Object
Cumulative premium amount after subsidy.
-
#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.
-
#skilled_nursing ⇒ Object
Benefits summary for skilled nursing services.
-
#specialist ⇒ Object
Cost under the plan to visit a specialist.
-
#specialty_drugs ⇒ Object
Cost under the plan for specialty drugs.
-
#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 = {}) ⇒ Plan
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 = {}) ⇒ Plan
Initializes the object
476 477 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 |
# File 'lib/vericred_client/models/plan.rb', line 476 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?(:'adult_dental') self.adult_dental = attributes[:'adult_dental'] end if attributes.has_key?(:'age29_rider') self.age29_rider = attributes[:'age29_rider'] end if attributes.has_key?(:'ambulance') self.ambulance = attributes[:'ambulance'] end if attributes.has_key?(:'benefits_summary_url') self.benefits_summary_url = attributes[:'benefits_summary_url'] end if attributes.has_key?(:'buy_link') self.buy_link = attributes[:'buy_link'] end if attributes.has_key?(:'carrier_name') self.carrier_name = attributes[:'carrier_name'] end if attributes.has_key?(:'child_dental') self.child_dental = attributes[:'child_dental'] end if attributes.has_key?(:'child_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?(:'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?(:'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?(:'id') self.id = attributes[:'id'] end if attributes.has_key?(:'imaging') self.imaging = attributes[:'imaging'] end if attributes.has_key?(:'in_network_ids') if (value = attributes[:'in_network_ids']).is_a?(Array) self.in_network_ids = value end end if attributes.has_key?(:'individual_drug_deductible') self.individual_drug_deductible = attributes[:'individual_drug_deductible'] end if attributes.has_key?(:'individual_drug_moop') self.individual_drug_moop = attributes[:'individual_drug_moop'] end if attributes.has_key?(:'individual_medical_deductible') self.individual_medical_deductible = attributes[:'individual_medical_deductible'] end if attributes.has_key?(:'individual_medical_moop') self.individual_medical_moop = attributes[:'individual_medical_moop'] end if attributes.has_key?(:'inpatient_birth') self.inpatient_birth = attributes[:'inpatient_birth'] end if attributes.has_key?(:'inpatient_facility') self.inpatient_facility = attributes[:'inpatient_facility'] end if attributes.has_key?(:'inpatient_mental_health') self.inpatient_mental_health = attributes[:'inpatient_mental_health'] end if attributes.has_key?(:'inpatient_physician') self.inpatient_physician = attributes[:'inpatient_physician'] end if attributes.has_key?(:'inpatient_substance') self.inpatient_substance = attributes[:'inpatient_substance'] end if attributes.has_key?(:'level') self.level = attributes[:'level'] end if attributes.has_key?(:'logo_url') self.logo_url = attributes[:'logo_url'] end if attributes.has_key?(:'name') self.name = attributes[:'name'] end if attributes.has_key?(:'network_size') self.network_size = attributes[:'network_size'] 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?(:'plan_type') self.plan_type = attributes[:'plan_type'] 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?(:'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 end |
Instance Attribute Details
#adult_dental ⇒ Object
Does the plan provide dental coverage for adults?
137 138 139 |
# File 'lib/vericred_client/models/plan.rb', line 137 def adult_dental @adult_dental end |
#age29_rider ⇒ Object
Returns the value of attribute age29_rider.
140 141 142 |
# File 'lib/vericred_client/models/plan.rb', line 140 def age29_rider @age29_rider end |
#ambulance ⇒ Object
Benefits string for ambulance coverage
143 144 145 |
# File 'lib/vericred_client/models/plan.rb', line 143 def ambulance @ambulance end |
#benefits_summary_url ⇒ Object
Link to the summary of benefits and coverage (SBC) document.
146 147 148 |
# File 'lib/vericred_client/models/plan.rb', line 146 def benefits_summary_url @benefits_summary_url end |
#buy_link ⇒ Object
Link to a location to purchase the plan.
149 150 151 |
# File 'lib/vericred_client/models/plan.rb', line 149 def buy_link @buy_link end |
#carrier_name ⇒ Object
Name of the insurance carrier
152 153 154 |
# File 'lib/vericred_client/models/plan.rb', line 152 def carrier_name @carrier_name end |
#child_dental ⇒ Object
Does the plan provide dental coverage for children?
155 156 157 |
# File 'lib/vericred_client/models/plan.rb', line 155 def child_dental @child_dental end |
#child_eye_exam ⇒ Object
Child eye exam benefits summary
161 162 163 |
# File 'lib/vericred_client/models/plan.rb', line 161 def child_eye_exam @child_eye_exam end |
#child_eyewear ⇒ Object
Child eyewear benefits summary
158 159 160 |
# File 'lib/vericred_client/models/plan.rb', line 158 def child_eyewear @child_eyewear end |
#customer_service_phone_number ⇒ Object
Phone number to contact the insurance carrier
164 165 166 |
# File 'lib/vericred_client/models/plan.rb', line 164 def customer_service_phone_number @customer_service_phone_number end |
#diagnostic_test ⇒ Object
Diagnostic tests benefit summary
170 171 172 |
# File 'lib/vericred_client/models/plan.rb', line 170 def diagnostic_test @diagnostic_test end |
#dp_rider ⇒ Object
Is this a domestic plan?
173 174 175 |
# File 'lib/vericred_client/models/plan.rb', line 173 def dp_rider @dp_rider end |
#drug_formulary_url ⇒ Object
Link to the summary of drug benefits for the plan
176 177 178 |
# File 'lib/vericred_client/models/plan.rb', line 176 def drug_formulary_url @drug_formulary_url end |
#durable_medical_equipment ⇒ Object
Benefits summary for durable medical equipment
167 168 169 |
# File 'lib/vericred_client/models/plan.rb', line 167 def durable_medical_equipment @durable_medical_equipment end |
#effective_date ⇒ Object
Effective date of coverage.
179 180 181 |
# File 'lib/vericred_client/models/plan.rb', line 179 def effective_date @effective_date end |
#emergency_room ⇒ Object
Description of costs when visiting the ER
185 186 187 |
# File 'lib/vericred_client/models/plan.rb', line 185 def emergency_room @emergency_room end |
#expiration_date ⇒ Object
Expiration date of coverage.
182 183 184 |
# File 'lib/vericred_client/models/plan.rb', line 182 def expiration_date @expiration_date end |
#family_drug_deductible ⇒ Object
Deductible for drugs when a family is on the plan.
188 189 190 |
# File 'lib/vericred_client/models/plan.rb', line 188 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
191 192 193 |
# File 'lib/vericred_client/models/plan.rb', line 191 def family_drug_moop @family_drug_moop end |
#family_medical_deductible ⇒ Object
Deductible when a family is on the plan
194 195 196 |
# File 'lib/vericred_client/models/plan.rb', line 194 def family_medical_deductible @family_medical_deductible end |
#family_medical_moop ⇒ Object
Maximum out-of-pocket when a family is on the plan
197 198 199 |
# File 'lib/vericred_client/models/plan.rb', line 197 def family_medical_moop @family_medical_moop end |
#fp_rider ⇒ Object
Is this a family plan?
200 201 202 |
# File 'lib/vericred_client/models/plan.rb', line 200 def fp_rider @fp_rider end |
#generic_drugs ⇒ Object
Cost for generic drugs
203 204 205 |
# File 'lib/vericred_client/models/plan.rb', line 203 def generic_drugs @generic_drugs end |
#habilitation_services ⇒ Object
Habilitation services benefits summary
206 207 208 |
# File 'lib/vericred_client/models/plan.rb', line 206 def habilitation_services @habilitation_services end |
#hios_issuer_id ⇒ Object
Returns the value of attribute hios_issuer_id.
209 210 211 |
# File 'lib/vericred_client/models/plan.rb', line 209 def hios_issuer_id @hios_issuer_id end |
#home_health_care ⇒ Object
Home health care benefits summary
212 213 214 |
# File 'lib/vericred_client/models/plan.rb', line 212 def home_health_care @home_health_care end |
#hospice_service ⇒ Object
Hospice service benefits summary
215 216 217 |
# File 'lib/vericred_client/models/plan.rb', line 215 def hospice_service @hospice_service end |
#id ⇒ Object
Government-issued HIOS plan ID
218 219 220 |
# File 'lib/vericred_client/models/plan.rb', line 218 def id @id end |
#imaging ⇒ Object
Benefits summary for imaging coverage
221 222 223 |
# File 'lib/vericred_client/models/plan.rb', line 221 def imaging @imaging end |
#in_network_ids ⇒ Object
List of NPI numbers for Providers passed in who accept this Plan
224 225 226 |
# File 'lib/vericred_client/models/plan.rb', line 224 def in_network_ids @in_network_ids end |
#individual_drug_deductible ⇒ Object
Deductible for drugs when an individual is on the plan
227 228 229 |
# File 'lib/vericred_client/models/plan.rb', line 227 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
230 231 232 |
# File 'lib/vericred_client/models/plan.rb', line 230 def individual_drug_moop @individual_drug_moop end |
#individual_medical_deductible ⇒ Object
Deductible when an individual is on the plan
233 234 235 |
# File 'lib/vericred_client/models/plan.rb', line 233 def individual_medical_deductible @individual_medical_deductible end |
#individual_medical_moop ⇒ Object
Maximum out-of-pocket when an individual is on the plan
236 237 238 |
# File 'lib/vericred_client/models/plan.rb', line 236 def individual_medical_moop @individual_medical_moop end |
#inpatient_birth ⇒ Object
Inpatient birth benefits summary
239 240 241 |
# File 'lib/vericred_client/models/plan.rb', line 239 def inpatient_birth @inpatient_birth end |
#inpatient_facility ⇒ Object
Cost under the plan for an inpatient facility
242 243 244 |
# File 'lib/vericred_client/models/plan.rb', line 242 def inpatient_facility @inpatient_facility end |
#inpatient_mental_health ⇒ Object
Inpatient mental helath benefits summary
245 246 247 |
# File 'lib/vericred_client/models/plan.rb', line 245 def inpatient_mental_health @inpatient_mental_health end |
#inpatient_physician ⇒ Object
Cost under the plan for an inpatient physician
248 249 250 |
# File 'lib/vericred_client/models/plan.rb', line 248 def inpatient_physician @inpatient_physician end |
#inpatient_substance ⇒ Object
Inpatient substance abuse benefits summary
251 252 253 |
# File 'lib/vericred_client/models/plan.rb', line 251 def inpatient_substance @inpatient_substance end |
#level ⇒ Object
Plan metal grouping (e.g. platinum, gold, silver, etc)
254 255 256 |
# File 'lib/vericred_client/models/plan.rb', line 254 def level @level end |
#logo_url ⇒ Object
Link to a copy of the insurance carrier’s logo
257 258 259 |
# File 'lib/vericred_client/models/plan.rb', line 257 def logo_url @logo_url end |
#name ⇒ Object
Marketing name of the plan
260 261 262 |
# File 'lib/vericred_client/models/plan.rb', line 260 def name @name end |
#network_size ⇒ Object
Total number of Providers in network
263 264 265 |
# File 'lib/vericred_client/models/plan.rb', line 263 def network_size @network_size end |
#non_preferred_brand_drugs ⇒ Object
Cost under the plan for non-preferred brand drugs
266 267 268 |
# File 'lib/vericred_client/models/plan.rb', line 266 def non_preferred_brand_drugs @non_preferred_brand_drugs end |
#off_market ⇒ Object
Is the plan off-market?
272 273 274 |
# File 'lib/vericred_client/models/plan.rb', line 272 def off_market @off_market end |
#on_market ⇒ Object
Is the plan on-market?
269 270 271 |
# File 'lib/vericred_client/models/plan.rb', line 269 def on_market @on_market end |
#out_of_network_coverage ⇒ Object
Does this plan provide any out of network coverage?
275 276 277 |
# File 'lib/vericred_client/models/plan.rb', line 275 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
278 279 280 |
# File 'lib/vericred_client/models/plan.rb', line 278 def out_of_network_ids @out_of_network_ids end |
#outpatient_facility ⇒ Object
Benefits summary for outpatient facility coverage
281 282 283 |
# File 'lib/vericred_client/models/plan.rb', line 281 def outpatient_facility @outpatient_facility end |
#outpatient_mental_health ⇒ Object
Benefits summary for outpatient mental health coverage
284 285 286 |
# File 'lib/vericred_client/models/plan.rb', line 284 def outpatient_mental_health @outpatient_mental_health end |
#outpatient_physician ⇒ Object
Benefits summary for outpatient physician coverage
287 288 289 |
# File 'lib/vericred_client/models/plan.rb', line 287 def outpatient_physician @outpatient_physician end |
#outpatient_substance ⇒ Object
Outpatient substance abuse benefits summary
290 291 292 |
# File 'lib/vericred_client/models/plan.rb', line 290 def outpatient_substance @outpatient_substance end |
#plan_market ⇒ Object
Market in which the plan is offered (on_marketplace, shop, etc)
293 294 295 |
# File 'lib/vericred_client/models/plan.rb', line 293 def plan_market @plan_market end |
#plan_type ⇒ Object
Category of the plan (e.g. EPO, HMO, PPO, POS, Indemnity)
296 297 298 |
# File 'lib/vericred_client/models/plan.rb', line 296 def plan_type @plan_type end |
#preferred_brand_drugs ⇒ Object
Cost under the plan for perferred brand drugs
299 300 301 |
# File 'lib/vericred_client/models/plan.rb', line 299 def preferred_brand_drugs @preferred_brand_drugs end |
#premium ⇒ Object
Cumulative premium amount
311 312 313 |
# File 'lib/vericred_client/models/plan.rb', line 311 def premium @premium end |
#premium_subsidized ⇒ Object
Cumulative premium amount after subsidy
308 309 310 |
# File 'lib/vericred_client/models/plan.rb', line 308 def premium_subsidized @premium_subsidized end |
#prenatal_postnatal_care ⇒ Object
Inpatient substance abuse benefits summary
302 303 304 |
# File 'lib/vericred_client/models/plan.rb', line 302 def prenatal_postnatal_care @prenatal_postnatal_care end |
#preventative_care ⇒ Object
Benefits summary for preventative care
305 306 307 |
# File 'lib/vericred_client/models/plan.rb', line 305 def preventative_care @preventative_care end |
#primary_care_physician ⇒ Object
Cost under the plan to visit a Primary Care Physician
314 315 316 |
# File 'lib/vericred_client/models/plan.rb', line 314 def primary_care_physician @primary_care_physician end |
#rehabilitation_services ⇒ Object
Benefits summary for rehabilitation services
317 318 319 |
# File 'lib/vericred_client/models/plan.rb', line 317 def rehabilitation_services @rehabilitation_services end |
#skilled_nursing ⇒ Object
Benefits summary for skilled nursing services
320 321 322 |
# File 'lib/vericred_client/models/plan.rb', line 320 def skilled_nursing @skilled_nursing end |
#specialist ⇒ Object
Cost under the plan to visit a specialist
323 324 325 |
# File 'lib/vericred_client/models/plan.rb', line 323 def specialist @specialist end |
#specialty_drugs ⇒ Object
Cost under the plan for specialty drugs
326 327 328 |
# File 'lib/vericred_client/models/plan.rb', line 326 def specialty_drugs @specialty_drugs end |
#urgent_care ⇒ Object
Benefits summary for urgent care
329 330 331 |
# File 'lib/vericred_client/models/plan.rb', line 329 def urgent_care @urgent_care end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
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 392 393 394 395 396 397 398 399 400 401 |
# File 'lib/vericred_client/models/plan.rb', line 333 def self.attribute_map { :'adult_dental' => :'adult_dental', :'age29_rider' => :'age29_rider', :'ambulance' => :'ambulance', :'benefits_summary_url' => :'benefits_summary_url', :'buy_link' => :'buy_link', :'carrier_name' => :'carrier_name', :'child_dental' => :'child_dental', :'child_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', :'effective_date' => :'effective_date', :'expiration_date' => :'expiration_date', :'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', :'id' => :'id', :'imaging' => :'imaging', :'in_network_ids' => :'in_network_ids', :'individual_drug_deductible' => :'individual_drug_deductible', :'individual_drug_moop' => :'individual_drug_moop', :'individual_medical_deductible' => :'individual_medical_deductible', :'individual_medical_moop' => :'individual_medical_moop', :'inpatient_birth' => :'inpatient_birth', :'inpatient_facility' => :'inpatient_facility', :'inpatient_mental_health' => :'inpatient_mental_health', :'inpatient_physician' => :'inpatient_physician', :'inpatient_substance' => :'inpatient_substance', :'level' => :'level', :'logo_url' => :'logo_url', :'name' => :'name', :'network_size' => :'network_size', :'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', :'plan_type' => :'plan_type', :'preferred_brand_drugs' => :'preferred_brand_drugs', :'prenatal_postnatal_care' => :'prenatal_postnatal_care', :'preventative_care' => :'preventative_care', :'premium_subsidized' => :'premium_subsidized', :'premium' => :'premium', :'primary_care_physician' => :'primary_care_physician', :'rehabilitation_services' => :'rehabilitation_services', :'skilled_nursing' => :'skilled_nursing', :'specialist' => :'specialist', :'specialty_drugs' => :'specialty_drugs', :'urgent_care' => :'urgent_care' } end |
.swagger_types ⇒ Object
Attribute type mapping.
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 |
# File 'lib/vericred_client/models/plan.rb', line 404 def self.swagger_types { :'adult_dental' => :'BOOLEAN', :'age29_rider' => :'BOOLEAN', :'ambulance' => :'String', :'benefits_summary_url' => :'String', :'buy_link' => :'String', :'carrier_name' => :'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', :'effective_date' => :'String', :'expiration_date' => :'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', :'id' => :'String', :'imaging' => :'String', :'in_network_ids' => :'Array<Integer>', :'individual_drug_deductible' => :'String', :'individual_drug_moop' => :'String', :'individual_medical_deductible' => :'String', :'individual_medical_moop' => :'String', :'inpatient_birth' => :'String', :'inpatient_facility' => :'String', :'inpatient_mental_health' => :'String', :'inpatient_physician' => :'String', :'inpatient_substance' => :'String', :'level' => :'String', :'logo_url' => :'String', :'name' => :'String', :'network_size' => :'Integer', :'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', :'plan_type' => :'String', :'preferred_brand_drugs' => :'String', :'prenatal_postnatal_care' => :'String', :'preventative_care' => :'String', :'premium_subsidized' => :'Float', :'premium' => :'Float', :'primary_care_physician' => :'String', :'rehabilitation_services' => :'String', :'skilled_nursing' => :'String', :'specialist' => :'String', :'specialty_drugs' => :'String', :'urgent_care' => :'String' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
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 |
# File 'lib/vericred_client/models/plan.rb', line 763 def ==(o) return true if self.equal?(o) self.class == o.class && adult_dental == o.adult_dental && age29_rider == o.age29_rider && ambulance == o.ambulance && benefits_summary_url == o.benefits_summary_url && buy_link == o.buy_link && carrier_name == o.carrier_name && child_dental == o.child_dental && child_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 && effective_date == o.effective_date && expiration_date == o.expiration_date && 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 && id == o.id && imaging == o.imaging && in_network_ids == o.in_network_ids && individual_drug_deductible == o.individual_drug_deductible && individual_drug_moop == o.individual_drug_moop && individual_medical_deductible == o.individual_medical_deductible && individual_medical_moop == o.individual_medical_moop && inpatient_birth == o.inpatient_birth && inpatient_facility == o.inpatient_facility && inpatient_mental_health == o.inpatient_mental_health && inpatient_physician == o.inpatient_physician && inpatient_substance == o.inpatient_substance && level == o.level && logo_url == o.logo_url && name == o.name && network_size == o.network_size && 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 && plan_type == o.plan_type && 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 && 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 end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
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 |
# File 'lib/vericred_client/models/plan.rb', line 869 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 =~ /^(true|t|yes|y|1)$/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
935 936 937 938 939 940 941 942 943 944 945 946 947 |
# File 'lib/vericred_client/models/plan.rb', line 935 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
848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 |
# File 'lib/vericred_client/models/plan.rb', line 848 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /^Array<(.*)>/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
835 836 837 |
# File 'lib/vericred_client/models/plan.rb', line 835 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
841 842 843 |
# File 'lib/vericred_client/models/plan.rb', line 841 def hash [adult_dental, age29_rider, ambulance, benefits_summary_url, buy_link, carrier_name, child_dental, child_eyewear, child_eye_exam, customer_service_phone_number, durable_medical_equipment, diagnostic_test, dp_rider, drug_formulary_url, effective_date, expiration_date, 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, id, imaging, in_network_ids, individual_drug_deductible, individual_drug_moop, individual_medical_deductible, individual_medical_moop, inpatient_birth, inpatient_facility, inpatient_mental_health, inpatient_physician, inpatient_substance, level, logo_url, name, network_size, 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, plan_type, preferred_brand_drugs, prenatal_postnatal_care, preventative_care, premium_subsidized, premium, primary_care_physician, rehabilitation_services, skilled_nursing, specialist, specialty_drugs, urgent_care].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
750 751 752 753 |
# File 'lib/vericred_client/models/plan.rb', line 750 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)
915 916 917 |
# File 'lib/vericred_client/models/plan.rb', line 915 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
921 922 923 924 925 926 927 928 929 |
# File 'lib/vericred_client/models/plan.rb', line 921 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
909 910 911 |
# File 'lib/vericred_client/models/plan.rb', line 909 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
757 758 759 |
# File 'lib/vericred_client/models/plan.rb', line 757 def valid? return true end |