class VericredClient::MedicareAdvantagePlanBenefits

Attributes

ambulance[RW]

Ambulance benefit string

catastrophic_brand_name[RW]

Catastrophic Brand Name benefit string

catastrophic_excluded[RW]

Catastrophic Excluded benefit string

catastrophic_generic[RW]

Catastrophic Generic benefit string

chemotherapy_drug[RW]

Chemotherapy Drug benefit string

deductible_annual_drug[RW]

Deductible Annual Drug benefit string

deductible_annual_medical[RW]

Deductible Annual Medical benefit string

dental_cleaning[RW]

Dental Cleaning benefit string

dental_diagnostic_services[RW]

Dental Diagnostics Services benefit string

dental_endodontics[RW]

Dental Endodontics benefit string

dental_exam[RW]

Dental Exam benefit string

dental_extraction[RW]

Dental Extraction benefit string

dental_fluoride_treatment[RW]

Dental Extraction benefit string

dental_medicare_covered_benefits[RW]

Dental Medicare Covered Benefits benefit string

dental_non_routine_services[RW]

Dental Non-Routine Services benefit string

dental_periodontics[RW]

Dental Peridontics benefit string

dental_prosthodontics_and_other[RW]

Dental Prosthodontics And Other benefit string

dental_restorative_services[RW]

Dental Prosthodontics And Other benefit string

dental_x_rays[RW]

Dental X-rays benefit string

diabetes_management_monitoring_supplies[RW]

Diabetes Management Monitoring Supplies benefit string

diagnostic_lab_service[RW]

Diagnostic Lab Service benefit string

diagnostic_outpatient_x_rays[RW]

Diagnostic Outpatient X-rays benefit string

diagnostic_radiology[RW]

Diagnostic Radiology benefit string

diagnostic_test_and_procedures[RW]

Diagnostic Test and Procedures benefit string

diagnostic_therapeutic_radiology[RW]

Diagnostic Therapeutic Radiology benefit string

doctor_visit_primary[RW]

Doctor Visit Primary benefit string

doctor_visit_specialist[RW]

Doctor Visit Specialist benefit string

durable_medical_equipment[RW]

Durable Medical Equipment benefit string

emergency_care[RW]

Emergency Care benefit string

gap_brand_name[RW]

Gap Brand Name benefit string

gap_generic[RW]

Gap Generic benefit string

gap_generic_preferred_mail_1_month[RW]

Gap Generic Preferred Mail 1 Month benefit string

gap_generic_preferred_mail_3_month[RW]

Gap Generic Preferred Mail 3 Month benefit string

gap_generic_preferred_retail_1_month[RW]

Gap Generic Preferred Retail 1 Month benefit string

gap_generic_preferred_retail_3_month[RW]

Gap Generic Preferred Retail 3 Month benefit string

gap_generic_standard_mail_1_month[RW]

Gap Generic Standard Mail 1 Month benefit string

gap_generic_standard_mail_3_month[RW]

Gap Generic Standard Mail 3 Month benefit string

gap_generic_standard_retail_1_month[RW]

Gap Generic Standard Retail 1 Month benefit string

gap_generic_standard_retail_3_month[RW]

Gap Generic Standard Retail 3 Month benefit string

gap_non_preferred_preferred_mail_1_month[RW]

Gap Non-Preferred Preferred Mail 1 Month benefit string

gap_non_preferred_preferred_mail_3_month[RW]

Gap Non-Preferred Preferred Mail 3 Month benefit string

gap_non_preferred_preferred_retail_1_month[RW]

Gap Non-Preferred Preferred Retail 1 Month benefit string

gap_non_preferred_preferred_retail_3_month[RW]

Gap Non-Preferred Preferred Retail 3 Month benefit string

gap_non_preferred_standard_mail_1_month[RW]

Gap Non-Preferred Preferred Mail 1 Month benefit string

gap_non_preferred_standard_mail_3_month[RW]

Gap Non-Preferred Standard Mail 3 Month benefit string

gap_non_preferred_standard_retail_1_month[RW]

Gap Non-Preferred Standard Retail 1 Month benefit string

gap_non_preferred_standard_retail_3_month[RW]

Gap Non-Preferred Standard Retail 3 Month benefit string

gap_preferred_brand_preferred_mail_1_month[RW]

Gap Preferred Brand Preferred Mail 1 Month benefit string

gap_preferred_brand_preferred_mail_3_month[RW]

Gap Preferred Brand Preferred Mail 3 Month benefit string

gap_preferred_brand_preferred_retail_1_month[RW]

Gap Preferred Brand Preferred Retail 1 Month benefit string

gap_preferred_brand_preferred_retail_3_month[RW]

Gap Preferred Brand Preferred Retail 3 Month benefit string

gap_preferred_brand_standard_mail_1_month[RW]

Gap Preferred Brand Standard Mail 1 Month benefit string

gap_preferred_brand_standard_mail_3_month[RW]

Gap Preferred Brand Standard Mail 3 Month benefit string

gap_preferred_brand_standard_retail_1_month[RW]

Gap Preferred Brand Standard Retail 1 Month benefit string

gap_preferred_brand_standard_retail_3_month[RW]

Gap Preferred Brand Standard Retail 3 Month benefit string

gap_preferred_generic_preferred_mail_1_month[RW]

Gap Preferred Generic Preferred Mail 1 Month benefit string

gap_preferred_generic_preferred_mail_3_month[RW]

Gap Preferred Generic Preferred Mail 3 Month benefit string

gap_preferred_generic_preferred_retail_1_month[RW]

Gap Preferred Generic Preferred Retail 1 Month benefit string

gap_preferred_generic_preferred_retail_3_month[RW]

Gap Preferred Generic Preferred Retail 3 Month benefit string

gap_preferred_generic_standard_mail_1_month[RW]

Gap Preferred Generic Standard Mail 1 Month benefit string

gap_preferred_generic_standard_mail_3_month[RW]

Gap Preferred Generic Standard Mail 3 Month benefit string

gap_preferred_generic_standard_retail_1_month[RW]

Gap Preferred Generic Standard Retail 1 Month benefit string

gap_preferred_generic_standard_retail_3_month[RW]

Gap Preferred Generic Standard Retail 3 Month benefit string

gap_specialty_preferred_mail_1_month[RW]

Gap Specialty Preferred Mail 1 Month benefit string

gap_specialty_preferred_mail_3_month[RW]

Gap Specialty Preferred Mail 3 Month benefit string

gap_specialty_preferred_retail_1_month[RW]

Gap Specialty Preferred Retail 1 Month benefit string

gap_specialty_preferred_retail_3_month[RW]

Gap Specialty Preferred Retail 3 Month benefit string

gap_specialty_standard_mail_1_month[RW]

Gap Specialty Standard Mail 1 Month benefit string

gap_specialty_standard_mail_3_month[RW]

Gap Specialty Standard Mail 3 Month benefit string

gap_specialty_standard_retail_1_month[RW]

Gap Specialty Standard Retail 1 Month benefit string

gap_specialty_standard_retail_3_month[RW]

Gap Specialty Standard Retail 3 Month benefit string

hearing_aids[RW]

Hearing Aids benefit string

hearing_aids_fitting_and_evaluation[RW]

Hearing Aids Fitting and Evaluation benefit string

hearing_exam[RW]

Hearing Exam benefit string

hearing_medicare_covered_benefits[RW]

Hearing Medicare Covered Benefits benefit string

home_health_care[RW]

Home Health Care benefit string

hospice[RW]

Hospice benefit string

initial_generic_preferred_mail_1_month[RW]

Initial Generic Preferred Mail 1 Month benefit string

initial_generic_preferred_mail_3_month[RW]

Initial Generic Preferred Mail 3 Month benefit string

initial_generic_preferred_retail_1_month[RW]

Initial Generic Preferred Retail 1 Month benefit string

initial_generic_preferred_retail_3_month[RW]

Initial Generic Preferred Retail 3 Month benefit string

initial_generic_standard_mail_1_month[RW]

Initial Generic Standard Mail 1 Month benefit string

initial_generic_standard_mail_3_month[RW]

Initial Generic Standard Mail 3 Month benefit string

initial_generic_standard_retail_1_month[RW]

Initial Generic Standard Retail 1 Month benefit string

initial_generic_standard_retail_3_month[RW]

Initial Generic Standard Retail 3 Month benefit string

initial_non_preferred_preferred_mail_1_month[RW]

Initial Non-Preferred Preferred Mail 1 Month benefit string

initial_non_preferred_preferred_mail_3_month[RW]

Initial Non-Preferred Preferred Mail 3 Month benefit string

initial_non_preferred_preferred_retail_1_month[RW]

Initial Non-Preferred Preferred Retail 1 Month benefit string

initial_non_preferred_preferred_retail_3_month[RW]

Initial Non-Preferred Preferred Retail 3 Month benefit string

initial_non_preferred_standard_mail_1_month[RW]

Initial Non-Preferred Preferred Mail 1 Month benefit string

initial_non_preferred_standard_mail_3_month[RW]

Initial Non-Preferred Standard Mail 3 Month benefit string

initial_non_preferred_standard_retail_1_month[RW]

Initial Non-Preferred Standard Retail 1 Month benefit string

initial_non_preferred_standard_retail_3_month[RW]

Initial Non-Preferred Standard Retail 3 Month benefit string

initial_preferred_brand_preferred_mail_1_month[RW]

Initial Preferred Brand Preferred Mail 1 Month benefit string

initial_preferred_brand_preferred_mail_3_month[RW]

Initial Preferred Brand Preferred Mail 3 Month benefit string

initial_preferred_brand_preferred_retail_1_month[RW]

Initial Preferred Brand Preferred Retail 1 Month benefit string

initial_preferred_brand_preferred_retail_3_month[RW]

Initial Preferred Brand Preferred Retail 3 Month benefit string

initial_preferred_brand_standard_mail_1_month[RW]

Initial Preferred Brand Standard Mail 1 Month benefit string

initial_preferred_brand_standard_mail_3_month[RW]

Initial Preferred Brand Standard Mail 3 Month benefit string

initial_preferred_brand_standard_retail_1_month[RW]

Initial Preferred Brand Standard Retail 1 Month benefit string

initial_preferred_brand_standard_retail_3_month[RW]

Initial Preferred Brand Standard Retail 3 Month benefit string

initial_preferred_generic_preferred_mail_1_month[RW]

Initial Preferred Generic Preferred Mail 1 Month benefit string

initial_preferred_generic_preferred_mail_3_month[RW]

Initial Preferred Generic Preferred Mail 3 Month benefit string

initial_preferred_generic_preferred_retail_1_month[RW]

Initial Preferred Generic Preferred Retail 1 Month benefit string

initial_preferred_generic_preferred_retail_3_month[RW]

Initial Preferred Generic Preferred Retail 3 Month benefit string

initial_preferred_generic_standard_mail_1_month[RW]

Initial Preferred Generic Standard Mail 1 Month benefit string

initial_preferred_generic_standard_mail_3_month[RW]

Initial Preferred Generic Standard Mail 3 Month benefit string

initial_preferred_generic_standard_retail_1_month[RW]

Initial Preferred Generic Standard Retail 1 Month benefit string

initial_preferred_generic_standard_retail_3_month[RW]

Initial Preferred Generic Standard Retail 3 Month benefit string

initial_specialty_preferred_mail_1_month[RW]

Initial Specialty Preferred Mail 1 Month benefit string

initial_specialty_preferred_mail_3_month[RW]

Initial Specialty Preferred Mail 3 Month benefit string

initial_specialty_preferred_retail_1_month[RW]

Initial Specialty Preferred Retail 1 Month benefit string

initial_specialty_preferred_retail_3_month[RW]

Initial Specialty Preferred Retail 3 Month benefit string

initial_specialty_standard_mail_1_month[RW]

Initial Specialty Standard Mail 1 Month benefit string

initial_specialty_standard_mail_3_month[RW]

Initial Specialty Standard Mail 3 Month benefit string

initial_specialty_standard_retail_1_month[RW]

Initial Specialty Standard Retail 1 Month benefit string

initial_specialty_standard_retail_3_month[RW]

Initial Specialty Standard Retail 3 Month benefit string

inpatient_hospital[RW]

Inpatient Hospital benefit string

medical_chiropractic_services[RW]

Medical Chiropractic Services benefit string

medical_moop[RW]

Medical Medicare Advantage Maxiumum Out-Of-Pocket benefit string

mental_health_inpatient_visit[RW]

Medical Medicare Advantage Maxiumum Out-Of-Pocket benefit string

mental_health_outpatient_group_therapy[RW]

Medical Health Outpatient Group Therapy benefit string

mental_health_outpatient_individual_therapy[RW]

Medical Health Outpatient Individual Therapy benefit string

other_part_b_drug[RW]

Other Part B Drug benefit string

outpatient_hospital[RW]

Outpatient Hospital benefit string

physical_therapy[RW]

Physical Therapy benefit string

podiatry_medicare_covered_benefits[RW]

Podiatry Medicare Covered Benefits benefit string

podiatry_routine_footcare[RW]

Podiatry Routine Footcare benefit string

preventive_care[RW]

Preventive Care benefit string

prosthetics[RW]

Prosthetics benefit string

rehabilitation_occupational_therapy[RW]

Rehabilitation Occupational Therapy benefit string

renal_dialysis[RW]

Rehabilitation Occupational Therapy benefit string

routine_transportation[RW]

Rehabilitation Occupational Therapy benefit string

skilled_nursing_facility[RW]

Skilled Nursing Facility benefit string

urgent_care[RW]

Urgent Care benefit string

vision_contact_lenses[RW]

Vision Contact Lenses benefit string

vision_exam[RW]

Vision Exam benefit string

vision_eyeglass_frames_and_lenses[RW]

Vision Eyeglasses Frames and Lenses benefit string

vision_medicare_covered_benefits[RW]

Vision Medicare Covered Benefits benefit string

vision_upgrades[RW]

Vision Upgrades benefit string

wellness_program[RW]

Wellness Program benefit string

Public Class Methods

attribute_map() click to toggle source

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

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 1442
def self.attribute_map
  {
    :'ambulance' => :'ambulance',
    :'catastrophic_brand_name' => :'catastrophic_brand_name',
    :'catastrophic_excluded' => :'catastrophic_excluded',
    :'catastrophic_generic' => :'catastrophic_generic',
    :'chemotherapy_drug' => :'chemotherapy_drug',
    :'deductible_annual_drug' => :'deductible_annual_drug',
    :'deductible_annual_medical' => :'deductible_annual_medical',
    :'dental_cleaning' => :'dental_cleaning',
    :'dental_diagnostic_services' => :'dental_diagnostic_services',
    :'dental_endodontics' => :'dental_endodontics',
    :'dental_exam' => :'dental_exam',
    :'dental_extraction' => :'dental_extraction',
    :'dental_fluoride_treatment' => :'dental_fluoride_treatment',
    :'dental_medicare_covered_benefits' => :'dental_medicare_covered_benefits',
    :'dental_non_routine_services' => :'dental_non_routine_services',
    :'dental_periodontics' => :'dental_periodontics',
    :'dental_prosthodontics_and_other' => :'dental_prosthodontics_and_other',
    :'dental_restorative_services' => :'dental_restorative_services',
    :'dental_x_rays' => :'dental_x_rays',
    :'diabetes_management_monitoring_supplies' => :'diabetes_management_monitoring_supplies',
    :'diagnostic_lab_service' => :'diagnostic_lab_service',
    :'diagnostic_outpatient_x_rays' => :'diagnostic_outpatient_x_rays',
    :'diagnostic_radiology' => :'diagnostic_radiology',
    :'diagnostic_test_and_procedures' => :'diagnostic_test_and_procedures',
    :'diagnostic_therapeutic_radiology' => :'diagnostic_therapeutic_radiology',
    :'doctor_visit_primary' => :'doctor_visit_primary',
    :'doctor_visit_specialist' => :'doctor_visit_specialist',
    :'durable_medical_equipment' => :'durable_medical_equipment',
    :'emergency_care' => :'emergency_care',
    :'gap_brand_name' => :'gap_brand_name',
    :'gap_generic' => :'gap_generic',
    :'gap_generic_preferred_mail_1_month' => :'gap_generic_preferred_mail_1_month',
    :'gap_generic_preferred_mail_3_month' => :'gap_generic_preferred_mail_3_month',
    :'gap_generic_preferred_retail_1_month' => :'gap_generic_preferred_retail_1_month',
    :'gap_generic_preferred_retail_3_month' => :'gap_generic_preferred_retail_3_month',
    :'gap_generic_standard_mail_1_month' => :'gap_generic_standard_mail_1_month',
    :'gap_generic_standard_mail_3_month' => :'gap_generic_standard_mail_3_month',
    :'gap_generic_standard_retail_1_month' => :'gap_generic_standard_retail_1_month',
    :'gap_generic_standard_retail_3_month' => :'gap_generic_standard_retail_3_month',
    :'gap_non_preferred_preferred_mail_1_month' => :'gap_non_preferred_preferred_mail_1_month',
    :'gap_non_preferred_preferred_mail_3_month' => :'gap_non_preferred_preferred_mail_3_month',
    :'gap_non_preferred_preferred_retail_1_month' => :'gap_non_preferred_preferred_retail_1_month',
    :'gap_non_preferred_preferred_retail_3_month' => :'gap_non_preferred_preferred_retail_3_month',
    :'gap_non_preferred_standard_mail_1_month' => :'gap_non_preferred_standard_mail_1_month',
    :'gap_non_preferred_standard_mail_3_month' => :'gap_non_preferred_standard_mail_3_month',
    :'gap_non_preferred_standard_retail_1_month' => :'gap_non_preferred_standard_retail_1_month',
    :'gap_non_preferred_standard_retail_3_month' => :'gap_non_preferred_standard_retail_3_month',
    :'gap_preferred_brand_preferred_mail_1_month' => :'gap_preferred_brand_preferred_mail_1_month',
    :'gap_preferred_brand_preferred_mail_3_month' => :'gap_preferred_brand_preferred_mail_3_month',
    :'gap_preferred_brand_preferred_retail_1_month' => :'gap_preferred_brand_preferred_retail_1_month',
    :'gap_preferred_brand_preferred_retail_3_month' => :'gap_preferred_brand_preferred_retail_3_month',
    :'gap_preferred_brand_standard_mail_1_month' => :'gap_preferred_brand_standard_mail_1_month',
    :'gap_preferred_brand_standard_mail_3_month' => :'gap_preferred_brand_standard_mail_3_month',
    :'gap_preferred_brand_standard_retail_1_month' => :'gap_preferred_brand_standard_retail_1_month',
    :'gap_preferred_brand_standard_retail_3_month' => :'gap_preferred_brand_standard_retail_3_month',
    :'gap_preferred_generic_preferred_mail_1_month' => :'gap_preferred_generic_preferred_mail_1_month',
    :'gap_preferred_generic_preferred_mail_3_month' => :'gap_preferred_generic_preferred_mail_3_month',
    :'gap_preferred_generic_preferred_retail_1_month' => :'gap_preferred_generic_preferred_retail_1_month',
    :'gap_preferred_generic_preferred_retail_3_month' => :'gap_preferred_generic_preferred_retail_3_month',
    :'gap_preferred_generic_standard_mail_1_month' => :'gap_preferred_generic_standard_mail_1_month',
    :'gap_preferred_generic_standard_mail_3_month' => :'gap_preferred_generic_standard_mail_3_month',
    :'gap_preferred_generic_standard_retail_1_month' => :'gap_preferred_generic_standard_retail_1_month',
    :'gap_preferred_generic_standard_retail_3_month' => :'gap_preferred_generic_standard_retail_3_month',
    :'gap_specialty_preferred_mail_1_month' => :'gap_specialty_preferred_mail_1_month',
    :'gap_specialty_preferred_mail_3_month' => :'gap_specialty_preferred_mail_3_month',
    :'gap_specialty_preferred_retail_1_month' => :'gap_specialty_preferred_retail_1_month',
    :'gap_specialty_preferred_retail_3_month' => :'gap_specialty_preferred_retail_3_month',
    :'gap_specialty_standard_mail_1_month' => :'gap_specialty_standard_mail_1_month',
    :'gap_specialty_standard_mail_3_month' => :'gap_specialty_standard_mail_3_month',
    :'gap_specialty_standard_retail_1_month' => :'gap_specialty_standard_retail_1_month',
    :'gap_specialty_standard_retail_3_month' => :'gap_specialty_standard_retail_3_month',
    :'hearing_aids' => :'hearing_aids',
    :'hearing_aids_fitting_and_evaluation' => :'hearing_aids_fitting_and_evaluation',
    :'hearing_exam' => :'hearing_exam',
    :'hearing_medicare_covered_benefits' => :'hearing_medicare_covered_benefits',
    :'home_health_care' => :'home_health_care',
    :'hospice' => :'hospice',
    :'initial_generic_preferred_mail_1_month' => :'initial_generic_preferred_mail_1_month',
    :'initial_generic_preferred_mail_3_month' => :'initial_generic_preferred_mail_3_month',
    :'initial_generic_preferred_retail_1_month' => :'initial_generic_preferred_retail_1_month',
    :'initial_generic_preferred_retail_3_month' => :'initial_generic_preferred_retail_3_month',
    :'initial_generic_standard_mail_1_month' => :'initial_generic_standard_mail_1_month',
    :'initial_generic_standard_mail_3_month' => :'initial_generic_standard_mail_3_month',
    :'initial_generic_standard_retail_1_month' => :'initial_generic_standard_retail_1_month',
    :'initial_generic_standard_retail_3_month' => :'initial_generic_standard_retail_3_month',
    :'initial_non_preferred_preferred_mail_1_month' => :'initial_non_preferred_preferred_mail_1_month',
    :'initial_non_preferred_preferred_mail_3_month' => :'initial_non_preferred_preferred_mail_3_month',
    :'initial_non_preferred_preferred_retail_1_month' => :'initial_non_preferred_preferred_retail_1_month',
    :'initial_non_preferred_preferred_retail_3_month' => :'initial_non_preferred_preferred_retail_3_month',
    :'initial_non_preferred_standard_mail_1_month' => :'initial_non_preferred_standard_mail_1_month',
    :'initial_non_preferred_standard_mail_3_month' => :'initial_non_preferred_standard_mail_3_month',
    :'initial_non_preferred_standard_retail_1_month' => :'initial_non_preferred_standard_retail_1_month',
    :'initial_non_preferred_standard_retail_3_month' => :'initial_non_preferred_standard_retail_3_month',
    :'initial_preferred_brand_preferred_mail_1_month' => :'initial_preferred_brand_preferred_mail_1_month',
    :'initial_preferred_brand_preferred_mail_3_month' => :'initial_preferred_brand_preferred_mail_3_month',
    :'initial_preferred_brand_preferred_retail_1_month' => :'initial_preferred_brand_preferred_retail_1_month',
    :'initial_preferred_brand_preferred_retail_3_month' => :'initial_preferred_brand_preferred_retail_3_month',
    :'initial_preferred_brand_standard_mail_1_month' => :'initial_preferred_brand_standard_mail_1_month',
    :'initial_preferred_brand_standard_mail_3_month' => :'initial_preferred_brand_standard_mail_3_month',
    :'initial_preferred_brand_standard_retail_1_month' => :'initial_preferred_brand_standard_retail_1_month',
    :'initial_preferred_brand_standard_retail_3_month' => :'initial_preferred_brand_standard_retail_3_month',
    :'initial_preferred_generic_preferred_mail_1_month' => :'initial_preferred_generic_preferred_mail_1_month',
    :'initial_preferred_generic_preferred_mail_3_month' => :'initial_preferred_generic_preferred_mail_3_month',
    :'initial_preferred_generic_preferred_retail_1_month' => :'initial_preferred_generic_preferred_retail_1_month',
    :'initial_preferred_generic_preferred_retail_3_month' => :'initial_preferred_generic_preferred_retail_3_month',
    :'initial_preferred_generic_standard_mail_1_month' => :'initial_preferred_generic_standard_mail_1_month',
    :'initial_preferred_generic_standard_mail_3_month' => :'initial_preferred_generic_standard_mail_3_month',
    :'initial_preferred_generic_standard_retail_1_month' => :'initial_preferred_generic_standard_retail_1_month',
    :'initial_preferred_generic_standard_retail_3_month' => :'initial_preferred_generic_standard_retail_3_month',
    :'initial_specialty_preferred_mail_1_month' => :'initial_specialty_preferred_mail_1_month',
    :'initial_specialty_preferred_mail_3_month' => :'initial_specialty_preferred_mail_3_month',
    :'initial_specialty_preferred_retail_1_month' => :'initial_specialty_preferred_retail_1_month',
    :'initial_specialty_preferred_retail_3_month' => :'initial_specialty_preferred_retail_3_month',
    :'initial_specialty_standard_mail_1_month' => :'initial_specialty_standard_mail_1_month',
    :'initial_specialty_standard_mail_3_month' => :'initial_specialty_standard_mail_3_month',
    :'initial_specialty_standard_retail_1_month' => :'initial_specialty_standard_retail_1_month',
    :'initial_specialty_standard_retail_3_month' => :'initial_specialty_standard_retail_3_month',
    :'inpatient_hospital' => :'inpatient_hospital',
    :'medical_chiropractic_services' => :'medical_chiropractic_services',
    :'medical_moop' => :'medical_moop',
    :'mental_health_inpatient_visit' => :'mental_health_inpatient_visit',
    :'mental_health_outpatient_group_therapy' => :'mental_health_outpatient_group_therapy',
    :'mental_health_outpatient_individual_therapy' => :'mental_health_outpatient_individual_therapy',
    :'other_part_b_drug' => :'other_part_b_drug',
    :'outpatient_hospital' => :'outpatient_hospital',
    :'physical_therapy' => :'physical_therapy',
    :'podiatry_medicare_covered_benefits' => :'podiatry_medicare_covered_benefits',
    :'podiatry_routine_footcare' => :'podiatry_routine_footcare',
    :'preventive_care' => :'preventive_care',
    :'prosthetics' => :'prosthetics',
    :'rehabilitation_occupational_therapy' => :'rehabilitation_occupational_therapy',
    :'renal_dialysis' => :'renal_dialysis',
    :'routine_transportation' => :'routine_transportation',
    :'skilled_nursing_facility' => :'skilled_nursing_facility',
    :'urgent_care' => :'urgent_care',
    :'vision_contact_lenses' => :'vision_contact_lenses',
    :'vision_exam' => :'vision_exam',
    :'vision_eyeglass_frames_and_lenses' => :'vision_eyeglass_frames_and_lenses',
    :'vision_medicare_covered_benefits' => :'vision_medicare_covered_benefits',
    :'vision_upgrades' => :'vision_upgrades',
    :'wellness_program' => :'wellness_program'
  }
end
new(attributes = {}) click to toggle source

Initializes the object @param [Hash] attributes Model attributes in the form of hash

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 1737
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?(:'ambulance')
    self.ambulance = attributes[:'ambulance']
  end

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

end
swagger_types() click to toggle source

Attribute type mapping.

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 1589
def self.swagger_types
  {
    :'ambulance' => :'String',
    :'catastrophic_brand_name' => :'String',
    :'catastrophic_excluded' => :'String',
    :'catastrophic_generic' => :'String',
    :'chemotherapy_drug' => :'String',
    :'deductible_annual_drug' => :'String',
    :'deductible_annual_medical' => :'String',
    :'dental_cleaning' => :'String',
    :'dental_diagnostic_services' => :'String',
    :'dental_endodontics' => :'String',
    :'dental_exam' => :'String',
    :'dental_extraction' => :'String',
    :'dental_fluoride_treatment' => :'String',
    :'dental_medicare_covered_benefits' => :'String',
    :'dental_non_routine_services' => :'String',
    :'dental_periodontics' => :'String',
    :'dental_prosthodontics_and_other' => :'String',
    :'dental_restorative_services' => :'String',
    :'dental_x_rays' => :'String',
    :'diabetes_management_monitoring_supplies' => :'String',
    :'diagnostic_lab_service' => :'String',
    :'diagnostic_outpatient_x_rays' => :'String',
    :'diagnostic_radiology' => :'String',
    :'diagnostic_test_and_procedures' => :'String',
    :'diagnostic_therapeutic_radiology' => :'String',
    :'doctor_visit_primary' => :'String',
    :'doctor_visit_specialist' => :'String',
    :'durable_medical_equipment' => :'String',
    :'emergency_care' => :'String',
    :'gap_brand_name' => :'String',
    :'gap_generic' => :'String',
    :'gap_generic_preferred_mail_1_month' => :'String',
    :'gap_generic_preferred_mail_3_month' => :'String',
    :'gap_generic_preferred_retail_1_month' => :'String',
    :'gap_generic_preferred_retail_3_month' => :'String',
    :'gap_generic_standard_mail_1_month' => :'String',
    :'gap_generic_standard_mail_3_month' => :'String',
    :'gap_generic_standard_retail_1_month' => :'String',
    :'gap_generic_standard_retail_3_month' => :'String',
    :'gap_non_preferred_preferred_mail_1_month' => :'String',
    :'gap_non_preferred_preferred_mail_3_month' => :'String',
    :'gap_non_preferred_preferred_retail_1_month' => :'String',
    :'gap_non_preferred_preferred_retail_3_month' => :'String',
    :'gap_non_preferred_standard_mail_1_month' => :'String',
    :'gap_non_preferred_standard_mail_3_month' => :'String',
    :'gap_non_preferred_standard_retail_1_month' => :'String',
    :'gap_non_preferred_standard_retail_3_month' => :'String',
    :'gap_preferred_brand_preferred_mail_1_month' => :'String',
    :'gap_preferred_brand_preferred_mail_3_month' => :'String',
    :'gap_preferred_brand_preferred_retail_1_month' => :'String',
    :'gap_preferred_brand_preferred_retail_3_month' => :'String',
    :'gap_preferred_brand_standard_mail_1_month' => :'String',
    :'gap_preferred_brand_standard_mail_3_month' => :'String',
    :'gap_preferred_brand_standard_retail_1_month' => :'String',
    :'gap_preferred_brand_standard_retail_3_month' => :'String',
    :'gap_preferred_generic_preferred_mail_1_month' => :'String',
    :'gap_preferred_generic_preferred_mail_3_month' => :'String',
    :'gap_preferred_generic_preferred_retail_1_month' => :'String',
    :'gap_preferred_generic_preferred_retail_3_month' => :'String',
    :'gap_preferred_generic_standard_mail_1_month' => :'String',
    :'gap_preferred_generic_standard_mail_3_month' => :'String',
    :'gap_preferred_generic_standard_retail_1_month' => :'String',
    :'gap_preferred_generic_standard_retail_3_month' => :'String',
    :'gap_specialty_preferred_mail_1_month' => :'String',
    :'gap_specialty_preferred_mail_3_month' => :'String',
    :'gap_specialty_preferred_retail_1_month' => :'String',
    :'gap_specialty_preferred_retail_3_month' => :'String',
    :'gap_specialty_standard_mail_1_month' => :'String',
    :'gap_specialty_standard_mail_3_month' => :'String',
    :'gap_specialty_standard_retail_1_month' => :'String',
    :'gap_specialty_standard_retail_3_month' => :'String',
    :'hearing_aids' => :'String',
    :'hearing_aids_fitting_and_evaluation' => :'String',
    :'hearing_exam' => :'String',
    :'hearing_medicare_covered_benefits' => :'String',
    :'home_health_care' => :'String',
    :'hospice' => :'String',
    :'initial_generic_preferred_mail_1_month' => :'String',
    :'initial_generic_preferred_mail_3_month' => :'String',
    :'initial_generic_preferred_retail_1_month' => :'String',
    :'initial_generic_preferred_retail_3_month' => :'String',
    :'initial_generic_standard_mail_1_month' => :'String',
    :'initial_generic_standard_mail_3_month' => :'String',
    :'initial_generic_standard_retail_1_month' => :'String',
    :'initial_generic_standard_retail_3_month' => :'String',
    :'initial_non_preferred_preferred_mail_1_month' => :'String',
    :'initial_non_preferred_preferred_mail_3_month' => :'String',
    :'initial_non_preferred_preferred_retail_1_month' => :'String',
    :'initial_non_preferred_preferred_retail_3_month' => :'String',
    :'initial_non_preferred_standard_mail_1_month' => :'String',
    :'initial_non_preferred_standard_mail_3_month' => :'String',
    :'initial_non_preferred_standard_retail_1_month' => :'String',
    :'initial_non_preferred_standard_retail_3_month' => :'String',
    :'initial_preferred_brand_preferred_mail_1_month' => :'String',
    :'initial_preferred_brand_preferred_mail_3_month' => :'String',
    :'initial_preferred_brand_preferred_retail_1_month' => :'String',
    :'initial_preferred_brand_preferred_retail_3_month' => :'String',
    :'initial_preferred_brand_standard_mail_1_month' => :'String',
    :'initial_preferred_brand_standard_mail_3_month' => :'String',
    :'initial_preferred_brand_standard_retail_1_month' => :'String',
    :'initial_preferred_brand_standard_retail_3_month' => :'String',
    :'initial_preferred_generic_preferred_mail_1_month' => :'String',
    :'initial_preferred_generic_preferred_mail_3_month' => :'String',
    :'initial_preferred_generic_preferred_retail_1_month' => :'String',
    :'initial_preferred_generic_preferred_retail_3_month' => :'String',
    :'initial_preferred_generic_standard_mail_1_month' => :'String',
    :'initial_preferred_generic_standard_mail_3_month' => :'String',
    :'initial_preferred_generic_standard_retail_1_month' => :'String',
    :'initial_preferred_generic_standard_retail_3_month' => :'String',
    :'initial_specialty_preferred_mail_1_month' => :'String',
    :'initial_specialty_preferred_mail_3_month' => :'String',
    :'initial_specialty_preferred_retail_1_month' => :'String',
    :'initial_specialty_preferred_retail_3_month' => :'String',
    :'initial_specialty_standard_mail_1_month' => :'String',
    :'initial_specialty_standard_mail_3_month' => :'String',
    :'initial_specialty_standard_retail_1_month' => :'String',
    :'initial_specialty_standard_retail_3_month' => :'String',
    :'inpatient_hospital' => :'String',
    :'medical_chiropractic_services' => :'String',
    :'medical_moop' => :'String',
    :'mental_health_inpatient_visit' => :'String',
    :'mental_health_outpatient_group_therapy' => :'String',
    :'mental_health_outpatient_individual_therapy' => :'String',
    :'other_part_b_drug' => :'String',
    :'outpatient_hospital' => :'String',
    :'physical_therapy' => :'String',
    :'podiatry_medicare_covered_benefits' => :'String',
    :'podiatry_routine_footcare' => :'String',
    :'preventive_care' => :'String',
    :'prosthetics' => :'String',
    :'rehabilitation_occupational_therapy' => :'String',
    :'renal_dialysis' => :'String',
    :'routine_transportation' => :'String',
    :'skilled_nursing_facility' => :'String',
    :'urgent_care' => :'String',
    :'vision_contact_lenses' => :'String',
    :'vision_exam' => :'String',
    :'vision_eyeglass_frames_and_lenses' => :'String',
    :'vision_medicare_covered_benefits' => :'String',
    :'vision_upgrades' => :'String',
    :'wellness_program' => :'String'
  }
end

Public Instance Methods

==(o) click to toggle source

Checks equality by comparing each attribute. @param [Object] Object to be compared

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 2324
def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      ambulance == o.ambulance &&
      catastrophic_brand_name == o.catastrophic_brand_name &&
      catastrophic_excluded == o.catastrophic_excluded &&
      catastrophic_generic == o.catastrophic_generic &&
      chemotherapy_drug == o.chemotherapy_drug &&
      deductible_annual_drug == o.deductible_annual_drug &&
      deductible_annual_medical == o.deductible_annual_medical &&
      dental_cleaning == o.dental_cleaning &&
      dental_diagnostic_services == o.dental_diagnostic_services &&
      dental_endodontics == o.dental_endodontics &&
      dental_exam == o.dental_exam &&
      dental_extraction == o.dental_extraction &&
      dental_fluoride_treatment == o.dental_fluoride_treatment &&
      dental_medicare_covered_benefits == o.dental_medicare_covered_benefits &&
      dental_non_routine_services == o.dental_non_routine_services &&
      dental_periodontics == o.dental_periodontics &&
      dental_prosthodontics_and_other == o.dental_prosthodontics_and_other &&
      dental_restorative_services == o.dental_restorative_services &&
      dental_x_rays == o.dental_x_rays &&
      diabetes_management_monitoring_supplies == o.diabetes_management_monitoring_supplies &&
      diagnostic_lab_service == o.diagnostic_lab_service &&
      diagnostic_outpatient_x_rays == o.diagnostic_outpatient_x_rays &&
      diagnostic_radiology == o.diagnostic_radiology &&
      diagnostic_test_and_procedures == o.diagnostic_test_and_procedures &&
      diagnostic_therapeutic_radiology == o.diagnostic_therapeutic_radiology &&
      doctor_visit_primary == o.doctor_visit_primary &&
      doctor_visit_specialist == o.doctor_visit_specialist &&
      durable_medical_equipment == o.durable_medical_equipment &&
      emergency_care == o.emergency_care &&
      gap_brand_name == o.gap_brand_name &&
      gap_generic == o.gap_generic &&
      gap_generic_preferred_mail_1_month == o.gap_generic_preferred_mail_1_month &&
      gap_generic_preferred_mail_3_month == o.gap_generic_preferred_mail_3_month &&
      gap_generic_preferred_retail_1_month == o.gap_generic_preferred_retail_1_month &&
      gap_generic_preferred_retail_3_month == o.gap_generic_preferred_retail_3_month &&
      gap_generic_standard_mail_1_month == o.gap_generic_standard_mail_1_month &&
      gap_generic_standard_mail_3_month == o.gap_generic_standard_mail_3_month &&
      gap_generic_standard_retail_1_month == o.gap_generic_standard_retail_1_month &&
      gap_generic_standard_retail_3_month == o.gap_generic_standard_retail_3_month &&
      gap_non_preferred_preferred_mail_1_month == o.gap_non_preferred_preferred_mail_1_month &&
      gap_non_preferred_preferred_mail_3_month == o.gap_non_preferred_preferred_mail_3_month &&
      gap_non_preferred_preferred_retail_1_month == o.gap_non_preferred_preferred_retail_1_month &&
      gap_non_preferred_preferred_retail_3_month == o.gap_non_preferred_preferred_retail_3_month &&
      gap_non_preferred_standard_mail_1_month == o.gap_non_preferred_standard_mail_1_month &&
      gap_non_preferred_standard_mail_3_month == o.gap_non_preferred_standard_mail_3_month &&
      gap_non_preferred_standard_retail_1_month == o.gap_non_preferred_standard_retail_1_month &&
      gap_non_preferred_standard_retail_3_month == o.gap_non_preferred_standard_retail_3_month &&
      gap_preferred_brand_preferred_mail_1_month == o.gap_preferred_brand_preferred_mail_1_month &&
      gap_preferred_brand_preferred_mail_3_month == o.gap_preferred_brand_preferred_mail_3_month &&
      gap_preferred_brand_preferred_retail_1_month == o.gap_preferred_brand_preferred_retail_1_month &&
      gap_preferred_brand_preferred_retail_3_month == o.gap_preferred_brand_preferred_retail_3_month &&
      gap_preferred_brand_standard_mail_1_month == o.gap_preferred_brand_standard_mail_1_month &&
      gap_preferred_brand_standard_mail_3_month == o.gap_preferred_brand_standard_mail_3_month &&
      gap_preferred_brand_standard_retail_1_month == o.gap_preferred_brand_standard_retail_1_month &&
      gap_preferred_brand_standard_retail_3_month == o.gap_preferred_brand_standard_retail_3_month &&
      gap_preferred_generic_preferred_mail_1_month == o.gap_preferred_generic_preferred_mail_1_month &&
      gap_preferred_generic_preferred_mail_3_month == o.gap_preferred_generic_preferred_mail_3_month &&
      gap_preferred_generic_preferred_retail_1_month == o.gap_preferred_generic_preferred_retail_1_month &&
      gap_preferred_generic_preferred_retail_3_month == o.gap_preferred_generic_preferred_retail_3_month &&
      gap_preferred_generic_standard_mail_1_month == o.gap_preferred_generic_standard_mail_1_month &&
      gap_preferred_generic_standard_mail_3_month == o.gap_preferred_generic_standard_mail_3_month &&
      gap_preferred_generic_standard_retail_1_month == o.gap_preferred_generic_standard_retail_1_month &&
      gap_preferred_generic_standard_retail_3_month == o.gap_preferred_generic_standard_retail_3_month &&
      gap_specialty_preferred_mail_1_month == o.gap_specialty_preferred_mail_1_month &&
      gap_specialty_preferred_mail_3_month == o.gap_specialty_preferred_mail_3_month &&
      gap_specialty_preferred_retail_1_month == o.gap_specialty_preferred_retail_1_month &&
      gap_specialty_preferred_retail_3_month == o.gap_specialty_preferred_retail_3_month &&
      gap_specialty_standard_mail_1_month == o.gap_specialty_standard_mail_1_month &&
      gap_specialty_standard_mail_3_month == o.gap_specialty_standard_mail_3_month &&
      gap_specialty_standard_retail_1_month == o.gap_specialty_standard_retail_1_month &&
      gap_specialty_standard_retail_3_month == o.gap_specialty_standard_retail_3_month &&
      hearing_aids == o.hearing_aids &&
      hearing_aids_fitting_and_evaluation == o.hearing_aids_fitting_and_evaluation &&
      hearing_exam == o.hearing_exam &&
      hearing_medicare_covered_benefits == o.hearing_medicare_covered_benefits &&
      home_health_care == o.home_health_care &&
      hospice == o.hospice &&
      initial_generic_preferred_mail_1_month == o.initial_generic_preferred_mail_1_month &&
      initial_generic_preferred_mail_3_month == o.initial_generic_preferred_mail_3_month &&
      initial_generic_preferred_retail_1_month == o.initial_generic_preferred_retail_1_month &&
      initial_generic_preferred_retail_3_month == o.initial_generic_preferred_retail_3_month &&
      initial_generic_standard_mail_1_month == o.initial_generic_standard_mail_1_month &&
      initial_generic_standard_mail_3_month == o.initial_generic_standard_mail_3_month &&
      initial_generic_standard_retail_1_month == o.initial_generic_standard_retail_1_month &&
      initial_generic_standard_retail_3_month == o.initial_generic_standard_retail_3_month &&
      initial_non_preferred_preferred_mail_1_month == o.initial_non_preferred_preferred_mail_1_month &&
      initial_non_preferred_preferred_mail_3_month == o.initial_non_preferred_preferred_mail_3_month &&
      initial_non_preferred_preferred_retail_1_month == o.initial_non_preferred_preferred_retail_1_month &&
      initial_non_preferred_preferred_retail_3_month == o.initial_non_preferred_preferred_retail_3_month &&
      initial_non_preferred_standard_mail_1_month == o.initial_non_preferred_standard_mail_1_month &&
      initial_non_preferred_standard_mail_3_month == o.initial_non_preferred_standard_mail_3_month &&
      initial_non_preferred_standard_retail_1_month == o.initial_non_preferred_standard_retail_1_month &&
      initial_non_preferred_standard_retail_3_month == o.initial_non_preferred_standard_retail_3_month &&
      initial_preferred_brand_preferred_mail_1_month == o.initial_preferred_brand_preferred_mail_1_month &&
      initial_preferred_brand_preferred_mail_3_month == o.initial_preferred_brand_preferred_mail_3_month &&
      initial_preferred_brand_preferred_retail_1_month == o.initial_preferred_brand_preferred_retail_1_month &&
      initial_preferred_brand_preferred_retail_3_month == o.initial_preferred_brand_preferred_retail_3_month &&
      initial_preferred_brand_standard_mail_1_month == o.initial_preferred_brand_standard_mail_1_month &&
      initial_preferred_brand_standard_mail_3_month == o.initial_preferred_brand_standard_mail_3_month &&
      initial_preferred_brand_standard_retail_1_month == o.initial_preferred_brand_standard_retail_1_month &&
      initial_preferred_brand_standard_retail_3_month == o.initial_preferred_brand_standard_retail_3_month &&
      initial_preferred_generic_preferred_mail_1_month == o.initial_preferred_generic_preferred_mail_1_month &&
      initial_preferred_generic_preferred_mail_3_month == o.initial_preferred_generic_preferred_mail_3_month &&
      initial_preferred_generic_preferred_retail_1_month == o.initial_preferred_generic_preferred_retail_1_month &&
      initial_preferred_generic_preferred_retail_3_month == o.initial_preferred_generic_preferred_retail_3_month &&
      initial_preferred_generic_standard_mail_1_month == o.initial_preferred_generic_standard_mail_1_month &&
      initial_preferred_generic_standard_mail_3_month == o.initial_preferred_generic_standard_mail_3_month &&
      initial_preferred_generic_standard_retail_1_month == o.initial_preferred_generic_standard_retail_1_month &&
      initial_preferred_generic_standard_retail_3_month == o.initial_preferred_generic_standard_retail_3_month &&
      initial_specialty_preferred_mail_1_month == o.initial_specialty_preferred_mail_1_month &&
      initial_specialty_preferred_mail_3_month == o.initial_specialty_preferred_mail_3_month &&
      initial_specialty_preferred_retail_1_month == o.initial_specialty_preferred_retail_1_month &&
      initial_specialty_preferred_retail_3_month == o.initial_specialty_preferred_retail_3_month &&
      initial_specialty_standard_mail_1_month == o.initial_specialty_standard_mail_1_month &&
      initial_specialty_standard_mail_3_month == o.initial_specialty_standard_mail_3_month &&
      initial_specialty_standard_retail_1_month == o.initial_specialty_standard_retail_1_month &&
      initial_specialty_standard_retail_3_month == o.initial_specialty_standard_retail_3_month &&
      inpatient_hospital == o.inpatient_hospital &&
      medical_chiropractic_services == o.medical_chiropractic_services &&
      medical_moop == o.medical_moop &&
      mental_health_inpatient_visit == o.mental_health_inpatient_visit &&
      mental_health_outpatient_group_therapy == o.mental_health_outpatient_group_therapy &&
      mental_health_outpatient_individual_therapy == o.mental_health_outpatient_individual_therapy &&
      other_part_b_drug == o.other_part_b_drug &&
      outpatient_hospital == o.outpatient_hospital &&
      physical_therapy == o.physical_therapy &&
      podiatry_medicare_covered_benefits == o.podiatry_medicare_covered_benefits &&
      podiatry_routine_footcare == o.podiatry_routine_footcare &&
      preventive_care == o.preventive_care &&
      prosthetics == o.prosthetics &&
      rehabilitation_occupational_therapy == o.rehabilitation_occupational_therapy &&
      renal_dialysis == o.renal_dialysis &&
      routine_transportation == o.routine_transportation &&
      skilled_nursing_facility == o.skilled_nursing_facility &&
      urgent_care == o.urgent_care &&
      vision_contact_lenses == o.vision_contact_lenses &&
      vision_exam == o.vision_exam &&
      vision_eyeglass_frames_and_lenses == o.vision_eyeglass_frames_and_lenses &&
      vision_medicare_covered_benefits == o.vision_medicare_covered_benefits &&
      vision_upgrades == o.vision_upgrades &&
      wellness_program == o.wellness_program
end
_deserialize(type, value) click to toggle source

Deserializes the data based on type @param string type Data type @param string value Value to be deserialized @return [Object] Deserialized data

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 2506
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) click to toggle source

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value @param [Object] value Any valid value @return [Hash] Returns the value in the form of hash

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 2572
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) click to toggle source

Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 2485
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) click to toggle source

@see the `==` method @param [Object] Object to be compared

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 2472
def eql?(o)
  self == o
end
hash() click to toggle source

Calculates hash code according to all attributes. @return [Fixnum] Hash code

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 2478
def hash
  [ambulance, catastrophic_brand_name, catastrophic_excluded, catastrophic_generic, chemotherapy_drug, deductible_annual_drug, deductible_annual_medical, dental_cleaning, dental_diagnostic_services, dental_endodontics, dental_exam, dental_extraction, dental_fluoride_treatment, dental_medicare_covered_benefits, dental_non_routine_services, dental_periodontics, dental_prosthodontics_and_other, dental_restorative_services, dental_x_rays, diabetes_management_monitoring_supplies, diagnostic_lab_service, diagnostic_outpatient_x_rays, diagnostic_radiology, diagnostic_test_and_procedures, diagnostic_therapeutic_radiology, doctor_visit_primary, doctor_visit_specialist, durable_medical_equipment, emergency_care, gap_brand_name, gap_generic, gap_generic_preferred_mail_1_month, gap_generic_preferred_mail_3_month, gap_generic_preferred_retail_1_month, gap_generic_preferred_retail_3_month, gap_generic_standard_mail_1_month, gap_generic_standard_mail_3_month, gap_generic_standard_retail_1_month, gap_generic_standard_retail_3_month, gap_non_preferred_preferred_mail_1_month, gap_non_preferred_preferred_mail_3_month, gap_non_preferred_preferred_retail_1_month, gap_non_preferred_preferred_retail_3_month, gap_non_preferred_standard_mail_1_month, gap_non_preferred_standard_mail_3_month, gap_non_preferred_standard_retail_1_month, gap_non_preferred_standard_retail_3_month, gap_preferred_brand_preferred_mail_1_month, gap_preferred_brand_preferred_mail_3_month, gap_preferred_brand_preferred_retail_1_month, gap_preferred_brand_preferred_retail_3_month, gap_preferred_brand_standard_mail_1_month, gap_preferred_brand_standard_mail_3_month, gap_preferred_brand_standard_retail_1_month, gap_preferred_brand_standard_retail_3_month, gap_preferred_generic_preferred_mail_1_month, gap_preferred_generic_preferred_mail_3_month, gap_preferred_generic_preferred_retail_1_month, gap_preferred_generic_preferred_retail_3_month, gap_preferred_generic_standard_mail_1_month, gap_preferred_generic_standard_mail_3_month, gap_preferred_generic_standard_retail_1_month, gap_preferred_generic_standard_retail_3_month, gap_specialty_preferred_mail_1_month, gap_specialty_preferred_mail_3_month, gap_specialty_preferred_retail_1_month, gap_specialty_preferred_retail_3_month, gap_specialty_standard_mail_1_month, gap_specialty_standard_mail_3_month, gap_specialty_standard_retail_1_month, gap_specialty_standard_retail_3_month, hearing_aids, hearing_aids_fitting_and_evaluation, hearing_exam, hearing_medicare_covered_benefits, home_health_care, hospice, initial_generic_preferred_mail_1_month, initial_generic_preferred_mail_3_month, initial_generic_preferred_retail_1_month, initial_generic_preferred_retail_3_month, initial_generic_standard_mail_1_month, initial_generic_standard_mail_3_month, initial_generic_standard_retail_1_month, initial_generic_standard_retail_3_month, initial_non_preferred_preferred_mail_1_month, initial_non_preferred_preferred_mail_3_month, initial_non_preferred_preferred_retail_1_month, initial_non_preferred_preferred_retail_3_month, initial_non_preferred_standard_mail_1_month, initial_non_preferred_standard_mail_3_month, initial_non_preferred_standard_retail_1_month, initial_non_preferred_standard_retail_3_month, initial_preferred_brand_preferred_mail_1_month, initial_preferred_brand_preferred_mail_3_month, initial_preferred_brand_preferred_retail_1_month, initial_preferred_brand_preferred_retail_3_month, initial_preferred_brand_standard_mail_1_month, initial_preferred_brand_standard_mail_3_month, initial_preferred_brand_standard_retail_1_month, initial_preferred_brand_standard_retail_3_month, initial_preferred_generic_preferred_mail_1_month, initial_preferred_generic_preferred_mail_3_month, initial_preferred_generic_preferred_retail_1_month, initial_preferred_generic_preferred_retail_3_month, initial_preferred_generic_standard_mail_1_month, initial_preferred_generic_standard_mail_3_month, initial_preferred_generic_standard_retail_1_month, initial_preferred_generic_standard_retail_3_month, initial_specialty_preferred_mail_1_month, initial_specialty_preferred_mail_3_month, initial_specialty_preferred_retail_1_month, initial_specialty_preferred_retail_3_month, initial_specialty_standard_mail_1_month, initial_specialty_standard_mail_3_month, initial_specialty_standard_retail_1_month, initial_specialty_standard_retail_3_month, inpatient_hospital, medical_chiropractic_services, medical_moop, mental_health_inpatient_visit, mental_health_outpatient_group_therapy, mental_health_outpatient_individual_therapy, other_part_b_drug, outpatient_hospital, physical_therapy, podiatry_medicare_covered_benefits, podiatry_routine_footcare, preventive_care, prosthetics, rehabilitation_occupational_therapy, renal_dialysis, routine_transportation, skilled_nursing_facility, urgent_care, vision_contact_lenses, vision_exam, vision_eyeglass_frames_and_lenses, vision_medicare_covered_benefits, vision_upgrades, wellness_program].hash
end
list_invalid_properties() click to toggle source

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properies with the reasons

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 2311
def list_invalid_properties
  invalid_properties = Array.new
  return invalid_properties
end
to_body() click to toggle source

to_body is an alias to to_hash (backward compatibility) @return [Hash] Returns the object in the form of hash

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 2552
def to_body
  to_hash
end
to_hash() click to toggle source

Returns the object in the form of hash @return [Hash] Returns the object in the form of hash

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 2558
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() click to toggle source

Returns the string representation of the object @return [String] String presentation of the object

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 2546
def to_s
  to_hash.to_s
end
valid?() click to toggle source

Check to see if the all the properties in the model are valid @return true if the model is valid

# File lib/vericred_client/models/medicare_advantage_plan_benefits.rb, line 2318
def valid?
  return true
end