influxdb-client-apis 1.14.0 → 1.16.0.pre.2686
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/influxdb-client-apis.rb +7 -2
- data/lib/influxdb2/apis/generated/api/authorizations_api.rb +11 -15
- data/lib/influxdb2/apis/generated/api/buckets_api.rb +14 -12
- data/lib/influxdb2/apis/generated/api/labels_api.rb +2 -3
- data/lib/influxdb2/apis/generated/api/organizations_api.rb +20 -21
- data/lib/influxdb2/apis/generated/api/users_api.rb +116 -2568
- data/lib/influxdb2/apis/generated/api_client.rb +2 -3
- data/lib/influxdb2/apis/generated/api_error.rb +2 -3
- data/lib/influxdb2/apis/generated/configuration.rb +5 -6
- data/lib/influxdb2/apis/generated/models/authorization.rb +25 -7
- data/lib/influxdb2/apis/generated/models/authorization_all_of.rb +21 -7
- data/lib/influxdb2/apis/generated/models/authorization_all_of_links.rb +5 -6
- data/lib/influxdb2/apis/generated/models/authorization_post_request.rb +325 -0
- data/lib/influxdb2/apis/generated/models/authorization_update_request.rb +5 -6
- data/lib/influxdb2/apis/generated/models/authorizations.rb +5 -6
- data/lib/influxdb2/apis/generated/models/bucket.rb +14 -6
- data/lib/influxdb2/apis/generated/models/bucket_links.rb +5 -6
- data/lib/influxdb2/apis/generated/models/buckets.rb +5 -6
- data/lib/influxdb2/apis/generated/models/label.rb +5 -6
- data/lib/influxdb2/apis/generated/models/label_create_request.rb +5 -6
- data/lib/influxdb2/apis/generated/models/label_mapping.rb +5 -6
- data/lib/influxdb2/apis/generated/models/label_response.rb +5 -6
- data/lib/influxdb2/apis/generated/models/label_update.rb +5 -6
- data/lib/influxdb2/apis/generated/models/labels_response.rb +5 -6
- data/lib/influxdb2/apis/generated/models/links.rb +5 -6
- data/lib/influxdb2/apis/generated/models/organization.rb +5 -6
- data/lib/influxdb2/apis/generated/models/organization_links.rb +5 -6
- data/lib/influxdb2/apis/generated/models/organizations.rb +5 -6
- data/lib/influxdb2/apis/generated/models/password_reset_body.rb +214 -0
- data/lib/influxdb2/apis/generated/models/patch_organization_request.rb +220 -0
- data/lib/influxdb2/apis/generated/models/permission.rb +5 -6
- data/lib/influxdb2/apis/generated/models/post_bucket_request.rb +14 -6
- data/lib/influxdb2/apis/generated/models/post_organization_request.rb +223 -0
- data/lib/influxdb2/apis/generated/models/resource.rb +8 -9
- data/lib/influxdb2/apis/generated/models/resource_member.rb +7 -8
- data/lib/influxdb2/apis/generated/models/resource_member_all_of.rb +5 -6
- data/lib/influxdb2/apis/generated/models/resource_members.rb +6 -7
- data/lib/influxdb2/apis/generated/models/{user_links.rb → resource_members_links.rb} +8 -9
- data/lib/influxdb2/apis/generated/models/resource_owner.rb +7 -8
- data/lib/influxdb2/apis/generated/models/resource_owner_all_of.rb +5 -6
- data/lib/influxdb2/apis/generated/models/resource_owners.rb +6 -7
- data/lib/influxdb2/apis/generated/models/retention_rule.rb +5 -6
- data/lib/influxdb2/apis/generated/models/user.rb +6 -16
- data/lib/influxdb2/apis/generated/models/user_response.rb +287 -0
- data/lib/influxdb2/apis/generated/models/{users_links.rb → user_response_links.rb} +8 -9
- data/lib/influxdb2/apis/generated/models/users.rb +6 -7
- data/test/influxdb2/authorizations_api_test.rb +3 -3
- data/test/influxdb2/organizations_api_test.rb +3 -3
- metadata +13 -8
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.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
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.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
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.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,6 +28,8 @@ module InfluxDB2::API
|
|
29
28
|
|
30
29
|
attr_accessor :rp
|
31
30
|
|
31
|
+
attr_accessor :schema_type
|
32
|
+
|
32
33
|
attr_accessor :created_at
|
33
34
|
|
34
35
|
attr_accessor :updated_at
|
@@ -60,7 +61,7 @@ module InfluxDB2::API
|
|
60
61
|
end
|
61
62
|
end
|
62
63
|
|
63
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
64
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
64
65
|
def self.attribute_map
|
65
66
|
{
|
66
67
|
:'links' => :'links',
|
@@ -70,6 +71,7 @@ module InfluxDB2::API
|
|
70
71
|
:'description' => :'description',
|
71
72
|
:'org_id' => :'orgID',
|
72
73
|
:'rp' => :'rp',
|
74
|
+
:'schema_type' => :'schemaType',
|
73
75
|
:'created_at' => :'createdAt',
|
74
76
|
:'updated_at' => :'updatedAt',
|
75
77
|
:'retention_rules' => :'retentionRules',
|
@@ -87,10 +89,11 @@ module InfluxDB2::API
|
|
87
89
|
:'description' => :'String',
|
88
90
|
:'org_id' => :'String',
|
89
91
|
:'rp' => :'String',
|
92
|
+
:'schema_type' => :'SchemaType',
|
90
93
|
:'created_at' => :'Time',
|
91
94
|
:'updated_at' => :'Time',
|
92
95
|
:'retention_rules' => :'Array<RetentionRule>',
|
93
|
-
:'labels' => :'Array<Label>'
|
96
|
+
:'labels' => :'Array<Label>'
|
94
97
|
}
|
95
98
|
end
|
96
99
|
|
@@ -145,6 +148,10 @@ module InfluxDB2::API
|
|
145
148
|
self.rp = attributes[:'rp']
|
146
149
|
end
|
147
150
|
|
151
|
+
if attributes.key?(:'schema_type')
|
152
|
+
self.schema_type = attributes[:'schema_type']
|
153
|
+
end
|
154
|
+
|
148
155
|
if attributes.key?(:'created_at')
|
149
156
|
self.created_at = attributes[:'created_at']
|
150
157
|
end
|
@@ -213,6 +220,7 @@ module InfluxDB2::API
|
|
213
220
|
description == o.description &&
|
214
221
|
org_id == o.org_id &&
|
215
222
|
rp == o.rp &&
|
223
|
+
schema_type == o.schema_type &&
|
216
224
|
created_at == o.created_at &&
|
217
225
|
updated_at == o.updated_at &&
|
218
226
|
retention_rules == o.retention_rules &&
|
@@ -228,7 +236,7 @@ module InfluxDB2::API
|
|
228
236
|
# Calculates hash code according to all attributes.
|
229
237
|
# @return [Integer] Hash code
|
230
238
|
def hash
|
231
|
-
[links, id, type, name, description, org_id, rp, created_at, updated_at, retention_rules, labels
|
239
|
+
[links, id, type, name, description, org_id, rp, schema_type, created_at, updated_at, retention_rules, labels].hash
|
232
240
|
end
|
233
241
|
|
234
242
|
# Builds the object from hash
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.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
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.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
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.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
|
|
@@ -24,7 +23,7 @@ module InfluxDB2::API
|
|
24
23
|
# Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value.
|
25
24
|
attr_accessor :properties
|
26
25
|
|
27
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
26
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
28
27
|
def self.attribute_map
|
29
28
|
{
|
30
29
|
:'id' => :'id',
|
@@ -40,7 +39,7 @@ module InfluxDB2::API
|
|
40
39
|
:'id' => :'String',
|
41
40
|
:'org_id' => :'String',
|
42
41
|
:'name' => :'String',
|
43
|
-
:'properties' => :'Hash<String, String>'
|
42
|
+
:'properties' => :'Hash<String, String>'
|
44
43
|
}
|
45
44
|
end
|
46
45
|
|
@@ -117,7 +116,7 @@ module InfluxDB2::API
|
|
117
116
|
# Calculates hash code according to all attributes.
|
118
117
|
# @return [Integer] Hash code
|
119
118
|
def hash
|
120
|
-
[id, org_id, name, properties
|
119
|
+
[id, org_id, name, properties].hash
|
121
120
|
end
|
122
121
|
|
123
122
|
# Builds the object from hash
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.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
|
|
@@ -22,7 +21,7 @@ module InfluxDB2::API
|
|
22
21
|
# Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value.
|
23
22
|
attr_accessor :properties
|
24
23
|
|
25
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
26
25
|
def self.attribute_map
|
27
26
|
{
|
28
27
|
:'org_id' => :'orgID',
|
@@ -36,7 +35,7 @@ module InfluxDB2::API
|
|
36
35
|
{
|
37
36
|
:'org_id' => :'String',
|
38
37
|
:'name' => :'String',
|
39
|
-
:'properties' => :'Hash<String, String>'
|
38
|
+
:'properties' => :'Hash<String, String>'
|
40
39
|
}
|
41
40
|
end
|
42
41
|
|
@@ -118,7 +117,7 @@ module InfluxDB2::API
|
|
118
117
|
# Calculates hash code according to all attributes.
|
119
118
|
# @return [Integer] Hash code
|
120
119
|
def hash
|
121
|
-
[org_id, name, properties
|
120
|
+
[org_id, name, properties].hash
|
122
121
|
end
|
123
122
|
|
124
123
|
# Builds the object from hash
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.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
|
|
@@ -17,7 +16,7 @@ module InfluxDB2::API
|
|
17
16
|
class LabelMapping
|
18
17
|
attr_accessor :label_id
|
19
18
|
|
20
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
19
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
20
|
def self.attribute_map
|
22
21
|
{
|
23
22
|
:'label_id' => :'labelID',
|
@@ -27,7 +26,7 @@ module InfluxDB2::API
|
|
27
26
|
# Attribute type mapping.
|
28
27
|
def self.openapi_types
|
29
28
|
{
|
30
|
-
:'label_id' => :'String'
|
29
|
+
:'label_id' => :'String'
|
31
30
|
}
|
32
31
|
end
|
33
32
|
|
@@ -87,7 +86,7 @@ module InfluxDB2::API
|
|
87
86
|
# Calculates hash code according to all attributes.
|
88
87
|
# @return [Integer] Hash code
|
89
88
|
def hash
|
90
|
-
[label_id
|
89
|
+
[label_id].hash
|
91
90
|
end
|
92
91
|
|
93
92
|
# Builds the object from hash
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.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 :links
|
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
|
:'label' => :'label',
|
@@ -31,7 +30,7 @@ module InfluxDB2::API
|
|
31
30
|
def self.openapi_types
|
32
31
|
{
|
33
32
|
:'label' => :'Label',
|
34
|
-
:'links' => :'Links'
|
33
|
+
:'links' => :'Links'
|
35
34
|
}
|
36
35
|
end
|
37
36
|
|
@@ -96,7 +95,7 @@ module InfluxDB2::API
|
|
96
95
|
# Calculates hash code according to all attributes.
|
97
96
|
# @return [Integer] Hash code
|
98
97
|
def hash
|
99
|
-
[label, links
|
98
|
+
[label, links].hash
|
100
99
|
end
|
101
100
|
|
102
101
|
# Builds the object from hash
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.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
|
|
@@ -20,7 +19,7 @@ module InfluxDB2::API
|
|
20
19
|
# Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value.
|
21
20
|
attr_accessor :properties
|
22
21
|
|
23
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
23
|
def self.attribute_map
|
25
24
|
{
|
26
25
|
:'name' => :'name',
|
@@ -32,7 +31,7 @@ module InfluxDB2::API
|
|
32
31
|
def self.openapi_types
|
33
32
|
{
|
34
33
|
:'name' => :'String',
|
35
|
-
:'properties' => :'Hash<String, String>'
|
34
|
+
:'properties' => :'Hash<String, String>'
|
36
35
|
}
|
37
36
|
end
|
38
37
|
|
@@ -99,7 +98,7 @@ module InfluxDB2::API
|
|
99
98
|
# Calculates hash code according to all attributes.
|
100
99
|
# @return [Integer] Hash code
|
101
100
|
def hash
|
102
|
-
[name, properties
|
101
|
+
[name, properties].hash
|
103
102
|
end
|
104
103
|
|
105
104
|
# Builds the object from hash
|