influxdb-client-apis 2.2.0.pre.4244 → 2.2.0.pre.4317
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/models/resource.rb +2 -2
- 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: 5e602b8e29bc9953739ef3690c13b59ef78775973b1f0cf1d501f3434d3637df
|
4
|
+
data.tar.gz: c143278ba3a914253ed57c630a8ebdb8456c17a8ff6a529d1e88fc1a585bf748
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a330083f82b64d56a62d5145fdd9241c217baf4800692172de9339b356c35fb4e75fb12e342d6047d46d3b0f25d3a5b15deadcd75c0df72ca9adecf0c0e4258
|
7
|
+
data.tar.gz: 13aeab8aec555b1a575826dffc69aae6fd0d7a76e6d9d1a20dd65f437da34bb10fe7b683a2d23c28bb89b8689a2699fdcd1156abb44404421773579ccc026f43
|
@@ -130,7 +130,7 @@ module InfluxDB2::API
|
|
130
130
|
# @return true if the model is valid
|
131
131
|
def valid?
|
132
132
|
return false if @type.nil?
|
133
|
-
type_validator = EnumAttributeValidator.new('String', ["authorizations", "buckets", "dashboards", "orgs", "sources", "tasks", "telegrafs", "users", "variables", "scrapers", "secrets", "labels", "views", "documents", "notificationRules", "notificationEndpoints", "checks", "dbrp", "notebooks", "annotations", "remotes", "replications"])
|
133
|
+
type_validator = EnumAttributeValidator.new('String', ["authorizations", "buckets", "dashboards", "orgs", "sources", "tasks", "telegrafs", "users", "variables", "scrapers", "secrets", "labels", "views", "documents", "notificationRules", "notificationEndpoints", "checks", "dbrp", "notebooks", "annotations", "remotes", "replications", "flows", "functions"])
|
134
134
|
return false unless type_validator.valid?(@type)
|
135
135
|
true
|
136
136
|
end
|
@@ -138,7 +138,7 @@ module InfluxDB2::API
|
|
138
138
|
# Custom attribute writer method checking allowed values (enum).
|
139
139
|
# @param [Object] type Object to be assigned
|
140
140
|
def type=(type)
|
141
|
-
validator = EnumAttributeValidator.new('String', ["authorizations", "buckets", "dashboards", "orgs", "sources", "tasks", "telegrafs", "users", "variables", "scrapers", "secrets", "labels", "views", "documents", "notificationRules", "notificationEndpoints", "checks", "dbrp", "notebooks", "annotations", "remotes", "replications"])
|
141
|
+
validator = EnumAttributeValidator.new('String', ["authorizations", "buckets", "dashboards", "orgs", "sources", "tasks", "telegrafs", "users", "variables", "scrapers", "secrets", "labels", "views", "documents", "notificationRules", "notificationEndpoints", "checks", "dbrp", "notebooks", "annotations", "remotes", "replications", "flows", "functions"])
|
142
142
|
unless validator.valid?(type)
|
143
143
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
144
144
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: influxdb-client-apis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.0.pre.
|
4
|
+
version: 2.2.0.pre.4317
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub Bednar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01
|
11
|
+
date: 2022-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: influxdb-client
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.2.0.pre.
|
19
|
+
version: 2.2.0.pre.4317
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.2.0.pre.
|
26
|
+
version: 2.2.0.pre.4317
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: typhoeus
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|