moonlogs-ruby 1.7.17 → 1.8.1

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/README.md +114 -5
  3. data/docs/ActionRequest.md +13 -0
  4. data/docs/ActionResponse.md +14 -0
  5. data/docs/Condition.md +9 -0
  6. data/docs/DefaultApi.md +316 -0
  7. data/docs/InlineResponse20015.md +11 -0
  8. data/docs/InlineResponse20016.md +11 -0
  9. data/docs/InlineResponse20017.md +11 -0
  10. data/docs/InlineResponse20018.md +11 -0
  11. data/docs/InlineResponse20019.md +11 -0
  12. data/docs/RecordRequest.md +1 -0
  13. data/docs/RecordResponse.md +1 -0
  14. data/lib/moonlogs-ruby/api/default_api.rb +343 -1
  15. data/lib/moonlogs-ruby/api_client.rb +1 -1
  16. data/lib/moonlogs-ruby/api_error.rb +1 -1
  17. data/lib/moonlogs-ruby/configuration.rb +1 -1
  18. data/lib/moonlogs-ruby/models/action_request.rb +287 -0
  19. data/lib/moonlogs-ruby/models/action_response.rb +311 -0
  20. data/lib/moonlogs-ruby/models/api_token_request.rb +1 -1
  21. data/lib/moonlogs-ruby/models/api_token_response.rb +1 -1
  22. data/lib/moonlogs-ruby/models/condition.rb +239 -0
  23. data/lib/moonlogs-ruby/models/credentials.rb +1 -1
  24. data/lib/moonlogs-ruby/models/inline_response_200.rb +1 -1
  25. data/lib/moonlogs-ruby/models/inline_response_200_1.rb +1 -1
  26. data/lib/moonlogs-ruby/models/inline_response_200_10.rb +1 -1
  27. data/lib/moonlogs-ruby/models/inline_response_200_11.rb +1 -1
  28. data/lib/moonlogs-ruby/models/inline_response_200_12.rb +1 -1
  29. data/lib/moonlogs-ruby/models/inline_response_200_13.rb +1 -1
  30. data/lib/moonlogs-ruby/models/inline_response_200_14.rb +1 -1
  31. data/lib/moonlogs-ruby/models/inline_response_200_15.rb +267 -0
  32. data/lib/moonlogs-ruby/models/inline_response_200_16.rb +267 -0
  33. data/lib/moonlogs-ruby/models/inline_response_200_17.rb +269 -0
  34. data/lib/moonlogs-ruby/models/inline_response_200_18.rb +267 -0
  35. data/lib/moonlogs-ruby/models/inline_response_200_19.rb +268 -0
  36. data/lib/moonlogs-ruby/models/inline_response_200_2.rb +1 -1
  37. data/lib/moonlogs-ruby/models/inline_response_200_3.rb +1 -1
  38. data/lib/moonlogs-ruby/models/inline_response_200_4.rb +1 -1
  39. data/lib/moonlogs-ruby/models/inline_response_200_5.rb +1 -1
  40. data/lib/moonlogs-ruby/models/inline_response_200_6.rb +1 -1
  41. data/lib/moonlogs-ruby/models/inline_response_200_7.rb +1 -1
  42. data/lib/moonlogs-ruby/models/inline_response_200_8.rb +1 -1
  43. data/lib/moonlogs-ruby/models/inline_response_200_9.rb +1 -1
  44. data/lib/moonlogs-ruby/models/level.rb +1 -1
  45. data/lib/moonlogs-ruby/models/meta.rb +1 -1
  46. data/lib/moonlogs-ruby/models/one_of_record_request_level.rb +1 -1
  47. data/lib/moonlogs-ruby/models/one_of_record_response_level.rb +1 -1
  48. data/lib/moonlogs-ruby/models/one_of_user_request_role.rb +1 -1
  49. data/lib/moonlogs-ruby/models/one_of_user_response_role.rb +1 -1
  50. data/lib/moonlogs-ruby/models/record_request.rb +14 -5
  51. data/lib/moonlogs-ruby/models/record_response.rb +19 -5
  52. data/lib/moonlogs-ruby/models/role.rb +1 -1
  53. data/lib/moonlogs-ruby/models/schema_field.rb +1 -1
  54. data/lib/moonlogs-ruby/models/schema_kind.rb +1 -1
  55. data/lib/moonlogs-ruby/models/schema_request.rb +1 -1
  56. data/lib/moonlogs-ruby/models/schema_response.rb +1 -1
  57. data/lib/moonlogs-ruby/models/session.rb +1 -1
  58. data/lib/moonlogs-ruby/models/tag_request.rb +1 -1
  59. data/lib/moonlogs-ruby/models/tag_response.rb +1 -1
  60. data/lib/moonlogs-ruby/models/user_request.rb +1 -1
  61. data/lib/moonlogs-ruby/models/user_response.rb +1 -1
  62. data/lib/moonlogs-ruby/version.rb +2 -2
  63. data/lib/moonlogs-ruby.rb +9 -1
  64. data/moonlogs-ruby.gemspec +1 -1
  65. data/spec/models/action_request_spec.rb +76 -0
  66. data/spec/models/action_response_spec.rb +82 -0
  67. data/spec/models/condition_spec.rb +52 -0
  68. data/spec/models/inline_response_200_15_spec.rb +64 -0
  69. data/spec/models/inline_response_200_16_spec.rb +64 -0
  70. data/spec/models/inline_response_200_17_spec.rb +64 -0
  71. data/spec/models/inline_response_200_18_spec.rb +64 -0
  72. data/spec/models/inline_response_200_19_spec.rb +64 -0
  73. metadata +34 -2
@@ -0,0 +1,268 @@
1
+ =begin
2
+ #Moonlogs
3
+
4
+ #Moonlogs API
5
+
6
+ OpenAPI spec version: 1.8.1
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 InlineResponse20019
16
+ attr_accessor :success
17
+
18
+ attr_accessor :code
19
+
20
+ attr_accessor :error
21
+
22
+ # Deleted Actions's ID
23
+ attr_accessor :data
24
+
25
+ attr_accessor :meta
26
+
27
+ # Attribute mapping from ruby-style variable name to JSON key.
28
+ def self.attribute_map
29
+ {
30
+ :'success' => :'success',
31
+ :'code' => :'code',
32
+ :'error' => :'error',
33
+ :'data' => :'data',
34
+ :'meta' => :'meta'
35
+ }
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.openapi_types
40
+ {
41
+ :'success' => :'Object',
42
+ :'code' => :'Object',
43
+ :'error' => :'Object',
44
+ :'data' => :'Object',
45
+ :'meta' => :'Object'
46
+ }
47
+ end
48
+
49
+ # List of attributes with nullable: true
50
+ def self.openapi_nullable
51
+ Set.new([
52
+ ])
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param [Hash] attributes Model attributes in the form of hash
57
+ def initialize(attributes = {})
58
+ if (!attributes.is_a?(Hash))
59
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MoonlogsRuby::InlineResponse20019` initialize method"
60
+ end
61
+
62
+ # check to see if the attribute exists and convert string to symbol for hash key
63
+ attributes = attributes.each_with_object({}) { |(k, v), h|
64
+ if (!self.class.attribute_map.key?(k.to_sym))
65
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MoonlogsRuby::InlineResponse20019`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
66
+ end
67
+ h[k.to_sym] = v
68
+ }
69
+
70
+ if attributes.key?(:'success')
71
+ self.success = attributes[:'success']
72
+ end
73
+
74
+ if attributes.key?(:'code')
75
+ self.code = attributes[:'code']
76
+ end
77
+
78
+ if attributes.key?(:'error')
79
+ self.error = attributes[:'error']
80
+ end
81
+
82
+ if attributes.key?(:'data')
83
+ self.data = attributes[:'data']
84
+ end
85
+
86
+ if attributes.key?(:'meta')
87
+ self.meta = attributes[:'meta']
88
+ end
89
+ end
90
+
91
+ # Show invalid properties with the reasons. Usually used together with valid?
92
+ # @return Array for valid properties with the reasons
93
+ def list_invalid_properties
94
+ invalid_properties = Array.new
95
+ if @success.nil?
96
+ invalid_properties.push('invalid value for "success", success cannot be nil.')
97
+ end
98
+
99
+ if @code.nil?
100
+ invalid_properties.push('invalid value for "code", code cannot be nil.')
101
+ end
102
+
103
+ if @error.nil?
104
+ invalid_properties.push('invalid value for "error", error cannot be nil.')
105
+ end
106
+
107
+ if @data.nil?
108
+ invalid_properties.push('invalid value for "data", data cannot be nil.')
109
+ end
110
+
111
+ if @meta.nil?
112
+ invalid_properties.push('invalid value for "meta", meta 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
+ return false if @success.nil?
122
+ return false if @code.nil?
123
+ return false if @error.nil?
124
+ return false if @data.nil?
125
+ return false if @meta.nil?
126
+ true
127
+ end
128
+
129
+ # Checks equality by comparing each attribute.
130
+ # @param [Object] Object to be compared
131
+ def ==(o)
132
+ return true if self.equal?(o)
133
+ self.class == o.class &&
134
+ success == o.success &&
135
+ code == o.code &&
136
+ error == o.error &&
137
+ data == o.data &&
138
+ meta == o.meta
139
+ end
140
+
141
+ # @see the `==` method
142
+ # @param [Object] Object to be compared
143
+ def eql?(o)
144
+ self == o
145
+ end
146
+
147
+ # Calculates hash code according to all attributes.
148
+ # @return [Integer] Hash code
149
+ def hash
150
+ [success, code, error, data, meta].hash
151
+ end
152
+
153
+ # Builds the object from hash
154
+ # @param [Hash] attributes Model attributes in the form of hash
155
+ # @return [Object] Returns the model itself
156
+ def self.build_from_hash(attributes)
157
+ new.build_from_hash(attributes)
158
+ end
159
+
160
+ # Builds the object from hash
161
+ # @param [Hash] attributes Model attributes in the form of hash
162
+ # @return [Object] Returns the model itself
163
+ def build_from_hash(attributes)
164
+ return nil unless attributes.is_a?(Hash)
165
+ self.class.openapi_types.each_pair do |key, type|
166
+ if type =~ /\AArray<(.*)>/i
167
+ # check to ensure the input is an array given that the attribute
168
+ # is documented as an array but the input is not
169
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
170
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
171
+ end
172
+ elsif !attributes[self.class.attribute_map[key]].nil?
173
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
174
+ elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
175
+ self.send("#{key}=", nil)
176
+ end
177
+ end
178
+
179
+ self
180
+ end
181
+
182
+ # Deserializes the data based on type
183
+ # @param string type Data type
184
+ # @param string value Value to be deserialized
185
+ # @return [Object] Deserialized data
186
+ def _deserialize(type, value)
187
+ case type.to_sym
188
+ when :DateTime
189
+ DateTime.parse(value)
190
+ when :Date
191
+ Date.parse(value)
192
+ when :String
193
+ value.to_s
194
+ when :Integer
195
+ value.to_i
196
+ when :Float
197
+ value.to_f
198
+ when :Boolean
199
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
200
+ true
201
+ else
202
+ false
203
+ end
204
+ when :Object
205
+ # generic object (usually a Hash), return directly
206
+ value
207
+ when /\AArray<(?<inner_type>.+)>\z/
208
+ inner_type = Regexp.last_match[:inner_type]
209
+ value.map { |v| _deserialize(inner_type, v) }
210
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
211
+ k_type = Regexp.last_match[:k_type]
212
+ v_type = Regexp.last_match[:v_type]
213
+ {}.tap do |hash|
214
+ value.each do |k, v|
215
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
216
+ end
217
+ end
218
+ else # model
219
+ MoonlogsRuby.const_get(type).build_from_hash(value)
220
+ end
221
+ end
222
+
223
+ # Returns the string representation of the object
224
+ # @return [String] String presentation of the object
225
+ def to_s
226
+ to_hash.to_s
227
+ end
228
+
229
+ # to_body is an alias to to_hash (backward compatibility)
230
+ # @return [Hash] Returns the object in the form of hash
231
+ def to_body
232
+ to_hash
233
+ end
234
+
235
+ # Returns the object in the form of hash
236
+ # @return [Hash] Returns the object in the form of hash
237
+ def to_hash
238
+ hash = {}
239
+ self.class.attribute_map.each_pair do |attr, param|
240
+ value = self.send(attr)
241
+ if value.nil?
242
+ is_nullable = self.class.openapi_nullable.include?(attr)
243
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
244
+ end
245
+
246
+ hash[param] = _to_hash(value)
247
+ end
248
+ hash
249
+ end
250
+
251
+ # Outputs non-array value in the form of hash
252
+ # For object, use to_hash. Otherwise, just return the value
253
+ # @param [Object] value Any valid value
254
+ # @return [Hash] Returns the value in the form of hash
255
+ def _to_hash(value)
256
+ if value.is_a?(Array)
257
+ value.compact.map { |v| _to_hash(v) }
258
+ elsif value.is_a?(Hash)
259
+ {}.tap do |hash|
260
+ value.each { |k, v| hash[k] = _to_hash(v) }
261
+ end
262
+ elsif value.respond_to? :to_hash
263
+ value.to_hash
264
+ else
265
+ value
266
+ end
267
+ end end
268
+ end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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
@@ -32,6 +32,8 @@ module MoonlogsRuby
32
32
 
33
33
  attr_accessor :level
34
34
 
35
+ attr_accessor :is_exposed
36
+
35
37
  # Attribute mapping from ruby-style variable name to JSON key.
36
38
  def self.attribute_map
37
39
  {
@@ -43,7 +45,8 @@ module MoonlogsRuby
43
45
  :'request' => :'request',
44
46
  :'response' => :'response',
45
47
  :'kind' => :'kind',
46
- :'level' => :'level'
48
+ :'level' => :'level',
49
+ :'is_exposed' => :'is_exposed'
47
50
  }
48
51
  end
49
52
 
@@ -58,7 +61,8 @@ module MoonlogsRuby
58
61
  :'request' => :'Object',
59
62
  :'response' => :'Object',
60
63
  :'kind' => :'Object',
61
- :'level' => :'Object'
64
+ :'level' => :'Object',
65
+ :'is_exposed' => :'Object'
62
66
  }
63
67
  end
64
68
 
@@ -118,6 +122,10 @@ module MoonlogsRuby
118
122
  if attributes.key?(:'level')
119
123
  self.level = attributes[:'level']
120
124
  end
125
+
126
+ if attributes.key?(:'is_exposed')
127
+ self.is_exposed = attributes[:'is_exposed']
128
+ end
121
129
  end
122
130
 
123
131
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -161,7 +169,8 @@ module MoonlogsRuby
161
169
  request == o.request &&
162
170
  response == o.response &&
163
171
  kind == o.kind &&
164
- level == o.level
172
+ level == o.level &&
173
+ is_exposed == o.is_exposed
165
174
  end
166
175
 
167
176
  # @see the `==` method
@@ -173,7 +182,7 @@ module MoonlogsRuby
173
182
  # Calculates hash code according to all attributes.
174
183
  # @return [Integer] Hash code
175
184
  def hash
176
- [text, schema_name, created_at, schema_id, query, request, response, kind, level].hash
185
+ [text, schema_name, created_at, schema_id, query, request, response, kind, level, is_exposed].hash
177
186
  end
178
187
 
179
188
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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
@@ -36,6 +36,8 @@ module MoonlogsRuby
36
36
 
37
37
  attr_accessor :level
38
38
 
39
+ attr_accessor :is_exposed
40
+
39
41
  # Attribute mapping from ruby-style variable name to JSON key.
40
42
  def self.attribute_map
41
43
  {
@@ -49,7 +51,8 @@ module MoonlogsRuby
49
51
  :'kind' => :'kind',
50
52
  :'created_at' => :'created_at',
51
53
  :'group_hash' => :'group_hash',
52
- :'level' => :'level'
54
+ :'level' => :'level',
55
+ :'is_exposed' => :'is_exposed'
53
56
  }
54
57
  end
55
58
 
@@ -66,7 +69,8 @@ module MoonlogsRuby
66
69
  :'kind' => :'Object',
67
70
  :'created_at' => :'Object',
68
71
  :'group_hash' => :'Object',
69
- :'level' => :'Object'
72
+ :'level' => :'Object',
73
+ :'is_exposed' => :'Object'
70
74
  }
71
75
  end
72
76
 
@@ -134,6 +138,10 @@ module MoonlogsRuby
134
138
  if attributes.key?(:'level')
135
139
  self.level = attributes[:'level']
136
140
  end
141
+
142
+ if attributes.key?(:'is_exposed')
143
+ self.is_exposed = attributes[:'is_exposed']
144
+ end
137
145
  end
138
146
 
139
147
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -184,6 +192,10 @@ module MoonlogsRuby
184
192
  invalid_properties.push('invalid value for "level", level cannot be nil.')
185
193
  end
186
194
 
195
+ if @is_exposed.nil?
196
+ invalid_properties.push('invalid value for "is_exposed", is_exposed cannot be nil.')
197
+ end
198
+
187
199
  invalid_properties
188
200
  end
189
201
 
@@ -201,6 +213,7 @@ module MoonlogsRuby
201
213
  return false if @created_at.nil?
202
214
  return false if @group_hash.nil?
203
215
  return false if @level.nil?
216
+ return false if @is_exposed.nil?
204
217
  true
205
218
  end
206
219
 
@@ -219,7 +232,8 @@ module MoonlogsRuby
219
232
  kind == o.kind &&
220
233
  created_at == o.created_at &&
221
234
  group_hash == o.group_hash &&
222
- level == o.level
235
+ level == o.level &&
236
+ is_exposed == o.is_exposed
223
237
  end
224
238
 
225
239
  # @see the `==` method
@@ -231,7 +245,7 @@ module MoonlogsRuby
231
245
  # Calculates hash code according to all attributes.
232
246
  # @return [Integer] Hash code
233
247
  def hash
234
- [id, text, schema_name, schema_id, query, request, response, kind, created_at, group_hash, level].hash
248
+ [id, text, schema_name, schema_id, query, request, response, kind, created_at, group_hash, level, is_exposed].hash
235
249
  end
236
250
 
237
251
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Moonlogs API
5
5
 
6
- OpenAPI spec version: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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: 1.7.16
6
+ OpenAPI spec version: 1.8.1
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 = '1.7.17'
13
+ VERSION = '1.8.1'
14
14
  end