cheminee 0.1.12 → 0.1.14

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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +10 -6
  4. data/cheminee.gemspec +2 -1
  5. data/docs/BulkRequestDoc.md +2 -2
  6. data/docs/DefaultApi.md +91 -20
  7. data/docs/IndexSchema.md +20 -0
  8. data/docs/QueryResponseError.md +18 -0
  9. data/docs/QuerySearchHit.md +22 -0
  10. data/docs/Smiles.md +18 -0
  11. data/docs/StandardizedSmiles.md +20 -0
  12. data/lib/cheminee/api/default_api.rb +99 -25
  13. data/lib/cheminee/api_client.rb +21 -20
  14. data/lib/cheminee/api_error.rb +1 -1
  15. data/lib/cheminee/configuration.rb +1 -1
  16. data/lib/cheminee/models/bulk_request.rb +2 -2
  17. data/lib/cheminee/models/bulk_request_doc.rb +13 -13
  18. data/lib/cheminee/models/create_index_error.rb +2 -2
  19. data/lib/cheminee/models/get_indexes_response_error.rb +2 -2
  20. data/lib/cheminee/models/index_meta.rb +2 -2
  21. data/lib/cheminee/models/index_schema.rb +233 -0
  22. data/lib/cheminee/models/list_index_response_err.rb +2 -2
  23. data/lib/cheminee/models/post_index_bulk_response_error.rb +2 -2
  24. data/lib/cheminee/models/post_index_bulk_response_ok.rb +2 -2
  25. data/lib/cheminee/models/post_index_bulk_response_ok_status.rb +2 -2
  26. data/lib/cheminee/models/query_response_error.rb +221 -0
  27. data/lib/cheminee/models/query_search_hit.rb +249 -0
  28. data/lib/cheminee/models/schema.rb +2 -2
  29. data/lib/cheminee/models/smiles.rb +221 -0
  30. data/lib/cheminee/models/standardized_smiles.rb +223 -0
  31. data/lib/cheminee/models/structure_response_error.rb +2 -2
  32. data/lib/cheminee/models/structure_search_hit.rb +2 -2
  33. data/lib/cheminee/version.rb +2 -2
  34. data/lib/cheminee.rb +6 -3
  35. data/pkg/cheminee-0.1.14.gem +0 -0
  36. data/spec/models/index_schema_spec.rb +42 -0
  37. data/spec/models/query_response_error_spec.rb +36 -0
  38. data/spec/models/query_search_hit_spec.rb +48 -0
  39. data/spec/models/smiles_spec.rb +36 -0
  40. data/spec/models/standardized_smiles_spec.rb +42 -0
  41. data/spec/spec_helper.rb +1 -1
  42. metadata +23 -3
  43. data/pkg/cheminee-0.1.12.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14fc05115e58b3aa845a53afcef463b887cede3efb29dfd947b8dbf4130c11ae
4
- data.tar.gz: 9f1ff73b46aee59151fdef8e32978e00e0172cfd85119b91ee32d15b883123b5
3
+ metadata.gz: '03914600ad91bf4f02d5719ebb11390f38ae2cb25254bc87b152a18de75cf96d'
4
+ data.tar.gz: 6a93975791492fc56177e4e5a2d0a3c1d1e320348f0b06d8a7045cce4c8bbfd7
5
5
  SHA512:
6
- metadata.gz: f76e04dd73b73c144ec3a37629d31c7af753401c394a7b27ea272f69722ecce87cef37e8f7bdbb92a07a65923e962187770ae71528979d517a5e792c9d5de661
7
- data.tar.gz: 8dc4970989faee1b59f4bdbca67bc7fee00fb517312fa8772faf7051a373dc23e7f4c34235c638956632543926e8ceaac356682aa3f4e77d1c697e6e4026f49e
6
+ metadata.gz: 6dbdb5cbc7911c2d851ea23471a4cb59cada080d55ea677f9116beaadfa1e078a1cca004f75c8ef7bfa958bae4b2230782aa260454844218d20d87ca4e8765d2
7
+ data.tar.gz: 728abd1a932492baa18db69eacbadc273bf41b59fe338768c7a78d9308f6fc0dc2914fa256f355875cf932c3645bd145f3749252cdfc123877ddae4978a26b80
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cheminee (0.1.12)
4
+ cheminee (0.1.14)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -16,8 +16,8 @@ GEM
16
16
  ffi (1.16.3)
17
17
  jaro_winkler (1.5.6)
18
18
  method_source (1.0.0)
19
- parallel (1.23.0)
20
- parser (3.2.2.4)
19
+ parallel (1.24.0)
20
+ parser (3.3.0.5)
21
21
  ast (~> 2.4.1)
22
22
  racc
23
23
  pry (0.14.2)
@@ -26,9 +26,9 @@ GEM
26
26
  pry-byebug (3.10.1)
27
27
  byebug (~> 11.0)
28
28
  pry (>= 0.13, < 0.15)
29
- psych (5.1.1.1)
29
+ psych (5.1.2)
30
30
  stringio
31
- racc (1.7.1)
31
+ racc (1.7.3)
32
32
  rainbow (3.1.1)
33
33
  rake (13.0.6)
34
34
  rspec (3.12.0)
@@ -53,8 +53,8 @@ GEM
53
53
  ruby-progressbar (~> 1.7)
54
54
  unicode-display_width (>= 1.4.0, < 1.6)
55
55
  ruby-progressbar (1.13.0)
56
- stringio (3.0.8)
57
- typhoeus (1.4.0)
56
+ stringio (3.1.0)
57
+ typhoeus (1.4.1)
58
58
  ethon (>= 0.9.0)
59
59
  unicode-display_width (1.5.0)
60
60
 
data/README.md CHANGED
@@ -7,7 +7,7 @@ Cheminée: The Chemical Structure Search Engine
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0
10
- - Package version: 0.1.12
10
+ - Package version: 0.1.14
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://github.com/rdkit-rs/cheminee](https://github.com/rdkit-rs/cheminee)
13
13
 
@@ -24,16 +24,16 @@ gem build cheminee.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./cheminee-0.1.12.gem
27
+ gem install ./cheminee-0.1.14.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./cheminee-0.1.12.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./cheminee-0.1.14.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'cheminee', '~> 0.1.12'
36
+ gem 'cheminee', '~> 0.1.14'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -79,6 +79,7 @@ Class | Method | HTTP request | Description
79
79
  *Cheminee::DefaultApi* | [**v1_indexes_index_bulk_index_post**](docs/DefaultApi.md#v1_indexes_index_bulk_index_post) | **POST** /v1/indexes/{index}/bulk_index | Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable
80
80
  *Cheminee::DefaultApi* | [**v1_indexes_index_get**](docs/DefaultApi.md#v1_indexes_index_get) | **GET** /v1/indexes/{index} | Get extended information about an index
81
81
  *Cheminee::DefaultApi* | [**v1_indexes_index_post**](docs/DefaultApi.md#v1_indexes_index_post) | **POST** /v1/indexes/{index} | Create an index
82
+ *Cheminee::DefaultApi* | [**v1_indexes_index_search_basic_get**](docs/DefaultApi.md#v1_indexes_index_search_basic_get) | **GET** /v1/indexes/{index}/search/basic | Perform basic query search against index
82
83
  *Cheminee::DefaultApi* | [**v1_indexes_index_search_substructure_get**](docs/DefaultApi.md#v1_indexes_index_search_substructure_get) | **GET** /v1/indexes/{index}/search/substructure | Perform substructure search against index
83
84
  *Cheminee::DefaultApi* | [**v1_schemas_get**](docs/DefaultApi.md#v1_schemas_get) | **GET** /v1/schemas | List schemas available for creating indexes
84
85
  *Cheminee::DefaultApi* | [**v1_standardize_post**](docs/DefaultApi.md#v1_standardize_post) | **POST** /v1/standardize | Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
@@ -91,13 +92,16 @@ Class | Method | HTTP request | Description
91
92
  - [Cheminee::CreateIndexError](docs/CreateIndexError.md)
92
93
  - [Cheminee::GetIndexesResponseError](docs/GetIndexesResponseError.md)
93
94
  - [Cheminee::IndexMeta](docs/IndexMeta.md)
95
+ - [Cheminee::IndexSchema](docs/IndexSchema.md)
94
96
  - [Cheminee::ListIndexResponseErr](docs/ListIndexResponseErr.md)
95
97
  - [Cheminee::PostIndexBulkResponseError](docs/PostIndexBulkResponseError.md)
96
98
  - [Cheminee::PostIndexBulkResponseOk](docs/PostIndexBulkResponseOk.md)
97
99
  - [Cheminee::PostIndexBulkResponseOkStatus](docs/PostIndexBulkResponseOkStatus.md)
100
+ - [Cheminee::QueryResponseError](docs/QueryResponseError.md)
101
+ - [Cheminee::QuerySearchHit](docs/QuerySearchHit.md)
98
102
  - [Cheminee::Schema](docs/Schema.md)
99
- - [Cheminee::Smile](docs/Smile.md)
100
- - [Cheminee::StandardizedSmile](docs/StandardizedSmile.md)
103
+ - [Cheminee::Smiles](docs/Smiles.md)
104
+ - [Cheminee::StandardizedSmiles](docs/StandardizedSmiles.md)
101
105
  - [Cheminee::StructureResponseError](docs/StructureResponseError.md)
102
106
  - [Cheminee::StructureSearchHit](docs/StructureSearchHit.md)
103
107
 
data/cheminee.gemspec CHANGED
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: 1.0
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 7.1.0-SNAPSHOT
11
+ OpenAPI Generator version: 7.3.0-SNAPSHOT
12
12
 
13
13
  =end
14
14
 
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
26
26
  s.description = "Cheminée: The Chemical Structure Search Engine"
27
27
  s.license = "Unlicense"
28
28
  s.required_ruby_version = ">= 3.0"
29
+ s.metadata = {}
29
30
 
30
31
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
32
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **smile** | **String** | | |
7
+ | **smiles** | **String** | | |
8
8
  | **extra_data** | **Object** | This value can store an arbitrary JSON object like &#39;{}&#39; | [optional] |
9
9
 
10
10
  ## Example
@@ -13,7 +13,7 @@
13
13
  require 'cheminee'
14
14
 
15
15
  instance = Cheminee::BulkRequestDoc.new(
16
- smile: null,
16
+ smiles: null,
17
17
  extra_data: null
18
18
  )
19
19
  ```
data/docs/DefaultApi.md CHANGED
@@ -8,6 +8,7 @@ All URIs are relative to *http://localhost:3000/api*
8
8
  | [**v1_indexes_index_bulk_index_post**](DefaultApi.md#v1_indexes_index_bulk_index_post) | **POST** /v1/indexes/{index}/bulk_index | Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable |
9
9
  | [**v1_indexes_index_get**](DefaultApi.md#v1_indexes_index_get) | **GET** /v1/indexes/{index} | Get extended information about an index |
10
10
  | [**v1_indexes_index_post**](DefaultApi.md#v1_indexes_index_post) | **POST** /v1/indexes/{index} | Create an index |
11
+ | [**v1_indexes_index_search_basic_get**](DefaultApi.md#v1_indexes_index_search_basic_get) | **GET** /v1/indexes/{index}/search/basic | Perform basic query search against index |
11
12
  | [**v1_indexes_index_search_substructure_get**](DefaultApi.md#v1_indexes_index_search_substructure_get) | **GET** /v1/indexes/{index}/search/substructure | Perform substructure search against index |
12
13
  | [**v1_schemas_get**](DefaultApi.md#v1_schemas_get) | **GET** /v1/schemas | List schemas available for creating indexes |
13
14
  | [**v1_standardize_post**](DefaultApi.md#v1_standardize_post) | **POST** /v1/standardize | Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines |
@@ -86,7 +87,7 @@ require 'cheminee'
86
87
 
87
88
  api_instance = Cheminee::DefaultApi.new
88
89
  index = 'index_example' # String |
89
- bulk_request = Cheminee::BulkRequest.new({docs: [Cheminee::BulkRequestDoc.new({smile: 'smile_example'})]}) # BulkRequest |
90
+ bulk_request = Cheminee::BulkRequest.new({docs: [Cheminee::BulkRequestDoc.new({smiles: 'smiles_example'})]}) # BulkRequest |
90
91
 
91
92
  begin
92
93
  # Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable
@@ -138,7 +139,7 @@ No authorization required
138
139
 
139
140
  ## v1_indexes_index_get
140
141
 
141
- > <Array<IndexMeta>> v1_indexes_index_get(index)
142
+ > <IndexSchema> v1_indexes_index_get(index)
142
143
 
143
144
  Get extended information about an index
144
145
 
@@ -164,7 +165,7 @@ end
164
165
 
165
166
  This returns an Array which contains the response data, status code and headers.
166
167
 
167
- > <Array(<Array<IndexMeta>>, Integer, Hash)> v1_indexes_index_get_with_http_info(index)
168
+ > <Array(<IndexSchema>, Integer, Hash)> v1_indexes_index_get_with_http_info(index)
168
169
 
169
170
  ```ruby
170
171
  begin
@@ -172,7 +173,7 @@ begin
172
173
  data, status_code, headers = api_instance.v1_indexes_index_get_with_http_info(index)
173
174
  p status_code # => 2xx
174
175
  p headers # => { ... }
175
- p data # => <Array<IndexMeta>>
176
+ p data # => <IndexSchema>
176
177
  rescue Cheminee::ApiError => e
177
178
  puts "Error when calling DefaultApi->v1_indexes_index_get_with_http_info: #{e}"
178
179
  end
@@ -186,7 +187,7 @@ end
186
187
 
187
188
  ### Return type
188
189
 
189
- [**Array&lt;IndexMeta&gt;**](IndexMeta.md)
190
+ [**IndexSchema**](IndexSchema.md)
190
191
 
191
192
  ### Authorization
192
193
 
@@ -266,9 +267,77 @@ No authorization required
266
267
  - **Accept**: application/json; charset=utf-8
267
268
 
268
269
 
270
+ ## v1_indexes_index_search_basic_get
271
+
272
+ > <Array<QuerySearchHit>> v1_indexes_index_search_basic_get(index, query, opts)
273
+
274
+ Perform basic query search against index
275
+
276
+ ### Examples
277
+
278
+ ```ruby
279
+ require 'time'
280
+ require 'cheminee'
281
+
282
+ api_instance = Cheminee::DefaultApi.new
283
+ index = 'index_example' # String |
284
+ query = 'query_example' # String |
285
+ opts = {
286
+ limit: 56 # Integer |
287
+ }
288
+
289
+ begin
290
+ # Perform basic query search against index
291
+ result = api_instance.v1_indexes_index_search_basic_get(index, query, opts)
292
+ p result
293
+ rescue Cheminee::ApiError => e
294
+ puts "Error when calling DefaultApi->v1_indexes_index_search_basic_get: #{e}"
295
+ end
296
+ ```
297
+
298
+ #### Using the v1_indexes_index_search_basic_get_with_http_info variant
299
+
300
+ This returns an Array which contains the response data, status code and headers.
301
+
302
+ > <Array(<Array<QuerySearchHit>>, Integer, Hash)> v1_indexes_index_search_basic_get_with_http_info(index, query, opts)
303
+
304
+ ```ruby
305
+ begin
306
+ # Perform basic query search against index
307
+ data, status_code, headers = api_instance.v1_indexes_index_search_basic_get_with_http_info(index, query, opts)
308
+ p status_code # => 2xx
309
+ p headers # => { ... }
310
+ p data # => <Array<QuerySearchHit>>
311
+ rescue Cheminee::ApiError => e
312
+ puts "Error when calling DefaultApi->v1_indexes_index_search_basic_get_with_http_info: #{e}"
313
+ end
314
+ ```
315
+
316
+ ### Parameters
317
+
318
+ | Name | Type | Description | Notes |
319
+ | ---- | ---- | ----------- | ----- |
320
+ | **index** | **String** | | |
321
+ | **query** | **String** | | |
322
+ | **limit** | **Integer** | | [optional] |
323
+
324
+ ### Return type
325
+
326
+ [**Array&lt;QuerySearchHit&gt;**](QuerySearchHit.md)
327
+
328
+ ### Authorization
329
+
330
+ No authorization required
331
+
332
+ ### HTTP request headers
333
+
334
+ - **Content-Type**: Not defined
335
+ - **Accept**: application/json; charset=utf-8
336
+
337
+
269
338
  ## v1_indexes_index_search_substructure_get
270
339
 
271
- > <Array<StructureSearchHit>> v1_indexes_index_search_substructure_get(index, smile, opts)
340
+ > <Array<StructureSearchHit>> v1_indexes_index_search_substructure_get(index, smiles, opts)
272
341
 
273
342
  Perform substructure search against index
274
343
 
@@ -280,15 +349,16 @@ require 'cheminee'
280
349
 
281
350
  api_instance = Cheminee::DefaultApi.new
282
351
  index = 'index_example' # String |
283
- smile = 'smile_example' # String |
352
+ smiles = 'smiles_example' # String |
284
353
  opts = {
285
354
  result_limit: 56, # Integer |
286
- tautomer_limit: 56 # Integer |
355
+ tautomer_limit: 56, # Integer |
356
+ extra_query: 'extra_query_example' # String |
287
357
  }
288
358
 
289
359
  begin
290
360
  # Perform substructure search against index
291
- result = api_instance.v1_indexes_index_search_substructure_get(index, smile, opts)
361
+ result = api_instance.v1_indexes_index_search_substructure_get(index, smiles, opts)
292
362
  p result
293
363
  rescue Cheminee::ApiError => e
294
364
  puts "Error when calling DefaultApi->v1_indexes_index_search_substructure_get: #{e}"
@@ -299,12 +369,12 @@ end
299
369
 
300
370
  This returns an Array which contains the response data, status code and headers.
301
371
 
302
- > <Array(<Array<StructureSearchHit>>, Integer, Hash)> v1_indexes_index_search_substructure_get_with_http_info(index, smile, opts)
372
+ > <Array(<Array<StructureSearchHit>>, Integer, Hash)> v1_indexes_index_search_substructure_get_with_http_info(index, smiles, opts)
303
373
 
304
374
  ```ruby
305
375
  begin
306
376
  # Perform substructure search against index
307
- data, status_code, headers = api_instance.v1_indexes_index_search_substructure_get_with_http_info(index, smile, opts)
377
+ data, status_code, headers = api_instance.v1_indexes_index_search_substructure_get_with_http_info(index, smiles, opts)
308
378
  p status_code # => 2xx
309
379
  p headers # => { ... }
310
380
  p data # => <Array<StructureSearchHit>>
@@ -318,9 +388,10 @@ end
318
388
  | Name | Type | Description | Notes |
319
389
  | ---- | ---- | ----------- | ----- |
320
390
  | **index** | **String** | | |
321
- | **smile** | **String** | | |
391
+ | **smiles** | **String** | | |
322
392
  | **result_limit** | **Integer** | | [optional] |
323
393
  | **tautomer_limit** | **Integer** | | [optional] |
394
+ | **extra_query** | **String** | | [optional] |
324
395
 
325
396
  ### Return type
326
397
 
@@ -397,7 +468,7 @@ No authorization required
397
468
 
398
469
  ## v1_standardize_post
399
470
 
400
- > <Array<StandardizedSmile>> v1_standardize_post(smile)
471
+ > <Array<StandardizedSmiles>> v1_standardize_post(smiles)
401
472
 
402
473
  Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
403
474
 
@@ -408,11 +479,11 @@ require 'time'
408
479
  require 'cheminee'
409
480
 
410
481
  api_instance = Cheminee::DefaultApi.new
411
- smile = [Cheminee::Smile.new({smile: 'smile_example'})] # Array<Smile> |
482
+ smiles = [Cheminee::Smiles.new({smiles: 'smiles_example'})] # Array<Smiles> |
412
483
 
413
484
  begin
414
485
  # Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
415
- result = api_instance.v1_standardize_post(smile)
486
+ result = api_instance.v1_standardize_post(smiles)
416
487
  p result
417
488
  rescue Cheminee::ApiError => e
418
489
  puts "Error when calling DefaultApi->v1_standardize_post: #{e}"
@@ -423,15 +494,15 @@ end
423
494
 
424
495
  This returns an Array which contains the response data, status code and headers.
425
496
 
426
- > <Array(<Array<StandardizedSmile>>, Integer, Hash)> v1_standardize_post_with_http_info(smile)
497
+ > <Array(<Array<StandardizedSmiles>>, Integer, Hash)> v1_standardize_post_with_http_info(smiles)
427
498
 
428
499
  ```ruby
429
500
  begin
430
501
  # Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
431
- data, status_code, headers = api_instance.v1_standardize_post_with_http_info(smile)
502
+ data, status_code, headers = api_instance.v1_standardize_post_with_http_info(smiles)
432
503
  p status_code # => 2xx
433
504
  p headers # => { ... }
434
- p data # => <Array<StandardizedSmile>>
505
+ p data # => <Array<StandardizedSmiles>>
435
506
  rescue Cheminee::ApiError => e
436
507
  puts "Error when calling DefaultApi->v1_standardize_post_with_http_info: #{e}"
437
508
  end
@@ -441,11 +512,11 @@ end
441
512
 
442
513
  | Name | Type | Description | Notes |
443
514
  | ---- | ---- | ----------- | ----- |
444
- | **smile** | [**Array&lt;Smile&gt;**](Smile.md) | | |
515
+ | **smiles** | [**Array&lt;Smiles&gt;**](Smiles.md) | | |
445
516
 
446
517
  ### Return type
447
518
 
448
- [**Array&lt;StandardizedSmile&gt;**](StandardizedSmile.md)
519
+ [**Array&lt;StandardizedSmiles&gt;**](StandardizedSmiles.md)
449
520
 
450
521
  ### Authorization
451
522
 
@@ -0,0 +1,20 @@
1
+ # Cheminee::IndexSchema
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **index** | **String** | | |
8
+ | **schema** | **Object** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'cheminee'
14
+
15
+ instance = Cheminee::IndexSchema.new(
16
+ index: null,
17
+ schema: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # Cheminee::QueryResponseError
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error** | **String** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'cheminee'
13
+
14
+ instance = Cheminee::QueryResponseError.new(
15
+ error: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # Cheminee::QuerySearchHit
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **extra_data** | **Object** | | |
8
+ | **smiles** | **String** | | |
9
+ | **query** | **String** | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'cheminee'
15
+
16
+ instance = Cheminee::QuerySearchHit.new(
17
+ extra_data: null,
18
+ smiles: null,
19
+ query: null
20
+ )
21
+ ```
22
+
data/docs/Smiles.md ADDED
@@ -0,0 +1,18 @@
1
+ # Cheminee::Smiles
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **smiles** | **String** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'cheminee'
13
+
14
+ instance = Cheminee::Smiles.new(
15
+ smiles: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # Cheminee::StandardizedSmiles
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **smiles** | **String** | | [optional] |
8
+ | **error** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'cheminee'
14
+
15
+ instance = Cheminee::StandardizedSmiles.new(
16
+ smiles: null,
17
+ error: null
18
+ )
19
+ ```
20
+