cheminee 0.0.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 (82) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +72 -0
  4. data/README.md +112 -0
  5. data/Rakefile +10 -0
  6. data/cheminee.gemspec +39 -0
  7. data/docs/BulkRequest.md +18 -0
  8. data/docs/BulkRequestDoc.md +20 -0
  9. data/docs/CreateIndexError.md +18 -0
  10. data/docs/DefaultApi.md +529 -0
  11. data/docs/GetIndexesResponseError.md +18 -0
  12. data/docs/IndexMeta.md +20 -0
  13. data/docs/IndexSchema.md +20 -0
  14. data/docs/ListIndexResponseErr.md +18 -0
  15. data/docs/PostIndexBulkResponseError.md +18 -0
  16. data/docs/PostIndexBulkResponseOk.md +18 -0
  17. data/docs/PostIndexBulkResponseOkStatus.md +20 -0
  18. data/docs/QueryResponseError.md +18 -0
  19. data/docs/QuerySearchHit.md +22 -0
  20. data/docs/Schema.md +20 -0
  21. data/docs/Smile.md +18 -0
  22. data/docs/Smiles.md +18 -0
  23. data/docs/StandardizedSmile.md +20 -0
  24. data/docs/StandardizedSmiles.md +20 -0
  25. data/docs/StructureResponseError.md +18 -0
  26. data/docs/StructureSearchHit.md +26 -0
  27. data/docs/SubstructureSearchHit.md +24 -0
  28. data/git_push.sh +57 -0
  29. data/lib/cheminee/api/default_api.rb +550 -0
  30. data/lib/cheminee/api_client.rb +393 -0
  31. data/lib/cheminee/api_error.rb +58 -0
  32. data/lib/cheminee/configuration.rb +291 -0
  33. data/lib/cheminee/models/bulk_request.rb +223 -0
  34. data/lib/cheminee/models/bulk_request_doc.rb +232 -0
  35. data/lib/cheminee/models/create_index_error.rb +221 -0
  36. data/lib/cheminee/models/get_indexes_response_error.rb +221 -0
  37. data/lib/cheminee/models/index_meta.rb +237 -0
  38. data/lib/cheminee/models/index_schema.rb +233 -0
  39. data/lib/cheminee/models/list_index_response_err.rb +221 -0
  40. data/lib/cheminee/models/post_index_bulk_response_error.rb +221 -0
  41. data/lib/cheminee/models/post_index_bulk_response_ok.rb +223 -0
  42. data/lib/cheminee/models/post_index_bulk_response_ok_status.rb +223 -0
  43. data/lib/cheminee/models/query_response_error.rb +221 -0
  44. data/lib/cheminee/models/query_search_hit.rb +249 -0
  45. data/lib/cheminee/models/schema.rb +233 -0
  46. data/lib/cheminee/models/smile.rb +221 -0
  47. data/lib/cheminee/models/smiles.rb +221 -0
  48. data/lib/cheminee/models/standardized_smile.rb +223 -0
  49. data/lib/cheminee/models/standardized_smiles.rb +223 -0
  50. data/lib/cheminee/models/structure_response_error.rb +221 -0
  51. data/lib/cheminee/models/structure_search_hit.rb +281 -0
  52. data/lib/cheminee/models/substructure_search_hit.rb +265 -0
  53. data/lib/cheminee/version.rb +15 -0
  54. data/lib/cheminee.rb +57 -0
  55. data/openapi-generator-config.json +7 -0
  56. data/openapi.json +77 -0
  57. data/pkg/cheminee-0.0.14.gem +0 -0
  58. data/spec/api/default_api_spec.rb +45 -0
  59. data/spec/api_client_spec.rb +228 -0
  60. data/spec/configuration_spec.rb +42 -0
  61. data/spec/models/bulk_request_doc_spec.rb +42 -0
  62. data/spec/models/bulk_request_spec.rb +36 -0
  63. data/spec/models/create_index_error_spec.rb +36 -0
  64. data/spec/models/get_indexes_response_error_spec.rb +36 -0
  65. data/spec/models/index_meta_spec.rb +42 -0
  66. data/spec/models/index_schema_spec.rb +42 -0
  67. data/spec/models/list_index_response_err_spec.rb +36 -0
  68. data/spec/models/post_index_bulk_response_error_spec.rb +36 -0
  69. data/spec/models/post_index_bulk_response_ok_spec.rb +36 -0
  70. data/spec/models/post_index_bulk_response_ok_status_spec.rb +42 -0
  71. data/spec/models/query_response_error_spec.rb +36 -0
  72. data/spec/models/query_search_hit_spec.rb +48 -0
  73. data/spec/models/schema_spec.rb +42 -0
  74. data/spec/models/smile_spec.rb +34 -0
  75. data/spec/models/smiles_spec.rb +36 -0
  76. data/spec/models/standardized_smile_spec.rb +40 -0
  77. data/spec/models/standardized_smiles_spec.rb +42 -0
  78. data/spec/models/structure_response_error_spec.rb +36 -0
  79. data/spec/models/structure_search_hit_spec.rb +60 -0
  80. data/spec/models/substructure_search_hit_spec.rb +54 -0
  81. data/spec/spec_helper.rb +111 -0
  82. metadata +187 -0
@@ -0,0 +1,529 @@
1
+ # Cheminee::DefaultApi
2
+
3
+ All URIs are relative to *http://localhost:3000/api*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**v1_indexes_get**](DefaultApi.md#v1_indexes_get) | **GET** /v1/indexes | List indexes |
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
+ | [**v1_indexes_index_get**](DefaultApi.md#v1_indexes_index_get) | **GET** /v1/indexes/{index} | Get extended information about an index |
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 |
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 |
13
+ | [**v1_schemas_get**](DefaultApi.md#v1_schemas_get) | **GET** /v1/schemas | List schemas available for creating indexes |
14
+ | [**v1_standardize_post**](DefaultApi.md#v1_standardize_post) | **POST** /v1/standardize | Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines |
15
+
16
+
17
+ ## v1_indexes_get
18
+
19
+ > <Array<IndexMeta>> v1_indexes_get
20
+
21
+ List indexes
22
+
23
+ ### Examples
24
+
25
+ ```ruby
26
+ require 'time'
27
+ require 'cheminee'
28
+
29
+ api_instance = Cheminee::DefaultApi.new
30
+
31
+ begin
32
+ # List indexes
33
+ result = api_instance.v1_indexes_get
34
+ p result
35
+ rescue Cheminee::ApiError => e
36
+ puts "Error when calling DefaultApi->v1_indexes_get: #{e}"
37
+ end
38
+ ```
39
+
40
+ #### Using the v1_indexes_get_with_http_info variant
41
+
42
+ This returns an Array which contains the response data, status code and headers.
43
+
44
+ > <Array(<Array<IndexMeta>>, Integer, Hash)> v1_indexes_get_with_http_info
45
+
46
+ ```ruby
47
+ begin
48
+ # List indexes
49
+ data, status_code, headers = api_instance.v1_indexes_get_with_http_info
50
+ p status_code # => 2xx
51
+ p headers # => { ... }
52
+ p data # => <Array<IndexMeta>>
53
+ rescue Cheminee::ApiError => e
54
+ puts "Error when calling DefaultApi->v1_indexes_get_with_http_info: #{e}"
55
+ end
56
+ ```
57
+
58
+ ### Parameters
59
+
60
+ This endpoint does not need any parameter.
61
+
62
+ ### Return type
63
+
64
+ [**Array&lt;IndexMeta&gt;**](IndexMeta.md)
65
+
66
+ ### Authorization
67
+
68
+ No authorization required
69
+
70
+ ### HTTP request headers
71
+
72
+ - **Content-Type**: Not defined
73
+ - **Accept**: application/json; charset=utf-8
74
+
75
+
76
+ ## v1_indexes_index_bulk_index_post
77
+
78
+ > <PostIndexBulkResponseOk> v1_indexes_index_bulk_index_post(index, bulk_request)
79
+
80
+ Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable
81
+
82
+ ### Examples
83
+
84
+ ```ruby
85
+ require 'time'
86
+ require 'cheminee'
87
+
88
+ api_instance = Cheminee::DefaultApi.new
89
+ index = 'index_example' # String |
90
+ bulk_request = Cheminee::BulkRequest.new({docs: [Cheminee::BulkRequestDoc.new({smiles: 'smiles_example'})]}) # BulkRequest |
91
+
92
+ begin
93
+ # Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable
94
+ result = api_instance.v1_indexes_index_bulk_index_post(index, bulk_request)
95
+ p result
96
+ rescue Cheminee::ApiError => e
97
+ puts "Error when calling DefaultApi->v1_indexes_index_bulk_index_post: #{e}"
98
+ end
99
+ ```
100
+
101
+ #### Using the v1_indexes_index_bulk_index_post_with_http_info variant
102
+
103
+ This returns an Array which contains the response data, status code and headers.
104
+
105
+ > <Array(<PostIndexBulkResponseOk>, Integer, Hash)> v1_indexes_index_bulk_index_post_with_http_info(index, bulk_request)
106
+
107
+ ```ruby
108
+ begin
109
+ # Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable
110
+ data, status_code, headers = api_instance.v1_indexes_index_bulk_index_post_with_http_info(index, bulk_request)
111
+ p status_code # => 2xx
112
+ p headers # => { ... }
113
+ p data # => <PostIndexBulkResponseOk>
114
+ rescue Cheminee::ApiError => e
115
+ puts "Error when calling DefaultApi->v1_indexes_index_bulk_index_post_with_http_info: #{e}"
116
+ end
117
+ ```
118
+
119
+ ### Parameters
120
+
121
+ | Name | Type | Description | Notes |
122
+ | ---- | ---- | ----------- | ----- |
123
+ | **index** | **String** | | |
124
+ | **bulk_request** | [**BulkRequest**](BulkRequest.md) | | |
125
+
126
+ ### Return type
127
+
128
+ [**PostIndexBulkResponseOk**](PostIndexBulkResponseOk.md)
129
+
130
+ ### Authorization
131
+
132
+ No authorization required
133
+
134
+ ### HTTP request headers
135
+
136
+ - **Content-Type**: application/json; charset=utf-8
137
+ - **Accept**: application/json; charset=utf-8
138
+
139
+
140
+ ## v1_indexes_index_get
141
+
142
+ > <IndexSchema> v1_indexes_index_get(index)
143
+
144
+ Get extended information about an index
145
+
146
+ ### Examples
147
+
148
+ ```ruby
149
+ require 'time'
150
+ require 'cheminee'
151
+
152
+ api_instance = Cheminee::DefaultApi.new
153
+ index = 'index_example' # String |
154
+
155
+ begin
156
+ # Get extended information about an index
157
+ result = api_instance.v1_indexes_index_get(index)
158
+ p result
159
+ rescue Cheminee::ApiError => e
160
+ puts "Error when calling DefaultApi->v1_indexes_index_get: #{e}"
161
+ end
162
+ ```
163
+
164
+ #### Using the v1_indexes_index_get_with_http_info variant
165
+
166
+ This returns an Array which contains the response data, status code and headers.
167
+
168
+ > <Array(<IndexSchema>, Integer, Hash)> v1_indexes_index_get_with_http_info(index)
169
+
170
+ ```ruby
171
+ begin
172
+ # Get extended information about an index
173
+ data, status_code, headers = api_instance.v1_indexes_index_get_with_http_info(index)
174
+ p status_code # => 2xx
175
+ p headers # => { ... }
176
+ p data # => <IndexSchema>
177
+ rescue Cheminee::ApiError => e
178
+ puts "Error when calling DefaultApi->v1_indexes_index_get_with_http_info: #{e}"
179
+ end
180
+ ```
181
+
182
+ ### Parameters
183
+
184
+ | Name | Type | Description | Notes |
185
+ | ---- | ---- | ----------- | ----- |
186
+ | **index** | **String** | | |
187
+
188
+ ### Return type
189
+
190
+ [**IndexSchema**](IndexSchema.md)
191
+
192
+ ### Authorization
193
+
194
+ No authorization required
195
+
196
+ ### HTTP request headers
197
+
198
+ - **Content-Type**: Not defined
199
+ - **Accept**: application/json; charset=utf-8
200
+
201
+
202
+ ## v1_indexes_index_post
203
+
204
+ > <IndexMeta> v1_indexes_index_post(index, schema, opts)
205
+
206
+ Create an index
207
+
208
+ ### Examples
209
+
210
+ ```ruby
211
+ require 'time'
212
+ require 'cheminee'
213
+
214
+ api_instance = Cheminee::DefaultApi.new
215
+ index = 'index_example' # String |
216
+ schema = 'schema_example' # String |
217
+ opts = {
218
+ sort_by: 'sort_by_example' # String |
219
+ }
220
+
221
+ begin
222
+ # Create an index
223
+ result = api_instance.v1_indexes_index_post(index, schema, opts)
224
+ p result
225
+ rescue Cheminee::ApiError => e
226
+ puts "Error when calling DefaultApi->v1_indexes_index_post: #{e}"
227
+ end
228
+ ```
229
+
230
+ #### Using the v1_indexes_index_post_with_http_info variant
231
+
232
+ This returns an Array which contains the response data, status code and headers.
233
+
234
+ > <Array(<IndexMeta>, Integer, Hash)> v1_indexes_index_post_with_http_info(index, schema, opts)
235
+
236
+ ```ruby
237
+ begin
238
+ # Create an index
239
+ data, status_code, headers = api_instance.v1_indexes_index_post_with_http_info(index, schema, opts)
240
+ p status_code # => 2xx
241
+ p headers # => { ... }
242
+ p data # => <IndexMeta>
243
+ rescue Cheminee::ApiError => e
244
+ puts "Error when calling DefaultApi->v1_indexes_index_post_with_http_info: #{e}"
245
+ end
246
+ ```
247
+
248
+ ### Parameters
249
+
250
+ | Name | Type | Description | Notes |
251
+ | ---- | ---- | ----------- | ----- |
252
+ | **index** | **String** | | |
253
+ | **schema** | **String** | | |
254
+ | **sort_by** | **String** | | [optional] |
255
+
256
+ ### Return type
257
+
258
+ [**IndexMeta**](IndexMeta.md)
259
+
260
+ ### Authorization
261
+
262
+ No authorization required
263
+
264
+ ### HTTP request headers
265
+
266
+ - **Content-Type**: Not defined
267
+ - **Accept**: application/json; charset=utf-8
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
+
338
+ ## v1_indexes_index_search_substructure_get
339
+
340
+ > <Array<StructureSearchHit>> v1_indexes_index_search_substructure_get(index, smiles, opts)
341
+
342
+ Perform substructure search against index
343
+
344
+ ### Examples
345
+
346
+ ```ruby
347
+ require 'time'
348
+ require 'cheminee'
349
+
350
+ api_instance = Cheminee::DefaultApi.new
351
+ index = 'index_example' # String |
352
+ smiles = 'smiles_example' # String |
353
+ opts = {
354
+ result_limit: 56, # Integer |
355
+ tautomer_limit: 56, # Integer |
356
+ extra_query: 'extra_query_example' # String |
357
+ }
358
+
359
+ begin
360
+ # Perform substructure search against index
361
+ result = api_instance.v1_indexes_index_search_substructure_get(index, smiles, opts)
362
+ p result
363
+ rescue Cheminee::ApiError => e
364
+ puts "Error when calling DefaultApi->v1_indexes_index_search_substructure_get: #{e}"
365
+ end
366
+ ```
367
+
368
+ #### Using the v1_indexes_index_search_substructure_get_with_http_info variant
369
+
370
+ This returns an Array which contains the response data, status code and headers.
371
+
372
+ > <Array(<Array<StructureSearchHit>>, Integer, Hash)> v1_indexes_index_search_substructure_get_with_http_info(index, smiles, opts)
373
+
374
+ ```ruby
375
+ begin
376
+ # Perform substructure search against index
377
+ data, status_code, headers = api_instance.v1_indexes_index_search_substructure_get_with_http_info(index, smiles, opts)
378
+ p status_code # => 2xx
379
+ p headers # => { ... }
380
+ p data # => <Array<StructureSearchHit>>
381
+ rescue Cheminee::ApiError => e
382
+ puts "Error when calling DefaultApi->v1_indexes_index_search_substructure_get_with_http_info: #{e}"
383
+ end
384
+ ```
385
+
386
+ ### Parameters
387
+
388
+ | Name | Type | Description | Notes |
389
+ | ---- | ---- | ----------- | ----- |
390
+ | **index** | **String** | | |
391
+ | **smiles** | **String** | | |
392
+ | **result_limit** | **Integer** | | [optional] |
393
+ | **tautomer_limit** | **Integer** | | [optional] |
394
+ | **extra_query** | **String** | | [optional] |
395
+
396
+ ### Return type
397
+
398
+ [**Array&lt;StructureSearchHit&gt;**](StructureSearchHit.md)
399
+
400
+ ### Authorization
401
+
402
+ No authorization required
403
+
404
+ ### HTTP request headers
405
+
406
+ - **Content-Type**: Not defined
407
+ - **Accept**: application/json; charset=utf-8
408
+
409
+
410
+ ## v1_schemas_get
411
+
412
+ > <Array<Schema>> v1_schemas_get
413
+
414
+ List schemas available for creating indexes
415
+
416
+ ### Examples
417
+
418
+ ```ruby
419
+ require 'time'
420
+ require 'cheminee'
421
+
422
+ api_instance = Cheminee::DefaultApi.new
423
+
424
+ begin
425
+ # List schemas available for creating indexes
426
+ result = api_instance.v1_schemas_get
427
+ p result
428
+ rescue Cheminee::ApiError => e
429
+ puts "Error when calling DefaultApi->v1_schemas_get: #{e}"
430
+ end
431
+ ```
432
+
433
+ #### Using the v1_schemas_get_with_http_info variant
434
+
435
+ This returns an Array which contains the response data, status code and headers.
436
+
437
+ > <Array(<Array<Schema>>, Integer, Hash)> v1_schemas_get_with_http_info
438
+
439
+ ```ruby
440
+ begin
441
+ # List schemas available for creating indexes
442
+ data, status_code, headers = api_instance.v1_schemas_get_with_http_info
443
+ p status_code # => 2xx
444
+ p headers # => { ... }
445
+ p data # => <Array<Schema>>
446
+ rescue Cheminee::ApiError => e
447
+ puts "Error when calling DefaultApi->v1_schemas_get_with_http_info: #{e}"
448
+ end
449
+ ```
450
+
451
+ ### Parameters
452
+
453
+ This endpoint does not need any parameter.
454
+
455
+ ### Return type
456
+
457
+ [**Array&lt;Schema&gt;**](Schema.md)
458
+
459
+ ### Authorization
460
+
461
+ No authorization required
462
+
463
+ ### HTTP request headers
464
+
465
+ - **Content-Type**: Not defined
466
+ - **Accept**: application/json; charset=utf-8
467
+
468
+
469
+ ## v1_standardize_post
470
+
471
+ > <Array<StandardizedSmiles>> v1_standardize_post(smiles)
472
+
473
+ Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
474
+
475
+ ### Examples
476
+
477
+ ```ruby
478
+ require 'time'
479
+ require 'cheminee'
480
+
481
+ api_instance = Cheminee::DefaultApi.new
482
+ smiles = [Cheminee::Smiles.new({smiles: 'smiles_example'})] # Array<Smiles> |
483
+
484
+ begin
485
+ # Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
486
+ result = api_instance.v1_standardize_post(smiles)
487
+ p result
488
+ rescue Cheminee::ApiError => e
489
+ puts "Error when calling DefaultApi->v1_standardize_post: #{e}"
490
+ end
491
+ ```
492
+
493
+ #### Using the v1_standardize_post_with_http_info variant
494
+
495
+ This returns an Array which contains the response data, status code and headers.
496
+
497
+ > <Array(<Array<StandardizedSmiles>>, Integer, Hash)> v1_standardize_post_with_http_info(smiles)
498
+
499
+ ```ruby
500
+ begin
501
+ # Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
502
+ data, status_code, headers = api_instance.v1_standardize_post_with_http_info(smiles)
503
+ p status_code # => 2xx
504
+ p headers # => { ... }
505
+ p data # => <Array<StandardizedSmiles>>
506
+ rescue Cheminee::ApiError => e
507
+ puts "Error when calling DefaultApi->v1_standardize_post_with_http_info: #{e}"
508
+ end
509
+ ```
510
+
511
+ ### Parameters
512
+
513
+ | Name | Type | Description | Notes |
514
+ | ---- | ---- | ----------- | ----- |
515
+ | **smiles** | [**Array&lt;Smiles&gt;**](Smiles.md) | | |
516
+
517
+ ### Return type
518
+
519
+ [**Array&lt;StandardizedSmiles&gt;**](StandardizedSmiles.md)
520
+
521
+ ### Authorization
522
+
523
+ No authorization required
524
+
525
+ ### HTTP request headers
526
+
527
+ - **Content-Type**: application/json; charset=utf-8
528
+ - **Accept**: application/json; charset=utf-8
529
+
@@ -0,0 +1,18 @@
1
+ # Cheminee::GetIndexesResponseError
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::GetIndexesResponseError.new(
15
+ error: null
16
+ )
17
+ ```
18
+
data/docs/IndexMeta.md ADDED
@@ -0,0 +1,20 @@
1
+ # Cheminee::IndexMeta
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | |
8
+ | **schema** | **String** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'cheminee'
14
+
15
+ instance = Cheminee::IndexMeta.new(
16
+ name: null,
17
+ schema: null
18
+ )
19
+ ```
20
+
@@ -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::ListIndexResponseErr
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::ListIndexResponseErr.new(
15
+ error: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # Cheminee::PostIndexBulkResponseError
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::PostIndexBulkResponseError.new(
15
+ error: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # Cheminee::PostIndexBulkResponseOk
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **statuses** | [**Array&lt;PostIndexBulkResponseOkStatus&gt;**](PostIndexBulkResponseOkStatus.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'cheminee'
13
+
14
+ instance = Cheminee::PostIndexBulkResponseOk.new(
15
+ statuses: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # Cheminee::PostIndexBulkResponseOkStatus
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **opcode** | **Integer** | | [optional] |
8
+ | **error** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'cheminee'
14
+
15
+ instance = Cheminee::PostIndexBulkResponseOkStatus.new(
16
+ opcode: null,
17
+ error: 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
+