influxdb-client-apis 2.1.0 → 2.2.0
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 +4 -8
- 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: 7ba6ec0c5efb3fc119681b1273352ddc65eba0fa4bc9b567193d7930649d1d55
|
4
|
+
data.tar.gz: b8a4a1c465cc67d9806ba2d76c828ca215773706727e04700ee262ab681705a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31472f5b16b6e6eabf7f6f0cca93080eb36ed2a44b7d14633b90377ac1d1eef07278bcccf2b70c798d10a6d731e3768feb8e385bc84482390c1bc28bc4f27ee2
|
7
|
+
data.tar.gz: bcb7a31bcdc549aba6cf4c239adba12f1fa6426ee378e2958eb7a8093c6e866de2ba46a8ba7b61b459e8f08c10c56e1dd0cc939b9c5431c7a60e7480f1c53bc9
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#InfluxDB OSS API Service
|
3
3
|
|
4
|
-
#
|
4
|
+
#The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 2.0.0
|
7
7
|
|
@@ -76,10 +76,6 @@ module InfluxDB2::API
|
|
76
76
|
# List of attributes with nullable: true
|
77
77
|
def self.openapi_nullable
|
78
78
|
Set.new([
|
79
|
-
:'id',
|
80
|
-
:'name',
|
81
|
-
:'org_id',
|
82
|
-
:'org'
|
83
79
|
])
|
84
80
|
end
|
85
81
|
|
@@ -134,7 +130,7 @@ module InfluxDB2::API
|
|
134
130
|
# @return true if the model is valid
|
135
131
|
def valid?
|
136
132
|
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", "notebooks", "annotations"])
|
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"])
|
138
134
|
return false unless type_validator.valid?(@type)
|
139
135
|
true
|
140
136
|
end
|
@@ -142,7 +138,7 @@ module InfluxDB2::API
|
|
142
138
|
# Custom attribute writer method checking allowed values (enum).
|
143
139
|
# @param [Object] type Object to be assigned
|
144
140
|
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", "notebooks", "annotations"])
|
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"])
|
146
142
|
unless validator.valid?(type)
|
147
143
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
148
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.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub Bednar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-18 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.
|
19
|
+
version: 2.2.0
|
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.
|
26
|
+
version: 2.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: typhoeus
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|