vericred_client 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +30 -20
  3. data/docs/Applicant.md +2 -2
  4. data/docs/{InlineResponse2001.md → Base.md} +2 -2
  5. data/docs/Carrier.md +1 -1
  6. data/docs/County.md +3 -3
  7. data/docs/CountyBulk.md +10 -0
  8. data/docs/Drug.md +2 -1
  9. data/docs/DrugCoverage.md +4 -4
  10. data/docs/DrugCoverageResponse.md +9 -0
  11. data/docs/DrugPackage.md +9 -0
  12. data/docs/DrugSearchResponse.md +9 -0
  13. data/docs/DrugsApi.md +59 -0
  14. data/docs/Meta.md +8 -0
  15. data/docs/Plan.md +22 -6
  16. data/docs/PlanCounty.md +1 -1
  17. data/docs/PlanCountyBulk.md +10 -0
  18. data/docs/PlanFindResponse.md +9 -0
  19. data/docs/PlanSearchResult.md +26 -8
  20. data/docs/PlansApi.md +11 -11
  21. data/docs/Pricing.md +7 -1
  22. data/docs/Provider.md +9 -6
  23. data/docs/ProviderResponse.md +10 -0
  24. data/docs/ProvidersApi.md +19 -21
  25. data/docs/RatingArea.md +2 -2
  26. data/docs/RequestPlanFind.md +15 -0
  27. data/docs/State.md +4 -4
  28. data/docs/ZipCountiesApi.md +7 -8
  29. data/docs/ZipCountyBulk.md +11 -0
  30. data/docs/ZipCountyResponse.md +10 -0
  31. data/lib/vericred_client.rb +14 -6
  32. data/lib/vericred_client/api/{drug_coverage_api.rb → drugs_api.rb} +25 -19
  33. data/lib/vericred_client/api/plans_api.rb +14 -16
  34. data/lib/vericred_client/api/providers_api.rb +29 -29
  35. data/lib/vericred_client/api/zip_counties_api.rb +12 -12
  36. data/lib/vericred_client/api_client.rb +1 -1
  37. data/lib/vericred_client/api_error.rb +1 -1
  38. data/lib/vericred_client/models/applicant.rb +14 -12
  39. data/lib/vericred_client/models/{inline_response_200_1.rb → base.rb} +10 -9
  40. data/lib/vericred_client/models/carrier.rb +15 -15
  41. data/lib/vericred_client/models/carrier_subsidiary.rb +1 -1
  42. data/lib/vericred_client/models/county.rb +18 -14
  43. data/lib/vericred_client/models/county_bulk.rb +318 -0
  44. data/lib/vericred_client/models/drug.rb +27 -15
  45. data/lib/vericred_client/models/drug_coverage.rb +38 -32
  46. data/lib/vericred_client/models/drug_coverage_response.rb +310 -0
  47. data/lib/vericred_client/models/drug_package.rb +308 -0
  48. data/lib/vericred_client/models/drug_search_response.rb +310 -0
  49. data/lib/vericred_client/models/meta.rb +298 -0
  50. data/lib/vericred_client/models/plan.rb +196 -22
  51. data/lib/vericred_client/models/plan_county.rb +15 -15
  52. data/lib/vericred_client/models/plan_county_bulk.rb +318 -0
  53. data/lib/vericred_client/models/{inline_response_200.rb → plan_find_response.rb} +13 -11
  54. data/lib/vericred_client/models/plan_search_result.rb +236 -42
  55. data/lib/vericred_client/models/pricing.rb +63 -3
  56. data/lib/vericred_client/models/provider.rb +51 -9
  57. data/lib/vericred_client/models/provider_response.rb +322 -0
  58. data/lib/vericred_client/models/rating_area.rb +5 -5
  59. data/lib/vericred_client/models/{query.rb → request_plan_find.rb} +14 -6
  60. data/lib/vericred_client/models/state.rb +29 -25
  61. data/lib/vericred_client/models/zip_code.rb +1 -1
  62. data/lib/vericred_client/models/zip_county.rb +1 -1
  63. data/lib/vericred_client/models/zip_county_bulk.rb +328 -0
  64. data/lib/vericred_client/models/{inline_response_200_2.rb → zip_county_response.rb} +20 -17
  65. data/lib/vericred_client/version.rb +2 -2
  66. data/spec/api/{drug_coverage_api_spec.rb → drugs_api_spec.rb} +14 -17
  67. data/spec/api/plans_api_spec.rb +7 -69
  68. data/spec/api/providers_api_spec.rb +12 -28
  69. data/spec/api/zip_counties_api_spec.rb +6 -13
  70. metadata +31 -15
  71. data/docs/DrugCoverageApi.md +0 -54
  72. data/docs/InlineResponse200.md +0 -9
  73. data/docs/InlineResponse2002.md +0 -10
  74. data/docs/Query.md +0 -15
@@ -116,7 +116,7 @@ The response would be
116
116
 
117
117
 
118
118
 
119
- OpenAPI spec version:
119
+ OpenAPI spec version: 1.0.0
120
120
 
121
121
  Generated by: https://github.com/swagger-api/swagger-codegen.git
122
122
 
@@ -145,14 +145,17 @@ module VericredClient
145
145
  # Does the plan provide dental coverage for children?
146
146
  attr_accessor :child_dental
147
147
 
148
+ # Child eye exam benefits summary
149
+ attr_accessor :child_eye_exam
150
+
148
151
  # Child eyewear benefits summary
149
152
  attr_accessor :child_eyewear
150
153
 
151
154
  # Phone number to contact the insurance carrier
152
155
  attr_accessor :customer_service_phone_number
153
156
 
154
- # Benefits summary for durable medical equipment
155
- attr_accessor :durable_medical_equipment
157
+ # Cumulative premium amount for dependents
158
+ attr_accessor :dependent_premium
156
159
 
157
160
  # Diagnostic tests benefit summary
158
161
  attr_accessor :diagnostic_test
@@ -160,9 +163,21 @@ module VericredClient
160
163
  # Link to the summary of drug benefits for the plan
161
164
  attr_accessor :drug_formulary_url
162
165
 
166
+ # Benefits summary for durable medical equipment
167
+ attr_accessor :durable_medical_equipment
168
+
169
+ # Effective date of coverage.
170
+ attr_accessor :effective_date
171
+
163
172
  # Description of costs when visiting the ER
164
173
  attr_accessor :emergency_room
165
174
 
175
+ # Cumulative premium amount for employees
176
+ attr_accessor :employee_premium
177
+
178
+ # Expiration date of coverage.
179
+ attr_accessor :expiration_date
180
+
166
181
  # Deductible for drugs when a family is on the plan.
167
182
  attr_accessor :family_drug_deductible
168
183
 
@@ -178,15 +193,27 @@ module VericredClient
178
193
  # Cost for generic drugs
179
194
  attr_accessor :generic_drugs
180
195
 
196
+ # Habilitation services benefits summary
197
+ attr_accessor :habilitation_services
198
+
181
199
  #
182
200
  attr_accessor :hios_issuer_id
183
201
 
202
+ # Home health care benefits summary
203
+ attr_accessor :home_health_care
204
+
205
+ # Hospice service benefits summary
206
+ attr_accessor :hospice_service
207
+
184
208
  # Government-issued HIOS plan ID
185
209
  attr_accessor :id
186
210
 
187
211
  # Benefits summary for imaging coverage
188
212
  attr_accessor :imaging
189
213
 
214
+ # List of NPI numbers for Providers passed in who accept this Plan
215
+ attr_accessor :in_network_ids
216
+
190
217
  # Deductible for drugs when an individual is on the plan
191
218
  attr_accessor :individual_drug_deductible
192
219
 
@@ -199,33 +226,48 @@ module VericredClient
199
226
  # Maximum out-of-pocket when an individual is on the plan
200
227
  attr_accessor :individual_medical_moop
201
228
 
229
+ # Inpatient birth benefits summary
230
+ attr_accessor :inpatient_birth
231
+
202
232
  # Cost under the plan for an inpatient facility
203
233
  attr_accessor :inpatient_facility
204
234
 
235
+ # Inpatient mental helath benefits summary
236
+ attr_accessor :inpatient_mental_health
237
+
205
238
  # Cost under the plan for an inpatient physician
206
239
  attr_accessor :inpatient_physician
207
240
 
241
+ # Inpatient substance abuse benefits summary
242
+ attr_accessor :inpatient_substance
243
+
208
244
  # Plan metal grouping (e.g. platinum, gold, silver, etc)
209
245
  attr_accessor :level
210
246
 
211
247
  # Link to a copy of the insurance carrier's logo
212
248
  attr_accessor :logo_url
213
249
 
250
+ # Percentage of doctors who matched this Plan
251
+ attr_accessor :match_percentage
252
+
214
253
  # Marketing name of the plan
215
254
  attr_accessor :name
216
255
 
217
256
  # Cost under the plan for non-preferred brand drugs
218
257
  attr_accessor :non_preferred_brand_drugs
219
258
 
220
- # Is the plan on-market?
221
- attr_accessor :on_market
222
-
223
259
  # Is the plan off-market?
224
260
  attr_accessor :off_market
225
261
 
262
+ # Is the plan on-market?
263
+ attr_accessor :on_market
264
+
226
265
  # Does this plan provide any out of network coverage?
227
266
  attr_accessor :out_of_network_coverage
228
267
 
268
+ # List of NPI numbers for Providers passed in who do not accept this Plan
269
+ attr_accessor :out_of_network_ids
270
+
229
271
  # Benefits summary for outpatient facility coverage
230
272
  attr_accessor :outpatient_facility
231
273
 
@@ -235,6 +277,12 @@ module VericredClient
235
277
  # Benefits summary for outpatient physician coverage
236
278
  attr_accessor :outpatient_physician
237
279
 
280
+ # Outpatient substance abuse benefits summary
281
+ attr_accessor :outpatient_substance
282
+
283
+ # Percentage of employees with 100% match
284
+ attr_accessor :perfect_match_percentage
285
+
238
286
  # Market in which the plan is offered (on_marketplace, shop, etc)
239
287
  attr_accessor :plan_market
240
288
 
@@ -244,6 +292,15 @@ module VericredClient
244
292
  # Cost under the plan for perferred brand drugs
245
293
  attr_accessor :preferred_brand_drugs
246
294
 
295
+ # Cumulative premium amount
296
+ attr_accessor :premium
297
+
298
+ # Cumulative premium amount after subsidy
299
+ attr_accessor :premium_subsidized
300
+
301
+ # Inpatient substance abuse benefits summary
302
+ attr_accessor :prenatal_postnatal_care
303
+
247
304
  # Benefits summary for preventative care
248
305
  attr_accessor :preventative_care
249
306
 
@@ -253,6 +310,9 @@ module VericredClient
253
310
  # Benefits summary for rehabilitation services
254
311
  attr_accessor :rehabilitation_services
255
312
 
313
+ # Benefits summary for skilled nursing services
314
+ attr_accessor :skilled_nursing
315
+
256
316
  # Cost under the plan to visit a specialist
257
317
  attr_accessor :specialist
258
318
 
@@ -262,12 +322,6 @@ module VericredClient
262
322
  # Benefits summary for urgent care
263
323
  attr_accessor :urgent_care
264
324
 
265
- # Percentage of doctors who matched this Plan
266
- attr_accessor :match_percentage
267
-
268
- # Percentage of employees with 100% match
269
- attr_accessor :perfect_match_percentage
270
-
271
325
  # Attribute mapping from ruby-style variable name to JSON key.
272
326
  def self.attribute_map
273
327
  {
@@ -277,47 +331,65 @@ module VericredClient
277
331
  :'buy_link' => :'buy_link',
278
332
  :'carrier_name' => :'carrier_name',
279
333
  :'child_dental' => :'child_dental',
334
+ :'child_eye_exam' => :'child_eye_exam',
280
335
  :'child_eyewear' => :'child_eyewear',
281
336
  :'customer_service_phone_number' => :'customer_service_phone_number',
282
- :'durable_medical_equipment' => :'durable_medical_equipment',
337
+ :'dependent_premium' => :'dependent_premium',
283
338
  :'diagnostic_test' => :'diagnostic_test',
284
339
  :'drug_formulary_url' => :'drug_formulary_url',
340
+ :'durable_medical_equipment' => :'durable_medical_equipment',
341
+ :'effective_date' => :'effective_date',
285
342
  :'emergency_room' => :'emergency_room',
343
+ :'employee_premium' => :'employee_premium',
344
+ :'expiration_date' => :'expiration_date',
286
345
  :'family_drug_deductible' => :'family_drug_deductible',
287
346
  :'family_drug_moop' => :'family_drug_moop',
288
347
  :'family_medical_deductible' => :'family_medical_deductible',
289
348
  :'family_medical_moop' => :'family_medical_moop',
290
349
  :'generic_drugs' => :'generic_drugs',
350
+ :'habilitation_services' => :'habilitation_services',
291
351
  :'hios_issuer_id' => :'hios_issuer_id',
352
+ :'home_health_care' => :'home_health_care',
353
+ :'hospice_service' => :'hospice_service',
292
354
  :'id' => :'id',
293
355
  :'imaging' => :'imaging',
356
+ :'in_network_ids' => :'in_network_ids',
294
357
  :'individual_drug_deductible' => :'individual_drug_deductible',
295
358
  :'individual_drug_moop' => :'individual_drug_moop',
296
359
  :'individual_medical_deductible' => :'individual_medical_deductible',
297
360
  :'individual_medical_moop' => :'individual_medical_moop',
361
+ :'inpatient_birth' => :'inpatient_birth',
298
362
  :'inpatient_facility' => :'inpatient_facility',
363
+ :'inpatient_mental_health' => :'inpatient_mental_health',
299
364
  :'inpatient_physician' => :'inpatient_physician',
365
+ :'inpatient_substance' => :'inpatient_substance',
300
366
  :'level' => :'level',
301
367
  :'logo_url' => :'logo_url',
368
+ :'match_percentage' => :'match_percentage',
302
369
  :'name' => :'name',
303
370
  :'non_preferred_brand_drugs' => :'non_preferred_brand_drugs',
304
- :'on_market' => :'on_market',
305
371
  :'off_market' => :'off_market',
372
+ :'on_market' => :'on_market',
306
373
  :'out_of_network_coverage' => :'out_of_network_coverage',
374
+ :'out_of_network_ids' => :'out_of_network_ids',
307
375
  :'outpatient_facility' => :'outpatient_facility',
308
376
  :'outpatient_mental_health' => :'outpatient_mental_health',
309
377
  :'outpatient_physician' => :'outpatient_physician',
378
+ :'outpatient_substance' => :'outpatient_substance',
379
+ :'perfect_match_percentage' => :'perfect_match_percentage',
310
380
  :'plan_market' => :'plan_market',
311
381
  :'plan_type' => :'plan_type',
312
382
  :'preferred_brand_drugs' => :'preferred_brand_drugs',
383
+ :'premium' => :'premium',
384
+ :'premium_subsidized' => :'premium_subsidized',
385
+ :'prenatal_postnatal_care' => :'prenatal_postnatal_care',
313
386
  :'preventative_care' => :'preventative_care',
314
387
  :'primary_care_physician' => :'primary_care_physician',
315
388
  :'rehabilitation_services' => :'rehabilitation_services',
389
+ :'skilled_nursing' => :'skilled_nursing',
316
390
  :'specialist' => :'specialist',
317
391
  :'specialty_drugs' => :'specialty_drugs',
318
- :'urgent_care' => :'urgent_care',
319
- :'match_percentage' => :'match_percentage',
320
- :'perfect_match_percentage' => :'perfect_match_percentage'
392
+ :'urgent_care' => :'urgent_care'
321
393
  }
322
394
  end
323
395
 
@@ -330,47 +402,65 @@ module VericredClient
330
402
  :'buy_link' => :'String',
331
403
  :'carrier_name' => :'String',
332
404
  :'child_dental' => :'BOOLEAN',
405
+ :'child_eye_exam' => :'String',
333
406
  :'child_eyewear' => :'String',
334
407
  :'customer_service_phone_number' => :'String',
335
- :'durable_medical_equipment' => :'String',
408
+ :'dependent_premium' => :'Float',
336
409
  :'diagnostic_test' => :'String',
337
410
  :'drug_formulary_url' => :'String',
411
+ :'durable_medical_equipment' => :'String',
412
+ :'effective_date' => :'String',
338
413
  :'emergency_room' => :'String',
414
+ :'employee_premium' => :'Float',
415
+ :'expiration_date' => :'String',
339
416
  :'family_drug_deductible' => :'String',
340
417
  :'family_drug_moop' => :'String',
341
418
  :'family_medical_deductible' => :'String',
342
419
  :'family_medical_moop' => :'String',
343
420
  :'generic_drugs' => :'String',
421
+ :'habilitation_services' => :'String',
344
422
  :'hios_issuer_id' => :'String',
423
+ :'home_health_care' => :'String',
424
+ :'hospice_service' => :'String',
345
425
  :'id' => :'String',
346
426
  :'imaging' => :'String',
427
+ :'in_network_ids' => :'Array<Integer>',
347
428
  :'individual_drug_deductible' => :'String',
348
429
  :'individual_drug_moop' => :'String',
349
430
  :'individual_medical_deductible' => :'String',
350
431
  :'individual_medical_moop' => :'String',
432
+ :'inpatient_birth' => :'String',
351
433
  :'inpatient_facility' => :'String',
434
+ :'inpatient_mental_health' => :'String',
352
435
  :'inpatient_physician' => :'String',
436
+ :'inpatient_substance' => :'String',
353
437
  :'level' => :'String',
354
438
  :'logo_url' => :'String',
439
+ :'match_percentage' => :'Integer',
355
440
  :'name' => :'String',
356
441
  :'non_preferred_brand_drugs' => :'String',
357
- :'on_market' => :'BOOLEAN',
358
442
  :'off_market' => :'BOOLEAN',
443
+ :'on_market' => :'BOOLEAN',
359
444
  :'out_of_network_coverage' => :'BOOLEAN',
445
+ :'out_of_network_ids' => :'Array<Integer>',
360
446
  :'outpatient_facility' => :'String',
361
447
  :'outpatient_mental_health' => :'String',
362
448
  :'outpatient_physician' => :'String',
449
+ :'outpatient_substance' => :'String',
450
+ :'perfect_match_percentage' => :'Integer',
363
451
  :'plan_market' => :'String',
364
452
  :'plan_type' => :'String',
365
453
  :'preferred_brand_drugs' => :'String',
454
+ :'premium' => :'Float',
455
+ :'premium_subsidized' => :'Float',
456
+ :'prenatal_postnatal_care' => :'String',
366
457
  :'preventative_care' => :'String',
367
458
  :'primary_care_physician' => :'String',
368
459
  :'rehabilitation_services' => :'String',
460
+ :'skilled_nursing' => :'String',
369
461
  :'specialist' => :'String',
370
462
  :'specialty_drugs' => :'String',
371
- :'urgent_care' => :'String',
372
- :'match_percentage' => :'Integer',
373
- :'perfect_match_percentage' => :'Integer'
463
+ :'urgent_care' => :'String'
374
464
  }
375
465
  end
376
466
 
@@ -384,6 +474,8 @@ module VericredClient
384
474
 
385
475
  if attributes.has_key?(:'adult_dental')
386
476
  self.adult_dental = attributes[:'adult_dental']
477
+ else
478
+ self.adult_dental = false
387
479
  end
388
480
 
389
481
  if attributes.has_key?(:'ambulance')
@@ -404,6 +496,12 @@ module VericredClient
404
496
 
405
497
  if attributes.has_key?(:'child_dental')
406
498
  self.child_dental = attributes[:'child_dental']
499
+ else
500
+ self.child_dental = false
501
+ end
502
+
503
+ if attributes.has_key?(:'child_eye_exam')
504
+ self.child_eye_exam = attributes[:'child_eye_exam']
407
505
  end
408
506
 
409
507
  if attributes.has_key?(:'child_eyewear')
@@ -414,8 +512,8 @@ module VericredClient
414
512
  self.customer_service_phone_number = attributes[:'customer_service_phone_number']
415
513
  end
416
514
 
417
- if attributes.has_key?(:'durable_medical_equipment')
418
- self.durable_medical_equipment = attributes[:'durable_medical_equipment']
515
+ if attributes.has_key?(:'dependent_premium')
516
+ self.dependent_premium = attributes[:'dependent_premium']
419
517
  end
420
518
 
421
519
  if attributes.has_key?(:'diagnostic_test')
@@ -426,10 +524,26 @@ module VericredClient
426
524
  self.drug_formulary_url = attributes[:'drug_formulary_url']
427
525
  end
428
526
 
527
+ if attributes.has_key?(:'durable_medical_equipment')
528
+ self.durable_medical_equipment = attributes[:'durable_medical_equipment']
529
+ end
530
+
531
+ if attributes.has_key?(:'effective_date')
532
+ self.effective_date = attributes[:'effective_date']
533
+ end
534
+
429
535
  if attributes.has_key?(:'emergency_room')
430
536
  self.emergency_room = attributes[:'emergency_room']
431
537
  end
432
538
 
539
+ if attributes.has_key?(:'employee_premium')
540
+ self.employee_premium = attributes[:'employee_premium']
541
+ end
542
+
543
+ if attributes.has_key?(:'expiration_date')
544
+ self.expiration_date = attributes[:'expiration_date']
545
+ end
546
+
433
547
  if attributes.has_key?(:'family_drug_deductible')
434
548
  self.family_drug_deductible = attributes[:'family_drug_deductible']
435
549
  end
@@ -450,10 +564,22 @@ module VericredClient
450
564
  self.generic_drugs = attributes[:'generic_drugs']
451
565
  end
452
566
 
567
+ if attributes.has_key?(:'habilitation_services')
568
+ self.habilitation_services = attributes[:'habilitation_services']
569
+ end
570
+
453
571
  if attributes.has_key?(:'hios_issuer_id')
454
572
  self.hios_issuer_id = attributes[:'hios_issuer_id']
455
573
  end
456
574
 
575
+ if attributes.has_key?(:'home_health_care')
576
+ self.home_health_care = attributes[:'home_health_care']
577
+ end
578
+
579
+ if attributes.has_key?(:'hospice_service')
580
+ self.hospice_service = attributes[:'hospice_service']
581
+ end
582
+
457
583
  if attributes.has_key?(:'id')
458
584
  self.id = attributes[:'id']
459
585
  end
@@ -462,6 +588,12 @@ module VericredClient
462
588
  self.imaging = attributes[:'imaging']
463
589
  end
464
590
 
591
+ if attributes.has_key?(:'in_network_ids')
592
+ if (value = attributes[:'in_network_ids']).is_a?(Array)
593
+ self.in_network_ids = value
594
+ end
595
+ end
596
+
465
597
  if attributes.has_key?(:'individual_drug_deductible')
466
598
  self.individual_drug_deductible = attributes[:'individual_drug_deductible']
467
599
  end
@@ -478,14 +610,26 @@ module VericredClient
478
610
  self.individual_medical_moop = attributes[:'individual_medical_moop']
479
611
  end
480
612
 
613
+ if attributes.has_key?(:'inpatient_birth')
614
+ self.inpatient_birth = attributes[:'inpatient_birth']
615
+ end
616
+
481
617
  if attributes.has_key?(:'inpatient_facility')
482
618
  self.inpatient_facility = attributes[:'inpatient_facility']
483
619
  end
484
620
 
621
+ if attributes.has_key?(:'inpatient_mental_health')
622
+ self.inpatient_mental_health = attributes[:'inpatient_mental_health']
623
+ end
624
+
485
625
  if attributes.has_key?(:'inpatient_physician')
486
626
  self.inpatient_physician = attributes[:'inpatient_physician']
487
627
  end
488
628
 
629
+ if attributes.has_key?(:'inpatient_substance')
630
+ self.inpatient_substance = attributes[:'inpatient_substance']
631
+ end
632
+
489
633
  if attributes.has_key?(:'level')
490
634
  self.level = attributes[:'level']
491
635
  end
@@ -494,6 +638,10 @@ module VericredClient
494
638
  self.logo_url = attributes[:'logo_url']
495
639
  end
496
640
 
641
+ if attributes.has_key?(:'match_percentage')
642
+ self.match_percentage = attributes[:'match_percentage']
643
+ end
644
+
497
645
  if attributes.has_key?(:'name')
498
646
  self.name = attributes[:'name']
499
647
  end
@@ -502,16 +650,28 @@ module VericredClient
502
650
  self.non_preferred_brand_drugs = attributes[:'non_preferred_brand_drugs']
503
651
  end
504
652
 
505
- if attributes.has_key?(:'on_market')
506
- self.on_market = attributes[:'on_market']
507
- end
508
-
509
653
  if attributes.has_key?(:'off_market')
510
654
  self.off_market = attributes[:'off_market']
655
+ else
656
+ self.off_market = false
657
+ end
658
+
659
+ if attributes.has_key?(:'on_market')
660
+ self.on_market = attributes[:'on_market']
661
+ else
662
+ self.on_market = false
511
663
  end
512
664
 
513
665
  if attributes.has_key?(:'out_of_network_coverage')
514
666
  self.out_of_network_coverage = attributes[:'out_of_network_coverage']
667
+ else
668
+ self.out_of_network_coverage = false
669
+ end
670
+
671
+ if attributes.has_key?(:'out_of_network_ids')
672
+ if (value = attributes[:'out_of_network_ids']).is_a?(Array)
673
+ self.out_of_network_ids = value
674
+ end
515
675
  end
516
676
 
517
677
  if attributes.has_key?(:'outpatient_facility')
@@ -526,6 +686,14 @@ module VericredClient
526
686
  self.outpatient_physician = attributes[:'outpatient_physician']
527
687
  end
528
688
 
689
+ if attributes.has_key?(:'outpatient_substance')
690
+ self.outpatient_substance = attributes[:'outpatient_substance']
691
+ end
692
+
693
+ if attributes.has_key?(:'perfect_match_percentage')
694
+ self.perfect_match_percentage = attributes[:'perfect_match_percentage']
695
+ end
696
+
529
697
  if attributes.has_key?(:'plan_market')
530
698
  self.plan_market = attributes[:'plan_market']
531
699
  end
@@ -538,6 +706,18 @@ module VericredClient
538
706
  self.preferred_brand_drugs = attributes[:'preferred_brand_drugs']
539
707
  end
540
708
 
709
+ if attributes.has_key?(:'premium')
710
+ self.premium = attributes[:'premium']
711
+ end
712
+
713
+ if attributes.has_key?(:'premium_subsidized')
714
+ self.premium_subsidized = attributes[:'premium_subsidized']
715
+ end
716
+
717
+ if attributes.has_key?(:'prenatal_postnatal_care')
718
+ self.prenatal_postnatal_care = attributes[:'prenatal_postnatal_care']
719
+ end
720
+
541
721
  if attributes.has_key?(:'preventative_care')
542
722
  self.preventative_care = attributes[:'preventative_care']
543
723
  end
@@ -550,6 +730,10 @@ module VericredClient
550
730
  self.rehabilitation_services = attributes[:'rehabilitation_services']
551
731
  end
552
732
 
733
+ if attributes.has_key?(:'skilled_nursing')
734
+ self.skilled_nursing = attributes[:'skilled_nursing']
735
+ end
736
+
553
737
  if attributes.has_key?(:'specialist')
554
738
  self.specialist = attributes[:'specialist']
555
739
  end
@@ -562,14 +746,6 @@ module VericredClient
562
746
  self.urgent_care = attributes[:'urgent_care']
563
747
  end
564
748
 
565
- if attributes.has_key?(:'match_percentage')
566
- self.match_percentage = attributes[:'match_percentage']
567
- end
568
-
569
- if attributes.has_key?(:'perfect_match_percentage')
570
- self.perfect_match_percentage = attributes[:'perfect_match_percentage']
571
- end
572
-
573
749
  end
574
750
 
575
751
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -595,47 +771,65 @@ module VericredClient
595
771
  buy_link == o.buy_link &&
596
772
  carrier_name == o.carrier_name &&
597
773
  child_dental == o.child_dental &&
774
+ child_eye_exam == o.child_eye_exam &&
598
775
  child_eyewear == o.child_eyewear &&
599
776
  customer_service_phone_number == o.customer_service_phone_number &&
600
- durable_medical_equipment == o.durable_medical_equipment &&
777
+ dependent_premium == o.dependent_premium &&
601
778
  diagnostic_test == o.diagnostic_test &&
602
779
  drug_formulary_url == o.drug_formulary_url &&
780
+ durable_medical_equipment == o.durable_medical_equipment &&
781
+ effective_date == o.effective_date &&
603
782
  emergency_room == o.emergency_room &&
783
+ employee_premium == o.employee_premium &&
784
+ expiration_date == o.expiration_date &&
604
785
  family_drug_deductible == o.family_drug_deductible &&
605
786
  family_drug_moop == o.family_drug_moop &&
606
787
  family_medical_deductible == o.family_medical_deductible &&
607
788
  family_medical_moop == o.family_medical_moop &&
608
789
  generic_drugs == o.generic_drugs &&
790
+ habilitation_services == o.habilitation_services &&
609
791
  hios_issuer_id == o.hios_issuer_id &&
792
+ home_health_care == o.home_health_care &&
793
+ hospice_service == o.hospice_service &&
610
794
  id == o.id &&
611
795
  imaging == o.imaging &&
796
+ in_network_ids == o.in_network_ids &&
612
797
  individual_drug_deductible == o.individual_drug_deductible &&
613
798
  individual_drug_moop == o.individual_drug_moop &&
614
799
  individual_medical_deductible == o.individual_medical_deductible &&
615
800
  individual_medical_moop == o.individual_medical_moop &&
801
+ inpatient_birth == o.inpatient_birth &&
616
802
  inpatient_facility == o.inpatient_facility &&
803
+ inpatient_mental_health == o.inpatient_mental_health &&
617
804
  inpatient_physician == o.inpatient_physician &&
805
+ inpatient_substance == o.inpatient_substance &&
618
806
  level == o.level &&
619
807
  logo_url == o.logo_url &&
808
+ match_percentage == o.match_percentage &&
620
809
  name == o.name &&
621
810
  non_preferred_brand_drugs == o.non_preferred_brand_drugs &&
622
- on_market == o.on_market &&
623
811
  off_market == o.off_market &&
812
+ on_market == o.on_market &&
624
813
  out_of_network_coverage == o.out_of_network_coverage &&
814
+ out_of_network_ids == o.out_of_network_ids &&
625
815
  outpatient_facility == o.outpatient_facility &&
626
816
  outpatient_mental_health == o.outpatient_mental_health &&
627
817
  outpatient_physician == o.outpatient_physician &&
818
+ outpatient_substance == o.outpatient_substance &&
819
+ perfect_match_percentage == o.perfect_match_percentage &&
628
820
  plan_market == o.plan_market &&
629
821
  plan_type == o.plan_type &&
630
822
  preferred_brand_drugs == o.preferred_brand_drugs &&
823
+ premium == o.premium &&
824
+ premium_subsidized == o.premium_subsidized &&
825
+ prenatal_postnatal_care == o.prenatal_postnatal_care &&
631
826
  preventative_care == o.preventative_care &&
632
827
  primary_care_physician == o.primary_care_physician &&
633
828
  rehabilitation_services == o.rehabilitation_services &&
829
+ skilled_nursing == o.skilled_nursing &&
634
830
  specialist == o.specialist &&
635
831
  specialty_drugs == o.specialty_drugs &&
636
- urgent_care == o.urgent_care &&
637
- match_percentage == o.match_percentage &&
638
- perfect_match_percentage == o.perfect_match_percentage
832
+ urgent_care == o.urgent_care
639
833
  end
640
834
 
641
835
  # @see the `==` method
@@ -647,7 +841,7 @@ module VericredClient
647
841
  # Calculates hash code according to all attributes.
648
842
  # @return [Fixnum] Hash code
649
843
  def hash
650
- [adult_dental, ambulance, benefits_summary_url, buy_link, carrier_name, child_dental, child_eyewear, customer_service_phone_number, durable_medical_equipment, diagnostic_test, drug_formulary_url, emergency_room, family_drug_deductible, family_drug_moop, family_medical_deductible, family_medical_moop, generic_drugs, hios_issuer_id, id, imaging, individual_drug_deductible, individual_drug_moop, individual_medical_deductible, individual_medical_moop, inpatient_facility, inpatient_physician, level, logo_url, name, non_preferred_brand_drugs, on_market, off_market, out_of_network_coverage, outpatient_facility, outpatient_mental_health, outpatient_physician, plan_market, plan_type, preferred_brand_drugs, preventative_care, primary_care_physician, rehabilitation_services, specialist, specialty_drugs, urgent_care, match_percentage, perfect_match_percentage].hash
844
+ [adult_dental, ambulance, benefits_summary_url, buy_link, carrier_name, child_dental, child_eye_exam, child_eyewear, customer_service_phone_number, dependent_premium, diagnostic_test, drug_formulary_url, durable_medical_equipment, effective_date, emergency_room, employee_premium, expiration_date, family_drug_deductible, family_drug_moop, family_medical_deductible, family_medical_moop, 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, match_percentage, name, non_preferred_brand_drugs, off_market, on_market, out_of_network_coverage, out_of_network_ids, outpatient_facility, outpatient_mental_health, outpatient_physician, outpatient_substance, perfect_match_percentage, plan_market, plan_type, preferred_brand_drugs, premium, premium_subsidized, prenatal_postnatal_care, preventative_care, primary_care_physician, rehabilitation_services, skilled_nursing, specialist, specialty_drugs, urgent_care].hash
651
845
  end
652
846
 
653
847
  # Builds the object from hash