autosde_openapi_client 1.0.37 → 1.0.41
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/StorageSystem.md +2 -0
- data/docs/StorageSystemApi.md +70 -0
- data/docs/StorageSystemCreate.md +2 -0
- data/docs/Volume.md +2 -0
- data/docs/VolumeCreate.md +2 -0
- data/docs/VolumeResponse.md +2 -0
- data/lib/autosde_openapi_client/api/storage_system_api.rb +67 -0
- data/lib/autosde_openapi_client/models/storage_system.rb +11 -1
- data/lib/autosde_openapi_client/models/storage_system_create.rb +11 -1
- data/lib/autosde_openapi_client/models/volume.rb +11 -1
- data/lib/autosde_openapi_client/models/volume_create.rb +11 -1
- data/lib/autosde_openapi_client/models/volume_response.rb +11 -1
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/spec/api/storage_system_api_spec.rb +11 -0
- data/spec/models/storage_system_create_spec.rb +6 -0
- data/spec/models/storage_system_spec.rb +6 -0
- data/spec/models/volume_create_spec.rb +6 -0
- data/spec/models/volume_response_spec.rb +6 -0
- data/spec/models/volume_spec.rb +6 -0
- metadata +55 -55
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdeb6b5d48eb1d9546baa7864eeb3792c6365f851c77e93b95fc80fc9a63030b
|
4
|
+
data.tar.gz: 22d8205c9df759f9ba36472a04d9226b00a754b26c32545228bef064c106c1d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1b62f89fc13641d69df2a292a9054675dd7e368023ca97fdf4e524a17c8f9b510e0c06355702c8f90be238acc9fbaa8afb4a0414e589600b168da1910263ada
|
7
|
+
data.tar.gz: 9de7ff9f916928ff63187f78d9e0115719bddc27d1631ce4cb39d762b443f503f8633e733f391db672fca16e056c9c6e1107ba55adae40c4305f38add6a7b953
|
data/README.md
CHANGED
@@ -158,6 +158,7 @@ Class | Method | HTTP request | Description
|
|
158
158
|
*AutosdeOpenapiClient::StorageSystemApi* | [**storage_systems_get**](docs/StorageSystemApi.md#storage_systems_get) | **GET** /storage-systems/ |
|
159
159
|
*AutosdeOpenapiClient::StorageSystemApi* | [**storage_systems_pk_delete**](docs/StorageSystemApi.md#storage_systems_pk_delete) | **DELETE** /storage-systems/{pk} |
|
160
160
|
*AutosdeOpenapiClient::StorageSystemApi* | [**storage_systems_pk_get**](docs/StorageSystemApi.md#storage_systems_pk_get) | **GET** /storage-systems/{pk} |
|
161
|
+
*AutosdeOpenapiClient::StorageSystemApi* | [**storage_systems_pk_put**](docs/StorageSystemApi.md#storage_systems_pk_put) | **PUT** /storage-systems/{pk} |
|
161
162
|
*AutosdeOpenapiClient::StorageSystemApi* | [**storage_systems_post**](docs/StorageSystemApi.md#storage_systems_post) | **POST** /storage-systems/ |
|
162
163
|
*AutosdeOpenapiClient::SystemTypeApi* | [**system_types_get**](docs/SystemTypeApi.md#system_types_get) | **GET** /system-types/ |
|
163
164
|
*AutosdeOpenapiClient::SystemTypeApi* | [**system_types_pk_delete**](docs/SystemTypeApi.md#system_types_pk_delete) | **DELETE** /system-types/{pk} |
|
data/docs/StorageSystem.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
| **component_state** | **String** | component_state | [optional] |
|
9
9
|
| **management_ip** | **String** | management_ip | [optional] |
|
10
10
|
| **name** | **String** | name | [optional] |
|
11
|
+
| **status** | **String** | status | [optional] |
|
11
12
|
| **storage_array** | **String** | storage_array | [optional] |
|
12
13
|
| **storage_family** | **String** | storage_family | [optional] |
|
13
14
|
| **system_type** | [**SystemType**](SystemType.md) | | [optional] |
|
@@ -23,6 +24,7 @@ instance = AutosdeOpenapiClient::StorageSystem.new(
|
|
23
24
|
component_state: null,
|
24
25
|
management_ip: null,
|
25
26
|
name: null,
|
27
|
+
status: null,
|
26
28
|
storage_array: null,
|
27
29
|
storage_family: null,
|
28
30
|
system_type: null,
|
data/docs/StorageSystemApi.md
CHANGED
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
|
7
7
|
| [**storage_systems_get**](StorageSystemApi.md#storage_systems_get) | **GET** /storage-systems/ | |
|
8
8
|
| [**storage_systems_pk_delete**](StorageSystemApi.md#storage_systems_pk_delete) | **DELETE** /storage-systems/{pk} | |
|
9
9
|
| [**storage_systems_pk_get**](StorageSystemApi.md#storage_systems_pk_get) | **GET** /storage-systems/{pk} | |
|
10
|
+
| [**storage_systems_pk_put**](StorageSystemApi.md#storage_systems_pk_put) | **PUT** /storage-systems/{pk} | |
|
10
11
|
| [**storage_systems_post**](StorageSystemApi.md#storage_systems_post) | **POST** /storage-systems/ | |
|
11
12
|
|
12
13
|
|
@@ -208,6 +209,75 @@ end
|
|
208
209
|
- **Accept**: */*
|
209
210
|
|
210
211
|
|
212
|
+
## storage_systems_pk_put
|
213
|
+
|
214
|
+
> <StorageSystem> storage_systems_pk_put(pk, storage_system)
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
### Examples
|
219
|
+
|
220
|
+
```ruby
|
221
|
+
require 'time'
|
222
|
+
require 'autosde_openapi_client'
|
223
|
+
# setup authorization
|
224
|
+
AutosdeOpenapiClient.configure do |config|
|
225
|
+
# Configure Bearer authorization: bearerAuth
|
226
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
227
|
+
end
|
228
|
+
|
229
|
+
api_instance = AutosdeOpenapiClient::StorageSystemApi.new
|
230
|
+
pk = 56 # Integer |
|
231
|
+
storage_system = AutosdeOpenapiClient::StorageSystem.new # StorageSystem |
|
232
|
+
|
233
|
+
begin
|
234
|
+
|
235
|
+
result = api_instance.storage_systems_pk_put(pk, storage_system)
|
236
|
+
p result
|
237
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
238
|
+
puts "Error when calling StorageSystemApi->storage_systems_pk_put: #{e}"
|
239
|
+
end
|
240
|
+
```
|
241
|
+
|
242
|
+
#### Using the storage_systems_pk_put_with_http_info variant
|
243
|
+
|
244
|
+
This returns an Array which contains the response data, status code and headers.
|
245
|
+
|
246
|
+
> <Array(<StorageSystem>, Integer, Hash)> storage_systems_pk_put_with_http_info(pk, storage_system)
|
247
|
+
|
248
|
+
```ruby
|
249
|
+
begin
|
250
|
+
|
251
|
+
data, status_code, headers = api_instance.storage_systems_pk_put_with_http_info(pk, storage_system)
|
252
|
+
p status_code # => 2xx
|
253
|
+
p headers # => { ... }
|
254
|
+
p data # => <StorageSystem>
|
255
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
256
|
+
puts "Error when calling StorageSystemApi->storage_systems_pk_put_with_http_info: #{e}"
|
257
|
+
end
|
258
|
+
```
|
259
|
+
|
260
|
+
### Parameters
|
261
|
+
|
262
|
+
| Name | Type | Description | Notes |
|
263
|
+
| ---- | ---- | ----------- | ----- |
|
264
|
+
| **pk** | **Integer** | | |
|
265
|
+
| **storage_system** | [**StorageSystem**](StorageSystem.md) | | |
|
266
|
+
|
267
|
+
### Return type
|
268
|
+
|
269
|
+
[**StorageSystem**](StorageSystem.md)
|
270
|
+
|
271
|
+
### Authorization
|
272
|
+
|
273
|
+
[bearerAuth](../README.md#bearerAuth)
|
274
|
+
|
275
|
+
### HTTP request headers
|
276
|
+
|
277
|
+
- **Content-Type**: application/json
|
278
|
+
- **Accept**: */*
|
279
|
+
|
280
|
+
|
211
281
|
## storage_systems_post
|
212
282
|
|
213
283
|
> <StorageSystem> storage_systems_post(storage_system_create)
|
data/docs/StorageSystemCreate.md
CHANGED
@@ -15,6 +15,7 @@
|
|
15
15
|
| **password** | **String** | password | [optional] |
|
16
16
|
| **port_type** | **String** | port_type | [optional] |
|
17
17
|
| **secondary_ip** | **String** | secondary_ip | [optional] |
|
18
|
+
| **status** | **String** | status | [optional] |
|
18
19
|
| **storage_array** | **String** | storage_array | [optional] |
|
19
20
|
| **storage_driver** | **String** | storage_driver | [optional] |
|
20
21
|
| **storage_family** | **String** | storage_family | [optional] |
|
@@ -39,6 +40,7 @@ instance = AutosdeOpenapiClient::StorageSystemCreate.new(
|
|
39
40
|
password: null,
|
40
41
|
port_type: null,
|
41
42
|
secondary_ip: null,
|
43
|
+
status: null,
|
42
44
|
storage_array: null,
|
43
45
|
storage_driver: null,
|
44
46
|
storage_family: null,
|
data/docs/Volume.md
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
| **name** | **String** | name | [optional] |
|
11
11
|
| **service** | [**Service**](Service.md) | | [optional] |
|
12
12
|
| **size** | **Integer** | size | [optional] |
|
13
|
+
| **status** | **String** | status | [optional] |
|
13
14
|
| **storage_resource** | [**StorageResource**](StorageResource.md) | | [optional] |
|
14
15
|
| **unmapped_since** | **Time** | unmapped_since | [optional] |
|
15
16
|
| **uuid** | **String** | uuid | [optional] |
|
@@ -26,6 +27,7 @@ instance = AutosdeOpenapiClient::Volume.new(
|
|
26
27
|
name: null,
|
27
28
|
service: null,
|
28
29
|
size: null,
|
30
|
+
status: null,
|
29
31
|
storage_resource: null,
|
30
32
|
unmapped_since: null,
|
31
33
|
uuid: null
|
data/docs/VolumeCreate.md
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
| **name** | **String** | name | [optional] |
|
10
10
|
| **service** | **String** | !!uuid of service | [optional] |
|
11
11
|
| **size** | **Integer** | size | [optional] |
|
12
|
+
| **status** | **String** | status | [optional] |
|
12
13
|
| **unmapped_since** | **Time** | unmapped_since | [optional] |
|
13
14
|
| **uuid** | **String** | uuid | [optional] |
|
14
15
|
|
@@ -23,6 +24,7 @@ instance = AutosdeOpenapiClient::VolumeCreate.new(
|
|
23
24
|
name: null,
|
24
25
|
service: null,
|
25
26
|
size: null,
|
27
|
+
status: null,
|
26
28
|
unmapped_since: null,
|
27
29
|
uuid: null
|
28
30
|
)
|
data/docs/VolumeResponse.md
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
| **name** | **String** | name | [optional] |
|
11
11
|
| **service** | **String** | !!uuid of service | [optional] |
|
12
12
|
| **size** | **Integer** | size | [optional] |
|
13
|
+
| **status** | **String** | status | [optional] |
|
13
14
|
| **storage_resource** | **String** | !!uuid of storage_resource | [optional] |
|
14
15
|
| **unmapped_since** | **Time** | unmapped_since | [optional] |
|
15
16
|
| **uuid** | **String** | uuid | [optional] |
|
@@ -26,6 +27,7 @@ instance = AutosdeOpenapiClient::VolumeResponse.new(
|
|
26
27
|
name: null,
|
27
28
|
service: null,
|
28
29
|
size: null,
|
30
|
+
status: null,
|
29
31
|
storage_resource: null,
|
30
32
|
unmapped_since: null,
|
31
33
|
uuid: null
|
@@ -190,6 +190,73 @@ module AutosdeOpenapiClient
|
|
190
190
|
return data, status_code, headers
|
191
191
|
end
|
192
192
|
|
193
|
+
# @param pk [Integer]
|
194
|
+
# @param storage_system [StorageSystem]
|
195
|
+
# @param [Hash] opts the optional parameters
|
196
|
+
# @return [StorageSystem]
|
197
|
+
def storage_systems_pk_put(pk, storage_system, opts = {})
|
198
|
+
data, _status_code, _headers = storage_systems_pk_put_with_http_info(pk, storage_system, opts)
|
199
|
+
data
|
200
|
+
end
|
201
|
+
|
202
|
+
# @param pk [Integer]
|
203
|
+
# @param storage_system [StorageSystem]
|
204
|
+
# @param [Hash] opts the optional parameters
|
205
|
+
# @return [Array<(StorageSystem, Integer, Hash)>] StorageSystem data, response status code and response headers
|
206
|
+
def storage_systems_pk_put_with_http_info(pk, storage_system, opts = {})
|
207
|
+
if @api_client.config.debugging
|
208
|
+
@api_client.config.logger.debug 'Calling API: StorageSystemApi.storage_systems_pk_put ...'
|
209
|
+
end
|
210
|
+
# verify the required parameter 'pk' is set
|
211
|
+
if @api_client.config.client_side_validation && pk.nil?
|
212
|
+
fail ArgumentError, "Missing the required parameter 'pk' when calling StorageSystemApi.storage_systems_pk_put"
|
213
|
+
end
|
214
|
+
# verify the required parameter 'storage_system' is set
|
215
|
+
if @api_client.config.client_side_validation && storage_system.nil?
|
216
|
+
fail ArgumentError, "Missing the required parameter 'storage_system' when calling StorageSystemApi.storage_systems_pk_put"
|
217
|
+
end
|
218
|
+
# resource path
|
219
|
+
local_var_path = '/storage-systems/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
|
220
|
+
|
221
|
+
# query parameters
|
222
|
+
query_params = opts[:query_params] || {}
|
223
|
+
|
224
|
+
# header parameters
|
225
|
+
header_params = opts[:header_params] || {}
|
226
|
+
# HTTP header 'Accept' (if needed)
|
227
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
228
|
+
# HTTP header 'Content-Type'
|
229
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
230
|
+
|
231
|
+
# form parameters
|
232
|
+
form_params = opts[:form_params] || {}
|
233
|
+
|
234
|
+
# http body (model)
|
235
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_system)
|
236
|
+
|
237
|
+
# return_type
|
238
|
+
return_type = opts[:debug_return_type] || 'StorageSystem'
|
239
|
+
|
240
|
+
# auth_names
|
241
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
242
|
+
|
243
|
+
new_options = opts.merge(
|
244
|
+
:operation => :"StorageSystemApi.storage_systems_pk_put",
|
245
|
+
:header_params => header_params,
|
246
|
+
:query_params => query_params,
|
247
|
+
:form_params => form_params,
|
248
|
+
:body => post_body,
|
249
|
+
:auth_names => auth_names,
|
250
|
+
:return_type => return_type
|
251
|
+
)
|
252
|
+
|
253
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
254
|
+
if @api_client.config.debugging
|
255
|
+
@api_client.config.logger.debug "API called: StorageSystemApi#storage_systems_pk_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
256
|
+
end
|
257
|
+
return data, status_code, headers
|
258
|
+
end
|
259
|
+
|
193
260
|
# @param storage_system_create [StorageSystemCreate]
|
194
261
|
# @param [Hash] opts the optional parameters
|
195
262
|
# @return [StorageSystem]
|
@@ -28,6 +28,9 @@ module AutosdeOpenapiClient
|
|
28
28
|
# name
|
29
29
|
attr_accessor :name
|
30
30
|
|
31
|
+
# status
|
32
|
+
attr_accessor :status
|
33
|
+
|
31
34
|
# storage_array
|
32
35
|
attr_accessor :storage_array
|
33
36
|
|
@@ -68,6 +71,7 @@ module AutosdeOpenapiClient
|
|
68
71
|
:'component_state' => :'component_state',
|
69
72
|
:'management_ip' => :'management_ip',
|
70
73
|
:'name' => :'name',
|
74
|
+
:'status' => :'status',
|
71
75
|
:'storage_array' => :'storage_array',
|
72
76
|
:'storage_family' => :'storage_family',
|
73
77
|
:'system_type' => :'system_type',
|
@@ -87,6 +91,7 @@ module AutosdeOpenapiClient
|
|
87
91
|
:'component_state' => :'String',
|
88
92
|
:'management_ip' => :'String',
|
89
93
|
:'name' => :'String',
|
94
|
+
:'status' => :'String',
|
90
95
|
:'storage_array' => :'String',
|
91
96
|
:'storage_family' => :'String',
|
92
97
|
:'system_type' => :'SystemType',
|
@@ -133,6 +138,10 @@ module AutosdeOpenapiClient
|
|
133
138
|
self.name = attributes[:'name']
|
134
139
|
end
|
135
140
|
|
141
|
+
if attributes.key?(:'status')
|
142
|
+
self.status = attributes[:'status']
|
143
|
+
end
|
144
|
+
|
136
145
|
if attributes.key?(:'storage_array')
|
137
146
|
self.storage_array = attributes[:'storage_array']
|
138
147
|
end
|
@@ -216,6 +225,7 @@ module AutosdeOpenapiClient
|
|
216
225
|
component_state == o.component_state &&
|
217
226
|
management_ip == o.management_ip &&
|
218
227
|
name == o.name &&
|
228
|
+
status == o.status &&
|
219
229
|
storage_array == o.storage_array &&
|
220
230
|
storage_family == o.storage_family &&
|
221
231
|
system_type == o.system_type &&
|
@@ -231,7 +241,7 @@ module AutosdeOpenapiClient
|
|
231
241
|
# Calculates hash code according to all attributes.
|
232
242
|
# @return [Integer] Hash code
|
233
243
|
def hash
|
234
|
-
[auto_add_pools, component_state, management_ip, name, storage_array, storage_family, system_type, uuid].hash
|
244
|
+
[auto_add_pools, component_state, management_ip, name, status, storage_array, storage_family, system_type, uuid].hash
|
235
245
|
end
|
236
246
|
|
237
247
|
# Builds the object from hash
|
@@ -48,6 +48,9 @@ module AutosdeOpenapiClient
|
|
48
48
|
# secondary_ip
|
49
49
|
attr_accessor :secondary_ip
|
50
50
|
|
51
|
+
# status
|
52
|
+
attr_accessor :status
|
53
|
+
|
51
54
|
# storage_array
|
52
55
|
attr_accessor :storage_array
|
53
56
|
|
@@ -101,6 +104,7 @@ module AutosdeOpenapiClient
|
|
101
104
|
:'password' => :'password',
|
102
105
|
:'port_type' => :'port_type',
|
103
106
|
:'secondary_ip' => :'secondary_ip',
|
107
|
+
:'status' => :'status',
|
104
108
|
:'storage_array' => :'storage_array',
|
105
109
|
:'storage_driver' => :'storage_driver',
|
106
110
|
:'storage_family' => :'storage_family',
|
@@ -129,6 +133,7 @@ module AutosdeOpenapiClient
|
|
129
133
|
:'password' => :'String',
|
130
134
|
:'port_type' => :'String',
|
131
135
|
:'secondary_ip' => :'String',
|
136
|
+
:'status' => :'String',
|
132
137
|
:'storage_array' => :'String',
|
133
138
|
:'storage_driver' => :'String',
|
134
139
|
:'storage_family' => :'String',
|
@@ -207,6 +212,10 @@ module AutosdeOpenapiClient
|
|
207
212
|
self.secondary_ip = attributes[:'secondary_ip']
|
208
213
|
end
|
209
214
|
|
215
|
+
if attributes.key?(:'status')
|
216
|
+
self.status = attributes[:'status']
|
217
|
+
end
|
218
|
+
|
210
219
|
if attributes.key?(:'storage_array')
|
211
220
|
self.storage_array = attributes[:'storage_array']
|
212
221
|
end
|
@@ -317,6 +326,7 @@ module AutosdeOpenapiClient
|
|
317
326
|
password == o.password &&
|
318
327
|
port_type == o.port_type &&
|
319
328
|
secondary_ip == o.secondary_ip &&
|
329
|
+
status == o.status &&
|
320
330
|
storage_array == o.storage_array &&
|
321
331
|
storage_driver == o.storage_driver &&
|
322
332
|
storage_family == o.storage_family &&
|
@@ -334,7 +344,7 @@ module AutosdeOpenapiClient
|
|
334
344
|
# Calculates hash code according to all attributes.
|
335
345
|
# @return [Integer] Hash code
|
336
346
|
def hash
|
337
|
-
[auto_add_pools, auto_setup, chap_name, chap_secret, component_state, iqn, management_ip, name, password, port_type, secondary_ip, storage_array, storage_driver, storage_family, system_type, user, wwpn].hash
|
347
|
+
[auto_add_pools, auto_setup, chap_name, chap_secret, component_state, iqn, management_ip, name, password, port_type, secondary_ip, status, storage_array, storage_driver, storage_family, system_type, user, wwpn].hash
|
338
348
|
end
|
339
349
|
|
340
350
|
# Builds the object from hash
|
@@ -32,6 +32,9 @@ module AutosdeOpenapiClient
|
|
32
32
|
# size
|
33
33
|
attr_accessor :size
|
34
34
|
|
35
|
+
# status
|
36
|
+
attr_accessor :status
|
37
|
+
|
35
38
|
attr_accessor :storage_resource
|
36
39
|
|
37
40
|
# unmapped_since
|
@@ -71,6 +74,7 @@ module AutosdeOpenapiClient
|
|
71
74
|
:'name' => :'name',
|
72
75
|
:'service' => :'service',
|
73
76
|
:'size' => :'size',
|
77
|
+
:'status' => :'status',
|
74
78
|
:'storage_resource' => :'storage_resource',
|
75
79
|
:'unmapped_since' => :'unmapped_since',
|
76
80
|
:'uuid' => :'uuid'
|
@@ -91,6 +95,7 @@ module AutosdeOpenapiClient
|
|
91
95
|
:'name' => :'String',
|
92
96
|
:'service' => :'Service',
|
93
97
|
:'size' => :'Integer',
|
98
|
+
:'status' => :'String',
|
94
99
|
:'storage_resource' => :'StorageResource',
|
95
100
|
:'unmapped_since' => :'Time',
|
96
101
|
:'uuid' => :'String'
|
@@ -144,6 +149,10 @@ module AutosdeOpenapiClient
|
|
144
149
|
self.size = attributes[:'size']
|
145
150
|
end
|
146
151
|
|
152
|
+
if attributes.key?(:'status')
|
153
|
+
self.status = attributes[:'status']
|
154
|
+
end
|
155
|
+
|
147
156
|
if attributes.key?(:'storage_resource')
|
148
157
|
self.storage_resource = attributes[:'storage_resource']
|
149
158
|
end
|
@@ -198,6 +207,7 @@ module AutosdeOpenapiClient
|
|
198
207
|
name == o.name &&
|
199
208
|
service == o.service &&
|
200
209
|
size == o.size &&
|
210
|
+
status == o.status &&
|
201
211
|
storage_resource == o.storage_resource &&
|
202
212
|
unmapped_since == o.unmapped_since &&
|
203
213
|
uuid == o.uuid
|
@@ -212,7 +222,7 @@ module AutosdeOpenapiClient
|
|
212
222
|
# Calculates hash code according to all attributes.
|
213
223
|
# @return [Integer] Hash code
|
214
224
|
def hash
|
215
|
-
[compliant, component_state, historical_service, name, service, size, storage_resource, unmapped_since, uuid].hash
|
225
|
+
[compliant, component_state, historical_service, name, service, size, status, storage_resource, unmapped_since, uuid].hash
|
216
226
|
end
|
217
227
|
|
218
228
|
# Builds the object from hash
|
@@ -31,6 +31,9 @@ module AutosdeOpenapiClient
|
|
31
31
|
# size
|
32
32
|
attr_accessor :size
|
33
33
|
|
34
|
+
# status
|
35
|
+
attr_accessor :status
|
36
|
+
|
34
37
|
# unmapped_since
|
35
38
|
attr_accessor :unmapped_since
|
36
39
|
|
@@ -67,6 +70,7 @@ module AutosdeOpenapiClient
|
|
67
70
|
:'name' => :'name',
|
68
71
|
:'service' => :'service',
|
69
72
|
:'size' => :'size',
|
73
|
+
:'status' => :'status',
|
70
74
|
:'unmapped_since' => :'unmapped_since',
|
71
75
|
:'uuid' => :'uuid'
|
72
76
|
}
|
@@ -85,6 +89,7 @@ module AutosdeOpenapiClient
|
|
85
89
|
:'name' => :'String',
|
86
90
|
:'service' => :'String',
|
87
91
|
:'size' => :'Integer',
|
92
|
+
:'status' => :'String',
|
88
93
|
:'unmapped_since' => :'Time',
|
89
94
|
:'uuid' => :'String'
|
90
95
|
}
|
@@ -133,6 +138,10 @@ module AutosdeOpenapiClient
|
|
133
138
|
self.size = attributes[:'size']
|
134
139
|
end
|
135
140
|
|
141
|
+
if attributes.key?(:'status')
|
142
|
+
self.status = attributes[:'status']
|
143
|
+
end
|
144
|
+
|
136
145
|
if attributes.key?(:'unmapped_since')
|
137
146
|
self.unmapped_since = attributes[:'unmapped_since']
|
138
147
|
end
|
@@ -182,6 +191,7 @@ module AutosdeOpenapiClient
|
|
182
191
|
name == o.name &&
|
183
192
|
service == o.service &&
|
184
193
|
size == o.size &&
|
194
|
+
status == o.status &&
|
185
195
|
unmapped_since == o.unmapped_since &&
|
186
196
|
uuid == o.uuid
|
187
197
|
end
|
@@ -195,7 +205,7 @@ module AutosdeOpenapiClient
|
|
195
205
|
# Calculates hash code according to all attributes.
|
196
206
|
# @return [Integer] Hash code
|
197
207
|
def hash
|
198
|
-
[compliant, component_state, name, service, size, unmapped_since, uuid].hash
|
208
|
+
[compliant, component_state, name, service, size, status, unmapped_since, uuid].hash
|
199
209
|
end
|
200
210
|
|
201
211
|
# Builds the object from hash
|
@@ -33,6 +33,9 @@ module AutosdeOpenapiClient
|
|
33
33
|
# size
|
34
34
|
attr_accessor :size
|
35
35
|
|
36
|
+
# status
|
37
|
+
attr_accessor :status
|
38
|
+
|
36
39
|
# !!uuid of storage_resource
|
37
40
|
attr_accessor :storage_resource
|
38
41
|
|
@@ -73,6 +76,7 @@ module AutosdeOpenapiClient
|
|
73
76
|
:'name' => :'name',
|
74
77
|
:'service' => :'service',
|
75
78
|
:'size' => :'size',
|
79
|
+
:'status' => :'status',
|
76
80
|
:'storage_resource' => :'storage_resource',
|
77
81
|
:'unmapped_since' => :'unmapped_since',
|
78
82
|
:'uuid' => :'uuid'
|
@@ -93,6 +97,7 @@ module AutosdeOpenapiClient
|
|
93
97
|
:'name' => :'String',
|
94
98
|
:'service' => :'String',
|
95
99
|
:'size' => :'Integer',
|
100
|
+
:'status' => :'String',
|
96
101
|
:'storage_resource' => :'String',
|
97
102
|
:'unmapped_since' => :'Time',
|
98
103
|
:'uuid' => :'String'
|
@@ -146,6 +151,10 @@ module AutosdeOpenapiClient
|
|
146
151
|
self.size = attributes[:'size']
|
147
152
|
end
|
148
153
|
|
154
|
+
if attributes.key?(:'status')
|
155
|
+
self.status = attributes[:'status']
|
156
|
+
end
|
157
|
+
|
149
158
|
if attributes.key?(:'storage_resource')
|
150
159
|
self.storage_resource = attributes[:'storage_resource']
|
151
160
|
end
|
@@ -200,6 +209,7 @@ module AutosdeOpenapiClient
|
|
200
209
|
name == o.name &&
|
201
210
|
service == o.service &&
|
202
211
|
size == o.size &&
|
212
|
+
status == o.status &&
|
203
213
|
storage_resource == o.storage_resource &&
|
204
214
|
unmapped_since == o.unmapped_since &&
|
205
215
|
uuid == o.uuid
|
@@ -214,7 +224,7 @@ module AutosdeOpenapiClient
|
|
214
224
|
# Calculates hash code according to all attributes.
|
215
225
|
# @return [Integer] Hash code
|
216
226
|
def hash
|
217
|
-
[compliant, component_state, historical_service, name, service, size, storage_resource, unmapped_since, uuid].hash
|
227
|
+
[compliant, component_state, historical_service, name, service, size, status, storage_resource, unmapped_since, uuid].hash
|
218
228
|
end
|
219
229
|
|
220
230
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Site Manager API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.41
|
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.0.
|
14
|
+
VERSION = '1.0.41'
|
15
15
|
end
|
@@ -61,6 +61,17 @@ describe 'StorageSystemApi' do
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
+
# unit tests for storage_systems_pk_put
|
65
|
+
# @param pk
|
66
|
+
# @param storage_system
|
67
|
+
# @param [Hash] opts the optional parameters
|
68
|
+
# @return [StorageSystem]
|
69
|
+
describe 'storage_systems_pk_put test' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
64
75
|
# unit tests for storage_systems_post
|
65
76
|
# @param storage_system_create
|
66
77
|
# @param [Hash] opts the optional parameters
|
@@ -99,6 +99,12 @@ describe AutosdeOpenapiClient::StorageSystemCreate do
|
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
+
describe 'test attribute "status"' do
|
103
|
+
it 'should work' do
|
104
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
102
108
|
describe 'test attribute "storage_array"' do
|
103
109
|
it 'should work' do
|
104
110
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -53,6 +53,12 @@ describe AutosdeOpenapiClient::StorageSystem do
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
+
describe 'test attribute "status"' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
56
62
|
describe 'test attribute "storage_array"' do
|
57
63
|
it 'should work' do
|
58
64
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -59,6 +59,12 @@ describe AutosdeOpenapiClient::VolumeCreate do
|
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
62
|
+
describe 'test attribute "status"' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
62
68
|
describe 'test attribute "unmapped_since"' do
|
63
69
|
it 'should work' do
|
64
70
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -65,6 +65,12 @@ describe AutosdeOpenapiClient::VolumeResponse do
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
+
describe 'test attribute "status"' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
68
74
|
describe 'test attribute "storage_resource"' do
|
69
75
|
it 'should work' do
|
70
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/volume_spec.rb
CHANGED
@@ -65,6 +65,12 @@ describe AutosdeOpenapiClient::Volume do
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
+
describe 'test attribute "status"' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
68
74
|
describe 'test attribute "storage_resource"' do
|
69
75
|
it 'should work' do
|
70
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autosde_openapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.41
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -310,78 +310,78 @@ signing_key:
|
|
310
310
|
specification_version: 4
|
311
311
|
summary: Site Manager API Ruby Gem
|
312
312
|
test_files:
|
313
|
-
- spec/api/
|
314
|
-
- spec/api/host_volume_connection_api_spec.rb
|
315
|
-
- spec/api/service_resource_attachment_api_spec.rb
|
316
|
-
- spec/api/native_capability_api_spec.rb
|
313
|
+
- spec/api/address_api_spec.rb
|
317
314
|
- spec/api/storage_host_volume_mapping_api_spec.rb
|
318
|
-
- spec/api/
|
319
|
-
- spec/api/
|
320
|
-
- spec/api/profile_api_spec.rb
|
321
|
-
- spec/api/storage_resource_api_spec.rb
|
322
|
-
- spec/api/capability_translation_api_spec.rb
|
315
|
+
- spec/api/native_capability_api_spec.rb
|
316
|
+
- spec/api/abstract_capability_api_spec.rb
|
323
317
|
- spec/api/storage_host_api_spec.rb
|
324
318
|
- spec/api/volume_safe_delete_api_spec.rb
|
325
|
-
- spec/api/
|
326
|
-
- spec/api/auto_sde_role_api_spec.rb
|
327
|
-
- spec/api/host_api_spec.rb
|
319
|
+
- spec/api/authentication_api_spec.rb
|
328
320
|
- spec/api/account_api_spec.rb
|
329
321
|
- spec/api/system_type_api_spec.rb
|
330
|
-
- spec/api/
|
322
|
+
- spec/api/auto_sde_role_api_spec.rb
|
323
|
+
- spec/api/storage_system_api_spec.rb
|
324
|
+
- spec/api/snapshot_api_spec.rb
|
331
325
|
- spec/api/provisioning_strategy_api_spec.rb
|
326
|
+
- spec/api/service_api_spec.rb
|
332
327
|
- spec/api/job_api_spec.rb
|
328
|
+
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
329
|
+
- spec/api/host_api_spec.rb
|
330
|
+
- spec/api/capability_translation_api_spec.rb
|
331
|
+
- spec/api/storage_resource_api_spec.rb
|
333
332
|
- spec/api/auto_sde_project_api_spec.rb
|
333
|
+
- spec/api/host_volume_connection_api_spec.rb
|
334
|
+
- spec/api/profile_api_spec.rb
|
335
|
+
- spec/api/service_resource_attachment_api_spec.rb
|
334
336
|
- spec/api/volume_api_spec.rb
|
335
|
-
- spec/api/service_api_spec.rb
|
336
|
-
- spec/api/abstract_capability_api_spec.rb
|
337
337
|
- spec/api_client_spec.rb
|
338
338
|
- spec/configuration_spec.rb
|
339
|
-
- spec/models/
|
340
|
-
- spec/models/
|
341
|
-
- spec/models/
|
342
|
-
- spec/models/abstract_capability_spec.rb
|
343
|
-
- spec/models/storage_resource_create_spec.rb
|
344
|
-
- spec/models/snapshot_create_spec.rb
|
345
|
-
- spec/models/job_spec.rb
|
339
|
+
- spec/models/volume_create_spec.rb
|
340
|
+
- spec/models/host_volume_connection_create_spec.rb
|
341
|
+
- spec/models/address_spec.rb
|
346
342
|
- spec/models/host_create_spec.rb
|
347
|
-
- spec/models/
|
348
|
-
- spec/models/volume_spec.rb
|
349
|
-
- spec/models/volume_safe_delete_spec.rb
|
343
|
+
- spec/models/address_create_spec.rb
|
350
344
|
- spec/models/storage_resource_response_spec.rb
|
351
|
-
- spec/models/volume_response_spec.rb
|
352
|
-
- spec/models/system_type_create_spec.rb
|
353
|
-
- spec/models/profile_spec.rb
|
354
|
-
- spec/models/capability_translation_create_spec.rb
|
355
345
|
- spec/models/snapshot_spec.rb
|
346
|
+
- spec/models/native_capability_spec.rb
|
347
|
+
- spec/models/authentication_spec.rb
|
348
|
+
- spec/models/system_type_create_spec.rb
|
349
|
+
- spec/models/storage_resource_spec.rb
|
350
|
+
- spec/models/storage_host_update_spec.rb
|
356
351
|
- spec/models/provisioning_strategy_spec.rb
|
357
|
-
- spec/models/service_spec.rb
|
358
|
-
- spec/models/host_volume_connection_spec.rb
|
359
|
-
- spec/models/auto_sde_role_spec.rb
|
360
|
-
- spec/models/host_spec.rb
|
361
|
-
- spec/models/host_volume_connection_create_spec.rb
|
362
352
|
- spec/models/account_post_request_spec.rb
|
363
|
-
- spec/models/
|
364
|
-
- spec/models/
|
365
|
-
- spec/models/job_create_spec.rb
|
353
|
+
- spec/models/volume_spec.rb
|
354
|
+
- spec/models/account_spec.rb
|
366
355
|
- spec/models/storage_host_volume_mapping_create_spec.rb
|
367
|
-
- spec/models/
|
368
|
-
- spec/models/
|
369
|
-
- spec/models/
|
356
|
+
- spec/models/service_create_spec.rb
|
357
|
+
- spec/models/capability_translation_spec.rb
|
358
|
+
- spec/models/host_volume_connection_spec.rb
|
359
|
+
- spec/models/volume_safe_delete_spec.rb
|
360
|
+
- spec/models/auth_response_spec.rb
|
361
|
+
- spec/models/system_type_spec.rb
|
362
|
+
- spec/models/storage_system_spec.rb
|
363
|
+
- spec/models/snapshot_create_spec.rb
|
364
|
+
- spec/models/storage_host_response_spec.rb
|
365
|
+
- spec/models/job_create_spec.rb
|
366
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
367
|
+
- spec/models/storage_resource_create_spec.rb
|
368
|
+
- spec/models/job_spec.rb
|
370
369
|
- spec/models/storage_host_spec.rb
|
371
|
-
- spec/models/
|
370
|
+
- spec/models/storage_host_create_spec.rb
|
371
|
+
- spec/models/host_spec.rb
|
372
|
+
- spec/models/abstract_capability_spec.rb
|
372
373
|
- spec/models/volume_safe_delete_create_spec.rb
|
373
|
-
- spec/models/
|
374
|
-
- spec/models/
|
375
|
-
- spec/models/
|
376
|
-
- spec/models/
|
374
|
+
- spec/models/service_spec.rb
|
375
|
+
- spec/models/volume_response_spec.rb
|
376
|
+
- spec/models/service_resource_attachment_spec.rb
|
377
|
+
- spec/models/storage_host_volume_mapping_response_spec.rb
|
377
378
|
- spec/models/account_post_response_spec.rb
|
378
|
-
- spec/models/
|
379
|
-
- spec/models/
|
380
|
-
- spec/models/
|
379
|
+
- spec/models/volume_update_spec.rb
|
380
|
+
- spec/models/auto_sde_role_spec.rb
|
381
|
+
- spec/models/capability_translation_create_spec.rb
|
381
382
|
- spec/models/storage_host_volume_mapping_spec.rb
|
382
|
-
- spec/models/
|
383
|
-
- spec/models/
|
384
|
-
- spec/models/
|
385
|
-
- spec/models/
|
386
|
-
- spec/models/account_spec.rb
|
383
|
+
- spec/models/storage_host_wwpn_candidates_spec.rb
|
384
|
+
- spec/models/profile_spec.rb
|
385
|
+
- spec/models/storage_system_create_spec.rb
|
386
|
+
- spec/models/auto_sde_project_spec.rb
|
387
387
|
- spec/spec_helper.rb
|