pharmaobservatory 0.1.19 → 0.1.21

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 (41) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -4
  3. data/docs/BiomarkersApi.md +80 -0
  4. data/docs/CompaniesApi.md +246 -0
  5. data/docs/HospitalsRow.md +11 -1
  6. data/docs/InvestmentGraphEdgesResponse.md +58 -0
  7. data/docs/InvestmentGraphEdgesRow.md +90 -0
  8. data/docs/InvestmentGraphNodeEdgesResponse.md +58 -0
  9. data/docs/InvestmentGraphNodeEdgesRow.md +88 -0
  10. data/docs/InvestmentGraphNodesResponse.md +58 -0
  11. data/docs/InvestmentGraphNodesRow.md +52 -0
  12. data/docs/InvestorPortfolioRow.md +7 -7
  13. data/docs/InvestorsApi.md +240 -0
  14. data/docs/InvestorsRow.md +1 -1
  15. data/docs/LegalEntitiesApi.md +240 -0
  16. data/docs/ProviderBiomarkerCapabilityResponse.md +58 -0
  17. data/docs/ProviderBiomarkerCapabilityRow.md +86 -0
  18. data/docs/ProviderCliaLicensureResponse.md +58 -0
  19. data/docs/ProviderCliaLicensureRow.md +80 -0
  20. data/docs/SuppliersApi.md +160 -0
  21. data/lib/pharmaobservatory/api/biomarkers_api.rb +84 -0
  22. data/lib/pharmaobservatory/api/companies_api.rb +273 -0
  23. data/lib/pharmaobservatory/api/investors_api.rb +252 -0
  24. data/lib/pharmaobservatory/api/legal_entities_api.rb +252 -0
  25. data/lib/pharmaobservatory/api/suppliers_api.rb +168 -0
  26. data/lib/pharmaobservatory/models/hospitals_row.rb +60 -5
  27. data/lib/pharmaobservatory/models/investment_graph_edges_response.rb +478 -0
  28. data/lib/pharmaobservatory/models/investment_graph_edges_row.rb +619 -0
  29. data/lib/pharmaobservatory/models/investment_graph_node_edges_response.rb +478 -0
  30. data/lib/pharmaobservatory/models/investment_graph_node_edges_row.rb +608 -0
  31. data/lib/pharmaobservatory/models/investment_graph_nodes_response.rb +478 -0
  32. data/lib/pharmaobservatory/models/investment_graph_nodes_row.rb +412 -0
  33. data/lib/pharmaobservatory/models/investor_portfolio_row.rb +7 -7
  34. data/lib/pharmaobservatory/models/investors_row.rb +1 -1
  35. data/lib/pharmaobservatory/models/provider_biomarker_capability_response.rb +478 -0
  36. data/lib/pharmaobservatory/models/provider_biomarker_capability_row.rb +601 -0
  37. data/lib/pharmaobservatory/models/provider_clia_licensure_response.rb +478 -0
  38. data/lib/pharmaobservatory/models/provider_clia_licensure_row.rb +568 -0
  39. data/lib/pharmaobservatory/version.rb +1 -1
  40. data/lib/pharmaobservatory.rb +10 -0
  41. metadata +22 -2
@@ -0,0 +1,568 @@
1
+ =begin
2
+ #Pharma Observatory Public REST API
3
+
4
+ #Read-only REST API over the Pharma Observatory biomedical data platform. Reference: https://pharmaobservatory.com/api-reference
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.13.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module PharmaObservatory
17
+ # One row of the provider_clia_licensure dataset: one row per RX provider and CLIA certificate. A grouped request returns the group columns and the measures instead, as additional properties.
18
+ class ProviderCliaLicensureRow
19
+ # The supplier id: the Scientist.com provider id as text, the id in the supplier page address (/suppliers/<id>). The entry key for the suppliers object type.
20
+ attr_accessor :provider_id
21
+
22
+ # The supplier's public Scientist.com uuid.
23
+ attr_accessor :provider_uuid
24
+
25
+ # The supplier's marketplace slug.
26
+ attr_accessor :provider_slug
27
+
28
+ # The supplier's name as listed on the marketplace.
29
+ attr_accessor :provider_name
30
+
31
+ # The ten-character CLIA certificate number.
32
+ attr_accessor :clia_number
33
+
34
+ # The laboratory's name as listed on the certificate.
35
+ attr_accessor :lab_name
36
+
37
+ # How the certificate was attached to the supplier: org_member_exact (through the supplier's resolved organization) or rx_name_key_exact (an exact normalized-name match, not a verified identity).
38
+ attr_accessor :match_method
39
+
40
+ # The organization match's confidence, 0 to 1, on an org_member_exact row; null on an rx_name_key_exact row, whose exact name match defines none.
41
+ attr_accessor :match_confidence
42
+
43
+ # The laboratory's city.
44
+ attr_accessor :city
45
+
46
+ # The laboratory's state.
47
+ attr_accessor :state_region
48
+
49
+ # The five-digit postal code.
50
+ attr_accessor :postal5
51
+
52
+ # The country code.
53
+ attr_accessor :country
54
+
55
+ # Latitude in degrees (WGS84), for the map tool.
56
+ attr_accessor :latitude
57
+
58
+ # Longitude in degrees (WGS84), for the map tool.
59
+ attr_accessor :longitude
60
+
61
+ # What a pin locates (an address, a postal code or a city).
62
+ attr_accessor :geocode_precision
63
+
64
+ # Where the coordinates came from.
65
+ attr_accessor :coord_source
66
+
67
+ # True when the certificate is active on the file.
68
+ attr_accessor :is_active
69
+
70
+ # The CLIA certificate type (for example Compliance, Accreditation or Waiver).
71
+ attr_accessor :certificate_type
72
+
73
+ # The highest test complexity the certificate permits.
74
+ attr_accessor :complexity_ceiling
75
+
76
+ # The accreditation body the file names.
77
+ attr_accessor :accreditor_claimed
78
+
79
+ # The accreditation body confirmed against the accreditor's own list.
80
+ attr_accessor :accreditor_confirmed
81
+
82
+ # True when the laboratory holds College of American Pathologists (CAP) accreditation.
83
+ attr_accessor :has_cap_accreditation
84
+
85
+ # True when the laboratory holds American Society for Histocompatibility and Immunogenetics (ASHI) accreditation.
86
+ attr_accessor :has_ashi_accreditation
87
+
88
+ # True when the laboratory holds AABB (formerly American Association of Blood Banks) accreditation.
89
+ attr_accessor :has_aabb_accreditation
90
+
91
+ # The laboratory's facility type on the file.
92
+ attr_accessor :facility_type
93
+
94
+ # Reported annual test volume.
95
+ attr_accessor :annual_test_volume
96
+
97
+ # Where the volume figure came from.
98
+ attr_accessor :test_volume_source
99
+
100
+ # How many sites the laboratory reports.
101
+ attr_accessor :lab_site_count
102
+
103
+ # The vintage of the CMS Provider of Services file.
104
+ attr_accessor :pos_vintage
105
+
106
+ # The build date of the figures.
107
+ attr_accessor :as_of
108
+
109
+ # The license of the source file on every row.
110
+ attr_accessor :source_license
111
+
112
+ # The source credit line on every row.
113
+ attr_accessor :attribution
114
+
115
+ # Attribute mapping from ruby-style variable name to JSON key.
116
+ def self.attribute_map
117
+ {
118
+ :'provider_id' => :'provider_id',
119
+ :'provider_uuid' => :'provider_uuid',
120
+ :'provider_slug' => :'provider_slug',
121
+ :'provider_name' => :'provider_name',
122
+ :'clia_number' => :'clia_number',
123
+ :'lab_name' => :'lab_name',
124
+ :'match_method' => :'match_method',
125
+ :'match_confidence' => :'match_confidence',
126
+ :'city' => :'city',
127
+ :'state_region' => :'state_region',
128
+ :'postal5' => :'postal5',
129
+ :'country' => :'country',
130
+ :'latitude' => :'latitude',
131
+ :'longitude' => :'longitude',
132
+ :'geocode_precision' => :'geocode_precision',
133
+ :'coord_source' => :'coord_source',
134
+ :'is_active' => :'is_active',
135
+ :'certificate_type' => :'certificate_type',
136
+ :'complexity_ceiling' => :'complexity_ceiling',
137
+ :'accreditor_claimed' => :'accreditor_claimed',
138
+ :'accreditor_confirmed' => :'accreditor_confirmed',
139
+ :'has_cap_accreditation' => :'has_cap_accreditation',
140
+ :'has_ashi_accreditation' => :'has_ashi_accreditation',
141
+ :'has_aabb_accreditation' => :'has_aabb_accreditation',
142
+ :'facility_type' => :'facility_type',
143
+ :'annual_test_volume' => :'annual_test_volume',
144
+ :'test_volume_source' => :'test_volume_source',
145
+ :'lab_site_count' => :'lab_site_count',
146
+ :'pos_vintage' => :'pos_vintage',
147
+ :'as_of' => :'as_of',
148
+ :'source_license' => :'source_license',
149
+ :'attribution' => :'attribution'
150
+ }
151
+ end
152
+
153
+ # Returns attribute mapping this model knows about
154
+ def self.acceptable_attribute_map
155
+ attribute_map
156
+ end
157
+
158
+ # Returns all the JSON keys this model knows about
159
+ def self.acceptable_attributes
160
+ acceptable_attribute_map.values
161
+ end
162
+
163
+ # Attribute type mapping.
164
+ def self.openapi_types
165
+ {
166
+ :'provider_id' => :'String',
167
+ :'provider_uuid' => :'String',
168
+ :'provider_slug' => :'String',
169
+ :'provider_name' => :'String',
170
+ :'clia_number' => :'String',
171
+ :'lab_name' => :'String',
172
+ :'match_method' => :'String',
173
+ :'match_confidence' => :'Float',
174
+ :'city' => :'String',
175
+ :'state_region' => :'String',
176
+ :'postal5' => :'String',
177
+ :'country' => :'String',
178
+ :'latitude' => :'Float',
179
+ :'longitude' => :'Float',
180
+ :'geocode_precision' => :'String',
181
+ :'coord_source' => :'String',
182
+ :'is_active' => :'Boolean',
183
+ :'certificate_type' => :'String',
184
+ :'complexity_ceiling' => :'String',
185
+ :'accreditor_claimed' => :'Array<String>',
186
+ :'accreditor_confirmed' => :'Array<String>',
187
+ :'has_cap_accreditation' => :'Boolean',
188
+ :'has_ashi_accreditation' => :'Boolean',
189
+ :'has_aabb_accreditation' => :'Boolean',
190
+ :'facility_type' => :'String',
191
+ :'annual_test_volume' => :'Integer',
192
+ :'test_volume_source' => :'String',
193
+ :'lab_site_count' => :'Integer',
194
+ :'pos_vintage' => :'String',
195
+ :'as_of' => :'Date',
196
+ :'source_license' => :'String',
197
+ :'attribution' => :'String'
198
+ }
199
+ end
200
+
201
+ # List of attributes with nullable: true
202
+ def self.openapi_nullable
203
+ Set.new([
204
+ :'provider_id',
205
+ :'provider_uuid',
206
+ :'provider_slug',
207
+ :'provider_name',
208
+ :'clia_number',
209
+ :'lab_name',
210
+ :'match_method',
211
+ :'match_confidence',
212
+ :'city',
213
+ :'state_region',
214
+ :'postal5',
215
+ :'country',
216
+ :'latitude',
217
+ :'longitude',
218
+ :'geocode_precision',
219
+ :'coord_source',
220
+ :'is_active',
221
+ :'certificate_type',
222
+ :'complexity_ceiling',
223
+ :'accreditor_claimed',
224
+ :'accreditor_confirmed',
225
+ :'has_cap_accreditation',
226
+ :'has_ashi_accreditation',
227
+ :'has_aabb_accreditation',
228
+ :'facility_type',
229
+ :'annual_test_volume',
230
+ :'test_volume_source',
231
+ :'lab_site_count',
232
+ :'pos_vintage',
233
+ :'as_of',
234
+ :'source_license',
235
+ :'attribution'
236
+ ])
237
+ end
238
+
239
+ # Initializes the object
240
+ # @param [Hash] attributes Model attributes in the form of hash
241
+ def initialize(attributes = {})
242
+ if (!attributes.is_a?(Hash))
243
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PharmaObservatory::ProviderCliaLicensureRow` initialize method"
244
+ end
245
+
246
+ # check to see if the attribute exists and convert string to symbol for hash key
247
+ acceptable_attribute_map = self.class.acceptable_attribute_map
248
+ attributes = attributes.each_with_object({}) { |(k, v), h|
249
+ if (!acceptable_attribute_map.key?(k.to_sym))
250
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PharmaObservatory::ProviderCliaLicensureRow`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
251
+ end
252
+ h[k.to_sym] = v
253
+ }
254
+
255
+ if attributes.key?(:'provider_id')
256
+ self.provider_id = attributes[:'provider_id']
257
+ end
258
+
259
+ if attributes.key?(:'provider_uuid')
260
+ self.provider_uuid = attributes[:'provider_uuid']
261
+ end
262
+
263
+ if attributes.key?(:'provider_slug')
264
+ self.provider_slug = attributes[:'provider_slug']
265
+ end
266
+
267
+ if attributes.key?(:'provider_name')
268
+ self.provider_name = attributes[:'provider_name']
269
+ end
270
+
271
+ if attributes.key?(:'clia_number')
272
+ self.clia_number = attributes[:'clia_number']
273
+ end
274
+
275
+ if attributes.key?(:'lab_name')
276
+ self.lab_name = attributes[:'lab_name']
277
+ end
278
+
279
+ if attributes.key?(:'match_method')
280
+ self.match_method = attributes[:'match_method']
281
+ end
282
+
283
+ if attributes.key?(:'match_confidence')
284
+ self.match_confidence = attributes[:'match_confidence']
285
+ end
286
+
287
+ if attributes.key?(:'city')
288
+ self.city = attributes[:'city']
289
+ end
290
+
291
+ if attributes.key?(:'state_region')
292
+ self.state_region = attributes[:'state_region']
293
+ end
294
+
295
+ if attributes.key?(:'postal5')
296
+ self.postal5 = attributes[:'postal5']
297
+ end
298
+
299
+ if attributes.key?(:'country')
300
+ self.country = attributes[:'country']
301
+ end
302
+
303
+ if attributes.key?(:'latitude')
304
+ self.latitude = attributes[:'latitude']
305
+ end
306
+
307
+ if attributes.key?(:'longitude')
308
+ self.longitude = attributes[:'longitude']
309
+ end
310
+
311
+ if attributes.key?(:'geocode_precision')
312
+ self.geocode_precision = attributes[:'geocode_precision']
313
+ end
314
+
315
+ if attributes.key?(:'coord_source')
316
+ self.coord_source = attributes[:'coord_source']
317
+ end
318
+
319
+ if attributes.key?(:'is_active')
320
+ self.is_active = attributes[:'is_active']
321
+ end
322
+
323
+ if attributes.key?(:'certificate_type')
324
+ self.certificate_type = attributes[:'certificate_type']
325
+ end
326
+
327
+ if attributes.key?(:'complexity_ceiling')
328
+ self.complexity_ceiling = attributes[:'complexity_ceiling']
329
+ end
330
+
331
+ if attributes.key?(:'accreditor_claimed')
332
+ if (value = attributes[:'accreditor_claimed']).is_a?(Array)
333
+ self.accreditor_claimed = value
334
+ end
335
+ end
336
+
337
+ if attributes.key?(:'accreditor_confirmed')
338
+ if (value = attributes[:'accreditor_confirmed']).is_a?(Array)
339
+ self.accreditor_confirmed = value
340
+ end
341
+ end
342
+
343
+ if attributes.key?(:'has_cap_accreditation')
344
+ self.has_cap_accreditation = attributes[:'has_cap_accreditation']
345
+ end
346
+
347
+ if attributes.key?(:'has_ashi_accreditation')
348
+ self.has_ashi_accreditation = attributes[:'has_ashi_accreditation']
349
+ end
350
+
351
+ if attributes.key?(:'has_aabb_accreditation')
352
+ self.has_aabb_accreditation = attributes[:'has_aabb_accreditation']
353
+ end
354
+
355
+ if attributes.key?(:'facility_type')
356
+ self.facility_type = attributes[:'facility_type']
357
+ end
358
+
359
+ if attributes.key?(:'annual_test_volume')
360
+ self.annual_test_volume = attributes[:'annual_test_volume']
361
+ end
362
+
363
+ if attributes.key?(:'test_volume_source')
364
+ self.test_volume_source = attributes[:'test_volume_source']
365
+ end
366
+
367
+ if attributes.key?(:'lab_site_count')
368
+ self.lab_site_count = attributes[:'lab_site_count']
369
+ end
370
+
371
+ if attributes.key?(:'pos_vintage')
372
+ self.pos_vintage = attributes[:'pos_vintage']
373
+ end
374
+
375
+ if attributes.key?(:'as_of')
376
+ self.as_of = attributes[:'as_of']
377
+ end
378
+
379
+ if attributes.key?(:'source_license')
380
+ self.source_license = attributes[:'source_license']
381
+ end
382
+
383
+ if attributes.key?(:'attribution')
384
+ self.attribution = attributes[:'attribution']
385
+ end
386
+ end
387
+
388
+ # Show invalid properties with the reasons. Usually used together with valid?
389
+ # @return Array for valid properties with the reasons
390
+ def list_invalid_properties
391
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
392
+ invalid_properties = Array.new
393
+ invalid_properties
394
+ end
395
+
396
+ # Check to see if the all the properties in the model are valid
397
+ # @return true if the model is valid
398
+ def valid?
399
+ warn '[DEPRECATED] the `valid?` method is obsolete'
400
+ true
401
+ end
402
+
403
+ # Checks equality by comparing each attribute.
404
+ # @param [Object] Object to be compared
405
+ def ==(o)
406
+ return true if self.equal?(o)
407
+ self.class == o.class &&
408
+ provider_id == o.provider_id &&
409
+ provider_uuid == o.provider_uuid &&
410
+ provider_slug == o.provider_slug &&
411
+ provider_name == o.provider_name &&
412
+ clia_number == o.clia_number &&
413
+ lab_name == o.lab_name &&
414
+ match_method == o.match_method &&
415
+ match_confidence == o.match_confidence &&
416
+ city == o.city &&
417
+ state_region == o.state_region &&
418
+ postal5 == o.postal5 &&
419
+ country == o.country &&
420
+ latitude == o.latitude &&
421
+ longitude == o.longitude &&
422
+ geocode_precision == o.geocode_precision &&
423
+ coord_source == o.coord_source &&
424
+ is_active == o.is_active &&
425
+ certificate_type == o.certificate_type &&
426
+ complexity_ceiling == o.complexity_ceiling &&
427
+ accreditor_claimed == o.accreditor_claimed &&
428
+ accreditor_confirmed == o.accreditor_confirmed &&
429
+ has_cap_accreditation == o.has_cap_accreditation &&
430
+ has_ashi_accreditation == o.has_ashi_accreditation &&
431
+ has_aabb_accreditation == o.has_aabb_accreditation &&
432
+ facility_type == o.facility_type &&
433
+ annual_test_volume == o.annual_test_volume &&
434
+ test_volume_source == o.test_volume_source &&
435
+ lab_site_count == o.lab_site_count &&
436
+ pos_vintage == o.pos_vintage &&
437
+ as_of == o.as_of &&
438
+ source_license == o.source_license &&
439
+ attribution == o.attribution
440
+ end
441
+
442
+ # @see the `==` method
443
+ # @param [Object] Object to be compared
444
+ def eql?(o)
445
+ self == o
446
+ end
447
+
448
+ # Calculates hash code according to all attributes.
449
+ # @return [Integer] Hash code
450
+ def hash
451
+ [provider_id, provider_uuid, provider_slug, provider_name, clia_number, lab_name, match_method, match_confidence, city, state_region, postal5, country, latitude, longitude, geocode_precision, coord_source, is_active, certificate_type, complexity_ceiling, accreditor_claimed, accreditor_confirmed, has_cap_accreditation, has_ashi_accreditation, has_aabb_accreditation, facility_type, annual_test_volume, test_volume_source, lab_site_count, pos_vintage, as_of, source_license, attribution].hash
452
+ end
453
+
454
+ # Builds the object from hash
455
+ # @param [Hash] attributes Model attributes in the form of hash
456
+ # @return [Object] Returns the model itself
457
+ def self.build_from_hash(attributes)
458
+ return nil unless attributes.is_a?(Hash)
459
+ attributes = attributes.transform_keys(&:to_sym)
460
+ transformed_hash = {}
461
+ openapi_types.each_pair do |key, type|
462
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
463
+ transformed_hash["#{key}"] = nil
464
+ elsif type =~ /\AArray<(.*)>/i
465
+ # check to ensure the input is an array given that the attribute
466
+ # is documented as an array but the input is not
467
+ if attributes[attribute_map[key]].is_a?(Array)
468
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
469
+ end
470
+ elsif !attributes[attribute_map[key]].nil?
471
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
472
+ end
473
+ end
474
+ new(transformed_hash)
475
+ end
476
+
477
+ # Deserializes the data based on type
478
+ # @param string type Data type
479
+ # @param string value Value to be deserialized
480
+ # @return [Object] Deserialized data
481
+ def self._deserialize(type, value)
482
+ case type.to_sym
483
+ when :Time
484
+ Time.parse(value)
485
+ when :Date
486
+ Date.parse(value)
487
+ when :String
488
+ value.to_s
489
+ when :Integer
490
+ value.to_i
491
+ when :Float
492
+ value.to_f
493
+ when :Boolean
494
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
495
+ true
496
+ else
497
+ false
498
+ end
499
+ when :Object
500
+ # generic object (usually a Hash), return directly
501
+ value
502
+ when /\AArray<(?<inner_type>.+)>\z/
503
+ inner_type = Regexp.last_match[:inner_type]
504
+ value.map { |v| _deserialize(inner_type, v) }
505
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
506
+ k_type = Regexp.last_match[:k_type]
507
+ v_type = Regexp.last_match[:v_type]
508
+ {}.tap do |hash|
509
+ value.each do |k, v|
510
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
511
+ end
512
+ end
513
+ else # model
514
+ # models (e.g. Pet) or oneOf
515
+ klass = PharmaObservatory.const_get(type)
516
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
517
+ end
518
+ end
519
+
520
+ # Returns the string representation of the object
521
+ # @return [String] String presentation of the object
522
+ def to_s
523
+ to_hash.to_s
524
+ end
525
+
526
+ # to_body is an alias to to_hash (backward compatibility)
527
+ # @return [Hash] Returns the object in the form of hash
528
+ def to_body
529
+ to_hash
530
+ end
531
+
532
+ # Returns the object in the form of hash
533
+ # @return [Hash] Returns the object in the form of hash
534
+ def to_hash
535
+ hash = {}
536
+ self.class.attribute_map.each_pair do |attr, param|
537
+ value = self.send(attr)
538
+ if value.nil?
539
+ is_nullable = self.class.openapi_nullable.include?(attr)
540
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
541
+ end
542
+
543
+ hash[param] = _to_hash(value)
544
+ end
545
+ hash
546
+ end
547
+
548
+ # Outputs non-array value in the form of hash
549
+ # For object, use to_hash. Otherwise, just return the value
550
+ # @param [Object] value Any valid value
551
+ # @return [Hash] Returns the value in the form of hash
552
+ def _to_hash(value)
553
+ if value.is_a?(Array)
554
+ value.compact.map { |v| _to_hash(v) }
555
+ elsif value.is_a?(Hash)
556
+ {}.tap do |hash|
557
+ value.each { |k, v| hash[k] = _to_hash(v) }
558
+ end
559
+ elsif value.respond_to? :to_hash
560
+ value.to_hash
561
+ else
562
+ value
563
+ end
564
+ end
565
+
566
+ end
567
+
568
+ end
@@ -11,5 +11,5 @@ Generator version: 7.13.0
11
11
  =end
12
12
 
13
13
  module PharmaObservatory
14
- VERSION = '0.1.19'
14
+ VERSION = '0.1.21'
15
15
  end
@@ -246,6 +246,12 @@ require 'pharmaobservatory/models/investigator_trials_row'
246
246
  require 'pharmaobservatory/models/investigators_record'
247
247
  require 'pharmaobservatory/models/investigators_response'
248
248
  require 'pharmaobservatory/models/investigators_row'
249
+ require 'pharmaobservatory/models/investment_graph_edges_response'
250
+ require 'pharmaobservatory/models/investment_graph_edges_row'
251
+ require 'pharmaobservatory/models/investment_graph_node_edges_response'
252
+ require 'pharmaobservatory/models/investment_graph_node_edges_row'
253
+ require 'pharmaobservatory/models/investment_graph_nodes_response'
254
+ require 'pharmaobservatory/models/investment_graph_nodes_row'
249
255
  require 'pharmaobservatory/models/investor_funds_response'
250
256
  require 'pharmaobservatory/models/investor_funds_row'
251
257
  require 'pharmaobservatory/models/investor_portfolio_response'
@@ -284,6 +290,10 @@ require 'pharmaobservatory/models/program_licensing_candidates_response'
284
290
  require 'pharmaobservatory/models/program_licensing_candidates_row'
285
291
  require 'pharmaobservatory/models/programs_response'
286
292
  require 'pharmaobservatory/models/programs_row'
293
+ require 'pharmaobservatory/models/provider_biomarker_capability_response'
294
+ require 'pharmaobservatory/models/provider_biomarker_capability_row'
295
+ require 'pharmaobservatory/models/provider_clia_licensure_response'
296
+ require 'pharmaobservatory/models/provider_clia_licensure_row'
287
297
  require 'pharmaobservatory/models/query_error'
288
298
  require 'pharmaobservatory/models/query_response'
289
299
  require 'pharmaobservatory/models/query_response_columns_inner'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pharmaobservatory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scientist.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-12 00:00:00.000000000 Z
11
+ date: 2026-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -325,6 +325,12 @@ files:
325
325
  - docs/InvestigatorsRecord.md
326
326
  - docs/InvestigatorsResponse.md
327
327
  - docs/InvestigatorsRow.md
328
+ - docs/InvestmentGraphEdgesResponse.md
329
+ - docs/InvestmentGraphEdgesRow.md
330
+ - docs/InvestmentGraphNodeEdgesResponse.md
331
+ - docs/InvestmentGraphNodeEdgesRow.md
332
+ - docs/InvestmentGraphNodesResponse.md
333
+ - docs/InvestmentGraphNodesRow.md
328
334
  - docs/InvestorFundsResponse.md
329
335
  - docs/InvestorFundsRow.md
330
336
  - docs/InvestorPortfolioResponse.md
@@ -366,6 +372,10 @@ files:
366
372
  - docs/ProgramLicensingCandidatesRow.md
367
373
  - docs/ProgramsResponse.md
368
374
  - docs/ProgramsRow.md
375
+ - docs/ProviderBiomarkerCapabilityResponse.md
376
+ - docs/ProviderBiomarkerCapabilityRow.md
377
+ - docs/ProviderCliaLicensureResponse.md
378
+ - docs/ProviderCliaLicensureRow.md
369
379
  - docs/QueryApi.md
370
380
  - docs/QueryError.md
371
381
  - docs/QueryResponse.md
@@ -845,6 +855,12 @@ files:
845
855
  - lib/pharmaobservatory/models/investigators_record.rb
846
856
  - lib/pharmaobservatory/models/investigators_response.rb
847
857
  - lib/pharmaobservatory/models/investigators_row.rb
858
+ - lib/pharmaobservatory/models/investment_graph_edges_response.rb
859
+ - lib/pharmaobservatory/models/investment_graph_edges_row.rb
860
+ - lib/pharmaobservatory/models/investment_graph_node_edges_response.rb
861
+ - lib/pharmaobservatory/models/investment_graph_node_edges_row.rb
862
+ - lib/pharmaobservatory/models/investment_graph_nodes_response.rb
863
+ - lib/pharmaobservatory/models/investment_graph_nodes_row.rb
848
864
  - lib/pharmaobservatory/models/investor_funds_response.rb
849
865
  - lib/pharmaobservatory/models/investor_funds_row.rb
850
866
  - lib/pharmaobservatory/models/investor_portfolio_response.rb
@@ -883,6 +899,10 @@ files:
883
899
  - lib/pharmaobservatory/models/program_licensing_candidates_row.rb
884
900
  - lib/pharmaobservatory/models/programs_response.rb
885
901
  - lib/pharmaobservatory/models/programs_row.rb
902
+ - lib/pharmaobservatory/models/provider_biomarker_capability_response.rb
903
+ - lib/pharmaobservatory/models/provider_biomarker_capability_row.rb
904
+ - lib/pharmaobservatory/models/provider_clia_licensure_response.rb
905
+ - lib/pharmaobservatory/models/provider_clia_licensure_row.rb
886
906
  - lib/pharmaobservatory/models/query_error.rb
887
907
  - lib/pharmaobservatory/models/query_response.rb
888
908
  - lib/pharmaobservatory/models/query_response_columns_inner.rb