autosde_openapi_client 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/docs/StorageResourceApi.md +6 -6
- data/docs/StorageResourceUpdate.md +20 -0
- data/lib/autosde_openapi_client/api/storage_resource_api.rb +9 -9
- data/lib/autosde_openapi_client/models/storage_resource_update.rb +232 -0
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/lib/autosde_openapi_client.rb +1 -0
- data/spec/api/storage_resource_api_spec.rb +1 -1
- data/spec/models/storage_resource_update_spec.rb +40 -0
- metadata +80 -76
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fdd08ca3a731e08d28e49174932d639d3cf58f4718a6fa698f2508c2600091a
|
4
|
+
data.tar.gz: 749192fd0062aac3bb96133167d6f2667280952f022b6568dc0e77fb87e1b1ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 456ded9eb63f29c4f72669e9057a89e74c56e49c06c1e3dffb5f3a692f8ada9f1fb952df4865c63c2580b2ace6611d5fe346ac200e282dfe51893fcf072ed029
|
7
|
+
data.tar.gz: 22868fad8696b126adefe3caea605a6416363651f1de588f056b3b2fd7b69d488ecbd8b72bfaf373e634562041cea6c915c44901800195c5ef92138394d99dc1
|
data/README.md
CHANGED
@@ -254,6 +254,7 @@ Class | Method | HTTP request | Description
|
|
254
254
|
- [AutosdeOpenapiClient::StorageResource](docs/StorageResource.md)
|
255
255
|
- [AutosdeOpenapiClient::StorageResourceCreate](docs/StorageResourceCreate.md)
|
256
256
|
- [AutosdeOpenapiClient::StorageResourceResponse](docs/StorageResourceResponse.md)
|
257
|
+
- [AutosdeOpenapiClient::StorageResourceUpdate](docs/StorageResourceUpdate.md)
|
257
258
|
- [AutosdeOpenapiClient::StorageSystem](docs/StorageSystem.md)
|
258
259
|
- [AutosdeOpenapiClient::StorageSystemCreate](docs/StorageSystemCreate.md)
|
259
260
|
- [AutosdeOpenapiClient::StorageSystemUpdate](docs/StorageSystemUpdate.md)
|
data/docs/StorageResourceApi.md
CHANGED
@@ -211,7 +211,7 @@ end
|
|
211
211
|
|
212
212
|
## storage_resources_pk_put
|
213
213
|
|
214
|
-
> <AsyncResponse> storage_resources_pk_put(pk,
|
214
|
+
> <AsyncResponse> storage_resources_pk_put(pk, storage_resource_update)
|
215
215
|
|
216
216
|
|
217
217
|
|
@@ -228,11 +228,11 @@ end
|
|
228
228
|
|
229
229
|
api_instance = AutosdeOpenapiClient::StorageResourceApi.new
|
230
230
|
pk = 56 # Integer |
|
231
|
-
|
231
|
+
storage_resource_update = AutosdeOpenapiClient::StorageResourceUpdate.new # StorageResourceUpdate |
|
232
232
|
|
233
233
|
begin
|
234
234
|
|
235
|
-
result = api_instance.storage_resources_pk_put(pk,
|
235
|
+
result = api_instance.storage_resources_pk_put(pk, storage_resource_update)
|
236
236
|
p result
|
237
237
|
rescue AutosdeOpenapiClient::ApiError => e
|
238
238
|
puts "Error when calling StorageResourceApi->storage_resources_pk_put: #{e}"
|
@@ -243,12 +243,12 @@ end
|
|
243
243
|
|
244
244
|
This returns an Array which contains the response data, status code and headers.
|
245
245
|
|
246
|
-
> <Array(<AsyncResponse>, Integer, Hash)> storage_resources_pk_put_with_http_info(pk,
|
246
|
+
> <Array(<AsyncResponse>, Integer, Hash)> storage_resources_pk_put_with_http_info(pk, storage_resource_update)
|
247
247
|
|
248
248
|
```ruby
|
249
249
|
begin
|
250
250
|
|
251
|
-
data, status_code, headers = api_instance.storage_resources_pk_put_with_http_info(pk,
|
251
|
+
data, status_code, headers = api_instance.storage_resources_pk_put_with_http_info(pk, storage_resource_update)
|
252
252
|
p status_code # => 2xx
|
253
253
|
p headers # => { ... }
|
254
254
|
p data # => <AsyncResponse>
|
@@ -262,7 +262,7 @@ end
|
|
262
262
|
| Name | Type | Description | Notes |
|
263
263
|
| ---- | ---- | ----------- | ----- |
|
264
264
|
| **pk** | **Integer** | | |
|
265
|
-
| **
|
265
|
+
| **storage_resource_update** | [**StorageResourceUpdate**](StorageResourceUpdate.md) | | |
|
266
266
|
|
267
267
|
### Return type
|
268
268
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# AutosdeOpenapiClient::StorageResourceUpdate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **advanced_attributes_map** | **String** | advanced_attributes_map | [optional] |
|
8
|
+
| **name** | **String** | name | [optional][default to 'null'] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'autosde_openapi_client'
|
14
|
+
|
15
|
+
instance = AutosdeOpenapiClient::StorageResourceUpdate.new(
|
16
|
+
advanced_attributes_map: null,
|
17
|
+
name: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -191,19 +191,19 @@ module AutosdeOpenapiClient
|
|
191
191
|
end
|
192
192
|
|
193
193
|
# @param pk [Integer]
|
194
|
-
# @param
|
194
|
+
# @param storage_resource_update [StorageResourceUpdate]
|
195
195
|
# @param [Hash] opts the optional parameters
|
196
196
|
# @return [AsyncResponse]
|
197
|
-
def storage_resources_pk_put(pk,
|
198
|
-
data, _status_code, _headers = storage_resources_pk_put_with_http_info(pk,
|
197
|
+
def storage_resources_pk_put(pk, storage_resource_update, opts = {})
|
198
|
+
data, _status_code, _headers = storage_resources_pk_put_with_http_info(pk, storage_resource_update, opts)
|
199
199
|
data
|
200
200
|
end
|
201
201
|
|
202
202
|
# @param pk [Integer]
|
203
|
-
# @param
|
203
|
+
# @param storage_resource_update [StorageResourceUpdate]
|
204
204
|
# @param [Hash] opts the optional parameters
|
205
205
|
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
206
|
-
def storage_resources_pk_put_with_http_info(pk,
|
206
|
+
def storage_resources_pk_put_with_http_info(pk, storage_resource_update, opts = {})
|
207
207
|
if @api_client.config.debugging
|
208
208
|
@api_client.config.logger.debug 'Calling API: StorageResourceApi.storage_resources_pk_put ...'
|
209
209
|
end
|
@@ -211,9 +211,9 @@ module AutosdeOpenapiClient
|
|
211
211
|
if @api_client.config.client_side_validation && pk.nil?
|
212
212
|
fail ArgumentError, "Missing the required parameter 'pk' when calling StorageResourceApi.storage_resources_pk_put"
|
213
213
|
end
|
214
|
-
# verify the required parameter '
|
215
|
-
if @api_client.config.client_side_validation &&
|
216
|
-
fail ArgumentError, "Missing the required parameter '
|
214
|
+
# verify the required parameter 'storage_resource_update' is set
|
215
|
+
if @api_client.config.client_side_validation && storage_resource_update.nil?
|
216
|
+
fail ArgumentError, "Missing the required parameter 'storage_resource_update' when calling StorageResourceApi.storage_resources_pk_put"
|
217
217
|
end
|
218
218
|
# resource path
|
219
219
|
local_var_path = '/storage-resources/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
|
@@ -232,7 +232,7 @@ module AutosdeOpenapiClient
|
|
232
232
|
form_params = opts[:form_params] || {}
|
233
233
|
|
234
234
|
# http body (model)
|
235
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
235
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_resource_update)
|
236
236
|
|
237
237
|
# return_type
|
238
238
|
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
@@ -0,0 +1,232 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module AutosdeOpenapiClient
|
17
|
+
# TODO add description
|
18
|
+
class StorageResourceUpdate
|
19
|
+
# advanced_attributes_map
|
20
|
+
attr_accessor :advanced_attributes_map
|
21
|
+
|
22
|
+
# name
|
23
|
+
attr_accessor :name
|
24
|
+
|
25
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
26
|
+
def self.attribute_map
|
27
|
+
{
|
28
|
+
:'advanced_attributes_map' => :'advanced_attributes_map',
|
29
|
+
:'name' => :'name'
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
# Returns all the JSON keys this model knows about
|
34
|
+
def self.acceptable_attributes
|
35
|
+
attribute_map.values
|
36
|
+
end
|
37
|
+
|
38
|
+
# Attribute type mapping.
|
39
|
+
def self.openapi_types
|
40
|
+
{
|
41
|
+
:'advanced_attributes_map' => :'String',
|
42
|
+
:'name' => :'String'
|
43
|
+
}
|
44
|
+
end
|
45
|
+
|
46
|
+
# List of attributes with nullable: true
|
47
|
+
def self.openapi_nullable
|
48
|
+
Set.new([
|
49
|
+
])
|
50
|
+
end
|
51
|
+
|
52
|
+
# Initializes the object
|
53
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
54
|
+
def initialize(attributes = {})
|
55
|
+
if (!attributes.is_a?(Hash))
|
56
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::StorageResourceUpdate` initialize method"
|
57
|
+
end
|
58
|
+
|
59
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
60
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::StorageResourceUpdate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
63
|
+
end
|
64
|
+
h[k.to_sym] = v
|
65
|
+
}
|
66
|
+
|
67
|
+
if attributes.key?(:'advanced_attributes_map')
|
68
|
+
self.advanced_attributes_map = attributes[:'advanced_attributes_map']
|
69
|
+
end
|
70
|
+
|
71
|
+
if attributes.key?(:'name')
|
72
|
+
self.name = attributes[:'name']
|
73
|
+
else
|
74
|
+
self.name = 'null'
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
79
|
+
# @return Array for valid properties with the reasons
|
80
|
+
def list_invalid_properties
|
81
|
+
invalid_properties = Array.new
|
82
|
+
invalid_properties
|
83
|
+
end
|
84
|
+
|
85
|
+
# Check to see if the all the properties in the model are valid
|
86
|
+
# @return true if the model is valid
|
87
|
+
def valid?
|
88
|
+
true
|
89
|
+
end
|
90
|
+
|
91
|
+
# Checks equality by comparing each attribute.
|
92
|
+
# @param [Object] Object to be compared
|
93
|
+
def ==(o)
|
94
|
+
return true if self.equal?(o)
|
95
|
+
self.class == o.class &&
|
96
|
+
advanced_attributes_map == o.advanced_attributes_map &&
|
97
|
+
name == o.name
|
98
|
+
end
|
99
|
+
|
100
|
+
# @see the `==` method
|
101
|
+
# @param [Object] Object to be compared
|
102
|
+
def eql?(o)
|
103
|
+
self == o
|
104
|
+
end
|
105
|
+
|
106
|
+
# Calculates hash code according to all attributes.
|
107
|
+
# @return [Integer] Hash code
|
108
|
+
def hash
|
109
|
+
[advanced_attributes_map, name].hash
|
110
|
+
end
|
111
|
+
|
112
|
+
# Builds the object from hash
|
113
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
114
|
+
# @return [Object] Returns the model itself
|
115
|
+
def self.build_from_hash(attributes)
|
116
|
+
new.build_from_hash(attributes)
|
117
|
+
end
|
118
|
+
|
119
|
+
# Builds the object from hash
|
120
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
121
|
+
# @return [Object] Returns the model itself
|
122
|
+
def build_from_hash(attributes)
|
123
|
+
return nil unless attributes.is_a?(Hash)
|
124
|
+
self.class.openapi_types.each_pair do |key, type|
|
125
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
126
|
+
self.send("#{key}=", nil)
|
127
|
+
elsif type =~ /\AArray<(.*)>/i
|
128
|
+
# check to ensure the input is an array given that the attribute
|
129
|
+
# is documented as an array but the input is not
|
130
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
131
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
132
|
+
end
|
133
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
134
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
self
|
139
|
+
end
|
140
|
+
|
141
|
+
# Deserializes the data based on type
|
142
|
+
# @param string type Data type
|
143
|
+
# @param string value Value to be deserialized
|
144
|
+
# @return [Object] Deserialized data
|
145
|
+
def _deserialize(type, value)
|
146
|
+
case type.to_sym
|
147
|
+
when :Time
|
148
|
+
Time.parse(value)
|
149
|
+
when :Date
|
150
|
+
Date.parse(value)
|
151
|
+
when :String
|
152
|
+
value.to_s
|
153
|
+
when :Integer
|
154
|
+
value.to_i
|
155
|
+
when :Float
|
156
|
+
value.to_f
|
157
|
+
when :Boolean
|
158
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
159
|
+
true
|
160
|
+
else
|
161
|
+
false
|
162
|
+
end
|
163
|
+
when :Object
|
164
|
+
# generic object (usually a Hash), return directly
|
165
|
+
value
|
166
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
167
|
+
inner_type = Regexp.last_match[:inner_type]
|
168
|
+
value.map { |v| _deserialize(inner_type, v) }
|
169
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
170
|
+
k_type = Regexp.last_match[:k_type]
|
171
|
+
v_type = Regexp.last_match[:v_type]
|
172
|
+
{}.tap do |hash|
|
173
|
+
value.each do |k, v|
|
174
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
175
|
+
end
|
176
|
+
end
|
177
|
+
else # model
|
178
|
+
# models (e.g. Pet) or oneOf
|
179
|
+
klass = AutosdeOpenapiClient.const_get(type)
|
180
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
# Returns the string representation of the object
|
185
|
+
# @return [String] String presentation of the object
|
186
|
+
def to_s
|
187
|
+
to_hash.to_s
|
188
|
+
end
|
189
|
+
|
190
|
+
# to_body is an alias to to_hash (backward compatibility)
|
191
|
+
# @return [Hash] Returns the object in the form of hash
|
192
|
+
def to_body
|
193
|
+
to_hash
|
194
|
+
end
|
195
|
+
|
196
|
+
# Returns the object in the form of hash
|
197
|
+
# @return [Hash] Returns the object in the form of hash
|
198
|
+
def to_hash
|
199
|
+
hash = {}
|
200
|
+
self.class.attribute_map.each_pair do |attr, param|
|
201
|
+
value = self.send(attr)
|
202
|
+
if value.nil?
|
203
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
204
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
205
|
+
end
|
206
|
+
|
207
|
+
hash[param] = _to_hash(value)
|
208
|
+
end
|
209
|
+
hash
|
210
|
+
end
|
211
|
+
|
212
|
+
# Outputs non-array value in the form of hash
|
213
|
+
# For object, use to_hash. Otherwise, just return the value
|
214
|
+
# @param [Object] value Any valid value
|
215
|
+
# @return [Hash] Returns the value in the form of hash
|
216
|
+
def _to_hash(value)
|
217
|
+
if value.is_a?(Array)
|
218
|
+
value.compact.map { |v| _to_hash(v) }
|
219
|
+
elsif value.is_a?(Hash)
|
220
|
+
{}.tap do |hash|
|
221
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
222
|
+
end
|
223
|
+
elsif value.respond_to? :to_hash
|
224
|
+
value.to_hash
|
225
|
+
else
|
226
|
+
value
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
end
|
231
|
+
|
232
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Site Manager API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.2.
|
6
|
+
The version of the OpenAPI document: 1.2.5
|
7
7
|
Contact: autosde@il.ibm.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module AutosdeOpenapiClient
|
14
|
-
VERSION = '1.2.
|
14
|
+
VERSION = '1.2.5'
|
15
15
|
end
|
@@ -67,6 +67,7 @@ require 'autosde_openapi_client/models/storage_hosts_mapping_response'
|
|
67
67
|
require 'autosde_openapi_client/models/storage_resource'
|
68
68
|
require 'autosde_openapi_client/models/storage_resource_create'
|
69
69
|
require 'autosde_openapi_client/models/storage_resource_response'
|
70
|
+
require 'autosde_openapi_client/models/storage_resource_update'
|
70
71
|
require 'autosde_openapi_client/models/storage_system'
|
71
72
|
require 'autosde_openapi_client/models/storage_system_create'
|
72
73
|
require 'autosde_openapi_client/models/storage_system_update'
|
@@ -63,7 +63,7 @@ describe 'StorageResourceApi' do
|
|
63
63
|
|
64
64
|
# unit tests for storage_resources_pk_put
|
65
65
|
# @param pk
|
66
|
-
# @param
|
66
|
+
# @param storage_resource_update
|
67
67
|
# @param [Hash] opts the optional parameters
|
68
68
|
# @return [AsyncResponse]
|
69
69
|
describe 'storage_resources_pk_put test' do
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for AutosdeOpenapiClient::StorageResourceUpdate
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::StorageResourceUpdate do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::StorageResourceUpdate.new }
|
22
|
+
|
23
|
+
describe 'test an instance of StorageResourceUpdate' do
|
24
|
+
it 'should create an instance of StorageResourceUpdate' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::StorageResourceUpdate)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "advanced_attributes_map"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "name"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autosde_openapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
@@ -138,6 +138,7 @@ files:
|
|
138
138
|
- docs/StorageResourceApi.md
|
139
139
|
- docs/StorageResourceCreate.md
|
140
140
|
- docs/StorageResourceResponse.md
|
141
|
+
- docs/StorageResourceUpdate.md
|
141
142
|
- docs/StorageSystem.md
|
142
143
|
- docs/StorageSystemApi.md
|
143
144
|
- docs/StorageSystemCreate.md
|
@@ -246,6 +247,7 @@ files:
|
|
246
247
|
- lib/autosde_openapi_client/models/storage_resource.rb
|
247
248
|
- lib/autosde_openapi_client/models/storage_resource_create.rb
|
248
249
|
- lib/autosde_openapi_client/models/storage_resource_response.rb
|
250
|
+
- lib/autosde_openapi_client/models/storage_resource_update.rb
|
249
251
|
- lib/autosde_openapi_client/models/storage_system.rb
|
250
252
|
- lib/autosde_openapi_client/models/storage_system_create.rb
|
251
253
|
- lib/autosde_openapi_client/models/storage_system_update.rb
|
@@ -346,6 +348,7 @@ files:
|
|
346
348
|
- spec/models/storage_resource_create_spec.rb
|
347
349
|
- spec/models/storage_resource_response_spec.rb
|
348
350
|
- spec/models/storage_resource_spec.rb
|
351
|
+
- spec/models/storage_resource_update_spec.rb
|
349
352
|
- spec/models/storage_system_create_spec.rb
|
350
353
|
- spec/models/storage_system_spec.rb
|
351
354
|
- spec/models/storage_system_update_spec.rb
|
@@ -386,103 +389,104 @@ signing_key:
|
|
386
389
|
specification_version: 4
|
387
390
|
summary: Site Manager API Ruby Gem
|
388
391
|
test_files:
|
389
|
-
- spec/api/
|
390
|
-
- spec/api/account_api_spec.rb
|
391
|
-
- spec/api/host_volume_connection_api_spec.rb
|
392
|
-
- spec/api/refresh_system_api_spec.rb
|
392
|
+
- spec/api/volume_safe_delete_api_spec.rb
|
393
393
|
- spec/api/auto_sde_project_api_spec.rb
|
394
|
-
- spec/api/
|
395
|
-
- spec/api/
|
396
|
-
- spec/api/
|
394
|
+
- spec/api/job_api_spec.rb
|
395
|
+
- spec/api/profile_api_spec.rb
|
396
|
+
- spec/api/refresh_system_api_spec.rb
|
397
|
+
- spec/api/account_api_spec.rb
|
397
398
|
- spec/api/validate_system_api_spec.rb
|
398
|
-
- spec/api/host_cluster_api_spec.rb
|
399
399
|
- spec/api/capability_translation_api_spec.rb
|
400
|
+
- spec/api/celery_config_api_spec.rb
|
400
401
|
- spec/api/storage_host_api_spec.rb
|
401
|
-
- spec/api/
|
402
|
-
- spec/api/
|
403
|
-
- spec/api/job_api_spec.rb
|
404
|
-
- spec/api/snapshot_api_spec.rb
|
405
|
-
- spec/api/storage_system_api_spec.rb
|
406
|
-
- spec/api/host_cluster_membership_api_spec.rb
|
402
|
+
- spec/api/host_volume_connection_api_spec.rb
|
403
|
+
- spec/api/storage_hosts_mapping_api_spec.rb
|
407
404
|
- spec/api/storage_resource_api_spec.rb
|
408
|
-
- spec/api/native_capability_api_spec.rb
|
409
|
-
- spec/api/volume_safe_delete_api_spec.rb
|
410
|
-
- spec/api/provisioning_strategy_api_spec.rb
|
411
|
-
- spec/api/profile_api_spec.rb
|
412
|
-
- spec/api/celery_config_api_spec.rb
|
413
405
|
- spec/api/volume_api_spec.rb
|
406
|
+
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
407
|
+
- spec/api/authentication_api_spec.rb
|
408
|
+
- spec/api/service_api_spec.rb
|
409
|
+
- spec/api/native_capability_api_spec.rb
|
410
|
+
- spec/api/snapshot_api_spec.rb
|
411
|
+
- spec/api/host_api_spec.rb
|
414
412
|
- spec/api/abstract_capability_api_spec.rb
|
415
|
-
- spec/api/
|
416
|
-
- spec/api/
|
413
|
+
- spec/api/service_resource_attachment_api_spec.rb
|
414
|
+
- spec/api/event_api_spec.rb
|
417
415
|
- spec/api/user_api_spec.rb
|
418
|
-
- spec/api/
|
416
|
+
- spec/api/system_type_api_spec.rb
|
417
|
+
- spec/api/provisioning_strategy_api_spec.rb
|
419
418
|
- spec/api/auto_sde_role_api_spec.rb
|
420
|
-
- spec/api/
|
419
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
420
|
+
- spec/api/host_cluster_api_spec.rb
|
421
|
+
- spec/api/address_api_spec.rb
|
422
|
+
- spec/api/storage_system_api_spec.rb
|
423
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
421
424
|
- spec/api_client_spec.rb
|
422
425
|
- spec/configuration_spec.rb
|
423
|
-
- spec/models/host_cluster_volume_mapping_spec.rb
|
424
|
-
- spec/models/storage_host_response_spec.rb
|
425
|
-
- spec/models/address_create_spec.rb
|
426
|
-
- spec/models/host_cluster_response_spec.rb
|
427
|
-
- spec/models/volume_safe_delete_spec.rb
|
428
|
-
- spec/models/volume_response_spec.rb
|
429
|
-
- spec/models/capability_translation_create_spec.rb
|
430
|
-
- spec/models/storage_host_update_spec.rb
|
431
|
-
- spec/models/system_type_create_spec.rb
|
432
|
-
- spec/models/system_type_spec.rb
|
433
|
-
- spec/models/user_create_spec.rb
|
434
|
-
- spec/models/storage_resource_response_spec.rb
|
435
|
-
- spec/models/storage_system_create_spec.rb
|
436
|
-
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
437
|
-
- spec/models/authentication_spec.rb
|
438
|
-
- spec/models/storage_hosts_mapping_spec.rb
|
439
|
-
- spec/models/refresh_system_spec.rb
|
440
|
-
- spec/models/capability_translation_spec.rb
|
441
|
-
- spec/models/host_cluster_membership_spec.rb
|
442
|
-
- spec/models/storage_hosts_mapping_response_spec.rb
|
443
|
-
- spec/models/user_spec.rb
|
444
|
-
- spec/models/snapshot_spec.rb
|
445
|
-
- spec/models/host_cluster_create_spec.rb
|
446
|
-
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
447
|
-
- spec/models/provisioning_strategy_spec.rb
|
448
|
-
- spec/models/storage_host_create_spec.rb
|
449
426
|
- spec/models/auth_response_spec.rb
|
450
|
-
- spec/models/account_post_response_spec.rb
|
451
|
-
- spec/models/storage_host_spec.rb
|
452
|
-
- spec/models/storage_system_update_spec.rb
|
453
|
-
- spec/models/service_resource_attachment_spec.rb
|
454
|
-
- spec/models/storage_host_wwpn_candidates_spec.rb
|
455
|
-
- spec/models/profile_spec.rb
|
456
|
-
- spec/models/native_capability_spec.rb
|
457
|
-
- spec/models/storage_hosts_mapping_create_spec.rb
|
458
|
-
- spec/models/validate_system_spec.rb
|
459
427
|
- spec/models/service_spec.rb
|
428
|
+
- spec/models/snapshot_spec.rb
|
429
|
+
- spec/models/host_cluster_membership_spec.rb
|
430
|
+
- spec/models/system_type_create_spec.rb
|
431
|
+
- spec/models/job_create_spec.rb
|
432
|
+
- spec/models/abstract_capability_spec.rb
|
460
433
|
- spec/models/storage_resource_create_spec.rb
|
461
|
-
- spec/models/
|
462
|
-
- spec/models/host_create_spec.rb
|
463
|
-
- spec/models/job_spec.rb
|
464
|
-
- spec/models/volume_update_spec.rb
|
465
|
-
- spec/models/event_spec.rb
|
466
|
-
- spec/models/auto_sde_role_spec.rb
|
467
|
-
- spec/models/service_create_spec.rb
|
434
|
+
- spec/models/host_cluster_create_spec.rb
|
468
435
|
- spec/models/host_spec.rb
|
469
|
-
- spec/models/host_volume_connection_spec.rb
|
470
436
|
- spec/models/auto_sde_project_spec.rb
|
471
|
-
- spec/models/
|
472
|
-
- spec/models/
|
473
|
-
- spec/models/
|
437
|
+
- spec/models/native_capability_spec.rb
|
438
|
+
- spec/models/service_create_spec.rb
|
439
|
+
- spec/models/auto_sde_role_spec.rb
|
440
|
+
- spec/models/storage_system_update_spec.rb
|
441
|
+
- spec/models/host_cluster_spec.rb
|
474
442
|
- spec/models/host_volume_connection_create_spec.rb
|
443
|
+
- spec/models/system_type_spec.rb
|
444
|
+
- spec/models/storage_hosts_mapping_create_spec.rb
|
445
|
+
- spec/models/service_resource_attachment_spec.rb
|
446
|
+
- spec/models/capability_translation_spec.rb
|
475
447
|
- spec/models/account_post_request_spec.rb
|
476
|
-
- spec/models/storage_system_spec.rb
|
477
448
|
- spec/models/address_spec.rb
|
478
|
-
- spec/models/
|
479
|
-
- spec/models/
|
480
|
-
- spec/models/celery_config_spec.rb
|
481
|
-
- spec/models/abstract_capability_spec.rb
|
449
|
+
- spec/models/provisioning_strategy_spec.rb
|
450
|
+
- spec/models/refresh_system_spec.rb
|
482
451
|
- spec/models/event_response_spec.rb
|
452
|
+
- spec/models/profile_spec.rb
|
453
|
+
- spec/models/volume_create_spec.rb
|
454
|
+
- spec/models/volume_update_spec.rb
|
483
455
|
- spec/models/volume_safe_delete_create_spec.rb
|
456
|
+
- spec/models/storage_system_create_spec.rb
|
457
|
+
- spec/models/storage_resource_response_spec.rb
|
458
|
+
- spec/models/snapshot_create_spec.rb
|
459
|
+
- spec/models/authentication_spec.rb
|
460
|
+
- spec/models/volume_response_spec.rb
|
484
461
|
- spec/models/async_response_spec.rb
|
462
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
463
|
+
- spec/models/host_create_spec.rb
|
464
|
+
- spec/models/event_spec.rb
|
465
|
+
- spec/models/storage_resource_update_spec.rb
|
466
|
+
- spec/models/celery_config_spec.rb
|
467
|
+
- spec/models/capability_translation_create_spec.rb
|
468
|
+
- spec/models/storage_host_response_spec.rb
|
469
|
+
- spec/models/storage_hosts_mapping_spec.rb
|
470
|
+
- spec/models/host_volume_connection_spec.rb
|
471
|
+
- spec/models/storage_system_spec.rb
|
472
|
+
- spec/models/storage_host_create_spec.rb
|
485
473
|
- spec/models/service_abstract_capability_value_spec.rb
|
474
|
+
- spec/models/user_spec.rb
|
475
|
+
- spec/models/job_spec.rb
|
476
|
+
- spec/models/account_post_response_spec.rb
|
477
|
+
- spec/models/host_cluster_response_spec.rb
|
478
|
+
- spec/models/storage_host_wwpn_candidates_spec.rb
|
479
|
+
- spec/models/storage_hosts_mapping_response_spec.rb
|
486
480
|
- spec/models/user_update_spec.rb
|
487
|
-
- spec/models/
|
481
|
+
- spec/models/user_create_spec.rb
|
482
|
+
- spec/models/address_create_spec.rb
|
483
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
484
|
+
- spec/models/storage_host_spec.rb
|
485
|
+
- spec/models/volume_spec.rb
|
486
|
+
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
487
|
+
- spec/models/storage_resource_spec.rb
|
488
|
+
- spec/models/account_spec.rb
|
489
|
+
- spec/models/validate_system_spec.rb
|
490
|
+
- spec/models/volume_safe_delete_spec.rb
|
491
|
+
- spec/models/storage_host_update_spec.rb
|
488
492
|
- spec/spec_helper.rb
|