influxdb-client-apis 1.14.0 → 1.16.0.pre.2686
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
|
@@ -41,7 +40,7 @@ module InfluxDB2::API
|
|
41
40
|
end
|
42
41
|
end
|
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
|
:'action' => :'action',
|
@@ -53,7 +52,7 @@ module InfluxDB2::API
|
|
53
52
|
def self.openapi_types
|
54
53
|
{
|
55
54
|
:'action' => :'String',
|
56
|
-
:'resource' => :'Resource'
|
55
|
+
:'resource' => :'Resource'
|
57
56
|
}
|
58
57
|
end
|
59
58
|
|
@@ -140,7 +139,7 @@ module InfluxDB2::API
|
|
140
139
|
# Calculates hash code according to all attributes.
|
141
140
|
# @return [Integer] Hash code
|
142
141
|
def hash
|
143
|
-
[action, resource
|
142
|
+
[action, resource].hash
|
144
143
|
end
|
145
144
|
|
146
145
|
# 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
|
|
@@ -26,7 +25,9 @@ module InfluxDB2::API
|
|
26
25
|
# Rules to expire or retain data. No rules means data never expires.
|
27
26
|
attr_accessor :retention_rules
|
28
27
|
|
29
|
-
|
28
|
+
attr_accessor :schema_type
|
29
|
+
|
30
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
30
31
|
def self.attribute_map
|
31
32
|
{
|
32
33
|
:'org_id' => :'orgID',
|
@@ -34,6 +35,7 @@ module InfluxDB2::API
|
|
34
35
|
:'description' => :'description',
|
35
36
|
:'rp' => :'rp',
|
36
37
|
:'retention_rules' => :'retentionRules',
|
38
|
+
:'schema_type' => :'schemaType',
|
37
39
|
}
|
38
40
|
end
|
39
41
|
|
@@ -45,6 +47,7 @@ module InfluxDB2::API
|
|
45
47
|
:'description' => :'String',
|
46
48
|
:'rp' => :'String',
|
47
49
|
:'retention_rules' => :'Array<RetentionRule>',
|
50
|
+
:'schema_type' => :'SchemaType'
|
48
51
|
}
|
49
52
|
end
|
50
53
|
|
@@ -90,6 +93,10 @@ module InfluxDB2::API
|
|
90
93
|
self.retention_rules = value
|
91
94
|
end
|
92
95
|
end
|
96
|
+
|
97
|
+
if attributes.key?(:'schema_type')
|
98
|
+
self.schema_type = attributes[:'schema_type']
|
99
|
+
end
|
93
100
|
end
|
94
101
|
|
95
102
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -129,7 +136,8 @@ module InfluxDB2::API
|
|
129
136
|
name == o.name &&
|
130
137
|
description == o.description &&
|
131
138
|
rp == o.rp &&
|
132
|
-
retention_rules == o.retention_rules
|
139
|
+
retention_rules == o.retention_rules &&
|
140
|
+
schema_type == o.schema_type
|
133
141
|
end
|
134
142
|
|
135
143
|
# @see the `==` method
|
@@ -141,7 +149,7 @@ module InfluxDB2::API
|
|
141
149
|
# Calculates hash code according to all attributes.
|
142
150
|
# @return [Integer] Hash code
|
143
151
|
def hash
|
144
|
-
[org_id, name, description, rp, retention_rules, ].hash
|
152
|
+
[org_id, name, description, rp, retention_rules, schema_type].hash
|
145
153
|
end
|
146
154
|
|
147
155
|
# Builds the object from hash
|
@@ -0,0 +1,223 @@
|
|
1
|
+
=begin
|
2
|
+
#Influx OSS API Service
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
require 'time'
|
14
|
+
|
15
|
+
module InfluxDB2::API
|
16
|
+
class PostOrganizationRequest
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
attr_accessor :description
|
20
|
+
|
21
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
22
|
+
def self.attribute_map
|
23
|
+
{
|
24
|
+
:'name' => :'name',
|
25
|
+
:'description' => :'description',
|
26
|
+
}
|
27
|
+
end
|
28
|
+
|
29
|
+
# Attribute type mapping.
|
30
|
+
def self.openapi_types
|
31
|
+
{
|
32
|
+
:'name' => :'String',
|
33
|
+
:'description' => :'String'
|
34
|
+
}
|
35
|
+
end
|
36
|
+
|
37
|
+
# List of attributes with nullable: true
|
38
|
+
def self.openapi_nullable
|
39
|
+
Set.new([
|
40
|
+
])
|
41
|
+
end
|
42
|
+
|
43
|
+
# Initializes the object
|
44
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
45
|
+
def initialize(attributes = {})
|
46
|
+
if (!attributes.is_a?(Hash))
|
47
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `InfluxDB2::PostOrganizationRequest` initialize method"
|
48
|
+
end
|
49
|
+
|
50
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
51
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
52
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
53
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `InfluxDB2::PostOrganizationRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
54
|
+
end
|
55
|
+
h[k.to_sym] = v
|
56
|
+
}
|
57
|
+
|
58
|
+
if attributes.key?(:'name')
|
59
|
+
self.name = attributes[:'name']
|
60
|
+
end
|
61
|
+
|
62
|
+
if attributes.key?(:'description')
|
63
|
+
self.description = attributes[:'description']
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
68
|
+
# @return Array for valid properties with the reasons
|
69
|
+
def list_invalid_properties
|
70
|
+
invalid_properties = Array.new
|
71
|
+
if @name.nil?
|
72
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
+
end
|
74
|
+
|
75
|
+
invalid_properties
|
76
|
+
end
|
77
|
+
|
78
|
+
# Check to see if the all the properties in the model are valid
|
79
|
+
# @return true if the model is valid
|
80
|
+
def valid?
|
81
|
+
return false if @name.nil?
|
82
|
+
true
|
83
|
+
end
|
84
|
+
|
85
|
+
# Checks equality by comparing each attribute.
|
86
|
+
# @param [Object] Object to be compared
|
87
|
+
def ==(o)
|
88
|
+
return true if self.equal?(o)
|
89
|
+
self.class == o.class &&
|
90
|
+
name == o.name &&
|
91
|
+
description == o.description
|
92
|
+
end
|
93
|
+
|
94
|
+
# @see the `==` method
|
95
|
+
# @param [Object] Object to be compared
|
96
|
+
def eql?(o)
|
97
|
+
self == o
|
98
|
+
end
|
99
|
+
|
100
|
+
# Calculates hash code according to all attributes.
|
101
|
+
# @return [Integer] Hash code
|
102
|
+
def hash
|
103
|
+
[name, description].hash
|
104
|
+
end
|
105
|
+
|
106
|
+
# Builds the object from hash
|
107
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
108
|
+
# @return [Object] Returns the model itself
|
109
|
+
def self.build_from_hash(attributes)
|
110
|
+
new.build_from_hash(attributes)
|
111
|
+
end
|
112
|
+
|
113
|
+
# Builds the object from hash
|
114
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
115
|
+
# @return [Object] Returns the model itself
|
116
|
+
def build_from_hash(attributes)
|
117
|
+
return nil unless attributes.is_a?(Hash)
|
118
|
+
self.class.openapi_types.each_pair do |key, type|
|
119
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
120
|
+
self.send("#{key}=", nil)
|
121
|
+
elsif type =~ /\AArray<(.*)>/i
|
122
|
+
# check to ensure the input is an array given that the attribute
|
123
|
+
# is documented as an array but the input is not
|
124
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
125
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
126
|
+
end
|
127
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
128
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
self
|
133
|
+
end
|
134
|
+
|
135
|
+
# Deserializes the data based on type
|
136
|
+
# @param string type Data type
|
137
|
+
# @param string value Value to be deserialized
|
138
|
+
# @return [Object] Deserialized data
|
139
|
+
def _deserialize(type, value)
|
140
|
+
case type.to_sym
|
141
|
+
when :Time
|
142
|
+
Time.parse(value)
|
143
|
+
when :Date
|
144
|
+
Date.parse(value)
|
145
|
+
when :String
|
146
|
+
value.to_s
|
147
|
+
when :Integer
|
148
|
+
value.to_i
|
149
|
+
when :Float
|
150
|
+
value.to_f
|
151
|
+
when :Boolean
|
152
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
153
|
+
true
|
154
|
+
else
|
155
|
+
false
|
156
|
+
end
|
157
|
+
when :Object
|
158
|
+
# generic object (usually a Hash), return directly
|
159
|
+
value
|
160
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
161
|
+
inner_type = Regexp.last_match[:inner_type]
|
162
|
+
value.map { |v| _deserialize(inner_type, v) }
|
163
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
164
|
+
k_type = Regexp.last_match[:k_type]
|
165
|
+
v_type = Regexp.last_match[:v_type]
|
166
|
+
{}.tap do |hash|
|
167
|
+
value.each do |k, v|
|
168
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
169
|
+
end
|
170
|
+
end
|
171
|
+
else # model
|
172
|
+
InfluxDB2::API.const_get(type).build_from_hash(value)
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
# Returns the string representation of the object
|
177
|
+
# @return [String] String presentation of the object
|
178
|
+
def to_s
|
179
|
+
to_hash.to_s
|
180
|
+
end
|
181
|
+
|
182
|
+
# to_body is an alias to to_hash (backward compatibility)
|
183
|
+
# @return [Hash] Returns the object in the form of hash
|
184
|
+
def to_body
|
185
|
+
to_hash
|
186
|
+
end
|
187
|
+
|
188
|
+
# Returns the object in the form of hash
|
189
|
+
# @return [Hash] Returns the object in the form of hash
|
190
|
+
def to_hash
|
191
|
+
hash = {}
|
192
|
+
self.class.attribute_map.each_pair do |attr, param|
|
193
|
+
value = self.send(attr)
|
194
|
+
if value.nil?
|
195
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
196
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
197
|
+
end
|
198
|
+
|
199
|
+
hash[param] = _to_hash(value)
|
200
|
+
end
|
201
|
+
hash
|
202
|
+
end
|
203
|
+
|
204
|
+
# Outputs non-array value in the form of hash
|
205
|
+
# For object, use to_hash. Otherwise, just return the value
|
206
|
+
# @param [Object] value Any valid value
|
207
|
+
# @return [Hash] Returns the value in the form of hash
|
208
|
+
def _to_hash(value)
|
209
|
+
if value.is_a?(Array)
|
210
|
+
value.compact.map { |v| _to_hash(v) }
|
211
|
+
elsif value.is_a?(Hash)
|
212
|
+
{}.tap do |hash|
|
213
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
214
|
+
end
|
215
|
+
elsif value.respond_to? :to_hash
|
216
|
+
value.to_hash
|
217
|
+
else
|
218
|
+
value
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
end
|
223
|
+
end
|
@@ -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
|
|
@@ -51,7 +50,7 @@ module InfluxDB2::API
|
|
51
50
|
end
|
52
51
|
end
|
53
52
|
|
54
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
53
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
55
54
|
def self.attribute_map
|
56
55
|
{
|
57
56
|
:'type' => :'type',
|
@@ -69,7 +68,7 @@ module InfluxDB2::API
|
|
69
68
|
:'id' => :'String',
|
70
69
|
:'name' => :'String',
|
71
70
|
:'org_id' => :'String',
|
72
|
-
:'org' => :'String'
|
71
|
+
:'org' => :'String'
|
73
72
|
}
|
74
73
|
end
|
75
74
|
|
@@ -79,7 +78,7 @@ module InfluxDB2::API
|
|
79
78
|
:'id',
|
80
79
|
:'name',
|
81
80
|
:'org_id',
|
82
|
-
:'org'
|
81
|
+
:'org'
|
83
82
|
])
|
84
83
|
end
|
85
84
|
|
@@ -134,7 +133,7 @@ module InfluxDB2::API
|
|
134
133
|
# @return true if the model is valid
|
135
134
|
def valid?
|
136
135
|
return false if @type.nil?
|
137
|
-
type_validator = EnumAttributeValidator.new('String', ["authorizations", "buckets", "dashboards", "orgs", "sources", "tasks", "telegrafs", "users", "variables", "scrapers", "secrets", "labels", "views", "documents", "notificationRules", "notificationEndpoints", "checks", "dbrp"])
|
136
|
+
type_validator = EnumAttributeValidator.new('String', ["authorizations", "buckets", "dashboards", "orgs", "sources", "tasks", "telegrafs", "users", "variables", "scrapers", "secrets", "labels", "views", "documents", "notificationRules", "notificationEndpoints", "checks", "dbrp", "notebooks"])
|
138
137
|
return false unless type_validator.valid?(@type)
|
139
138
|
true
|
140
139
|
end
|
@@ -142,7 +141,7 @@ module InfluxDB2::API
|
|
142
141
|
# Custom attribute writer method checking allowed values (enum).
|
143
142
|
# @param [Object] type Object to be assigned
|
144
143
|
def type=(type)
|
145
|
-
validator = EnumAttributeValidator.new('String', ["authorizations", "buckets", "dashboards", "orgs", "sources", "tasks", "telegrafs", "users", "variables", "scrapers", "secrets", "labels", "views", "documents", "notificationRules", "notificationEndpoints", "checks", "dbrp"])
|
144
|
+
validator = EnumAttributeValidator.new('String', ["authorizations", "buckets", "dashboards", "orgs", "sources", "tasks", "telegrafs", "users", "variables", "scrapers", "secrets", "labels", "views", "documents", "notificationRules", "notificationEndpoints", "checks", "dbrp", "notebooks"])
|
146
145
|
unless validator.valid?(type)
|
147
146
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
148
147
|
end
|
@@ -170,7 +169,7 @@ module InfluxDB2::API
|
|
170
169
|
# Calculates hash code according to all attributes.
|
171
170
|
# @return [Integer] Hash code
|
172
171
|
def hash
|
173
|
-
[type, id, name, org_id, org
|
172
|
+
[type, id, name, org_id, org].hash
|
174
173
|
end
|
175
174
|
|
176
175
|
# 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
|
|
@@ -50,7 +49,7 @@ module InfluxDB2::API
|
|
50
49
|
end
|
51
50
|
end
|
52
51
|
|
53
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
52
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
54
53
|
def self.attribute_map
|
55
54
|
{
|
56
55
|
:'id' => :'id',
|
@@ -69,8 +68,8 @@ module InfluxDB2::API
|
|
69
68
|
:'oauth_id' => :'String',
|
70
69
|
:'name' => :'String',
|
71
70
|
:'status' => :'String',
|
72
|
-
:'links' => :'
|
73
|
-
:'role' => :'String'
|
71
|
+
:'links' => :'UserResponseLinks',
|
72
|
+
:'role' => :'String'
|
74
73
|
}
|
75
74
|
end
|
76
75
|
|
@@ -84,7 +83,7 @@ module InfluxDB2::API
|
|
84
83
|
def self.openapi_all_of
|
85
84
|
[
|
86
85
|
:'ResourceMemberAllOf',
|
87
|
-
:'
|
86
|
+
:'UserResponse'
|
88
87
|
]
|
89
88
|
end
|
90
89
|
|
@@ -196,7 +195,7 @@ module InfluxDB2::API
|
|
196
195
|
# Calculates hash code according to all attributes.
|
197
196
|
# @return [Integer] Hash code
|
198
197
|
def hash
|
199
|
-
[id, oauth_id, name, status, links, role
|
198
|
+
[id, oauth_id, name, status, links, role].hash
|
200
199
|
end
|
201
200
|
|
202
201
|
# Builds the object from hash
|