vericred_client 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -18
  3. data/docs/Applicant.md +3 -3
  4. data/docs/Carrier.md +1 -1
  5. data/docs/County.md +3 -3
  6. data/docs/Drug.md +3 -3
  7. data/docs/DrugCoverage.md +4 -4
  8. data/docs/DrugCoverageResponse.md +3 -1
  9. data/docs/DrugPackage.md +1 -1
  10. data/docs/DrugSearchResponse.md +2 -1
  11. data/docs/DrugsApi.md +71 -10
  12. data/docs/Meta.md +1 -1
  13. data/docs/Network.md +9 -0
  14. data/docs/NetworkSearchResponse.md +9 -0
  15. data/docs/NetworksApi.md +58 -0
  16. data/docs/Plan.md +10 -10
  17. data/docs/PlanCounty.md +1 -1
  18. data/docs/PlanCountyBulk.md +1 -1
  19. data/docs/{PlanFindResponse.md → PlanSearchResponse.md} +2 -1
  20. data/docs/PlanSearchResult.md +14 -14
  21. data/docs/PlansApi.md +69 -6
  22. data/docs/Provider.md +7 -6
  23. data/docs/ProvidersApi.md +39 -30
  24. data/docs/{ProviderResponse.md → ProvidersSearchResponse.md} +1 -1
  25. data/docs/RequestPlanFind.md +3 -2
  26. data/docs/RequestPlanFindApplicant.md +8 -0
  27. data/docs/RequestPlanFindProvider.md +8 -0
  28. data/docs/RequestProvidersSearch.md +17 -0
  29. data/docs/State.md +4 -4
  30. data/docs/ZipCountiesApi.md +11 -4
  31. data/docs/ZipCountiesResponse.md +11 -0
  32. data/docs/ZipCountyBulk.md +1 -1
  33. data/docs/ZipCountyResponse.md +2 -1
  34. data/lib/vericred_client/api/drugs_api.rb +86 -14
  35. data/lib/vericred_client/api/networks_api.rb +198 -0
  36. data/lib/vericred_client/api/plans_api.rb +134 -14
  37. data/lib/vericred_client/api/providers_api.rb +65 -59
  38. data/lib/vericred_client/api/zip_counties_api.rb +8 -5
  39. data/lib/vericred_client/api_client.rb +1 -1
  40. data/lib/vericred_client/api_error.rb +1 -1
  41. data/lib/vericred_client/models/applicant.rb +13 -15
  42. data/lib/vericred_client/models/base.rb +1 -1
  43. data/lib/vericred_client/models/carrier.rb +15 -15
  44. data/lib/vericred_client/models/carrier_subsidiary.rb +1 -1
  45. data/lib/vericred_client/models/county.rb +12 -16
  46. data/lib/vericred_client/models/county_bulk.rb +1 -1
  47. data/lib/vericred_client/models/drug.rb +26 -26
  48. data/lib/vericred_client/models/drug_coverage.rb +32 -38
  49. data/lib/vericred_client/models/drug_coverage_response.rb +40 -16
  50. data/lib/vericred_client/models/drug_package.rb +15 -15
  51. data/lib/vericred_client/models/drug_search_response.rb +21 -9
  52. data/lib/vericred_client/models/meta.rb +8 -8
  53. data/lib/vericred_client/models/network.rb +308 -0
  54. data/lib/vericred_client/models/{plan_find_response.rb → network_search_response.rb} +11 -11
  55. data/lib/vericred_client/models/plan.rb +62 -72
  56. data/lib/vericred_client/models/plan_county.rb +15 -15
  57. data/lib/vericred_client/models/plan_county_bulk.rb +15 -15
  58. data/lib/vericred_client/models/plan_search_response.rb +322 -0
  59. data/lib/vericred_client/models/plan_search_result.rb +102 -112
  60. data/lib/vericred_client/models/pricing.rb +1 -1
  61. data/lib/vericred_client/models/provider.rb +24 -22
  62. data/lib/vericred_client/models/{provider_response.rb → providers_search_response.rb} +2 -2
  63. data/lib/vericred_client/models/rating_area.rb +1 -1
  64. data/lib/vericred_client/models/request_plan_find.rb +16 -4
  65. data/lib/vericred_client/models/request_plan_find_applicant.rb +298 -0
  66. data/lib/vericred_client/models/request_plan_find_provider.rb +298 -0
  67. data/lib/vericred_client/models/request_providers_search.rb +372 -0
  68. data/lib/vericred_client/models/state.rb +25 -29
  69. data/lib/vericred_client/models/zip_code.rb +1 -1
  70. data/lib/vericred_client/models/zip_counties_response.rb +336 -0
  71. data/lib/vericred_client/models/zip_county.rb +1 -1
  72. data/lib/vericred_client/models/zip_county_bulk.rb +12 -12
  73. data/lib/vericred_client/models/zip_county_response.rb +21 -11
  74. data/lib/vericred_client/version.rb +2 -2
  75. data/lib/vericred_client.rb +10 -3
  76. data/spec/api/drugs_api_spec.rb +26 -5
  77. data/spec/api/networks_api_spec.rb +166 -0
  78. data/spec/api/plans_api_spec.rb +66 -6
  79. data/spec/api/providers_api_spec.rb +27 -19
  80. data/spec/api/zip_counties_api_spec.rb +4 -3
  81. metadata +22 -6
@@ -6,7 +6,7 @@ accepts.
6
6
 
7
7
  ## Getting Started
8
8
 
9
- Visit our [Developer Portal](https://vericred.3scale.net/access_code?access_code=vericred&cms_token=3545ca52af07bde85b7c0c3aa9d1985e) to
9
+ Visit our [Developer Portal](https://vericred.3scale.net) to
10
10
  create an account.
11
11
 
12
12
  Once you have created an account, you can create one Application for
@@ -145,17 +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
-
151
148
  # Child eyewear benefits summary
152
149
  attr_accessor :child_eyewear
153
150
 
151
+ # Child eye exam benefits summary
152
+ attr_accessor :child_eye_exam
153
+
154
154
  # Phone number to contact the insurance carrier
155
155
  attr_accessor :customer_service_phone_number
156
156
 
157
- # Cumulative premium amount for dependents
158
- attr_accessor :dependent_premium
157
+ # Benefits summary for durable medical equipment
158
+ attr_accessor :durable_medical_equipment
159
159
 
160
160
  # Diagnostic tests benefit summary
161
161
  attr_accessor :diagnostic_test
@@ -163,21 +163,15 @@ module VericredClient
163
163
  # Link to the summary of drug benefits for the plan
164
164
  attr_accessor :drug_formulary_url
165
165
 
166
- # Benefits summary for durable medical equipment
167
- attr_accessor :durable_medical_equipment
168
-
169
166
  # Effective date of coverage.
170
167
  attr_accessor :effective_date
171
168
 
172
- # Description of costs when visiting the ER
173
- attr_accessor :emergency_room
174
-
175
- # Cumulative premium amount for employees
176
- attr_accessor :employee_premium
177
-
178
169
  # Expiration date of coverage.
179
170
  attr_accessor :expiration_date
180
171
 
172
+ # Description of costs when visiting the ER
173
+ attr_accessor :emergency_room
174
+
181
175
  # Deductible for drugs when a family is on the plan.
182
176
  attr_accessor :family_drug_deductible
183
177
 
@@ -247,21 +241,18 @@ module VericredClient
247
241
  # Link to a copy of the insurance carrier's logo
248
242
  attr_accessor :logo_url
249
243
 
250
- # Percentage of doctors who matched this Plan
251
- attr_accessor :match_percentage
252
-
253
244
  # Marketing name of the plan
254
245
  attr_accessor :name
255
246
 
256
247
  # Cost under the plan for non-preferred brand drugs
257
248
  attr_accessor :non_preferred_brand_drugs
258
249
 
259
- # Is the plan off-market?
260
- attr_accessor :off_market
261
-
262
250
  # Is the plan on-market?
263
251
  attr_accessor :on_market
264
252
 
253
+ # Is the plan off-market?
254
+ attr_accessor :off_market
255
+
265
256
  # Does this plan provide any out of network coverage?
266
257
  attr_accessor :out_of_network_coverage
267
258
 
@@ -280,9 +271,6 @@ module VericredClient
280
271
  # Outpatient substance abuse benefits summary
281
272
  attr_accessor :outpatient_substance
282
273
 
283
- # Percentage of employees with 100% match
284
- attr_accessor :perfect_match_percentage
285
-
286
274
  # Market in which the plan is offered (on_marketplace, shop, etc)
287
275
  attr_accessor :plan_market
288
276
 
@@ -292,18 +280,18 @@ module VericredClient
292
280
  # Cost under the plan for perferred brand drugs
293
281
  attr_accessor :preferred_brand_drugs
294
282
 
295
- # Cumulative premium amount
296
- attr_accessor :premium
297
-
298
- # Cumulative premium amount after subsidy
299
- attr_accessor :premium_subsidized
300
-
301
283
  # Inpatient substance abuse benefits summary
302
284
  attr_accessor :prenatal_postnatal_care
303
285
 
304
286
  # Benefits summary for preventative care
305
287
  attr_accessor :preventative_care
306
288
 
289
+ # Cumulative premium amount after subsidy
290
+ attr_accessor :premium_subsidized
291
+
292
+ # Cumulative premium amount
293
+ attr_accessor :premium
294
+
307
295
  # Cost under the plan to visit a Primary Care Physician
308
296
  attr_accessor :primary_care_physician
309
297
 
@@ -322,6 +310,18 @@ module VericredClient
322
310
  # Benefits summary for urgent care
323
311
  attr_accessor :urgent_care
324
312
 
313
+ # Percentage of doctors who matched this Plan
314
+ attr_accessor :match_percentage
315
+
316
+ # Percentage of employees with 100% match
317
+ attr_accessor :perfect_match_percentage
318
+
319
+ # Cumulative premium amount for employees
320
+ attr_accessor :employee_premium
321
+
322
+ # Cumulative premium amount for dependents
323
+ attr_accessor :dependent_premium
324
+
325
325
  # Attribute mapping from ruby-style variable name to JSON key.
326
326
  def self.attribute_map
327
327
  {
@@ -331,17 +331,15 @@ module VericredClient
331
331
  :'buy_link' => :'buy_link',
332
332
  :'carrier_name' => :'carrier_name',
333
333
  :'child_dental' => :'child_dental',
334
- :'child_eye_exam' => :'child_eye_exam',
335
334
  :'child_eyewear' => :'child_eyewear',
335
+ :'child_eye_exam' => :'child_eye_exam',
336
336
  :'customer_service_phone_number' => :'customer_service_phone_number',
337
- :'dependent_premium' => :'dependent_premium',
337
+ :'durable_medical_equipment' => :'durable_medical_equipment',
338
338
  :'diagnostic_test' => :'diagnostic_test',
339
339
  :'drug_formulary_url' => :'drug_formulary_url',
340
- :'durable_medical_equipment' => :'durable_medical_equipment',
341
340
  :'effective_date' => :'effective_date',
342
- :'emergency_room' => :'emergency_room',
343
- :'employee_premium' => :'employee_premium',
344
341
  :'expiration_date' => :'expiration_date',
342
+ :'emergency_room' => :'emergency_room',
345
343
  :'family_drug_deductible' => :'family_drug_deductible',
346
344
  :'family_drug_moop' => :'family_drug_moop',
347
345
  :'family_medical_deductible' => :'family_medical_deductible',
@@ -365,31 +363,33 @@ module VericredClient
365
363
  :'inpatient_substance' => :'inpatient_substance',
366
364
  :'level' => :'level',
367
365
  :'logo_url' => :'logo_url',
368
- :'match_percentage' => :'match_percentage',
369
366
  :'name' => :'name',
370
367
  :'non_preferred_brand_drugs' => :'non_preferred_brand_drugs',
371
- :'off_market' => :'off_market',
372
368
  :'on_market' => :'on_market',
369
+ :'off_market' => :'off_market',
373
370
  :'out_of_network_coverage' => :'out_of_network_coverage',
374
371
  :'out_of_network_ids' => :'out_of_network_ids',
375
372
  :'outpatient_facility' => :'outpatient_facility',
376
373
  :'outpatient_mental_health' => :'outpatient_mental_health',
377
374
  :'outpatient_physician' => :'outpatient_physician',
378
375
  :'outpatient_substance' => :'outpatient_substance',
379
- :'perfect_match_percentage' => :'perfect_match_percentage',
380
376
  :'plan_market' => :'plan_market',
381
377
  :'plan_type' => :'plan_type',
382
378
  :'preferred_brand_drugs' => :'preferred_brand_drugs',
383
- :'premium' => :'premium',
384
- :'premium_subsidized' => :'premium_subsidized',
385
379
  :'prenatal_postnatal_care' => :'prenatal_postnatal_care',
386
380
  :'preventative_care' => :'preventative_care',
381
+ :'premium_subsidized' => :'premium_subsidized',
382
+ :'premium' => :'premium',
387
383
  :'primary_care_physician' => :'primary_care_physician',
388
384
  :'rehabilitation_services' => :'rehabilitation_services',
389
385
  :'skilled_nursing' => :'skilled_nursing',
390
386
  :'specialist' => :'specialist',
391
387
  :'specialty_drugs' => :'specialty_drugs',
392
- :'urgent_care' => :'urgent_care'
388
+ :'urgent_care' => :'urgent_care',
389
+ :'match_percentage' => :'match_percentage',
390
+ :'perfect_match_percentage' => :'perfect_match_percentage',
391
+ :'employee_premium' => :'employee_premium',
392
+ :'dependent_premium' => :'dependent_premium'
393
393
  }
394
394
  end
395
395
 
@@ -402,17 +402,15 @@ module VericredClient
402
402
  :'buy_link' => :'String',
403
403
  :'carrier_name' => :'String',
404
404
  :'child_dental' => :'BOOLEAN',
405
- :'child_eye_exam' => :'String',
406
405
  :'child_eyewear' => :'String',
406
+ :'child_eye_exam' => :'String',
407
407
  :'customer_service_phone_number' => :'String',
408
- :'dependent_premium' => :'Float',
408
+ :'durable_medical_equipment' => :'String',
409
409
  :'diagnostic_test' => :'String',
410
410
  :'drug_formulary_url' => :'String',
411
- :'durable_medical_equipment' => :'String',
412
411
  :'effective_date' => :'String',
413
- :'emergency_room' => :'String',
414
- :'employee_premium' => :'Float',
415
412
  :'expiration_date' => :'String',
413
+ :'emergency_room' => :'String',
416
414
  :'family_drug_deductible' => :'String',
417
415
  :'family_drug_moop' => :'String',
418
416
  :'family_medical_deductible' => :'String',
@@ -436,31 +434,33 @@ module VericredClient
436
434
  :'inpatient_substance' => :'String',
437
435
  :'level' => :'String',
438
436
  :'logo_url' => :'String',
439
- :'match_percentage' => :'Integer',
440
437
  :'name' => :'String',
441
438
  :'non_preferred_brand_drugs' => :'String',
442
- :'off_market' => :'BOOLEAN',
443
439
  :'on_market' => :'BOOLEAN',
440
+ :'off_market' => :'BOOLEAN',
444
441
  :'out_of_network_coverage' => :'BOOLEAN',
445
442
  :'out_of_network_ids' => :'Array<Integer>',
446
443
  :'outpatient_facility' => :'String',
447
444
  :'outpatient_mental_health' => :'String',
448
445
  :'outpatient_physician' => :'String',
449
446
  :'outpatient_substance' => :'String',
450
- :'perfect_match_percentage' => :'Integer',
451
447
  :'plan_market' => :'String',
452
448
  :'plan_type' => :'String',
453
449
  :'preferred_brand_drugs' => :'String',
454
- :'premium' => :'Float',
455
- :'premium_subsidized' => :'Float',
456
450
  :'prenatal_postnatal_care' => :'String',
457
451
  :'preventative_care' => :'String',
452
+ :'premium_subsidized' => :'Float',
453
+ :'premium' => :'Float',
458
454
  :'primary_care_physician' => :'String',
459
455
  :'rehabilitation_services' => :'String',
460
456
  :'skilled_nursing' => :'String',
461
457
  :'specialist' => :'String',
462
458
  :'specialty_drugs' => :'String',
463
- :'urgent_care' => :'String'
459
+ :'urgent_care' => :'String',
460
+ :'match_percentage' => :'Integer',
461
+ :'perfect_match_percentage' => :'Integer',
462
+ :'employee_premium' => :'Float',
463
+ :'dependent_premium' => :'Float'
464
464
  }
465
465
  end
466
466
 
@@ -474,8 +474,6 @@ module VericredClient
474
474
 
475
475
  if attributes.has_key?(:'adult_dental')
476
476
  self.adult_dental = attributes[:'adult_dental']
477
- else
478
- self.adult_dental = false
479
477
  end
480
478
 
481
479
  if attributes.has_key?(:'ambulance')
@@ -496,24 +494,22 @@ module VericredClient
496
494
 
497
495
  if attributes.has_key?(:'child_dental')
498
496
  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']
505
497
  end
506
498
 
507
499
  if attributes.has_key?(:'child_eyewear')
508
500
  self.child_eyewear = attributes[:'child_eyewear']
509
501
  end
510
502
 
503
+ if attributes.has_key?(:'child_eye_exam')
504
+ self.child_eye_exam = attributes[:'child_eye_exam']
505
+ end
506
+
511
507
  if attributes.has_key?(:'customer_service_phone_number')
512
508
  self.customer_service_phone_number = attributes[:'customer_service_phone_number']
513
509
  end
514
510
 
515
- if attributes.has_key?(:'dependent_premium')
516
- self.dependent_premium = attributes[:'dependent_premium']
511
+ if attributes.has_key?(:'durable_medical_equipment')
512
+ self.durable_medical_equipment = attributes[:'durable_medical_equipment']
517
513
  end
518
514
 
519
515
  if attributes.has_key?(:'diagnostic_test')
@@ -524,26 +520,18 @@ module VericredClient
524
520
  self.drug_formulary_url = attributes[:'drug_formulary_url']
525
521
  end
526
522
 
527
- if attributes.has_key?(:'durable_medical_equipment')
528
- self.durable_medical_equipment = attributes[:'durable_medical_equipment']
529
- end
530
-
531
523
  if attributes.has_key?(:'effective_date')
532
524
  self.effective_date = attributes[:'effective_date']
533
525
  end
534
526
 
535
- if attributes.has_key?(:'emergency_room')
536
- self.emergency_room = attributes[:'emergency_room']
537
- end
538
-
539
- if attributes.has_key?(:'employee_premium')
540
- self.employee_premium = attributes[:'employee_premium']
541
- end
542
-
543
527
  if attributes.has_key?(:'expiration_date')
544
528
  self.expiration_date = attributes[:'expiration_date']
545
529
  end
546
530
 
531
+ if attributes.has_key?(:'emergency_room')
532
+ self.emergency_room = attributes[:'emergency_room']
533
+ end
534
+
547
535
  if attributes.has_key?(:'family_drug_deductible')
548
536
  self.family_drug_deductible = attributes[:'family_drug_deductible']
549
537
  end
@@ -638,10 +626,6 @@ module VericredClient
638
626
  self.logo_url = attributes[:'logo_url']
639
627
  end
640
628
 
641
- if attributes.has_key?(:'match_percentage')
642
- self.match_percentage = attributes[:'match_percentage']
643
- end
644
-
645
629
  if attributes.has_key?(:'name')
646
630
  self.name = attributes[:'name']
647
631
  end
@@ -650,22 +634,16 @@ module VericredClient
650
634
  self.non_preferred_brand_drugs = attributes[:'non_preferred_brand_drugs']
651
635
  end
652
636
 
653
- if attributes.has_key?(:'off_market')
654
- self.off_market = attributes[:'off_market']
655
- else
656
- self.off_market = false
657
- end
658
-
659
637
  if attributes.has_key?(:'on_market')
660
638
  self.on_market = attributes[:'on_market']
661
- else
662
- self.on_market = false
639
+ end
640
+
641
+ if attributes.has_key?(:'off_market')
642
+ self.off_market = attributes[:'off_market']
663
643
  end
664
644
 
665
645
  if attributes.has_key?(:'out_of_network_coverage')
666
646
  self.out_of_network_coverage = attributes[:'out_of_network_coverage']
667
- else
668
- self.out_of_network_coverage = false
669
647
  end
670
648
 
671
649
  if attributes.has_key?(:'out_of_network_ids')
@@ -690,10 +668,6 @@ module VericredClient
690
668
  self.outpatient_substance = attributes[:'outpatient_substance']
691
669
  end
692
670
 
693
- if attributes.has_key?(:'perfect_match_percentage')
694
- self.perfect_match_percentage = attributes[:'perfect_match_percentage']
695
- end
696
-
697
671
  if attributes.has_key?(:'plan_market')
698
672
  self.plan_market = attributes[:'plan_market']
699
673
  end
@@ -706,14 +680,6 @@ module VericredClient
706
680
  self.preferred_brand_drugs = attributes[:'preferred_brand_drugs']
707
681
  end
708
682
 
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
683
  if attributes.has_key?(:'prenatal_postnatal_care')
718
684
  self.prenatal_postnatal_care = attributes[:'prenatal_postnatal_care']
719
685
  end
@@ -722,6 +688,14 @@ module VericredClient
722
688
  self.preventative_care = attributes[:'preventative_care']
723
689
  end
724
690
 
691
+ if attributes.has_key?(:'premium_subsidized')
692
+ self.premium_subsidized = attributes[:'premium_subsidized']
693
+ end
694
+
695
+ if attributes.has_key?(:'premium')
696
+ self.premium = attributes[:'premium']
697
+ end
698
+
725
699
  if attributes.has_key?(:'primary_care_physician')
726
700
  self.primary_care_physician = attributes[:'primary_care_physician']
727
701
  end
@@ -746,6 +720,22 @@ module VericredClient
746
720
  self.urgent_care = attributes[:'urgent_care']
747
721
  end
748
722
 
723
+ if attributes.has_key?(:'match_percentage')
724
+ self.match_percentage = attributes[:'match_percentage']
725
+ end
726
+
727
+ if attributes.has_key?(:'perfect_match_percentage')
728
+ self.perfect_match_percentage = attributes[:'perfect_match_percentage']
729
+ end
730
+
731
+ if attributes.has_key?(:'employee_premium')
732
+ self.employee_premium = attributes[:'employee_premium']
733
+ end
734
+
735
+ if attributes.has_key?(:'dependent_premium')
736
+ self.dependent_premium = attributes[:'dependent_premium']
737
+ end
738
+
749
739
  end
750
740
 
751
741
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -771,17 +761,15 @@ module VericredClient
771
761
  buy_link == o.buy_link &&
772
762
  carrier_name == o.carrier_name &&
773
763
  child_dental == o.child_dental &&
774
- child_eye_exam == o.child_eye_exam &&
775
764
  child_eyewear == o.child_eyewear &&
765
+ child_eye_exam == o.child_eye_exam &&
776
766
  customer_service_phone_number == o.customer_service_phone_number &&
777
- dependent_premium == o.dependent_premium &&
767
+ durable_medical_equipment == o.durable_medical_equipment &&
778
768
  diagnostic_test == o.diagnostic_test &&
779
769
  drug_formulary_url == o.drug_formulary_url &&
780
- durable_medical_equipment == o.durable_medical_equipment &&
781
770
  effective_date == o.effective_date &&
782
- emergency_room == o.emergency_room &&
783
- employee_premium == o.employee_premium &&
784
771
  expiration_date == o.expiration_date &&
772
+ emergency_room == o.emergency_room &&
785
773
  family_drug_deductible == o.family_drug_deductible &&
786
774
  family_drug_moop == o.family_drug_moop &&
787
775
  family_medical_deductible == o.family_medical_deductible &&
@@ -805,31 +793,33 @@ module VericredClient
805
793
  inpatient_substance == o.inpatient_substance &&
806
794
  level == o.level &&
807
795
  logo_url == o.logo_url &&
808
- match_percentage == o.match_percentage &&
809
796
  name == o.name &&
810
797
  non_preferred_brand_drugs == o.non_preferred_brand_drugs &&
811
- off_market == o.off_market &&
812
798
  on_market == o.on_market &&
799
+ off_market == o.off_market &&
813
800
  out_of_network_coverage == o.out_of_network_coverage &&
814
801
  out_of_network_ids == o.out_of_network_ids &&
815
802
  outpatient_facility == o.outpatient_facility &&
816
803
  outpatient_mental_health == o.outpatient_mental_health &&
817
804
  outpatient_physician == o.outpatient_physician &&
818
805
  outpatient_substance == o.outpatient_substance &&
819
- perfect_match_percentage == o.perfect_match_percentage &&
820
806
  plan_market == o.plan_market &&
821
807
  plan_type == o.plan_type &&
822
808
  preferred_brand_drugs == o.preferred_brand_drugs &&
823
- premium == o.premium &&
824
- premium_subsidized == o.premium_subsidized &&
825
809
  prenatal_postnatal_care == o.prenatal_postnatal_care &&
826
810
  preventative_care == o.preventative_care &&
811
+ premium_subsidized == o.premium_subsidized &&
812
+ premium == o.premium &&
827
813
  primary_care_physician == o.primary_care_physician &&
828
814
  rehabilitation_services == o.rehabilitation_services &&
829
815
  skilled_nursing == o.skilled_nursing &&
830
816
  specialist == o.specialist &&
831
817
  specialty_drugs == o.specialty_drugs &&
832
- urgent_care == o.urgent_care
818
+ urgent_care == o.urgent_care &&
819
+ match_percentage == o.match_percentage &&
820
+ perfect_match_percentage == o.perfect_match_percentage &&
821
+ employee_premium == o.employee_premium &&
822
+ dependent_premium == o.dependent_premium
833
823
  end
834
824
 
835
825
  # @see the `==` method
@@ -841,7 +831,7 @@ module VericredClient
841
831
  # Calculates hash code according to all attributes.
842
832
  # @return [Fixnum] Hash code
843
833
  def 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
834
+ [adult_dental, ambulance, benefits_summary_url, buy_link, carrier_name, child_dental, child_eyewear, child_eye_exam, customer_service_phone_number, durable_medical_equipment, diagnostic_test, drug_formulary_url, effective_date, expiration_date, emergency_room, 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, name, non_preferred_brand_drugs, on_market, off_market, out_of_network_coverage, out_of_network_ids, outpatient_facility, outpatient_mental_health, outpatient_physician, outpatient_substance, plan_market, plan_type, preferred_brand_drugs, prenatal_postnatal_care, preventative_care, premium_subsidized, premium, primary_care_physician, rehabilitation_services, skilled_nursing, specialist, specialty_drugs, urgent_care, match_percentage, perfect_match_percentage, employee_premium, dependent_premium].hash
845
835
  end
846
836
 
847
837
  # Builds the object from hash
@@ -6,7 +6,7 @@ accepts.
6
6
 
7
7
  ## Getting Started
8
8
 
9
- Visit our [Developer Portal](https://vericred.3scale.net/access_code?access_code=vericred&cms_token=3545ca52af07bde85b7c0c3aa9d1985e) to
9
+ Visit our [Developer Portal](https://vericred.3scale.net) to
10
10
  create an account.
11
11
 
12
12
  Once you have created an account, you can create one Application for
@@ -6,7 +6,7 @@ accepts.
6
6
 
7
7
  ## Getting Started
8
8
 
9
- Visit our [Developer Portal](https://vericred.3scale.net/access_code?access_code=vericred&cms_token=3545ca52af07bde85b7c0c3aa9d1985e) to
9
+ Visit our [Developer Portal](https://vericred.3scale.net) to
10
10
  create an account.
11
11
 
12
12
  Once you have created an account, you can create one Application for
@@ -148,12 +148,12 @@ module VericredClient
148
148
  # Primary email address to contact the provider.
149
149
  attr_accessor :email
150
150
 
151
- # Given name for the provider.
152
- attr_accessor :first_name
153
-
154
151
  # Provider's gender (M or F)
155
152
  attr_accessor :gender
156
153
 
154
+ # Given name for the provider.
155
+ attr_accessor :first_name
156
+
157
157
  # List of HIOS ids for this provider
158
158
  attr_accessor :hios_ids
159
159
 
@@ -172,6 +172,9 @@ module VericredClient
172
172
  # Middle name for the provider.
173
173
  attr_accessor :middle_name
174
174
 
175
+ # Array of network ids
176
+ attr_accessor :network_ids
177
+
175
178
  # Personal contact phone for the provider.
176
179
  attr_accessor :personal_phone
177
180
 
@@ -218,14 +221,15 @@ module VericredClient
218
221
  :'accepting_referral_patients' => :'accepting_referral_patients',
219
222
  :'city' => :'city',
220
223
  :'email' => :'email',
221
- :'first_name' => :'first_name',
222
224
  :'gender' => :'gender',
225
+ :'first_name' => :'first_name',
223
226
  :'hios_ids' => :'hios_ids',
224
227
  :'id' => :'id',
225
228
  :'last_name' => :'last_name',
226
229
  :'latitude' => :'latitude',
227
230
  :'longitude' => :'longitude',
228
231
  :'middle_name' => :'middle_name',
232
+ :'network_ids' => :'network_ids',
229
233
  :'personal_phone' => :'personal_phone',
230
234
  :'phone' => :'phone',
231
235
  :'presentation_name' => :'presentation_name',
@@ -251,14 +255,15 @@ module VericredClient
251
255
  :'accepting_referral_patients' => :'BOOLEAN',
252
256
  :'city' => :'String',
253
257
  :'email' => :'String',
254
- :'first_name' => :'String',
255
258
  :'gender' => :'String',
259
+ :'first_name' => :'String',
256
260
  :'hios_ids' => :'Array<String>',
257
261
  :'id' => :'Integer',
258
262
  :'last_name' => :'String',
259
263
  :'latitude' => :'Float',
260
264
  :'longitude' => :'Float',
261
265
  :'middle_name' => :'String',
266
+ :'network_ids' => :'Array<Integer>',
262
267
  :'personal_phone' => :'String',
263
268
  :'phone' => :'String',
264
269
  :'presentation_name' => :'String',
@@ -284,32 +289,22 @@ module VericredClient
284
289
 
285
290
  if attributes.has_key?(:'accepting_change_of_payor_patients')
286
291
  self.accepting_change_of_payor_patients = attributes[:'accepting_change_of_payor_patients']
287
- else
288
- self.accepting_change_of_payor_patients = false
289
292
  end
290
293
 
291
294
  if attributes.has_key?(:'accepting_medicaid_patients')
292
295
  self.accepting_medicaid_patients = attributes[:'accepting_medicaid_patients']
293
- else
294
- self.accepting_medicaid_patients = false
295
296
  end
296
297
 
297
298
  if attributes.has_key?(:'accepting_medicare_patients')
298
299
  self.accepting_medicare_patients = attributes[:'accepting_medicare_patients']
299
- else
300
- self.accepting_medicare_patients = false
301
300
  end
302
301
 
303
302
  if attributes.has_key?(:'accepting_private_patients')
304
303
  self.accepting_private_patients = attributes[:'accepting_private_patients']
305
- else
306
- self.accepting_private_patients = false
307
304
  end
308
305
 
309
306
  if attributes.has_key?(:'accepting_referral_patients')
310
307
  self.accepting_referral_patients = attributes[:'accepting_referral_patients']
311
- else
312
- self.accepting_referral_patients = false
313
308
  end
314
309
 
315
310
  if attributes.has_key?(:'city')
@@ -320,14 +315,14 @@ module VericredClient
320
315
  self.email = attributes[:'email']
321
316
  end
322
317
 
323
- if attributes.has_key?(:'first_name')
324
- self.first_name = attributes[:'first_name']
325
- end
326
-
327
318
  if attributes.has_key?(:'gender')
328
319
  self.gender = attributes[:'gender']
329
320
  end
330
321
 
322
+ if attributes.has_key?(:'first_name')
323
+ self.first_name = attributes[:'first_name']
324
+ end
325
+
331
326
  if attributes.has_key?(:'hios_ids')
332
327
  if (value = attributes[:'hios_ids']).is_a?(Array)
333
328
  self.hios_ids = value
@@ -354,6 +349,12 @@ module VericredClient
354
349
  self.middle_name = attributes[:'middle_name']
355
350
  end
356
351
 
352
+ if attributes.has_key?(:'network_ids')
353
+ if (value = attributes[:'network_ids']).is_a?(Array)
354
+ self.network_ids = value
355
+ end
356
+ end
357
+
357
358
  if attributes.has_key?(:'personal_phone')
358
359
  self.personal_phone = attributes[:'personal_phone']
359
360
  end
@@ -428,14 +429,15 @@ module VericredClient
428
429
  accepting_referral_patients == o.accepting_referral_patients &&
429
430
  city == o.city &&
430
431
  email == o.email &&
431
- first_name == o.first_name &&
432
432
  gender == o.gender &&
433
+ first_name == o.first_name &&
433
434
  hios_ids == o.hios_ids &&
434
435
  id == o.id &&
435
436
  last_name == o.last_name &&
436
437
  latitude == o.latitude &&
437
438
  longitude == o.longitude &&
438
439
  middle_name == o.middle_name &&
440
+ network_ids == o.network_ids &&
439
441
  personal_phone == o.personal_phone &&
440
442
  phone == o.phone &&
441
443
  presentation_name == o.presentation_name &&
@@ -459,7 +461,7 @@ module VericredClient
459
461
  # Calculates hash code according to all attributes.
460
462
  # @return [Fixnum] Hash code
461
463
  def hash
462
- [accepting_change_of_payor_patients, accepting_medicaid_patients, accepting_medicare_patients, accepting_private_patients, accepting_referral_patients, city, email, first_name, gender, hios_ids, id, last_name, latitude, longitude, middle_name, personal_phone, phone, presentation_name, specialty, state, state_id, street_line_1, street_line_2, suffix, title, type, zip_code].hash
464
+ [accepting_change_of_payor_patients, accepting_medicaid_patients, accepting_medicare_patients, accepting_private_patients, accepting_referral_patients, city, email, gender, first_name, hios_ids, id, last_name, latitude, longitude, middle_name, network_ids, personal_phone, phone, presentation_name, specialty, state, state_id, street_line_1, street_line_2, suffix, title, type, zip_code].hash
463
465
  end
464
466
 
465
467
  # Builds the object from hash
@@ -6,7 +6,7 @@ accepts.
6
6
 
7
7
  ## Getting Started
8
8
 
9
- Visit our [Developer Portal](https://vericred.3scale.net/access_code?access_code=vericred&cms_token=3545ca52af07bde85b7c0c3aa9d1985e) to
9
+ Visit our [Developer Portal](https://vericred.3scale.net) to
10
10
  create an account.
11
11
 
12
12
  Once you have created an account, you can create one Application for
@@ -126,7 +126,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
126
126
  require 'date'
127
127
 
128
128
  module VericredClient
129
- class ProviderResponse
129
+ class ProvidersSearchResponse
130
130
  # Metadata for query
131
131
  attr_accessor :meta
132
132