cheminee 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +8 -8
  3. data/README.md +11 -33
  4. data/cheminee.gemspec +1 -2
  5. data/docs/DefaultApi.md +16 -475
  6. data/lib/cheminee/api/default_api.rb +17 -481
  7. data/lib/cheminee/api_client.rb +21 -23
  8. data/lib/cheminee/api_error.rb +1 -1
  9. data/lib/cheminee/configuration.rb +5 -6
  10. data/lib/cheminee/models/smile.rb +1 -1
  11. data/lib/cheminee/models/standardized_smile.rb +1 -1
  12. data/lib/cheminee/version.rb +2 -2
  13. data/lib/cheminee.rb +3 -18
  14. data/pkg/cheminee-0.0.15.gem +0 -0
  15. data/spec/api_client_spec.rb +1 -1
  16. data/spec/configuration_spec.rb +4 -4
  17. data/spec/spec_helper.rb +1 -1
  18. metadata +3 -75
  19. data/docs/BulkRequest.md +0 -18
  20. data/docs/BulkRequestDoc.md +0 -20
  21. data/docs/CreateIndexError.md +0 -18
  22. data/docs/GetIndexesResponseError.md +0 -18
  23. data/docs/IndexMeta.md +0 -20
  24. data/docs/IndexSchema.md +0 -20
  25. data/docs/ListIndexResponseErr.md +0 -18
  26. data/docs/PostIndexBulkResponseError.md +0 -18
  27. data/docs/PostIndexBulkResponseOk.md +0 -18
  28. data/docs/PostIndexBulkResponseOkStatus.md +0 -20
  29. data/docs/QueryResponseError.md +0 -18
  30. data/docs/QuerySearchHit.md +0 -22
  31. data/docs/Schema.md +0 -20
  32. data/docs/Smiles.md +0 -18
  33. data/docs/StandardizedSmiles.md +0 -20
  34. data/docs/StructureResponseError.md +0 -18
  35. data/docs/StructureSearchHit.md +0 -26
  36. data/docs/SubstructureSearchHit.md +0 -24
  37. data/lib/cheminee/models/bulk_request.rb +0 -223
  38. data/lib/cheminee/models/bulk_request_doc.rb +0 -232
  39. data/lib/cheminee/models/create_index_error.rb +0 -221
  40. data/lib/cheminee/models/get_indexes_response_error.rb +0 -221
  41. data/lib/cheminee/models/index_meta.rb +0 -237
  42. data/lib/cheminee/models/index_schema.rb +0 -233
  43. data/lib/cheminee/models/list_index_response_err.rb +0 -221
  44. data/lib/cheminee/models/post_index_bulk_response_error.rb +0 -221
  45. data/lib/cheminee/models/post_index_bulk_response_ok.rb +0 -223
  46. data/lib/cheminee/models/post_index_bulk_response_ok_status.rb +0 -223
  47. data/lib/cheminee/models/query_response_error.rb +0 -221
  48. data/lib/cheminee/models/query_search_hit.rb +0 -249
  49. data/lib/cheminee/models/schema.rb +0 -233
  50. data/lib/cheminee/models/smiles.rb +0 -221
  51. data/lib/cheminee/models/standardized_smiles.rb +0 -223
  52. data/lib/cheminee/models/structure_response_error.rb +0 -221
  53. data/lib/cheminee/models/structure_search_hit.rb +0 -281
  54. data/lib/cheminee/models/substructure_search_hit.rb +0 -265
  55. data/pkg/cheminee-0.0.14.gem +0 -0
  56. data/spec/models/bulk_request_doc_spec.rb +0 -42
  57. data/spec/models/bulk_request_spec.rb +0 -36
  58. data/spec/models/create_index_error_spec.rb +0 -36
  59. data/spec/models/get_indexes_response_error_spec.rb +0 -36
  60. data/spec/models/index_meta_spec.rb +0 -42
  61. data/spec/models/index_schema_spec.rb +0 -42
  62. data/spec/models/list_index_response_err_spec.rb +0 -36
  63. data/spec/models/post_index_bulk_response_error_spec.rb +0 -36
  64. data/spec/models/post_index_bulk_response_ok_spec.rb +0 -36
  65. data/spec/models/post_index_bulk_response_ok_status_spec.rb +0 -42
  66. data/spec/models/query_response_error_spec.rb +0 -36
  67. data/spec/models/query_search_hit_spec.rb +0 -48
  68. data/spec/models/schema_spec.rb +0 -42
  69. data/spec/models/smiles_spec.rb +0 -36
  70. data/spec/models/standardized_smiles_spec.rb +0 -42
  71. data/spec/models/structure_response_error_spec.rb +0 -36
  72. data/spec/models/structure_search_hit_spec.rb +0 -60
  73. data/spec/models/substructure_search_hit_spec.rb +0 -54
@@ -1,265 +0,0 @@
1
- =begin
2
- #Cheminée
3
-
4
- #Cheminée: The Chemical Structure Search Engine
5
-
6
- The version of the OpenAPI document: 1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'date'
14
- require 'time'
15
-
16
- module Cheminee
17
- class SubstructureSearchHit
18
- attr_accessor :extra_data
19
-
20
- attr_accessor :smiles
21
-
22
- attr_accessor :score
23
-
24
- attr_accessor :query
25
-
26
- # Attribute mapping from ruby-style variable name to JSON key.
27
- def self.attribute_map
28
- {
29
- :'extra_data' => :'extra_data',
30
- :'smiles' => :'smiles',
31
- :'score' => :'score',
32
- :'query' => :'query'
33
- }
34
- end
35
-
36
- # Returns all the JSON keys this model knows about
37
- def self.acceptable_attributes
38
- attribute_map.values
39
- end
40
-
41
- # Attribute type mapping.
42
- def self.openapi_types
43
- {
44
- :'extra_data' => :'Object',
45
- :'smiles' => :'String',
46
- :'score' => :'Float',
47
- :'query' => :'String'
48
- }
49
- end
50
-
51
- # List of attributes with nullable: true
52
- def self.openapi_nullable
53
- Set.new([
54
- :'extra_data',
55
- ])
56
- end
57
-
58
- # Initializes the object
59
- # @param [Hash] attributes Model attributes in the form of hash
60
- def initialize(attributes = {})
61
- if (!attributes.is_a?(Hash))
62
- fail ArgumentError, "The input argument (attributes) must be a hash in `Cheminee::SubstructureSearchHit` initialize method"
63
- end
64
-
65
- # check to see if the attribute exists and convert string to symbol for hash key
66
- attributes = attributes.each_with_object({}) { |(k, v), h|
67
- if (!self.class.attribute_map.key?(k.to_sym))
68
- fail ArgumentError, "`#{k}` is not a valid attribute in `Cheminee::SubstructureSearchHit`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
69
- end
70
- h[k.to_sym] = v
71
- }
72
-
73
- if attributes.key?(:'extra_data')
74
- self.extra_data = attributes[:'extra_data']
75
- else
76
- self.extra_data = nil
77
- end
78
-
79
- if attributes.key?(:'smiles')
80
- self.smiles = attributes[:'smiles']
81
- else
82
- self.smiles = nil
83
- end
84
-
85
- if attributes.key?(:'score')
86
- self.score = attributes[:'score']
87
- else
88
- self.score = nil
89
- end
90
-
91
- if attributes.key?(:'query')
92
- self.query = attributes[:'query']
93
- else
94
- self.query = nil
95
- end
96
- end
97
-
98
- # Show invalid properties with the reasons. Usually used together with valid?
99
- # @return Array for valid properties with the reasons
100
- def list_invalid_properties
101
- warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
102
- invalid_properties = Array.new
103
- if @smiles.nil?
104
- invalid_properties.push('invalid value for "smiles", smiles cannot be nil.')
105
- end
106
-
107
- if @score.nil?
108
- invalid_properties.push('invalid value for "score", score cannot be nil.')
109
- end
110
-
111
- if @query.nil?
112
- invalid_properties.push('invalid value for "query", query cannot be nil.')
113
- end
114
-
115
- invalid_properties
116
- end
117
-
118
- # Check to see if the all the properties in the model are valid
119
- # @return true if the model is valid
120
- def valid?
121
- warn '[DEPRECATED] the `valid?` method is obsolete'
122
- return false if @smiles.nil?
123
- return false if @score.nil?
124
- return false if @query.nil?
125
- true
126
- end
127
-
128
- # Checks equality by comparing each attribute.
129
- # @param [Object] Object to be compared
130
- def ==(o)
131
- return true if self.equal?(o)
132
- self.class == o.class &&
133
- extra_data == o.extra_data &&
134
- smiles == o.smiles &&
135
- score == o.score &&
136
- query == o.query
137
- end
138
-
139
- # @see the `==` method
140
- # @param [Object] Object to be compared
141
- def eql?(o)
142
- self == o
143
- end
144
-
145
- # Calculates hash code according to all attributes.
146
- # @return [Integer] Hash code
147
- def hash
148
- [extra_data, smiles, score, query].hash
149
- end
150
-
151
- # Builds the object from hash
152
- # @param [Hash] attributes Model attributes in the form of hash
153
- # @return [Object] Returns the model itself
154
- def self.build_from_hash(attributes)
155
- return nil unless attributes.is_a?(Hash)
156
- attributes = attributes.transform_keys(&:to_sym)
157
- transformed_hash = {}
158
- openapi_types.each_pair do |key, type|
159
- if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
160
- transformed_hash["#{key}"] = nil
161
- elsif type =~ /\AArray<(.*)>/i
162
- # check to ensure the input is an array given that the attribute
163
- # is documented as an array but the input is not
164
- if attributes[attribute_map[key]].is_a?(Array)
165
- transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
166
- end
167
- elsif !attributes[attribute_map[key]].nil?
168
- transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
169
- end
170
- end
171
- new(transformed_hash)
172
- end
173
-
174
- # Deserializes the data based on type
175
- # @param string type Data type
176
- # @param string value Value to be deserialized
177
- # @return [Object] Deserialized data
178
- def self._deserialize(type, value)
179
- case type.to_sym
180
- when :Time
181
- Time.parse(value)
182
- when :Date
183
- Date.parse(value)
184
- when :String
185
- value.to_s
186
- when :Integer
187
- value.to_i
188
- when :Float
189
- value.to_f
190
- when :Boolean
191
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
192
- true
193
- else
194
- false
195
- end
196
- when :Object
197
- # generic object (usually a Hash), return directly
198
- value
199
- when /\AArray<(?<inner_type>.+)>\z/
200
- inner_type = Regexp.last_match[:inner_type]
201
- value.map { |v| _deserialize(inner_type, v) }
202
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
203
- k_type = Regexp.last_match[:k_type]
204
- v_type = Regexp.last_match[:v_type]
205
- {}.tap do |hash|
206
- value.each do |k, v|
207
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
208
- end
209
- end
210
- else # model
211
- # models (e.g. Pet) or oneOf
212
- klass = Cheminee.const_get(type)
213
- klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
214
- end
215
- end
216
-
217
- # Returns the string representation of the object
218
- # @return [String] String presentation of the object
219
- def to_s
220
- to_hash.to_s
221
- end
222
-
223
- # to_body is an alias to to_hash (backward compatibility)
224
- # @return [Hash] Returns the object in the form of hash
225
- def to_body
226
- to_hash
227
- end
228
-
229
- # Returns the object in the form of hash
230
- # @return [Hash] Returns the object in the form of hash
231
- def to_hash
232
- hash = {}
233
- self.class.attribute_map.each_pair do |attr, param|
234
- value = self.send(attr)
235
- if value.nil?
236
- is_nullable = self.class.openapi_nullable.include?(attr)
237
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
238
- end
239
-
240
- hash[param] = _to_hash(value)
241
- end
242
- hash
243
- end
244
-
245
- # Outputs non-array value in the form of hash
246
- # For object, use to_hash. Otherwise, just return the value
247
- # @param [Object] value Any valid value
248
- # @return [Hash] Returns the value in the form of hash
249
- def _to_hash(value)
250
- if value.is_a?(Array)
251
- value.compact.map { |v| _to_hash(v) }
252
- elsif value.is_a?(Hash)
253
- {}.tap do |hash|
254
- value.each { |k, v| hash[k] = _to_hash(v) }
255
- end
256
- elsif value.respond_to? :to_hash
257
- value.to_hash
258
- else
259
- value
260
- end
261
- end
262
-
263
- end
264
-
265
- end
Binary file
@@ -1,42 +0,0 @@
1
- =begin
2
- #Cheminée
3
-
4
- #Cheminée: The Chemical Structure Search Engine
5
-
6
- The version of the OpenAPI document: 1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Cheminee::BulkRequestDoc
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Cheminee::BulkRequestDoc do
21
- let(:instance) { Cheminee::BulkRequestDoc.new }
22
-
23
- describe 'test an instance of BulkRequestDoc' do
24
- it 'should create an instance of BulkRequestDoc' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Cheminee::BulkRequestDoc)
27
- end
28
- end
29
-
30
- describe 'test attribute "smile"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- describe 'test attribute "extra_data"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
- end
@@ -1,36 +0,0 @@
1
- =begin
2
- #Cheminée
3
-
4
- #Cheminée: The Chemical Structure Search Engine
5
-
6
- The version of the OpenAPI document: 1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Cheminee::BulkRequest
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Cheminee::BulkRequest do
21
- let(:instance) { Cheminee::BulkRequest.new }
22
-
23
- describe 'test an instance of BulkRequest' do
24
- it 'should create an instance of BulkRequest' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Cheminee::BulkRequest)
27
- end
28
- end
29
-
30
- describe 'test attribute "docs"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- end
@@ -1,36 +0,0 @@
1
- =begin
2
- #Cheminée
3
-
4
- #Cheminée: The Chemical Structure Search Engine
5
-
6
- The version of the OpenAPI document: 1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Cheminee::CreateIndexError
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Cheminee::CreateIndexError do
21
- let(:instance) { Cheminee::CreateIndexError.new }
22
-
23
- describe 'test an instance of CreateIndexError' do
24
- it 'should create an instance of CreateIndexError' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Cheminee::CreateIndexError)
27
- end
28
- end
29
-
30
- describe 'test attribute "error"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- end
@@ -1,36 +0,0 @@
1
- =begin
2
- #Cheminée
3
-
4
- #Cheminée: The Chemical Structure Search Engine
5
-
6
- The version of the OpenAPI document: 1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Cheminee::GetIndexesResponseError
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Cheminee::GetIndexesResponseError do
21
- let(:instance) { Cheminee::GetIndexesResponseError.new }
22
-
23
- describe 'test an instance of GetIndexesResponseError' do
24
- it 'should create an instance of GetIndexesResponseError' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Cheminee::GetIndexesResponseError)
27
- end
28
- end
29
-
30
- describe 'test attribute "error"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- end
@@ -1,42 +0,0 @@
1
- =begin
2
- #Cheminée
3
-
4
- #Cheminée: The Chemical Structure Search Engine
5
-
6
- The version of the OpenAPI document: 1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Cheminee::IndexMeta
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Cheminee::IndexMeta do
21
- let(:instance) { Cheminee::IndexMeta.new }
22
-
23
- describe 'test an instance of IndexMeta' do
24
- it 'should create an instance of IndexMeta' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Cheminee::IndexMeta)
27
- end
28
- end
29
-
30
- describe 'test attribute "name"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- describe 'test attribute "schema"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
- end
@@ -1,42 +0,0 @@
1
- =begin
2
- #Cheminée
3
-
4
- #Cheminée: The Chemical Structure Search Engine
5
-
6
- The version of the OpenAPI document: 1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.3.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Cheminee::IndexSchema
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Cheminee::IndexSchema do
21
- let(:instance) { Cheminee::IndexSchema.new }
22
-
23
- describe 'test an instance of IndexSchema' do
24
- it 'should create an instance of IndexSchema' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Cheminee::IndexSchema)
27
- end
28
- end
29
-
30
- describe 'test attribute "index"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- describe 'test attribute "schema"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
- end
@@ -1,36 +0,0 @@
1
- =begin
2
- #Cheminée
3
-
4
- #Cheminée: The Chemical Structure Search Engine
5
-
6
- The version of the OpenAPI document: 1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Cheminee::ListIndexResponseErr
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Cheminee::ListIndexResponseErr do
21
- let(:instance) { Cheminee::ListIndexResponseErr.new }
22
-
23
- describe 'test an instance of ListIndexResponseErr' do
24
- it 'should create an instance of ListIndexResponseErr' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Cheminee::ListIndexResponseErr)
27
- end
28
- end
29
-
30
- describe 'test attribute "error"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- end
@@ -1,36 +0,0 @@
1
- =begin
2
- #Cheminée
3
-
4
- #Cheminée: The Chemical Structure Search Engine
5
-
6
- The version of the OpenAPI document: 1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Cheminee::PostIndexBulkResponseError
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Cheminee::PostIndexBulkResponseError do
21
- let(:instance) { Cheminee::PostIndexBulkResponseError.new }
22
-
23
- describe 'test an instance of PostIndexBulkResponseError' do
24
- it 'should create an instance of PostIndexBulkResponseError' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Cheminee::PostIndexBulkResponseError)
27
- end
28
- end
29
-
30
- describe 'test attribute "error"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- end
@@ -1,36 +0,0 @@
1
- =begin
2
- #Cheminée
3
-
4
- #Cheminée: The Chemical Structure Search Engine
5
-
6
- The version of the OpenAPI document: 1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Cheminee::PostIndexBulkResponseOk
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Cheminee::PostIndexBulkResponseOk do
21
- let(:instance) { Cheminee::PostIndexBulkResponseOk.new }
22
-
23
- describe 'test an instance of PostIndexBulkResponseOk' do
24
- it 'should create an instance of PostIndexBulkResponseOk' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Cheminee::PostIndexBulkResponseOk)
27
- end
28
- end
29
-
30
- describe 'test attribute "statuses"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- end
@@ -1,42 +0,0 @@
1
- =begin
2
- #Cheminée
3
-
4
- #Cheminée: The Chemical Structure Search Engine
5
-
6
- The version of the OpenAPI document: 1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.1.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Cheminee::PostIndexBulkResponseOkStatus
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Cheminee::PostIndexBulkResponseOkStatus do
21
- let(:instance) { Cheminee::PostIndexBulkResponseOkStatus.new }
22
-
23
- describe 'test an instance of PostIndexBulkResponseOkStatus' do
24
- it 'should create an instance of PostIndexBulkResponseOkStatus' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Cheminee::PostIndexBulkResponseOkStatus)
27
- end
28
- end
29
-
30
- describe 'test attribute "opcode"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- describe 'test attribute "error"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
- end
@@ -1,36 +0,0 @@
1
- =begin
2
- #Cheminée
3
-
4
- #Cheminée: The Chemical Structure Search Engine
5
-
6
- The version of the OpenAPI document: 1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.3.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Cheminee::QueryResponseError
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Cheminee::QueryResponseError do
21
- let(:instance) { Cheminee::QueryResponseError.new }
22
-
23
- describe 'test an instance of QueryResponseError' do
24
- it 'should create an instance of QueryResponseError' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Cheminee::QueryResponseError)
27
- end
28
- end
29
-
30
- describe 'test attribute "error"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- end