vericred_client 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -20
  3. data/docs/CarrierSubsidiary.md +1 -0
  4. data/docs/DrugsApi.md +20 -14
  5. data/docs/NetworksApi.md +17 -4
  6. data/docs/Plan.md +3 -0
  7. data/docs/PlanCounty.md +0 -1
  8. data/docs/PlanCountyBulk.md +0 -1
  9. data/docs/PlanSearchResult.md +3 -0
  10. data/docs/PlanZipCounty.md +10 -0
  11. data/docs/PlansApi.md +17 -2
  12. data/docs/ProvidersApi.md +18 -8
  13. data/docs/RequestPlanFind.md +3 -0
  14. data/docs/ZipCountiesApi.md +10 -7
  15. data/lib/vericred_client/api/drugs_api.rb +7 -18
  16. data/lib/vericred_client/api/networks_api.rb +14 -13
  17. data/lib/vericred_client/api/plans_api.rb +24 -13
  18. data/lib/vericred_client/api/providers_api.rb +7 -15
  19. data/lib/vericred_client/api/zip_counties_api.rb +6 -14
  20. data/lib/vericred_client/api_client.rb +6 -10
  21. data/lib/vericred_client/api_error.rb +5 -10
  22. data/lib/vericred_client/configuration.rb +7 -0
  23. data/lib/vericred_client/models/applicant.rb +5 -10
  24. data/lib/vericred_client/models/base.rb +5 -10
  25. data/lib/vericred_client/models/carrier.rb +5 -10
  26. data/lib/vericred_client/models/carrier_subsidiary.rb +19 -14
  27. data/lib/vericred_client/models/county.rb +5 -10
  28. data/lib/vericred_client/models/county_bulk.rb +5 -10
  29. data/lib/vericred_client/models/drug.rb +5 -10
  30. data/lib/vericred_client/models/drug_coverage.rb +5 -10
  31. data/lib/vericred_client/models/drug_coverage_response.rb +5 -10
  32. data/lib/vericred_client/models/drug_package.rb +5 -10
  33. data/lib/vericred_client/models/drug_search_response.rb +5 -10
  34. data/lib/vericred_client/models/meta.rb +5 -10
  35. data/lib/vericred_client/models/network.rb +5 -10
  36. data/lib/vericred_client/models/network_search_response.rb +5 -10
  37. data/lib/vericred_client/models/plan.rb +36 -11
  38. data/lib/vericred_client/models/plan_county.rb +6 -21
  39. data/lib/vericred_client/models/plan_county_bulk.rb +6 -21
  40. data/lib/vericred_client/models/plan_search_response.rb +5 -10
  41. data/lib/vericred_client/models/plan_search_result.rb +36 -11
  42. data/lib/vericred_client/models/plan_zip_county.rb +313 -0
  43. data/lib/vericred_client/models/pricing.rb +5 -10
  44. data/lib/vericred_client/models/provider.rb +5 -10
  45. data/lib/vericred_client/models/provider_show_response.rb +5 -10
  46. data/lib/vericred_client/models/providers_search_response.rb +5 -10
  47. data/lib/vericred_client/models/rating_area.rb +5 -10
  48. data/lib/vericred_client/models/request_plan_find.rb +36 -11
  49. data/lib/vericred_client/models/request_plan_find_applicant.rb +5 -10
  50. data/lib/vericred_client/models/request_plan_find_provider.rb +5 -10
  51. data/lib/vericred_client/models/request_providers_search.rb +5 -10
  52. data/lib/vericred_client/models/state.rb +5 -10
  53. data/lib/vericred_client/models/zip_code.rb +5 -10
  54. data/lib/vericred_client/models/zip_counties_response.rb +5 -10
  55. data/lib/vericred_client/models/zip_county.rb +5 -10
  56. data/lib/vericred_client/models/zip_county_bulk.rb +5 -10
  57. data/lib/vericred_client/models/zip_county_response.rb +5 -10
  58. data/lib/vericred_client/version.rb +6 -11
  59. data/lib/vericred_client.rb +6 -10
  60. data/spec/api/drugs_api_spec.rb +5 -12
  61. data/spec/api/networks_api_spec.rb +8 -11
  62. data/spec/api/plans_api_spec.rb +14 -11
  63. data/spec/api/providers_api_spec.rb +5 -11
  64. data/spec/api/zip_counties_api_spec.rb +5 -11
  65. metadata +4 -2
@@ -31,17 +31,12 @@ The current version is `v3`. Previous versions are `v1` and `v2`.
31
31
 
32
32
  ## Pagination
33
33
 
34
- Most endpoints are not paginated. It will be noted in the documentation if/when
35
- an endpoint is paginated.
34
+ Endpoints that accept `page` and `per_page` parameters are paginated. They expose
35
+ four additional fields that contain data about your position in the response,
36
+ namely `Total`, `Per-Page`, `Link`, and `Page` as described in [RFC-5988](https://tools.ietf.org/html/rfc5988).
36
37
 
37
- When pagination is present, a `meta` stanza will be present in the response
38
- with the total number of records
39
-
40
- ```
41
- {
42
- things: [{ id: 1 }, { id: 2 }],
43
- meta: { total: 500 }
44
- }
38
+ For example, to display 5 results per page and view the second page of a
39
+ `GET` to `/networks`, your final request would be `GET /networks?....page=2&per_page=5`.
45
40
  ```
46
41
 
47
42
  ## Sideloading
@@ -31,17 +31,12 @@ The current version is `v3`. Previous versions are `v1` and `v2`.
31
31
 
32
32
  ## Pagination
33
33
 
34
- Most endpoints are not paginated. It will be noted in the documentation if/when
35
- an endpoint is paginated.
34
+ Endpoints that accept `page` and `per_page` parameters are paginated. They expose
35
+ four additional fields that contain data about your position in the response,
36
+ namely `Total`, `Per-Page`, `Link`, and `Page` as described in [RFC-5988](https://tools.ietf.org/html/rfc5988).
36
37
 
37
- When pagination is present, a `meta` stanza will be present in the response
38
- with the total number of records
39
-
40
- ```
41
- {
42
- things: [{ id: 1 }, { id: 2 }],
43
- meta: { total: 500 }
44
- }
38
+ For example, to display 5 results per page and view the second page of a
39
+ `GET` to `/networks`, your final request would be `GET /networks?....page=2&per_page=5`.
45
40
  ```
46
41
 
47
42
  ## Sideloading
@@ -31,17 +31,12 @@ The current version is `v3`. Previous versions are `v1` and `v2`.
31
31
 
32
32
  ## Pagination
33
33
 
34
- Most endpoints are not paginated. It will be noted in the documentation if/when
35
- an endpoint is paginated.
34
+ Endpoints that accept `page` and `per_page` parameters are paginated. They expose
35
+ four additional fields that contain data about your position in the response,
36
+ namely `Total`, `Per-Page`, `Link`, and `Page` as described in [RFC-5988](https://tools.ietf.org/html/rfc5988).
36
37
 
37
- When pagination is present, a `meta` stanza will be present in the response
38
- with the total number of records
39
-
40
- ```
41
- {
42
- things: [{ id: 1 }, { id: 2 }],
43
- meta: { total: 500 }
44
- }
38
+ For example, to display 5 results per page and view the second page of a
39
+ `GET` to `/networks`, your final request would be `GET /networks?....page=2&per_page=5`.
45
40
  ```
46
41
 
47
42
  ## Sideloading
@@ -31,17 +31,12 @@ The current version is `v3`. Previous versions are `v1` and `v2`.
31
31
 
32
32
  ## Pagination
33
33
 
34
- Most endpoints are not paginated. It will be noted in the documentation if/when
35
- an endpoint is paginated.
34
+ Endpoints that accept `page` and `per_page` parameters are paginated. They expose
35
+ four additional fields that contain data about your position in the response,
36
+ namely `Total`, `Per-Page`, `Link`, and `Page` as described in [RFC-5988](https://tools.ietf.org/html/rfc5988).
36
37
 
37
- When pagination is present, a `meta` stanza will be present in the response
38
- with the total number of records
39
-
40
- ```
41
- {
42
- things: [{ id: 1 }, { id: 2 }],
43
- meta: { total: 500 }
44
- }
38
+ For example, to display 5 results per page and view the second page of a
39
+ `GET` to `/networks`, your final request would be `GET /networks?....page=2&per_page=5`.
45
40
  ```
46
41
 
47
42
  ## Sideloading
@@ -31,17 +31,12 @@ The current version is `v3`. Previous versions are `v1` and `v2`.
31
31
 
32
32
  ## Pagination
33
33
 
34
- Most endpoints are not paginated. It will be noted in the documentation if/when
35
- an endpoint is paginated.
34
+ Endpoints that accept `page` and `per_page` parameters are paginated. They expose
35
+ four additional fields that contain data about your position in the response,
36
+ namely `Total`, `Per-Page`, `Link`, and `Page` as described in [RFC-5988](https://tools.ietf.org/html/rfc5988).
36
37
 
37
- When pagination is present, a `meta` stanza will be present in the response
38
- with the total number of records
39
-
40
- ```
41
- {
42
- things: [{ id: 1 }, { id: 2 }],
43
- meta: { total: 500 }
44
- }
38
+ For example, to display 5 results per page and view the second page of a
39
+ `GET` to `/networks`, your final request would be `GET /networks?....page=2&per_page=5`.
45
40
  ```
46
41
 
47
42
  ## Sideloading
@@ -130,6 +125,9 @@ module VericredClient
130
125
  # Does the plan provide dental coverage for adults?
131
126
  attr_accessor :adult_dental
132
127
 
128
+ #
129
+ attr_accessor :age29_rider
130
+
133
131
  # Benefits string for ambulance coverage
134
132
  attr_accessor :ambulance
135
133
 
@@ -160,6 +158,9 @@ module VericredClient
160
158
  # Diagnostic tests benefit summary
161
159
  attr_accessor :diagnostic_test
162
160
 
161
+ # Is this a domestic plan?
162
+ attr_accessor :dp_rider
163
+
163
164
  # Link to the summary of drug benefits for the plan
164
165
  attr_accessor :drug_formulary_url
165
166
 
@@ -184,6 +185,9 @@ module VericredClient
184
185
  # Maximum out-of-pocket when a family is on the plan
185
186
  attr_accessor :family_medical_moop
186
187
 
188
+ # Is this a family plan?
189
+ attr_accessor :fp_rider
190
+
187
191
  # Cost for generic drugs
188
192
  attr_accessor :generic_drugs
189
193
 
@@ -317,6 +321,7 @@ module VericredClient
317
321
  def self.attribute_map
318
322
  {
319
323
  :'adult_dental' => :'adult_dental',
324
+ :'age29_rider' => :'age29_rider',
320
325
  :'ambulance' => :'ambulance',
321
326
  :'benefits_summary_url' => :'benefits_summary_url',
322
327
  :'buy_link' => :'buy_link',
@@ -327,6 +332,7 @@ module VericredClient
327
332
  :'customer_service_phone_number' => :'customer_service_phone_number',
328
333
  :'durable_medical_equipment' => :'durable_medical_equipment',
329
334
  :'diagnostic_test' => :'diagnostic_test',
335
+ :'dp_rider' => :'dp_rider',
330
336
  :'drug_formulary_url' => :'drug_formulary_url',
331
337
  :'effective_date' => :'effective_date',
332
338
  :'expiration_date' => :'expiration_date',
@@ -335,6 +341,7 @@ module VericredClient
335
341
  :'family_drug_moop' => :'family_drug_moop',
336
342
  :'family_medical_deductible' => :'family_medical_deductible',
337
343
  :'family_medical_moop' => :'family_medical_moop',
344
+ :'fp_rider' => :'fp_rider',
338
345
  :'generic_drugs' => :'generic_drugs',
339
346
  :'habilitation_services' => :'habilitation_services',
340
347
  :'hios_issuer_id' => :'hios_issuer_id',
@@ -385,6 +392,7 @@ module VericredClient
385
392
  def self.swagger_types
386
393
  {
387
394
  :'adult_dental' => :'BOOLEAN',
395
+ :'age29_rider' => :'BOOLEAN',
388
396
  :'ambulance' => :'String',
389
397
  :'benefits_summary_url' => :'String',
390
398
  :'buy_link' => :'String',
@@ -395,6 +403,7 @@ module VericredClient
395
403
  :'customer_service_phone_number' => :'String',
396
404
  :'durable_medical_equipment' => :'String',
397
405
  :'diagnostic_test' => :'String',
406
+ :'dp_rider' => :'BOOLEAN',
398
407
  :'drug_formulary_url' => :'String',
399
408
  :'effective_date' => :'String',
400
409
  :'expiration_date' => :'String',
@@ -403,6 +412,7 @@ module VericredClient
403
412
  :'family_drug_moop' => :'String',
404
413
  :'family_medical_deductible' => :'String',
405
414
  :'family_medical_moop' => :'String',
415
+ :'fp_rider' => :'BOOLEAN',
406
416
  :'generic_drugs' => :'String',
407
417
  :'habilitation_services' => :'String',
408
418
  :'hios_issuer_id' => :'String',
@@ -461,6 +471,10 @@ module VericredClient
461
471
  self.adult_dental = attributes[:'adult_dental']
462
472
  end
463
473
 
474
+ if attributes.has_key?(:'age29_rider')
475
+ self.age29_rider = attributes[:'age29_rider']
476
+ end
477
+
464
478
  if attributes.has_key?(:'ambulance')
465
479
  self.ambulance = attributes[:'ambulance']
466
480
  end
@@ -501,6 +515,10 @@ module VericredClient
501
515
  self.diagnostic_test = attributes[:'diagnostic_test']
502
516
  end
503
517
 
518
+ if attributes.has_key?(:'dp_rider')
519
+ self.dp_rider = attributes[:'dp_rider']
520
+ end
521
+
504
522
  if attributes.has_key?(:'drug_formulary_url')
505
523
  self.drug_formulary_url = attributes[:'drug_formulary_url']
506
524
  end
@@ -533,6 +551,10 @@ module VericredClient
533
551
  self.family_medical_moop = attributes[:'family_medical_moop']
534
552
  end
535
553
 
554
+ if attributes.has_key?(:'fp_rider')
555
+ self.fp_rider = attributes[:'fp_rider']
556
+ end
557
+
536
558
  if attributes.has_key?(:'generic_drugs')
537
559
  self.generic_drugs = attributes[:'generic_drugs']
538
560
  end
@@ -729,6 +751,7 @@ module VericredClient
729
751
  return true if self.equal?(o)
730
752
  self.class == o.class &&
731
753
  adult_dental == o.adult_dental &&
754
+ age29_rider == o.age29_rider &&
732
755
  ambulance == o.ambulance &&
733
756
  benefits_summary_url == o.benefits_summary_url &&
734
757
  buy_link == o.buy_link &&
@@ -739,6 +762,7 @@ module VericredClient
739
762
  customer_service_phone_number == o.customer_service_phone_number &&
740
763
  durable_medical_equipment == o.durable_medical_equipment &&
741
764
  diagnostic_test == o.diagnostic_test &&
765
+ dp_rider == o.dp_rider &&
742
766
  drug_formulary_url == o.drug_formulary_url &&
743
767
  effective_date == o.effective_date &&
744
768
  expiration_date == o.expiration_date &&
@@ -747,6 +771,7 @@ module VericredClient
747
771
  family_drug_moop == o.family_drug_moop &&
748
772
  family_medical_deductible == o.family_medical_deductible &&
749
773
  family_medical_moop == o.family_medical_moop &&
774
+ fp_rider == o.fp_rider &&
750
775
  generic_drugs == o.generic_drugs &&
751
776
  habilitation_services == o.habilitation_services &&
752
777
  hios_issuer_id == o.hios_issuer_id &&
@@ -801,7 +826,7 @@ module VericredClient
801
826
  # Calculates hash code according to all attributes.
802
827
  # @return [Fixnum] Hash code
803
828
  def hash
804
- [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, network_size, non_preferred_brand_drugs, on_market, off_market, out_of_network_coverage, out_of_network_ids, outpatient_facility, outpatient_mental_health, outpatient_physician, outpatient_substance, plan_market, plan_type, preferred_brand_drugs, prenatal_postnatal_care, preventative_care, premium_subsidized, premium, primary_care_physician, rehabilitation_services, skilled_nursing, specialist, specialty_drugs, urgent_care].hash
829
+ [adult_dental, age29_rider, ambulance, benefits_summary_url, buy_link, carrier_name, child_dental, child_eyewear, child_eye_exam, customer_service_phone_number, durable_medical_equipment, diagnostic_test, dp_rider, drug_formulary_url, effective_date, expiration_date, emergency_room, family_drug_deductible, family_drug_moop, family_medical_deductible, family_medical_moop, fp_rider, generic_drugs, habilitation_services, hios_issuer_id, home_health_care, hospice_service, id, imaging, in_network_ids, individual_drug_deductible, individual_drug_moop, individual_medical_deductible, individual_medical_moop, inpatient_birth, inpatient_facility, inpatient_mental_health, inpatient_physician, inpatient_substance, level, logo_url, name, network_size, non_preferred_brand_drugs, on_market, off_market, out_of_network_coverage, out_of_network_ids, outpatient_facility, outpatient_mental_health, outpatient_physician, outpatient_substance, plan_market, plan_type, preferred_brand_drugs, prenatal_postnatal_care, preventative_care, premium_subsidized, premium, primary_care_physician, rehabilitation_services, skilled_nursing, specialist, specialty_drugs, urgent_care].hash
805
830
  end
806
831
 
807
832
  # Builds the object from hash
@@ -31,17 +31,12 @@ The current version is `v3`. Previous versions are `v1` and `v2`.
31
31
 
32
32
  ## Pagination
33
33
 
34
- Most endpoints are not paginated. It will be noted in the documentation if/when
35
- an endpoint is paginated.
34
+ Endpoints that accept `page` and `per_page` parameters are paginated. They expose
35
+ four additional fields that contain data about your position in the response,
36
+ namely `Total`, `Per-Page`, `Link`, and `Page` as described in [RFC-5988](https://tools.ietf.org/html/rfc5988).
36
37
 
37
- When pagination is present, a `meta` stanza will be present in the response
38
- with the total number of records
39
-
40
- ```
41
- {
42
- things: [{ id: 1 }, { id: 2 }],
43
- meta: { total: 500 }
44
- }
38
+ For example, to display 5 results per page and view the second page of a
39
+ `GET` to `/networks`, your final request would be `GET /networks?....page=2&per_page=5`.
45
40
  ```
46
41
 
47
42
  ## Sideloading
@@ -127,9 +122,6 @@ require 'date'
127
122
 
128
123
  module VericredClient
129
124
  class PlanCounty
130
- # Primary key
131
- attr_accessor :id
132
-
133
125
  # Foreign key to plan
134
126
  attr_accessor :plan_id
135
127
 
@@ -139,7 +131,6 @@ module VericredClient
139
131
  # Attribute mapping from ruby-style variable name to JSON key.
140
132
  def self.attribute_map
141
133
  {
142
- :'id' => :'id',
143
134
  :'plan_id' => :'plan_id',
144
135
  :'county_id' => :'county_id'
145
136
  }
@@ -148,7 +139,6 @@ module VericredClient
148
139
  # Attribute type mapping.
149
140
  def self.swagger_types
150
141
  {
151
- :'id' => :'Integer',
152
142
  :'plan_id' => :'Integer',
153
143
  :'county_id' => :'Integer'
154
144
  }
@@ -162,10 +152,6 @@ module VericredClient
162
152
  # convert string to symbol for hash key
163
153
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
164
154
 
165
- if attributes.has_key?(:'id')
166
- self.id = attributes[:'id']
167
- end
168
-
169
155
  if attributes.has_key?(:'plan_id')
170
156
  self.plan_id = attributes[:'plan_id']
171
157
  end
@@ -193,7 +179,6 @@ module VericredClient
193
179
  def ==(o)
194
180
  return true if self.equal?(o)
195
181
  self.class == o.class &&
196
- id == o.id &&
197
182
  plan_id == o.plan_id &&
198
183
  county_id == o.county_id
199
184
  end
@@ -207,7 +192,7 @@ module VericredClient
207
192
  # Calculates hash code according to all attributes.
208
193
  # @return [Fixnum] Hash code
209
194
  def hash
210
- [id, plan_id, county_id].hash
195
+ [plan_id, county_id].hash
211
196
  end
212
197
 
213
198
  # Builds the object from hash
@@ -31,17 +31,12 @@ The current version is `v3`. Previous versions are `v1` and `v2`.
31
31
 
32
32
  ## Pagination
33
33
 
34
- Most endpoints are not paginated. It will be noted in the documentation if/when
35
- an endpoint is paginated.
34
+ Endpoints that accept `page` and `per_page` parameters are paginated. They expose
35
+ four additional fields that contain data about your position in the response,
36
+ namely `Total`, `Per-Page`, `Link`, and `Page` as described in [RFC-5988](https://tools.ietf.org/html/rfc5988).
36
37
 
37
- When pagination is present, a `meta` stanza will be present in the response
38
- with the total number of records
39
-
40
- ```
41
- {
42
- things: [{ id: 1 }, { id: 2 }],
43
- meta: { total: 500 }
44
- }
38
+ For example, to display 5 results per page and view the second page of a
39
+ `GET` to `/networks`, your final request would be `GET /networks?....page=2&per_page=5`.
45
40
  ```
46
41
 
47
42
  ## Sideloading
@@ -127,9 +122,6 @@ require 'date'
127
122
 
128
123
  module VericredClient
129
124
  class PlanCountyBulk
130
- # Primary key
131
- attr_accessor :id
132
-
133
125
  # Foreign key to plan
134
126
  attr_accessor :plan_id
135
127
 
@@ -139,7 +131,6 @@ module VericredClient
139
131
  # Attribute mapping from ruby-style variable name to JSON key.
140
132
  def self.attribute_map
141
133
  {
142
- :'id' => :'id',
143
134
  :'plan_id' => :'plan_id',
144
135
  :'county_id' => :'county_id'
145
136
  }
@@ -148,7 +139,6 @@ module VericredClient
148
139
  # Attribute type mapping.
149
140
  def self.swagger_types
150
141
  {
151
- :'id' => :'Integer',
152
142
  :'plan_id' => :'Integer',
153
143
  :'county_id' => :'Integer'
154
144
  }
@@ -162,10 +152,6 @@ module VericredClient
162
152
  # convert string to symbol for hash key
163
153
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
164
154
 
165
- if attributes.has_key?(:'id')
166
- self.id = attributes[:'id']
167
- end
168
-
169
155
  if attributes.has_key?(:'plan_id')
170
156
  self.plan_id = attributes[:'plan_id']
171
157
  end
@@ -193,7 +179,6 @@ module VericredClient
193
179
  def ==(o)
194
180
  return true if self.equal?(o)
195
181
  self.class == o.class &&
196
- id == o.id &&
197
182
  plan_id == o.plan_id &&
198
183
  county_id == o.county_id
199
184
  end
@@ -207,7 +192,7 @@ module VericredClient
207
192
  # Calculates hash code according to all attributes.
208
193
  # @return [Fixnum] Hash code
209
194
  def hash
210
- [id, plan_id, county_id].hash
195
+ [plan_id, county_id].hash
211
196
  end
212
197
 
213
198
  # Builds the object from hash
@@ -31,17 +31,12 @@ The current version is `v3`. Previous versions are `v1` and `v2`.
31
31
 
32
32
  ## Pagination
33
33
 
34
- Most endpoints are not paginated. It will be noted in the documentation if/when
35
- an endpoint is paginated.
34
+ Endpoints that accept `page` and `per_page` parameters are paginated. They expose
35
+ four additional fields that contain data about your position in the response,
36
+ namely `Total`, `Per-Page`, `Link`, and `Page` as described in [RFC-5988](https://tools.ietf.org/html/rfc5988).
36
37
 
37
- When pagination is present, a `meta` stanza will be present in the response
38
- with the total number of records
39
-
40
- ```
41
- {
42
- things: [{ id: 1 }, { id: 2 }],
43
- meta: { total: 500 }
44
- }
38
+ For example, to display 5 results per page and view the second page of a
39
+ `GET` to `/networks`, your final request would be `GET /networks?....page=2&per_page=5`.
45
40
  ```
46
41
 
47
42
  ## Sideloading
@@ -31,17 +31,12 @@ The current version is `v3`. Previous versions are `v1` and `v2`.
31
31
 
32
32
  ## Pagination
33
33
 
34
- Most endpoints are not paginated. It will be noted in the documentation if/when
35
- an endpoint is paginated.
34
+ Endpoints that accept `page` and `per_page` parameters are paginated. They expose
35
+ four additional fields that contain data about your position in the response,
36
+ namely `Total`, `Per-Page`, `Link`, and `Page` as described in [RFC-5988](https://tools.ietf.org/html/rfc5988).
36
37
 
37
- When pagination is present, a `meta` stanza will be present in the response
38
- with the total number of records
39
-
40
- ```
41
- {
42
- things: [{ id: 1 }, { id: 2 }],
43
- meta: { total: 500 }
44
- }
38
+ For example, to display 5 results per page and view the second page of a
39
+ `GET` to `/networks`, your final request would be `GET /networks?....page=2&per_page=5`.
45
40
  ```
46
41
 
47
42
  ## Sideloading
@@ -130,6 +125,9 @@ module VericredClient
130
125
  # Does the plan provide dental coverage for adults?
131
126
  attr_accessor :adult_dental
132
127
 
128
+ #
129
+ attr_accessor :age29_rider
130
+
133
131
  # Benefits string for ambulance coverage
134
132
  attr_accessor :ambulance
135
133
 
@@ -160,6 +158,9 @@ module VericredClient
160
158
  # Diagnostic tests benefit summary
161
159
  attr_accessor :diagnostic_test
162
160
 
161
+ # Is this a domestic plan?
162
+ attr_accessor :dp_rider
163
+
163
164
  # Link to the summary of drug benefits for the plan
164
165
  attr_accessor :drug_formulary_url
165
166
 
@@ -184,6 +185,9 @@ module VericredClient
184
185
  # Maximum out-of-pocket when a family is on the plan
185
186
  attr_accessor :family_medical_moop
186
187
 
188
+ # Is this a family plan?
189
+ attr_accessor :fp_rider
190
+
187
191
  # Cost for generic drugs
188
192
  attr_accessor :generic_drugs
189
193
 
@@ -326,6 +330,7 @@ module VericredClient
326
330
  def self.attribute_map
327
331
  {
328
332
  :'adult_dental' => :'adult_dental',
333
+ :'age29_rider' => :'age29_rider',
329
334
  :'ambulance' => :'ambulance',
330
335
  :'benefits_summary_url' => :'benefits_summary_url',
331
336
  :'buy_link' => :'buy_link',
@@ -336,6 +341,7 @@ module VericredClient
336
341
  :'customer_service_phone_number' => :'customer_service_phone_number',
337
342
  :'durable_medical_equipment' => :'durable_medical_equipment',
338
343
  :'diagnostic_test' => :'diagnostic_test',
344
+ :'dp_rider' => :'dp_rider',
339
345
  :'drug_formulary_url' => :'drug_formulary_url',
340
346
  :'effective_date' => :'effective_date',
341
347
  :'expiration_date' => :'expiration_date',
@@ -344,6 +350,7 @@ module VericredClient
344
350
  :'family_drug_moop' => :'family_drug_moop',
345
351
  :'family_medical_deductible' => :'family_medical_deductible',
346
352
  :'family_medical_moop' => :'family_medical_moop',
353
+ :'fp_rider' => :'fp_rider',
347
354
  :'generic_drugs' => :'generic_drugs',
348
355
  :'habilitation_services' => :'habilitation_services',
349
356
  :'hios_issuer_id' => :'hios_issuer_id',
@@ -397,6 +404,7 @@ module VericredClient
397
404
  def self.swagger_types
398
405
  {
399
406
  :'adult_dental' => :'BOOLEAN',
407
+ :'age29_rider' => :'BOOLEAN',
400
408
  :'ambulance' => :'String',
401
409
  :'benefits_summary_url' => :'String',
402
410
  :'buy_link' => :'String',
@@ -407,6 +415,7 @@ module VericredClient
407
415
  :'customer_service_phone_number' => :'String',
408
416
  :'durable_medical_equipment' => :'String',
409
417
  :'diagnostic_test' => :'String',
418
+ :'dp_rider' => :'BOOLEAN',
410
419
  :'drug_formulary_url' => :'String',
411
420
  :'effective_date' => :'String',
412
421
  :'expiration_date' => :'String',
@@ -415,6 +424,7 @@ module VericredClient
415
424
  :'family_drug_moop' => :'String',
416
425
  :'family_medical_deductible' => :'String',
417
426
  :'family_medical_moop' => :'String',
427
+ :'fp_rider' => :'BOOLEAN',
418
428
  :'generic_drugs' => :'String',
419
429
  :'habilitation_services' => :'String',
420
430
  :'hios_issuer_id' => :'String',
@@ -476,6 +486,10 @@ module VericredClient
476
486
  self.adult_dental = attributes[:'adult_dental']
477
487
  end
478
488
 
489
+ if attributes.has_key?(:'age29_rider')
490
+ self.age29_rider = attributes[:'age29_rider']
491
+ end
492
+
479
493
  if attributes.has_key?(:'ambulance')
480
494
  self.ambulance = attributes[:'ambulance']
481
495
  end
@@ -516,6 +530,10 @@ module VericredClient
516
530
  self.diagnostic_test = attributes[:'diagnostic_test']
517
531
  end
518
532
 
533
+ if attributes.has_key?(:'dp_rider')
534
+ self.dp_rider = attributes[:'dp_rider']
535
+ end
536
+
519
537
  if attributes.has_key?(:'drug_formulary_url')
520
538
  self.drug_formulary_url = attributes[:'drug_formulary_url']
521
539
  end
@@ -548,6 +566,10 @@ module VericredClient
548
566
  self.family_medical_moop = attributes[:'family_medical_moop']
549
567
  end
550
568
 
569
+ if attributes.has_key?(:'fp_rider')
570
+ self.fp_rider = attributes[:'fp_rider']
571
+ end
572
+
551
573
  if attributes.has_key?(:'generic_drugs')
552
574
  self.generic_drugs = attributes[:'generic_drugs']
553
575
  end
@@ -756,6 +778,7 @@ module VericredClient
756
778
  return true if self.equal?(o)
757
779
  self.class == o.class &&
758
780
  adult_dental == o.adult_dental &&
781
+ age29_rider == o.age29_rider &&
759
782
  ambulance == o.ambulance &&
760
783
  benefits_summary_url == o.benefits_summary_url &&
761
784
  buy_link == o.buy_link &&
@@ -766,6 +789,7 @@ module VericredClient
766
789
  customer_service_phone_number == o.customer_service_phone_number &&
767
790
  durable_medical_equipment == o.durable_medical_equipment &&
768
791
  diagnostic_test == o.diagnostic_test &&
792
+ dp_rider == o.dp_rider &&
769
793
  drug_formulary_url == o.drug_formulary_url &&
770
794
  effective_date == o.effective_date &&
771
795
  expiration_date == o.expiration_date &&
@@ -774,6 +798,7 @@ module VericredClient
774
798
  family_drug_moop == o.family_drug_moop &&
775
799
  family_medical_deductible == o.family_medical_deductible &&
776
800
  family_medical_moop == o.family_medical_moop &&
801
+ fp_rider == o.fp_rider &&
777
802
  generic_drugs == o.generic_drugs &&
778
803
  habilitation_services == o.habilitation_services &&
779
804
  hios_issuer_id == o.hios_issuer_id &&
@@ -831,7 +856,7 @@ module VericredClient
831
856
  # Calculates hash code according to all attributes.
832
857
  # @return [Fixnum] Hash code
833
858
  def 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
859
+ [adult_dental, age29_rider, ambulance, benefits_summary_url, buy_link, carrier_name, child_dental, child_eyewear, child_eye_exam, customer_service_phone_number, durable_medical_equipment, diagnostic_test, dp_rider, drug_formulary_url, effective_date, expiration_date, emergency_room, family_drug_deductible, family_drug_moop, family_medical_deductible, family_medical_moop, fp_rider, generic_drugs, habilitation_services, hios_issuer_id, home_health_care, hospice_service, id, imaging, in_network_ids, individual_drug_deductible, individual_drug_moop, individual_medical_deductible, individual_medical_moop, inpatient_birth, inpatient_facility, inpatient_mental_health, inpatient_physician, inpatient_substance, level, logo_url, name, 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
835
860
  end
836
861
 
837
862
  # Builds the object from hash