influxdb-client-apis 1.14.0.pre.2287 → 1.15.0.pre.2461
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/influxdb2/apis/generated/api/authorizations_api.rb +0 -1
- data/lib/influxdb2/apis/generated/api/buckets_api.rb +0 -1
- data/lib/influxdb2/apis/generated/api/labels_api.rb +0 -1
- data/lib/influxdb2/apis/generated/api/organizations_api.rb +0 -1
- data/lib/influxdb2/apis/generated/api/users_api.rb +0 -1
- data/lib/influxdb2/apis/generated/api_client.rb +0 -1
- data/lib/influxdb2/apis/generated/api_error.rb +0 -1
- data/lib/influxdb2/apis/generated/configuration.rb +1 -2
- data/lib/influxdb2/apis/generated/models/authorization.rb +23 -5
- data/lib/influxdb2/apis/generated/models/authorization_all_of.rb +19 -5
- data/lib/influxdb2/apis/generated/models/authorization_all_of_links.rb +3 -4
- data/lib/influxdb2/apis/generated/models/authorization_update_request.rb +3 -4
- data/lib/influxdb2/apis/generated/models/authorizations.rb +3 -4
- data/lib/influxdb2/apis/generated/models/bucket.rb +3 -4
- data/lib/influxdb2/apis/generated/models/bucket_links.rb +3 -4
- data/lib/influxdb2/apis/generated/models/buckets.rb +3 -4
- data/lib/influxdb2/apis/generated/models/label.rb +3 -4
- data/lib/influxdb2/apis/generated/models/label_create_request.rb +3 -4
- data/lib/influxdb2/apis/generated/models/label_mapping.rb +3 -4
- data/lib/influxdb2/apis/generated/models/label_response.rb +3 -4
- data/lib/influxdb2/apis/generated/models/label_update.rb +3 -4
- data/lib/influxdb2/apis/generated/models/labels_response.rb +3 -4
- data/lib/influxdb2/apis/generated/models/links.rb +3 -4
- data/lib/influxdb2/apis/generated/models/organization.rb +3 -4
- data/lib/influxdb2/apis/generated/models/organization_links.rb +3 -4
- data/lib/influxdb2/apis/generated/models/organizations.rb +3 -4
- data/lib/influxdb2/apis/generated/models/permission.rb +3 -4
- data/lib/influxdb2/apis/generated/models/post_bucket_request.rb +3 -4
- data/lib/influxdb2/apis/generated/models/resource.rb +4 -5
- data/lib/influxdb2/apis/generated/models/resource_member.rb +3 -4
- data/lib/influxdb2/apis/generated/models/resource_member_all_of.rb +3 -4
- data/lib/influxdb2/apis/generated/models/resource_members.rb +3 -4
- data/lib/influxdb2/apis/generated/models/resource_owner.rb +3 -4
- data/lib/influxdb2/apis/generated/models/resource_owner_all_of.rb +3 -4
- data/lib/influxdb2/apis/generated/models/resource_owners.rb +3 -4
- data/lib/influxdb2/apis/generated/models/retention_rule.rb +3 -4
- data/lib/influxdb2/apis/generated/models/user.rb +3 -4
- data/lib/influxdb2/apis/generated/models/user_links.rb +3 -4
- data/lib/influxdb2/apis/generated/models/users.rb +3 -4
- data/lib/influxdb2/apis/generated/models/users_links.rb +3 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c0aeae92a88fa3b6b2321e379102c2c9679a0dcbe7a834cb53a2ae54f01ae39
|
4
|
+
data.tar.gz: 722fa2c984ae1173b465761b59160e2989dc651f6014057abbe8727ace80b40a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f57fe63263aad2bcd1263eb5d0821553cbf75bc88ab70b79b28a62f47291def73c948b335f3059257100b655a3302b7f859dd41d1e17c71bf2ed3215055f0e9
|
7
|
+
data.tar.gz: 6f985c908b1c58d6e0b599bec11aeeef579bd5b18b700d202f27c961d75ef7f14006f9e3b164cfffb9389f8faf097fac5c68c360ffdc9cf883e16d66978fa158
|
@@ -6,7 +6,6 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -139,7 +138,7 @@ module InfluxDB2::API
|
|
139
138
|
|
140
139
|
def initialize
|
141
140
|
@scheme = 'https'
|
142
|
-
@host = 'raw.githubusercontent.com
|
141
|
+
@host = 'raw.githubusercontent.com'
|
143
142
|
@base_path = '/api/v2'
|
144
143
|
@server_index = 0
|
145
144
|
@server_operation_index = {}
|
@@ -6,7 +6,6 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -29,7 +28,7 @@ module InfluxDB2::API
|
|
29
28
|
attr_accessor :org_id
|
30
29
|
|
31
30
|
# List of permissions for an auth. An auth must have at least one Permission.
|
32
|
-
|
31
|
+
attr_reader :permissions
|
33
32
|
|
34
33
|
attr_accessor :id
|
35
34
|
|
@@ -69,7 +68,7 @@ module InfluxDB2::API
|
|
69
68
|
end
|
70
69
|
end
|
71
70
|
|
72
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
71
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
73
72
|
def self.attribute_map
|
74
73
|
{
|
75
74
|
:'status' => :'status',
|
@@ -101,7 +100,7 @@ module InfluxDB2::API
|
|
101
100
|
:'user_id' => :'String',
|
102
101
|
:'user' => :'String',
|
103
102
|
:'org' => :'String',
|
104
|
-
:'links' => :'AuthorizationAllOfLinks'
|
103
|
+
:'links' => :'AuthorizationAllOfLinks'
|
105
104
|
}
|
106
105
|
end
|
107
106
|
|
@@ -199,6 +198,10 @@ module InfluxDB2::API
|
|
199
198
|
invalid_properties.push('invalid value for "permissions", permissions cannot be nil.')
|
200
199
|
end
|
201
200
|
|
201
|
+
if @permissions.length < 1
|
202
|
+
invalid_properties.push('invalid value for "permissions", number of items must be greater than or equal to 1.')
|
203
|
+
end
|
204
|
+
|
202
205
|
invalid_properties
|
203
206
|
end
|
204
207
|
|
@@ -209,6 +212,7 @@ module InfluxDB2::API
|
|
209
212
|
return false unless status_validator.valid?(@status)
|
210
213
|
return false if @org_id.nil?
|
211
214
|
return false if @permissions.nil?
|
215
|
+
return false if @permissions.length < 1
|
212
216
|
true
|
213
217
|
end
|
214
218
|
|
@@ -222,6 +226,20 @@ module InfluxDB2::API
|
|
222
226
|
@status = status
|
223
227
|
end
|
224
228
|
|
229
|
+
# Custom attribute writer method with validation
|
230
|
+
# @param [Object] permissions Value to be assigned
|
231
|
+
def permissions=(permissions)
|
232
|
+
if permissions.nil?
|
233
|
+
fail ArgumentError, 'permissions cannot be nil'
|
234
|
+
end
|
235
|
+
|
236
|
+
if permissions.length < 1
|
237
|
+
fail ArgumentError, 'invalid value for "permissions", number of items must be greater than or equal to 1.'
|
238
|
+
end
|
239
|
+
|
240
|
+
@permissions = permissions
|
241
|
+
end
|
242
|
+
|
225
243
|
# Checks equality by comparing each attribute.
|
226
244
|
# @param [Object] Object to be compared
|
227
245
|
def ==(o)
|
@@ -250,7 +268,7 @@ module InfluxDB2::API
|
|
250
268
|
# Calculates hash code according to all attributes.
|
251
269
|
# @return [Integer] Hash code
|
252
270
|
def hash
|
253
|
-
[status, description, created_at, updated_at, org_id, permissions, id, token, user_id, user, org, links
|
271
|
+
[status, description, created_at, updated_at, org_id, permissions, id, token, user_id, user, org, links].hash
|
254
272
|
end
|
255
273
|
|
256
274
|
# Builds the object from hash
|
@@ -6,7 +6,6 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -23,7 +22,7 @@ module InfluxDB2::API
|
|
23
22
|
attr_accessor :org_id
|
24
23
|
|
25
24
|
# List of permissions for an auth. An auth must have at least one Permission.
|
26
|
-
|
25
|
+
attr_reader :permissions
|
27
26
|
|
28
27
|
attr_accessor :id
|
29
28
|
|
@@ -41,7 +40,7 @@ module InfluxDB2::API
|
|
41
40
|
|
42
41
|
attr_accessor :links
|
43
42
|
|
44
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
43
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
45
44
|
def self.attribute_map
|
46
45
|
{
|
47
46
|
:'created_at' => :'createdAt',
|
@@ -69,7 +68,7 @@ module InfluxDB2::API
|
|
69
68
|
:'user_id' => :'String',
|
70
69
|
:'user' => :'String',
|
71
70
|
:'org' => :'String',
|
72
|
-
:'links' => :'AuthorizationAllOfLinks'
|
71
|
+
:'links' => :'AuthorizationAllOfLinks'
|
73
72
|
}
|
74
73
|
end
|
75
74
|
|
@@ -141,15 +140,30 @@ module InfluxDB2::API
|
|
141
140
|
# @return Array for valid properties with the reasons
|
142
141
|
def list_invalid_properties
|
143
142
|
invalid_properties = Array.new
|
143
|
+
if !@permissions.nil? && @permissions.length < 1
|
144
|
+
invalid_properties.push('invalid value for "permissions", number of items must be greater than or equal to 1.')
|
145
|
+
end
|
146
|
+
|
144
147
|
invalid_properties
|
145
148
|
end
|
146
149
|
|
147
150
|
# Check to see if the all the properties in the model are valid
|
148
151
|
# @return true if the model is valid
|
149
152
|
def valid?
|
153
|
+
return false if !@permissions.nil? && @permissions.length < 1
|
150
154
|
true
|
151
155
|
end
|
152
156
|
|
157
|
+
# Custom attribute writer method with validation
|
158
|
+
# @param [Object] permissions Value to be assigned
|
159
|
+
def permissions=(permissions)
|
160
|
+
if !permissions.nil? && permissions.length < 1
|
161
|
+
fail ArgumentError, 'invalid value for "permissions", number of items must be greater than or equal to 1.'
|
162
|
+
end
|
163
|
+
|
164
|
+
@permissions = permissions
|
165
|
+
end
|
166
|
+
|
153
167
|
# Checks equality by comparing each attribute.
|
154
168
|
# @param [Object] Object to be compared
|
155
169
|
def ==(o)
|
@@ -176,7 +190,7 @@ module InfluxDB2::API
|
|
176
190
|
# Calculates hash code according to all attributes.
|
177
191
|
# @return [Integer] Hash code
|
178
192
|
def hash
|
179
|
-
[created_at, updated_at, org_id, permissions, id, token, user_id, user, org, links
|
193
|
+
[created_at, updated_at, org_id, permissions, id, token, user_id, user, org, links].hash
|
180
194
|
end
|
181
195
|
|
182
196
|
# Builds the object from hash
|
@@ -6,7 +6,6 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -21,7 +20,7 @@ module InfluxDB2::API
|
|
21
20
|
# URI of resource.
|
22
21
|
attr_accessor :user
|
23
22
|
|
24
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
25
24
|
def self.attribute_map
|
26
25
|
{
|
27
26
|
:'_self' => :'self',
|
@@ -33,7 +32,7 @@ module InfluxDB2::API
|
|
33
32
|
def self.openapi_types
|
34
33
|
{
|
35
34
|
:'_self' => :'String',
|
36
|
-
:'user' => :'String'
|
35
|
+
:'user' => :'String'
|
37
36
|
}
|
38
37
|
end
|
39
38
|
|
@@ -98,7 +97,7 @@ module InfluxDB2::API
|
|
98
97
|
# Calculates hash code according to all attributes.
|
99
98
|
# @return [Integer] Hash code
|
100
99
|
def hash
|
101
|
-
[_self, user
|
100
|
+
[_self, user].hash
|
102
101
|
end
|
103
102
|
|
104
103
|
# Builds the object from hash
|
@@ -6,7 +6,6 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -43,7 +42,7 @@ module InfluxDB2::API
|
|
43
42
|
end
|
44
43
|
end
|
45
44
|
|
46
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
45
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
47
46
|
def self.attribute_map
|
48
47
|
{
|
49
48
|
:'status' => :'status',
|
@@ -55,7 +54,7 @@ module InfluxDB2::API
|
|
55
54
|
def self.openapi_types
|
56
55
|
{
|
57
56
|
:'status' => :'String',
|
58
|
-
:'description' => :'String'
|
57
|
+
:'description' => :'String'
|
59
58
|
}
|
60
59
|
end
|
61
60
|
|
@@ -134,7 +133,7 @@ module InfluxDB2::API
|
|
134
133
|
# Calculates hash code according to all attributes.
|
135
134
|
# @return [Integer] Hash code
|
136
135
|
def hash
|
137
|
-
[status, description
|
136
|
+
[status, description].hash
|
138
137
|
end
|
139
138
|
|
140
139
|
# Builds the object from hash
|
@@ -6,7 +6,6 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -19,7 +18,7 @@ module InfluxDB2::API
|
|
19
18
|
|
20
19
|
attr_accessor :authorizations
|
21
20
|
|
22
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
21
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
22
|
def self.attribute_map
|
24
23
|
{
|
25
24
|
:'links' => :'links',
|
@@ -31,7 +30,7 @@ module InfluxDB2::API
|
|
31
30
|
def self.openapi_types
|
32
31
|
{
|
33
32
|
:'links' => :'Links',
|
34
|
-
:'authorizations' => :'Array<Authorization>'
|
33
|
+
:'authorizations' => :'Array<Authorization>'
|
35
34
|
}
|
36
35
|
end
|
37
36
|
|
@@ -98,7 +97,7 @@ module InfluxDB2::API
|
|
98
97
|
# Calculates hash code according to all attributes.
|
99
98
|
# @return [Integer] Hash code
|
100
99
|
def hash
|
101
|
-
[links, authorizations
|
100
|
+
[links, authorizations].hash
|
102
101
|
end
|
103
102
|
|
104
103
|
# Builds the object from hash
|
@@ -6,7 +6,6 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -60,7 +59,7 @@ module InfluxDB2::API
|
|
60
59
|
end
|
61
60
|
end
|
62
61
|
|
63
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
62
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
64
63
|
def self.attribute_map
|
65
64
|
{
|
66
65
|
:'links' => :'links',
|
@@ -90,7 +89,7 @@ module InfluxDB2::API
|
|
90
89
|
:'created_at' => :'Time',
|
91
90
|
:'updated_at' => :'Time',
|
92
91
|
:'retention_rules' => :'Array<RetentionRule>',
|
93
|
-
:'labels' => :'Array<Label>'
|
92
|
+
:'labels' => :'Array<Label>'
|
94
93
|
}
|
95
94
|
end
|
96
95
|
|
@@ -228,7 +227,7 @@ module InfluxDB2::API
|
|
228
227
|
# Calculates hash code according to all attributes.
|
229
228
|
# @return [Integer] Hash code
|
230
229
|
def hash
|
231
|
-
[links, id, type, name, description, org_id, rp, created_at, updated_at, retention_rules, labels
|
230
|
+
[links, id, type, name, description, org_id, rp, created_at, updated_at, retention_rules, labels].hash
|
232
231
|
end
|
233
232
|
|
234
233
|
# Builds the object from hash
|
@@ -6,7 +6,6 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -33,7 +32,7 @@ module InfluxDB2::API
|
|
33
32
|
# URI of resource.
|
34
33
|
attr_accessor :write
|
35
34
|
|
36
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
35
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
37
36
|
def self.attribute_map
|
38
37
|
{
|
39
38
|
:'labels' => :'labels',
|
@@ -53,7 +52,7 @@ module InfluxDB2::API
|
|
53
52
|
:'org' => :'String',
|
54
53
|
:'owners' => :'String',
|
55
54
|
:'_self' => :'String',
|
56
|
-
:'write' => :'String'
|
55
|
+
:'write' => :'String'
|
57
56
|
}
|
58
57
|
end
|
59
58
|
|
@@ -138,7 +137,7 @@ module InfluxDB2::API
|
|
138
137
|
# Calculates hash code according to all attributes.
|
139
138
|
# @return [Integer] Hash code
|
140
139
|
def hash
|
141
|
-
[labels, members, org, owners, _self, write
|
140
|
+
[labels, members, org, owners, _self, write].hash
|
142
141
|
end
|
143
142
|
|
144
143
|
# Builds the object from hash
|
@@ -6,7 +6,6 @@
|
|
6
6
|
The version of the OpenAPI document: 0.1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -19,7 +18,7 @@ module InfluxDB2::API
|
|
19
18
|
|
20
19
|
attr_accessor :buckets
|
21
20
|
|
22
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
21
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
22
|
def self.attribute_map
|
24
23
|
{
|
25
24
|
:'links' => :'links',
|
@@ -31,7 +30,7 @@ module InfluxDB2::API
|
|
31
30
|
def self.openapi_types
|
32
31
|
{
|
33
32
|
:'links' => :'Links',
|
34
|
-
:'buckets' => :'Array<Bucket>'
|
33
|
+
:'buckets' => :'Array<Bucket>'
|
35
34
|
}
|
36
35
|
end
|
37
36
|
|
@@ -98,7 +97,7 @@ module InfluxDB2::API
|
|
98
97
|
# Calculates hash code according to all attributes.
|
99
98
|
# @return [Integer] Hash code
|
100
99
|
def hash
|
101
|
-
[links, buckets
|
100
|
+
[links, buckets].hash
|
102
101
|
end
|
103
102
|
|
104
103
|
# Builds the object from hash
|