volcano-sdk 0.10.2 → 0.10.3
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/volcano/generated/lib/volcano-generated/models/database_query_filter_value.rb +2 -2
- data/lib/volcano/generated/lib/volcano-generated/models/database_query_filter_value_one_of_inner.rb +2 -2
- data/lib/volcano/generated/lib/volcano-generated/models/list_storage_buckets200_response.rb +2 -2
- data/lib/volcano/generated/lib/volcano-generated/models/log_event_body.rb +2 -2
- data/lib/volcano/generated/lib/volcano-generated/models/log_request_resource.rb +1 -1
- data/lib/volcano/generated/lib/volcano-generated/models/upload_storage_object201_response.rb +2 -2
- data/lib/volcano/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f19fcadb6b2a2cd4e84d10cba5605c45dadfb20ebdfe62fe3a4b3dd352bc0dc1
|
|
4
|
+
data.tar.gz: 276e7c559b704d8c9ef911fccfe009f9ec0f09e3ba3c3bae3854b2332f17dcaa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec93b1ef716dbcf52f45b6d4a81fa4fa6b1e00c26efc47d59e9a1ab41db89fdb6f892a2db422c99155760a99757de8a2142d9dc17a185b2f29375d0612107c12
|
|
7
|
+
data.tar.gz: aa3c752a3d0b2e2f8bb3cba8ffe185f3c5f3597aadb2d6049d7952a827af40ad3f37ff90f4db2b15acc4a106c84d945ceec126add281aaa3861702e9ce59c8c5
|
|
@@ -82,11 +82,11 @@ module Volcano::Generated
|
|
|
82
82
|
return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
|
|
83
83
|
end
|
|
84
84
|
else # model
|
|
85
|
-
const = Volcano::Generated.const_get(klass)
|
|
85
|
+
const = Object.const_get('Volcano::Generated').const_get(klass)
|
|
86
86
|
if const
|
|
87
87
|
if const.respond_to?(:openapi_one_of) # nested oneOf model
|
|
88
88
|
model = const.build(data)
|
|
89
|
-
return model
|
|
89
|
+
return model unless model.nil?
|
|
90
90
|
else
|
|
91
91
|
# raise if data contains keys that are not known to the model
|
|
92
92
|
raise if const.respond_to?(:acceptable_attributes) && !(data.keys - const.acceptable_attributes).empty?
|
data/lib/volcano/generated/lib/volcano-generated/models/database_query_filter_value_one_of_inner.rb
CHANGED
|
@@ -81,11 +81,11 @@ module Volcano::Generated
|
|
|
81
81
|
return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
|
|
82
82
|
end
|
|
83
83
|
else # model
|
|
84
|
-
const = Volcano::Generated.const_get(klass)
|
|
84
|
+
const = Object.const_get('Volcano::Generated').const_get(klass)
|
|
85
85
|
if const
|
|
86
86
|
if const.respond_to?(:openapi_one_of) # nested oneOf model
|
|
87
87
|
model = const.build(data)
|
|
88
|
-
return model
|
|
88
|
+
return model unless model.nil?
|
|
89
89
|
else
|
|
90
90
|
# raise if data contains keys that are not known to the model
|
|
91
91
|
raise if const.respond_to?(:acceptable_attributes) && !(data.keys - const.acceptable_attributes).empty?
|
|
@@ -80,11 +80,11 @@ module Volcano::Generated
|
|
|
80
80
|
return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
|
|
81
81
|
end
|
|
82
82
|
else # model
|
|
83
|
-
const = Volcano::Generated.const_get(klass)
|
|
83
|
+
const = Object.const_get('Volcano::Generated').const_get(klass)
|
|
84
84
|
if const
|
|
85
85
|
if const.respond_to?(:openapi_one_of) # nested oneOf model
|
|
86
86
|
model = const.build(data)
|
|
87
|
-
return model
|
|
87
|
+
return model unless model.nil?
|
|
88
88
|
else
|
|
89
89
|
# raise if data contains keys that are not known to the model
|
|
90
90
|
raise if const.respond_to?(:acceptable_attributes) && !(data.keys - const.acceptable_attributes).empty?
|
|
@@ -84,11 +84,11 @@ module Volcano::Generated
|
|
|
84
84
|
return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
|
|
85
85
|
end
|
|
86
86
|
else # model
|
|
87
|
-
const = Volcano::Generated.const_get(klass)
|
|
87
|
+
const = Object.const_get('Volcano::Generated').const_get(klass)
|
|
88
88
|
if const
|
|
89
89
|
if const.respond_to?(:openapi_one_of) # nested oneOf model
|
|
90
90
|
model = const.build(data)
|
|
91
|
-
return model
|
|
91
|
+
return model unless model.nil?
|
|
92
92
|
else
|
|
93
93
|
# raise if data contains keys that are not known to the model
|
|
94
94
|
raise if const.respond_to?(:acceptable_attributes) && !(data.keys - const.acceptable_attributes).empty?
|
|
@@ -50,7 +50,7 @@ module Volcano::Generated
|
|
|
50
50
|
klass = openapi_discriminator_mapping[discriminator_value.to_s.to_sym]
|
|
51
51
|
return nil unless klass
|
|
52
52
|
|
|
53
|
-
Volcano::Generated.const_get(klass).build_from_hash(data)
|
|
53
|
+
Object.const_get('Volcano::Generated').const_get(klass).build_from_hash(data)
|
|
54
54
|
end
|
|
55
55
|
end
|
|
56
56
|
end
|
data/lib/volcano/generated/lib/volcano-generated/models/upload_storage_object201_response.rb
CHANGED
|
@@ -80,11 +80,11 @@ module Volcano::Generated
|
|
|
80
80
|
return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
|
|
81
81
|
end
|
|
82
82
|
else # model
|
|
83
|
-
const = Volcano::Generated.const_get(klass)
|
|
83
|
+
const = Object.const_get('Volcano::Generated').const_get(klass)
|
|
84
84
|
if const
|
|
85
85
|
if const.respond_to?(:openapi_one_of) # nested oneOf model
|
|
86
86
|
model = const.build(data)
|
|
87
|
-
return model
|
|
87
|
+
return model unless model.nil?
|
|
88
88
|
else
|
|
89
89
|
# raise if data contains keys that are not known to the model
|
|
90
90
|
raise if const.respond_to?(:acceptable_attributes) && !(data.keys - const.acceptable_attributes).empty?
|
data/lib/volcano/version.rb
CHANGED