vericred_client 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -18
- data/docs/Applicant.md +3 -3
- data/docs/Carrier.md +1 -1
- data/docs/County.md +3 -3
- data/docs/Drug.md +3 -3
- data/docs/DrugCoverage.md +4 -4
- data/docs/DrugCoverageResponse.md +3 -1
- data/docs/DrugPackage.md +1 -1
- data/docs/DrugSearchResponse.md +2 -1
- data/docs/DrugsApi.md +71 -10
- data/docs/Meta.md +1 -1
- data/docs/Network.md +9 -0
- data/docs/NetworkSearchResponse.md +9 -0
- data/docs/NetworksApi.md +58 -0
- data/docs/Plan.md +10 -10
- data/docs/PlanCounty.md +1 -1
- data/docs/PlanCountyBulk.md +1 -1
- data/docs/{PlanFindResponse.md → PlanSearchResponse.md} +2 -1
- data/docs/PlanSearchResult.md +14 -14
- data/docs/PlansApi.md +69 -6
- data/docs/Provider.md +7 -6
- data/docs/ProvidersApi.md +39 -30
- data/docs/{ProviderResponse.md → ProvidersSearchResponse.md} +1 -1
- data/docs/RequestPlanFind.md +3 -2
- data/docs/RequestPlanFindApplicant.md +8 -0
- data/docs/RequestPlanFindProvider.md +8 -0
- data/docs/RequestProvidersSearch.md +17 -0
- data/docs/State.md +4 -4
- data/docs/ZipCountiesApi.md +11 -4
- data/docs/ZipCountiesResponse.md +11 -0
- data/docs/ZipCountyBulk.md +1 -1
- data/docs/ZipCountyResponse.md +2 -1
- data/lib/vericred_client/api/drugs_api.rb +86 -14
- data/lib/vericred_client/api/networks_api.rb +198 -0
- data/lib/vericred_client/api/plans_api.rb +134 -14
- data/lib/vericred_client/api/providers_api.rb +65 -59
- data/lib/vericred_client/api/zip_counties_api.rb +8 -5
- data/lib/vericred_client/api_client.rb +1 -1
- data/lib/vericred_client/api_error.rb +1 -1
- data/lib/vericred_client/models/applicant.rb +13 -15
- data/lib/vericred_client/models/base.rb +1 -1
- data/lib/vericred_client/models/carrier.rb +15 -15
- data/lib/vericred_client/models/carrier_subsidiary.rb +1 -1
- data/lib/vericred_client/models/county.rb +12 -16
- data/lib/vericred_client/models/county_bulk.rb +1 -1
- data/lib/vericred_client/models/drug.rb +26 -26
- data/lib/vericred_client/models/drug_coverage.rb +32 -38
- data/lib/vericred_client/models/drug_coverage_response.rb +40 -16
- data/lib/vericred_client/models/drug_package.rb +15 -15
- data/lib/vericred_client/models/drug_search_response.rb +21 -9
- data/lib/vericred_client/models/meta.rb +8 -8
- data/lib/vericred_client/models/network.rb +308 -0
- data/lib/vericred_client/models/{plan_find_response.rb → network_search_response.rb} +11 -11
- data/lib/vericred_client/models/plan.rb +62 -72
- data/lib/vericred_client/models/plan_county.rb +15 -15
- data/lib/vericred_client/models/plan_county_bulk.rb +15 -15
- data/lib/vericred_client/models/plan_search_response.rb +322 -0
- data/lib/vericred_client/models/plan_search_result.rb +102 -112
- data/lib/vericred_client/models/pricing.rb +1 -1
- data/lib/vericred_client/models/provider.rb +24 -22
- data/lib/vericred_client/models/{provider_response.rb → providers_search_response.rb} +2 -2
- data/lib/vericred_client/models/rating_area.rb +1 -1
- data/lib/vericred_client/models/request_plan_find.rb +16 -4
- data/lib/vericred_client/models/request_plan_find_applicant.rb +298 -0
- data/lib/vericred_client/models/request_plan_find_provider.rb +298 -0
- data/lib/vericred_client/models/request_providers_search.rb +372 -0
- data/lib/vericred_client/models/state.rb +25 -29
- data/lib/vericred_client/models/zip_code.rb +1 -1
- data/lib/vericred_client/models/zip_counties_response.rb +336 -0
- data/lib/vericred_client/models/zip_county.rb +1 -1
- data/lib/vericred_client/models/zip_county_bulk.rb +12 -12
- data/lib/vericred_client/models/zip_county_response.rb +21 -11
- data/lib/vericred_client/version.rb +2 -2
- data/lib/vericred_client.rb +10 -3
- data/spec/api/drugs_api_spec.rb +26 -5
- data/spec/api/networks_api_spec.rb +166 -0
- data/spec/api/plans_api_spec.rb +66 -6
- data/spec/api/providers_api_spec.rb +27 -19
- data/spec/api/zip_counties_api_spec.rb +4 -3
- 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
|
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,33 +145,33 @@ 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
|
+
# Benefits summary for durable medical equipment
|
158
|
+
attr_accessor :durable_medical_equipment
|
159
|
+
|
157
160
|
# Diagnostic tests benefit summary
|
158
161
|
attr_accessor :diagnostic_test
|
159
162
|
|
160
163
|
# Link to the summary of drug benefits for the plan
|
161
164
|
attr_accessor :drug_formulary_url
|
162
165
|
|
163
|
-
# Benefits summary for durable medical equipment
|
164
|
-
attr_accessor :durable_medical_equipment
|
165
|
-
|
166
166
|
# Effective date of coverage.
|
167
167
|
attr_accessor :effective_date
|
168
168
|
|
169
|
-
# Description of costs when visiting the ER
|
170
|
-
attr_accessor :emergency_room
|
171
|
-
|
172
169
|
# Expiration date of coverage.
|
173
170
|
attr_accessor :expiration_date
|
174
171
|
|
172
|
+
# Description of costs when visiting the ER
|
173
|
+
attr_accessor :emergency_room
|
174
|
+
|
175
175
|
# Deductible for drugs when a family is on the plan.
|
176
176
|
attr_accessor :family_drug_deductible
|
177
177
|
|
@@ -250,12 +250,12 @@ module VericredClient
|
|
250
250
|
# Cost under the plan for non-preferred brand drugs
|
251
251
|
attr_accessor :non_preferred_brand_drugs
|
252
252
|
|
253
|
-
# Is the plan off-market?
|
254
|
-
attr_accessor :off_market
|
255
|
-
|
256
253
|
# Is the plan on-market?
|
257
254
|
attr_accessor :on_market
|
258
255
|
|
256
|
+
# Is the plan off-market?
|
257
|
+
attr_accessor :off_market
|
258
|
+
|
259
259
|
# Does this plan provide any out of network coverage?
|
260
260
|
attr_accessor :out_of_network_coverage
|
261
261
|
|
@@ -283,18 +283,18 @@ module VericredClient
|
|
283
283
|
# Cost under the plan for perferred brand drugs
|
284
284
|
attr_accessor :preferred_brand_drugs
|
285
285
|
|
286
|
-
# Cumulative premium amount
|
287
|
-
attr_accessor :premium
|
288
|
-
|
289
|
-
# Cumulative premium amount after subsidy
|
290
|
-
attr_accessor :premium_subsidized
|
291
|
-
|
292
286
|
# Inpatient substance abuse benefits summary
|
293
287
|
attr_accessor :prenatal_postnatal_care
|
294
288
|
|
295
289
|
# Benefits summary for preventative care
|
296
290
|
attr_accessor :preventative_care
|
297
291
|
|
292
|
+
# Cumulative premium amount after subsidy
|
293
|
+
attr_accessor :premium_subsidized
|
294
|
+
|
295
|
+
# Cumulative premium amount
|
296
|
+
attr_accessor :premium
|
297
|
+
|
298
298
|
# Cost under the plan to visit a Primary Care Physician
|
299
299
|
attr_accessor :primary_care_physician
|
300
300
|
|
@@ -322,15 +322,15 @@ module VericredClient
|
|
322
322
|
:'buy_link' => :'buy_link',
|
323
323
|
:'carrier_name' => :'carrier_name',
|
324
324
|
:'child_dental' => :'child_dental',
|
325
|
-
:'child_eye_exam' => :'child_eye_exam',
|
326
325
|
:'child_eyewear' => :'child_eyewear',
|
326
|
+
:'child_eye_exam' => :'child_eye_exam',
|
327
327
|
:'customer_service_phone_number' => :'customer_service_phone_number',
|
328
|
+
:'durable_medical_equipment' => :'durable_medical_equipment',
|
328
329
|
:'diagnostic_test' => :'diagnostic_test',
|
329
330
|
:'drug_formulary_url' => :'drug_formulary_url',
|
330
|
-
:'durable_medical_equipment' => :'durable_medical_equipment',
|
331
331
|
:'effective_date' => :'effective_date',
|
332
|
-
:'emergency_room' => :'emergency_room',
|
333
332
|
:'expiration_date' => :'expiration_date',
|
333
|
+
:'emergency_room' => :'emergency_room',
|
334
334
|
:'family_drug_deductible' => :'family_drug_deductible',
|
335
335
|
:'family_drug_moop' => :'family_drug_moop',
|
336
336
|
:'family_medical_deductible' => :'family_medical_deductible',
|
@@ -357,8 +357,8 @@ module VericredClient
|
|
357
357
|
:'name' => :'name',
|
358
358
|
:'network_size' => :'network_size',
|
359
359
|
:'non_preferred_brand_drugs' => :'non_preferred_brand_drugs',
|
360
|
-
:'off_market' => :'off_market',
|
361
360
|
:'on_market' => :'on_market',
|
361
|
+
:'off_market' => :'off_market',
|
362
362
|
:'out_of_network_coverage' => :'out_of_network_coverage',
|
363
363
|
:'out_of_network_ids' => :'out_of_network_ids',
|
364
364
|
:'outpatient_facility' => :'outpatient_facility',
|
@@ -368,10 +368,10 @@ module VericredClient
|
|
368
368
|
:'plan_market' => :'plan_market',
|
369
369
|
:'plan_type' => :'plan_type',
|
370
370
|
:'preferred_brand_drugs' => :'preferred_brand_drugs',
|
371
|
-
:'premium' => :'premium',
|
372
|
-
:'premium_subsidized' => :'premium_subsidized',
|
373
371
|
:'prenatal_postnatal_care' => :'prenatal_postnatal_care',
|
374
372
|
:'preventative_care' => :'preventative_care',
|
373
|
+
:'premium_subsidized' => :'premium_subsidized',
|
374
|
+
:'premium' => :'premium',
|
375
375
|
:'primary_care_physician' => :'primary_care_physician',
|
376
376
|
:'rehabilitation_services' => :'rehabilitation_services',
|
377
377
|
:'skilled_nursing' => :'skilled_nursing',
|
@@ -390,15 +390,15 @@ module VericredClient
|
|
390
390
|
:'buy_link' => :'String',
|
391
391
|
:'carrier_name' => :'String',
|
392
392
|
:'child_dental' => :'BOOLEAN',
|
393
|
-
:'child_eye_exam' => :'String',
|
394
393
|
:'child_eyewear' => :'String',
|
394
|
+
:'child_eye_exam' => :'String',
|
395
395
|
:'customer_service_phone_number' => :'String',
|
396
|
+
:'durable_medical_equipment' => :'String',
|
396
397
|
:'diagnostic_test' => :'String',
|
397
398
|
:'drug_formulary_url' => :'String',
|
398
|
-
:'durable_medical_equipment' => :'String',
|
399
399
|
:'effective_date' => :'String',
|
400
|
-
:'emergency_room' => :'String',
|
401
400
|
:'expiration_date' => :'String',
|
401
|
+
:'emergency_room' => :'String',
|
402
402
|
:'family_drug_deductible' => :'String',
|
403
403
|
:'family_drug_moop' => :'String',
|
404
404
|
:'family_medical_deductible' => :'String',
|
@@ -425,8 +425,8 @@ module VericredClient
|
|
425
425
|
:'name' => :'String',
|
426
426
|
:'network_size' => :'Integer',
|
427
427
|
:'non_preferred_brand_drugs' => :'String',
|
428
|
-
:'off_market' => :'BOOLEAN',
|
429
428
|
:'on_market' => :'BOOLEAN',
|
429
|
+
:'off_market' => :'BOOLEAN',
|
430
430
|
:'out_of_network_coverage' => :'BOOLEAN',
|
431
431
|
:'out_of_network_ids' => :'Array<Integer>',
|
432
432
|
:'outpatient_facility' => :'String',
|
@@ -436,10 +436,10 @@ module VericredClient
|
|
436
436
|
:'plan_market' => :'String',
|
437
437
|
:'plan_type' => :'String',
|
438
438
|
:'preferred_brand_drugs' => :'String',
|
439
|
-
:'premium' => :'Float',
|
440
|
-
:'premium_subsidized' => :'Float',
|
441
439
|
:'prenatal_postnatal_care' => :'String',
|
442
440
|
:'preventative_care' => :'String',
|
441
|
+
:'premium_subsidized' => :'Float',
|
442
|
+
:'premium' => :'Float',
|
443
443
|
:'primary_care_physician' => :'String',
|
444
444
|
:'rehabilitation_services' => :'String',
|
445
445
|
:'skilled_nursing' => :'String',
|
@@ -459,8 +459,6 @@ module VericredClient
|
|
459
459
|
|
460
460
|
if attributes.has_key?(:'adult_dental')
|
461
461
|
self.adult_dental = attributes[:'adult_dental']
|
462
|
-
else
|
463
|
-
self.adult_dental = false
|
464
462
|
end
|
465
463
|
|
466
464
|
if attributes.has_key?(:'ambulance')
|
@@ -481,22 +479,24 @@ module VericredClient
|
|
481
479
|
|
482
480
|
if attributes.has_key?(:'child_dental')
|
483
481
|
self.child_dental = attributes[:'child_dental']
|
484
|
-
else
|
485
|
-
self.child_dental = false
|
486
|
-
end
|
487
|
-
|
488
|
-
if attributes.has_key?(:'child_eye_exam')
|
489
|
-
self.child_eye_exam = attributes[:'child_eye_exam']
|
490
482
|
end
|
491
483
|
|
492
484
|
if attributes.has_key?(:'child_eyewear')
|
493
485
|
self.child_eyewear = attributes[:'child_eyewear']
|
494
486
|
end
|
495
487
|
|
488
|
+
if attributes.has_key?(:'child_eye_exam')
|
489
|
+
self.child_eye_exam = attributes[:'child_eye_exam']
|
490
|
+
end
|
491
|
+
|
496
492
|
if attributes.has_key?(:'customer_service_phone_number')
|
497
493
|
self.customer_service_phone_number = attributes[:'customer_service_phone_number']
|
498
494
|
end
|
499
495
|
|
496
|
+
if attributes.has_key?(:'durable_medical_equipment')
|
497
|
+
self.durable_medical_equipment = attributes[:'durable_medical_equipment']
|
498
|
+
end
|
499
|
+
|
500
500
|
if attributes.has_key?(:'diagnostic_test')
|
501
501
|
self.diagnostic_test = attributes[:'diagnostic_test']
|
502
502
|
end
|
@@ -505,22 +505,18 @@ module VericredClient
|
|
505
505
|
self.drug_formulary_url = attributes[:'drug_formulary_url']
|
506
506
|
end
|
507
507
|
|
508
|
-
if attributes.has_key?(:'durable_medical_equipment')
|
509
|
-
self.durable_medical_equipment = attributes[:'durable_medical_equipment']
|
510
|
-
end
|
511
|
-
|
512
508
|
if attributes.has_key?(:'effective_date')
|
513
509
|
self.effective_date = attributes[:'effective_date']
|
514
510
|
end
|
515
511
|
|
516
|
-
if attributes.has_key?(:'emergency_room')
|
517
|
-
self.emergency_room = attributes[:'emergency_room']
|
518
|
-
end
|
519
|
-
|
520
512
|
if attributes.has_key?(:'expiration_date')
|
521
513
|
self.expiration_date = attributes[:'expiration_date']
|
522
514
|
end
|
523
515
|
|
516
|
+
if attributes.has_key?(:'emergency_room')
|
517
|
+
self.emergency_room = attributes[:'emergency_room']
|
518
|
+
end
|
519
|
+
|
524
520
|
if attributes.has_key?(:'family_drug_deductible')
|
525
521
|
self.family_drug_deductible = attributes[:'family_drug_deductible']
|
526
522
|
end
|
@@ -627,22 +623,16 @@ module VericredClient
|
|
627
623
|
self.non_preferred_brand_drugs = attributes[:'non_preferred_brand_drugs']
|
628
624
|
end
|
629
625
|
|
630
|
-
if attributes.has_key?(:'off_market')
|
631
|
-
self.off_market = attributes[:'off_market']
|
632
|
-
else
|
633
|
-
self.off_market = false
|
634
|
-
end
|
635
|
-
|
636
626
|
if attributes.has_key?(:'on_market')
|
637
627
|
self.on_market = attributes[:'on_market']
|
638
|
-
|
639
|
-
|
628
|
+
end
|
629
|
+
|
630
|
+
if attributes.has_key?(:'off_market')
|
631
|
+
self.off_market = attributes[:'off_market']
|
640
632
|
end
|
641
633
|
|
642
634
|
if attributes.has_key?(:'out_of_network_coverage')
|
643
635
|
self.out_of_network_coverage = attributes[:'out_of_network_coverage']
|
644
|
-
else
|
645
|
-
self.out_of_network_coverage = false
|
646
636
|
end
|
647
637
|
|
648
638
|
if attributes.has_key?(:'out_of_network_ids')
|
@@ -679,14 +669,6 @@ module VericredClient
|
|
679
669
|
self.preferred_brand_drugs = attributes[:'preferred_brand_drugs']
|
680
670
|
end
|
681
671
|
|
682
|
-
if attributes.has_key?(:'premium')
|
683
|
-
self.premium = attributes[:'premium']
|
684
|
-
end
|
685
|
-
|
686
|
-
if attributes.has_key?(:'premium_subsidized')
|
687
|
-
self.premium_subsidized = attributes[:'premium_subsidized']
|
688
|
-
end
|
689
|
-
|
690
672
|
if attributes.has_key?(:'prenatal_postnatal_care')
|
691
673
|
self.prenatal_postnatal_care = attributes[:'prenatal_postnatal_care']
|
692
674
|
end
|
@@ -695,6 +677,14 @@ module VericredClient
|
|
695
677
|
self.preventative_care = attributes[:'preventative_care']
|
696
678
|
end
|
697
679
|
|
680
|
+
if attributes.has_key?(:'premium_subsidized')
|
681
|
+
self.premium_subsidized = attributes[:'premium_subsidized']
|
682
|
+
end
|
683
|
+
|
684
|
+
if attributes.has_key?(:'premium')
|
685
|
+
self.premium = attributes[:'premium']
|
686
|
+
end
|
687
|
+
|
698
688
|
if attributes.has_key?(:'primary_care_physician')
|
699
689
|
self.primary_care_physician = attributes[:'primary_care_physician']
|
700
690
|
end
|
@@ -744,15 +734,15 @@ module VericredClient
|
|
744
734
|
buy_link == o.buy_link &&
|
745
735
|
carrier_name == o.carrier_name &&
|
746
736
|
child_dental == o.child_dental &&
|
747
|
-
child_eye_exam == o.child_eye_exam &&
|
748
737
|
child_eyewear == o.child_eyewear &&
|
738
|
+
child_eye_exam == o.child_eye_exam &&
|
749
739
|
customer_service_phone_number == o.customer_service_phone_number &&
|
740
|
+
durable_medical_equipment == o.durable_medical_equipment &&
|
750
741
|
diagnostic_test == o.diagnostic_test &&
|
751
742
|
drug_formulary_url == o.drug_formulary_url &&
|
752
|
-
durable_medical_equipment == o.durable_medical_equipment &&
|
753
743
|
effective_date == o.effective_date &&
|
754
|
-
emergency_room == o.emergency_room &&
|
755
744
|
expiration_date == o.expiration_date &&
|
745
|
+
emergency_room == o.emergency_room &&
|
756
746
|
family_drug_deductible == o.family_drug_deductible &&
|
757
747
|
family_drug_moop == o.family_drug_moop &&
|
758
748
|
family_medical_deductible == o.family_medical_deductible &&
|
@@ -779,8 +769,8 @@ module VericredClient
|
|
779
769
|
name == o.name &&
|
780
770
|
network_size == o.network_size &&
|
781
771
|
non_preferred_brand_drugs == o.non_preferred_brand_drugs &&
|
782
|
-
off_market == o.off_market &&
|
783
772
|
on_market == o.on_market &&
|
773
|
+
off_market == o.off_market &&
|
784
774
|
out_of_network_coverage == o.out_of_network_coverage &&
|
785
775
|
out_of_network_ids == o.out_of_network_ids &&
|
786
776
|
outpatient_facility == o.outpatient_facility &&
|
@@ -790,10 +780,10 @@ module VericredClient
|
|
790
780
|
plan_market == o.plan_market &&
|
791
781
|
plan_type == o.plan_type &&
|
792
782
|
preferred_brand_drugs == o.preferred_brand_drugs &&
|
793
|
-
premium == o.premium &&
|
794
|
-
premium_subsidized == o.premium_subsidized &&
|
795
783
|
prenatal_postnatal_care == o.prenatal_postnatal_care &&
|
796
784
|
preventative_care == o.preventative_care &&
|
785
|
+
premium_subsidized == o.premium_subsidized &&
|
786
|
+
premium == o.premium &&
|
797
787
|
primary_care_physician == o.primary_care_physician &&
|
798
788
|
rehabilitation_services == o.rehabilitation_services &&
|
799
789
|
skilled_nursing == o.skilled_nursing &&
|
@@ -811,7 +801,7 @@ module VericredClient
|
|
811
801
|
# Calculates hash code according to all attributes.
|
812
802
|
# @return [Fixnum] Hash code
|
813
803
|
def hash
|
814
|
-
[adult_dental, ambulance, benefits_summary_url, buy_link, carrier_name, child_dental,
|
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
|
815
805
|
end
|
816
806
|
|
817
807
|
# 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
|
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
|
@@ -127,30 +127,30 @@ require 'date'
|
|
127
127
|
|
128
128
|
module VericredClient
|
129
129
|
class PlanCounty
|
130
|
-
# Foreign key to county
|
131
|
-
attr_accessor :county_id
|
132
|
-
|
133
130
|
# Primary key
|
134
131
|
attr_accessor :id
|
135
132
|
|
136
133
|
# Foreign key to plan
|
137
134
|
attr_accessor :plan_id
|
138
135
|
|
136
|
+
# Foreign key to county
|
137
|
+
attr_accessor :county_id
|
138
|
+
|
139
139
|
# Attribute mapping from ruby-style variable name to JSON key.
|
140
140
|
def self.attribute_map
|
141
141
|
{
|
142
|
-
:'county_id' => :'county_id',
|
143
142
|
:'id' => :'id',
|
144
|
-
:'plan_id' => :'plan_id'
|
143
|
+
:'plan_id' => :'plan_id',
|
144
|
+
:'county_id' => :'county_id'
|
145
145
|
}
|
146
146
|
end
|
147
147
|
|
148
148
|
# Attribute type mapping.
|
149
149
|
def self.swagger_types
|
150
150
|
{
|
151
|
-
:'county_id' => :'Integer',
|
152
151
|
:'id' => :'Integer',
|
153
|
-
:'plan_id' => :'Integer'
|
152
|
+
:'plan_id' => :'Integer',
|
153
|
+
:'county_id' => :'Integer'
|
154
154
|
}
|
155
155
|
end
|
156
156
|
|
@@ -162,10 +162,6 @@ module VericredClient
|
|
162
162
|
# convert string to symbol for hash key
|
163
163
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
164
164
|
|
165
|
-
if attributes.has_key?(:'county_id')
|
166
|
-
self.county_id = attributes[:'county_id']
|
167
|
-
end
|
168
|
-
|
169
165
|
if attributes.has_key?(:'id')
|
170
166
|
self.id = attributes[:'id']
|
171
167
|
end
|
@@ -174,6 +170,10 @@ module VericredClient
|
|
174
170
|
self.plan_id = attributes[:'plan_id']
|
175
171
|
end
|
176
172
|
|
173
|
+
if attributes.has_key?(:'county_id')
|
174
|
+
self.county_id = attributes[:'county_id']
|
175
|
+
end
|
176
|
+
|
177
177
|
end
|
178
178
|
|
179
179
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -193,9 +193,9 @@ module VericredClient
|
|
193
193
|
def ==(o)
|
194
194
|
return true if self.equal?(o)
|
195
195
|
self.class == o.class &&
|
196
|
-
county_id == o.county_id &&
|
197
196
|
id == o.id &&
|
198
|
-
plan_id == o.plan_id
|
197
|
+
plan_id == o.plan_id &&
|
198
|
+
county_id == o.county_id
|
199
199
|
end
|
200
200
|
|
201
201
|
# @see the `==` method
|
@@ -207,7 +207,7 @@ module VericredClient
|
|
207
207
|
# Calculates hash code according to all attributes.
|
208
208
|
# @return [Fixnum] Hash code
|
209
209
|
def hash
|
210
|
-
[
|
210
|
+
[id, plan_id, county_id].hash
|
211
211
|
end
|
212
212
|
|
213
213
|
# 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
|
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
|
@@ -127,30 +127,30 @@ require 'date'
|
|
127
127
|
|
128
128
|
module VericredClient
|
129
129
|
class PlanCountyBulk
|
130
|
-
# Foreign key to county
|
131
|
-
attr_accessor :county_id
|
132
|
-
|
133
130
|
# Primary key
|
134
131
|
attr_accessor :id
|
135
132
|
|
136
133
|
# Foreign key to plan
|
137
134
|
attr_accessor :plan_id
|
138
135
|
|
136
|
+
# Foreign key to county
|
137
|
+
attr_accessor :county_id
|
138
|
+
|
139
139
|
# Attribute mapping from ruby-style variable name to JSON key.
|
140
140
|
def self.attribute_map
|
141
141
|
{
|
142
|
-
:'county_id' => :'county_id',
|
143
142
|
:'id' => :'id',
|
144
|
-
:'plan_id' => :'plan_id'
|
143
|
+
:'plan_id' => :'plan_id',
|
144
|
+
:'county_id' => :'county_id'
|
145
145
|
}
|
146
146
|
end
|
147
147
|
|
148
148
|
# Attribute type mapping.
|
149
149
|
def self.swagger_types
|
150
150
|
{
|
151
|
-
:'county_id' => :'Integer',
|
152
151
|
:'id' => :'Integer',
|
153
|
-
:'plan_id' => :'Integer'
|
152
|
+
:'plan_id' => :'Integer',
|
153
|
+
:'county_id' => :'Integer'
|
154
154
|
}
|
155
155
|
end
|
156
156
|
|
@@ -162,10 +162,6 @@ module VericredClient
|
|
162
162
|
# convert string to symbol for hash key
|
163
163
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
164
164
|
|
165
|
-
if attributes.has_key?(:'county_id')
|
166
|
-
self.county_id = attributes[:'county_id']
|
167
|
-
end
|
168
|
-
|
169
165
|
if attributes.has_key?(:'id')
|
170
166
|
self.id = attributes[:'id']
|
171
167
|
end
|
@@ -174,6 +170,10 @@ module VericredClient
|
|
174
170
|
self.plan_id = attributes[:'plan_id']
|
175
171
|
end
|
176
172
|
|
173
|
+
if attributes.has_key?(:'county_id')
|
174
|
+
self.county_id = attributes[:'county_id']
|
175
|
+
end
|
176
|
+
|
177
177
|
end
|
178
178
|
|
179
179
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -193,9 +193,9 @@ module VericredClient
|
|
193
193
|
def ==(o)
|
194
194
|
return true if self.equal?(o)
|
195
195
|
self.class == o.class &&
|
196
|
-
county_id == o.county_id &&
|
197
196
|
id == o.id &&
|
198
|
-
plan_id == o.plan_id
|
197
|
+
plan_id == o.plan_id &&
|
198
|
+
county_id == o.county_id
|
199
199
|
end
|
200
200
|
|
201
201
|
# @see the `==` method
|
@@ -207,7 +207,7 @@ module VericredClient
|
|
207
207
|
# Calculates hash code according to all attributes.
|
208
208
|
# @return [Fixnum] Hash code
|
209
209
|
def hash
|
210
|
-
[
|
210
|
+
[id, plan_id, county_id].hash
|
211
211
|
end
|
212
212
|
|
213
213
|
# Builds the object from hash
|