moonlogs-ruby 0.5.11 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -9
  3. data/docs/DefaultApi.md +4 -4
  4. data/docs/InlineResponse2003.md +1 -1
  5. data/docs/InlineResponse2004.md +1 -1
  6. data/docs/OneOfRecordRequestLevel.md +6 -0
  7. data/docs/OneOfRecordResponseLevel.md +6 -0
  8. data/docs/RecordRequest.md +12 -0
  9. data/docs/RecordResponse.md +15 -0
  10. data/lib/moonlogs-ruby/api/default_api.rb +5 -5
  11. data/lib/moonlogs-ruby/api_client.rb +1 -1
  12. data/lib/moonlogs-ruby/api_error.rb +1 -1
  13. data/lib/moonlogs-ruby/configuration.rb +1 -1
  14. data/lib/moonlogs-ruby/models/api_token.rb +1 -1
  15. data/lib/moonlogs-ruby/models/credentials.rb +1 -1
  16. data/lib/moonlogs-ruby/models/inline_response_200.rb +1 -1
  17. data/lib/moonlogs-ruby/models/inline_response_200_1.rb +1 -1
  18. data/lib/moonlogs-ruby/models/inline_response_200_10.rb +1 -1
  19. data/lib/moonlogs-ruby/models/inline_response_200_11.rb +1 -1
  20. data/lib/moonlogs-ruby/models/inline_response_200_12.rb +1 -1
  21. data/lib/moonlogs-ruby/models/inline_response_200_13.rb +1 -1
  22. data/lib/moonlogs-ruby/models/inline_response_200_2.rb +1 -1
  23. data/lib/moonlogs-ruby/models/inline_response_200_3.rb +1 -1
  24. data/lib/moonlogs-ruby/models/inline_response_200_4.rb +1 -1
  25. data/lib/moonlogs-ruby/models/inline_response_200_5.rb +1 -1
  26. data/lib/moonlogs-ruby/models/inline_response_200_6.rb +1 -1
  27. data/lib/moonlogs-ruby/models/inline_response_200_7.rb +1 -1
  28. data/lib/moonlogs-ruby/models/inline_response_200_8.rb +1 -1
  29. data/lib/moonlogs-ruby/models/inline_response_200_9.rb +1 -1
  30. data/lib/moonlogs-ruby/models/level.rb +1 -1
  31. data/lib/moonlogs-ruby/models/meta.rb +1 -1
  32. data/lib/moonlogs-ruby/models/one_of_record_request_level.rb +197 -0
  33. data/lib/moonlogs-ruby/models/one_of_record_response_level.rb +197 -0
  34. data/lib/moonlogs-ruby/models/one_of_user_role.rb +1 -1
  35. data/lib/moonlogs-ruby/models/record_request.rb +266 -0
  36. data/lib/moonlogs-ruby/models/record_response.rb +323 -0
  37. data/lib/moonlogs-ruby/models/role.rb +1 -1
  38. data/lib/moonlogs-ruby/models/schema.rb +1 -1
  39. data/lib/moonlogs-ruby/models/schema_field.rb +1 -1
  40. data/lib/moonlogs-ruby/models/schema_kind.rb +1 -1
  41. data/lib/moonlogs-ruby/models/session.rb +1 -1
  42. data/lib/moonlogs-ruby/models/tag.rb +1 -1
  43. data/lib/moonlogs-ruby/models/user.rb +1 -1
  44. data/lib/moonlogs-ruby/version.rb +2 -2
  45. data/lib/moonlogs-ruby.rb +5 -3
  46. data/moonlogs-ruby.gemspec +1 -1
  47. data/spec/models/one_of_record_request_level_spec.rb +34 -0
  48. data/spec/models/one_of_record_response_level_spec.rb +34 -0
  49. data/spec/models/record_request_spec.rb +70 -0
  50. data/spec/models/record_response_spec.rb +88 -0
  51. metadata +18 -2
@@ -0,0 +1,323 @@
1
+ =begin
2
+ #Moonlogs
3
+
4
+ #Moonlogs API
5
+
6
+ OpenAPI spec version: 0.6.0
7
+ Contact: shalpack@gmail.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.52
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module MoonlogsRuby
15
+ class RecordResponse
16
+ attr_accessor :id
17
+
18
+ attr_accessor :text
19
+
20
+ attr_accessor :schema_name
21
+
22
+ attr_accessor :schema_id
23
+
24
+ attr_accessor :query
25
+
26
+ attr_accessor :kind
27
+
28
+ attr_accessor :created_at
29
+
30
+ attr_accessor :group_hash
31
+
32
+ attr_accessor :level
33
+
34
+ # Attribute mapping from ruby-style variable name to JSON key.
35
+ def self.attribute_map
36
+ {
37
+ :'id' => :'id',
38
+ :'text' => :'text',
39
+ :'schema_name' => :'schema_name',
40
+ :'schema_id' => :'schema_id',
41
+ :'query' => :'query',
42
+ :'kind' => :'kind',
43
+ :'created_at' => :'created_at',
44
+ :'group_hash' => :'group_hash',
45
+ :'level' => :'level'
46
+ }
47
+ end
48
+
49
+ # Attribute type mapping.
50
+ def self.openapi_types
51
+ {
52
+ :'id' => :'Object',
53
+ :'text' => :'Object',
54
+ :'schema_name' => :'Object',
55
+ :'schema_id' => :'Object',
56
+ :'query' => :'Object',
57
+ :'kind' => :'Object',
58
+ :'created_at' => :'Object',
59
+ :'group_hash' => :'Object',
60
+ :'level' => :'Object'
61
+ }
62
+ end
63
+
64
+ # List of attributes with nullable: true
65
+ def self.openapi_nullable
66
+ Set.new([
67
+ ])
68
+ end
69
+
70
+ # Initializes the object
71
+ # @param [Hash] attributes Model attributes in the form of hash
72
+ def initialize(attributes = {})
73
+ if (!attributes.is_a?(Hash))
74
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MoonlogsRuby::RecordResponse` initialize method"
75
+ end
76
+
77
+ # check to see if the attribute exists and convert string to symbol for hash key
78
+ attributes = attributes.each_with_object({}) { |(k, v), h|
79
+ if (!self.class.attribute_map.key?(k.to_sym))
80
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MoonlogsRuby::RecordResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
81
+ end
82
+ h[k.to_sym] = v
83
+ }
84
+
85
+ if attributes.key?(:'id')
86
+ self.id = attributes[:'id']
87
+ end
88
+
89
+ if attributes.key?(:'text')
90
+ self.text = attributes[:'text']
91
+ end
92
+
93
+ if attributes.key?(:'schema_name')
94
+ self.schema_name = attributes[:'schema_name']
95
+ end
96
+
97
+ if attributes.key?(:'schema_id')
98
+ self.schema_id = attributes[:'schema_id']
99
+ end
100
+
101
+ if attributes.key?(:'query')
102
+ self.query = attributes[:'query']
103
+ end
104
+
105
+ if attributes.key?(:'kind')
106
+ self.kind = attributes[:'kind']
107
+ end
108
+
109
+ if attributes.key?(:'created_at')
110
+ self.created_at = attributes[:'created_at']
111
+ end
112
+
113
+ if attributes.key?(:'group_hash')
114
+ self.group_hash = attributes[:'group_hash']
115
+ end
116
+
117
+ if attributes.key?(:'level')
118
+ self.level = attributes[:'level']
119
+ end
120
+ end
121
+
122
+ # Show invalid properties with the reasons. Usually used together with valid?
123
+ # @return Array for valid properties with the reasons
124
+ def list_invalid_properties
125
+ invalid_properties = Array.new
126
+ if @id.nil?
127
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
128
+ end
129
+
130
+ if @text.nil?
131
+ invalid_properties.push('invalid value for "text", text cannot be nil.')
132
+ end
133
+
134
+ if @schema_name.nil?
135
+ invalid_properties.push('invalid value for "schema_name", schema_name cannot be nil.')
136
+ end
137
+
138
+ if @schema_id.nil?
139
+ invalid_properties.push('invalid value for "schema_id", schema_id cannot be nil.')
140
+ end
141
+
142
+ if @query.nil?
143
+ invalid_properties.push('invalid value for "query", query cannot be nil.')
144
+ end
145
+
146
+ if @kind.nil?
147
+ invalid_properties.push('invalid value for "kind", kind cannot be nil.')
148
+ end
149
+
150
+ if @created_at.nil?
151
+ invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
152
+ end
153
+
154
+ if @group_hash.nil?
155
+ invalid_properties.push('invalid value for "group_hash", group_hash cannot be nil.')
156
+ end
157
+
158
+ if @level.nil?
159
+ invalid_properties.push('invalid value for "level", level cannot be nil.')
160
+ end
161
+
162
+ invalid_properties
163
+ end
164
+
165
+ # Check to see if the all the properties in the model are valid
166
+ # @return true if the model is valid
167
+ def valid?
168
+ return false if @id.nil?
169
+ return false if @text.nil?
170
+ return false if @schema_name.nil?
171
+ return false if @schema_id.nil?
172
+ return false if @query.nil?
173
+ return false if @kind.nil?
174
+ return false if @created_at.nil?
175
+ return false if @group_hash.nil?
176
+ return false if @level.nil?
177
+ true
178
+ end
179
+
180
+ # Checks equality by comparing each attribute.
181
+ # @param [Object] Object to be compared
182
+ def ==(o)
183
+ return true if self.equal?(o)
184
+ self.class == o.class &&
185
+ id == o.id &&
186
+ text == o.text &&
187
+ schema_name == o.schema_name &&
188
+ schema_id == o.schema_id &&
189
+ query == o.query &&
190
+ kind == o.kind &&
191
+ created_at == o.created_at &&
192
+ group_hash == o.group_hash &&
193
+ level == o.level
194
+ end
195
+
196
+ # @see the `==` method
197
+ # @param [Object] Object to be compared
198
+ def eql?(o)
199
+ self == o
200
+ end
201
+
202
+ # Calculates hash code according to all attributes.
203
+ # @return [Integer] Hash code
204
+ def hash
205
+ [id, text, schema_name, schema_id, query, kind, created_at, group_hash, level].hash
206
+ end
207
+
208
+ # Builds the object from hash
209
+ # @param [Hash] attributes Model attributes in the form of hash
210
+ # @return [Object] Returns the model itself
211
+ def self.build_from_hash(attributes)
212
+ new.build_from_hash(attributes)
213
+ end
214
+
215
+ # Builds the object from hash
216
+ # @param [Hash] attributes Model attributes in the form of hash
217
+ # @return [Object] Returns the model itself
218
+ def build_from_hash(attributes)
219
+ return nil unless attributes.is_a?(Hash)
220
+ self.class.openapi_types.each_pair do |key, type|
221
+ if type =~ /\AArray<(.*)>/i
222
+ # check to ensure the input is an array given that the attribute
223
+ # is documented as an array but the input is not
224
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
225
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
226
+ end
227
+ elsif !attributes[self.class.attribute_map[key]].nil?
228
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
229
+ elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
230
+ self.send("#{key}=", nil)
231
+ end
232
+ end
233
+
234
+ self
235
+ end
236
+
237
+ # Deserializes the data based on type
238
+ # @param string type Data type
239
+ # @param string value Value to be deserialized
240
+ # @return [Object] Deserialized data
241
+ def _deserialize(type, value)
242
+ case type.to_sym
243
+ when :DateTime
244
+ DateTime.parse(value)
245
+ when :Date
246
+ Date.parse(value)
247
+ when :String
248
+ value.to_s
249
+ when :Integer
250
+ value.to_i
251
+ when :Float
252
+ value.to_f
253
+ when :Boolean
254
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
255
+ true
256
+ else
257
+ false
258
+ end
259
+ when :Object
260
+ # generic object (usually a Hash), return directly
261
+ value
262
+ when /\AArray<(?<inner_type>.+)>\z/
263
+ inner_type = Regexp.last_match[:inner_type]
264
+ value.map { |v| _deserialize(inner_type, v) }
265
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
266
+ k_type = Regexp.last_match[:k_type]
267
+ v_type = Regexp.last_match[:v_type]
268
+ {}.tap do |hash|
269
+ value.each do |k, v|
270
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
271
+ end
272
+ end
273
+ else # model
274
+ MoonlogsRuby.const_get(type).build_from_hash(value)
275
+ end
276
+ end
277
+
278
+ # Returns the string representation of the object
279
+ # @return [String] String presentation of the object
280
+ def to_s
281
+ to_hash.to_s
282
+ end
283
+
284
+ # to_body is an alias to to_hash (backward compatibility)
285
+ # @return [Hash] Returns the object in the form of hash
286
+ def to_body
287
+ to_hash
288
+ end
289
+
290
+ # Returns the object in the form of hash
291
+ # @return [Hash] Returns the object in the form of hash
292
+ def to_hash
293
+ hash = {}
294
+ self.class.attribute_map.each_pair do |attr, param|
295
+ value = self.send(attr)
296
+ if value.nil?
297
+ is_nullable = self.class.openapi_nullable.include?(attr)
298
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
299
+ end
300
+
301
+ hash[param] = _to_hash(value)
302
+ end
303
+ hash
304
+ end
305
+
306
+ # Outputs non-array value in the form of hash
307
+ # For object, use to_hash. Otherwise, just return the value
308
+ # @param [Object] value Any valid value
309
+ # @return [Hash] Returns the value in the form of hash
310
+ def _to_hash(value)
311
+ if value.is_a?(Array)
312
+ value.compact.map { |v| _to_hash(v) }
313
+ elsif value.is_a?(Hash)
314
+ {}.tap do |hash|
315
+ value.each { |k, v| hash[k] = _to_hash(v) }
316
+ end
317
+ elsif value.respond_to? :to_hash
318
+ value.to_hash
319
+ else
320
+ value
321
+ end
322
+ end end
323
+ end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 0.5.11
6
+ OpenAPI spec version: 0.6.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 0.5.11
6
+ OpenAPI spec version: 0.6.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 0.5.11
6
+ OpenAPI spec version: 0.6.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 0.5.11
6
+ OpenAPI spec version: 0.6.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 0.5.11
6
+ OpenAPI spec version: 0.6.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 0.5.11
6
+ OpenAPI spec version: 0.6.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 0.5.11
6
+ OpenAPI spec version: 0.6.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -3,12 +3,12 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 0.5.11
6
+ OpenAPI spec version: 0.6.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
10
10
  =end
11
11
 
12
12
  module MoonlogsRuby
13
- VERSION = '0.5.11'
13
+ VERSION = '0.6.0'
14
14
  end
data/lib/moonlogs-ruby.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 0.5.11
6
+ OpenAPI spec version: 0.6.0
7
7
  Contact: shalpack@gmail.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 3.0.52
@@ -34,9 +34,11 @@ require 'moonlogs-ruby/models/inline_response_200_8'
34
34
  require 'moonlogs-ruby/models/inline_response_200_9'
35
35
  require 'moonlogs-ruby/models/level'
36
36
  require 'moonlogs-ruby/models/meta'
37
- require 'moonlogs-ruby/models/one_of_record_level'
37
+ require 'moonlogs-ruby/models/one_of_record_request_level'
38
+ require 'moonlogs-ruby/models/one_of_record_response_level'
38
39
  require 'moonlogs-ruby/models/one_of_user_role'
39
- require 'moonlogs-ruby/models/record'
40
+ require 'moonlogs-ruby/models/record_request'
41
+ require 'moonlogs-ruby/models/record_response'
40
42
  require 'moonlogs-ruby/models/role'
41
43
  require 'moonlogs-ruby/models/schema'
42
44
  require 'moonlogs-ruby/models/schema_field'
@@ -5,7 +5,7 @@
5
5
 
6
6
  #Moonlogs API
7
7
 
8
- OpenAPI spec version: 0.5.11
8
+ OpenAPI spec version: 0.6.0
9
9
  Contact: shalpack@gmail.com
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  Swagger Codegen version: 3.0.52
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Moonlogs
3
+
4
+ #Moonlogs API
5
+
6
+ OpenAPI spec version: 0.5.12
7
+ Contact: shalpack@gmail.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.52
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for MoonlogsRuby::OneOfRecordRequestLevel
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'OneOfRecordRequestLevel' do
20
+ before do
21
+ # run before each test
22
+ @instance = MoonlogsRuby::OneOfRecordRequestLevel.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of OneOfRecordRequestLevel' do
30
+ it 'should create an instance of OneOfRecordRequestLevel' do
31
+ expect(@instance).to be_instance_of(MoonlogsRuby::OneOfRecordRequestLevel)
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Moonlogs
3
+
4
+ #Moonlogs API
5
+
6
+ OpenAPI spec version: 0.5.12
7
+ Contact: shalpack@gmail.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.52
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for MoonlogsRuby::OneOfRecordResponseLevel
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'OneOfRecordResponseLevel' do
20
+ before do
21
+ # run before each test
22
+ @instance = MoonlogsRuby::OneOfRecordResponseLevel.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of OneOfRecordResponseLevel' do
30
+ it 'should create an instance of OneOfRecordResponseLevel' do
31
+ expect(@instance).to be_instance_of(MoonlogsRuby::OneOfRecordResponseLevel)
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,70 @@
1
+ =begin
2
+ #Moonlogs
3
+
4
+ #Moonlogs API
5
+
6
+ OpenAPI spec version: 0.5.12
7
+ Contact: shalpack@gmail.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.52
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for MoonlogsRuby::RecordRequest
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'RecordRequest' do
20
+ before do
21
+ # run before each test
22
+ @instance = MoonlogsRuby::RecordRequest.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RecordRequest' do
30
+ it 'should create an instance of RecordRequest' do
31
+ expect(@instance).to be_instance_of(MoonlogsRuby::RecordRequest)
32
+ end
33
+ end
34
+ describe 'test attribute "text"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "schema_name"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "schema_id"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "query"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "kind"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "level"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ end
@@ -0,0 +1,88 @@
1
+ =begin
2
+ #Moonlogs
3
+
4
+ #Moonlogs API
5
+
6
+ OpenAPI spec version: 0.5.12
7
+ Contact: shalpack@gmail.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.52
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for MoonlogsRuby::RecordResponse
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'RecordResponse' do
20
+ before do
21
+ # run before each test
22
+ @instance = MoonlogsRuby::RecordResponse.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RecordResponse' do
30
+ it 'should create an instance of RecordResponse' do
31
+ expect(@instance).to be_instance_of(MoonlogsRuby::RecordResponse)
32
+ end
33
+ end
34
+ describe 'test attribute "id"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "text"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "schema_name"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "schema_id"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "query"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "kind"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "created_at"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "group_hash"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "level"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ end