autosde_openapi_client 1.0.26 → 1.0.30
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/README.md +2 -0
- data/docs/StorageHost.md +4 -0
- data/docs/StorageHostCreate.md +4 -0
- data/docs/StorageHostResponse.md +4 -0
- data/docs/StorageHostWWPNCandidates.md +20 -0
- data/docs/StorageHostWWPNCandidatesApi.md +72 -0
- data/lib/autosde_openapi_client.rb +2 -0
- data/lib/autosde_openapi_client/api/storage_host_wwpn_candidates_api.rb +75 -0
- data/lib/autosde_openapi_client/models/storage_host.rb +21 -1
- data/lib/autosde_openapi_client/models/storage_host_create.rb +21 -1
- data/lib/autosde_openapi_client/models/storage_host_response.rb +21 -1
- data/lib/autosde_openapi_client/models/storage_host_wwpn_candidates.rb +230 -0
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/spec/api/abstract_capability_api_spec.rb +4 -4
- data/spec/api/account_api_spec.rb +4 -4
- data/spec/api/address_api_spec.rb +4 -4
- data/spec/api/authentication_api_spec.rb +4 -4
- data/spec/api/auto_sde_project_api_spec.rb +4 -4
- data/spec/api/auto_sde_role_api_spec.rb +4 -4
- data/spec/api/capability_translation_api_spec.rb +4 -4
- data/spec/api/host_api_spec.rb +4 -4
- data/spec/api/host_volume_connection_api_spec.rb +4 -4
- data/spec/api/job_api_spec.rb +4 -4
- data/spec/api/native_capability_api_spec.rb +4 -4
- data/spec/api/profile_api_spec.rb +4 -4
- data/spec/api/provisioning_strategy_api_spec.rb +4 -4
- data/spec/api/service_api_spec.rb +4 -4
- data/spec/api/service_resource_attachment_api_spec.rb +4 -4
- data/spec/api/snapshot_api_spec.rb +4 -4
- data/spec/api/storage_host_api_spec.rb +4 -4
- data/spec/api/storage_host_volume_mapping_api_spec.rb +8 -8
- data/spec/api/storage_host_wwpn_candidates_api_spec.rb +44 -0
- data/spec/api/storage_resource_api_spec.rb +4 -4
- data/spec/api/storage_system_api_spec.rb +4 -4
- data/spec/api/system_type_api_spec.rb +4 -4
- data/spec/api/volume_api_spec.rb +4 -4
- data/spec/api/volume_safe_delete_api_spec.rb +4 -4
- data/spec/models/abstract_capability_spec.rb +5 -5
- data/spec/models/account_post_request_spec.rb +5 -5
- data/spec/models/account_post_response_spec.rb +5 -5
- data/spec/models/account_spec.rb +5 -5
- data/spec/models/address_create_spec.rb +5 -5
- data/spec/models/address_spec.rb +5 -5
- data/spec/models/auth_response_spec.rb +5 -5
- data/spec/models/authentication_spec.rb +5 -5
- data/spec/models/auto_sde_project_spec.rb +5 -5
- data/spec/models/auto_sde_role_spec.rb +5 -5
- data/spec/models/capability_translation_create_spec.rb +5 -5
- data/spec/models/capability_translation_spec.rb +5 -5
- data/spec/models/host_create_spec.rb +5 -5
- data/spec/models/host_spec.rb +5 -5
- data/spec/models/host_volume_connection_create_spec.rb +5 -5
- data/spec/models/host_volume_connection_spec.rb +5 -5
- data/spec/models/job_create_spec.rb +5 -5
- data/spec/models/job_spec.rb +5 -5
- data/spec/models/native_capability_spec.rb +5 -5
- data/spec/models/profile_spec.rb +5 -5
- data/spec/models/provisioning_strategy_spec.rb +5 -5
- data/spec/models/service_abstract_capability_value_spec.rb +5 -5
- data/spec/models/service_create_spec.rb +5 -5
- data/spec/models/service_resource_attachment_spec.rb +5 -5
- data/spec/models/service_spec.rb +5 -5
- data/spec/models/snapshot_create_spec.rb +5 -5
- data/spec/models/snapshot_spec.rb +5 -5
- data/spec/models/storage_host_create_spec.rb +17 -5
- data/spec/models/storage_host_response_spec.rb +17 -5
- data/spec/models/storage_host_spec.rb +17 -5
- data/spec/models/storage_host_update_spec.rb +5 -5
- data/spec/models/storage_host_volume_mapping_create_spec.rb +5 -5
- data/spec/models/storage_host_volume_mapping_spec.rb +5 -5
- data/spec/models/storage_host_wwpn_candidates_spec.rb +40 -0
- data/spec/models/storage_resource_create_spec.rb +5 -5
- data/spec/models/storage_resource_response_spec.rb +5 -5
- data/spec/models/storage_resource_spec.rb +5 -5
- data/spec/models/storage_system_create_spec.rb +5 -5
- data/spec/models/storage_system_spec.rb +11 -5
- data/spec/models/system_type_create_spec.rb +5 -5
- data/spec/models/system_type_spec.rb +5 -5
- data/spec/models/volume_create_spec.rb +5 -5
- data/spec/models/volume_response_spec.rb +5 -5
- data/spec/models/volume_safe_delete_create_spec.rb +5 -5
- data/spec/models/volume_safe_delete_spec.rb +5 -5
- data/spec/models/volume_spec.rb +5 -5
- data/spec/models/volume_update_spec.rb +5 -5
- metadata +72 -64
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 032d05b30548186f5252f536d968aa41014daf9278ef266293204a1afd01f45b
|
|
4
|
+
data.tar.gz: 320d3f21f4a7ca7a925d840aad4a537c014a85dbeb281bf34a8888525c7d79b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 907f9581a2e70a288880d8969c5dcff0eccc95cdbff267012322a8b45fe6a6da4a3845de9989089ce0bf216f7b93a805c87de00da820848e8c39f4fddc8eb923
|
|
7
|
+
data.tar.gz: 69d3338aaa0e0d60ccae3970cdc22d7eac4ce5119b46f56f5a460efcde9ae5645e03f2a3204fb25403d7424cb44717b27786c9c64bad037157a634f03fe21160
|
data/README.md
CHANGED
|
@@ -149,6 +149,7 @@ Class | Method | HTTP request | Description
|
|
|
149
149
|
*AutosdeOpenapiClient::StorageHostVolumeMappingApi* | [**storage_hosts_mapping_pk_delete**](docs/StorageHostVolumeMappingApi.md#storage_hosts_mapping_pk_delete) | **DELETE** /storage-hosts-mapping/{pk} |
|
|
150
150
|
*AutosdeOpenapiClient::StorageHostVolumeMappingApi* | [**storage_hosts_mapping_pk_get**](docs/StorageHostVolumeMappingApi.md#storage_hosts_mapping_pk_get) | **GET** /storage-hosts-mapping/{pk} |
|
|
151
151
|
*AutosdeOpenapiClient::StorageHostVolumeMappingApi* | [**storage_hosts_mapping_post**](docs/StorageHostVolumeMappingApi.md#storage_hosts_mapping_post) | **POST** /storage-hosts-mapping |
|
|
152
|
+
*AutosdeOpenapiClient::StorageHostWWPNCandidatesApi* | [**storage_hosts_wwpn_candidates_get**](docs/StorageHostWWPNCandidatesApi.md#storage_hosts_wwpn_candidates_get) | **GET** /storage-hosts-wwpn-candidates |
|
|
152
153
|
*AutosdeOpenapiClient::StorageResourceApi* | [**storage_resources_get**](docs/StorageResourceApi.md#storage_resources_get) | **GET** /storage-resources/ |
|
|
153
154
|
*AutosdeOpenapiClient::StorageResourceApi* | [**storage_resources_pk_delete**](docs/StorageResourceApi.md#storage_resources_pk_delete) | **DELETE** /storage-resources/{pk} |
|
|
154
155
|
*AutosdeOpenapiClient::StorageResourceApi* | [**storage_resources_pk_get**](docs/StorageResourceApi.md#storage_resources_pk_get) | **GET** /storage-resources/{pk} |
|
|
@@ -209,6 +210,7 @@ Class | Method | HTTP request | Description
|
|
|
209
210
|
- [AutosdeOpenapiClient::StorageHostVolumeMapping](docs/StorageHostVolumeMapping.md)
|
|
210
211
|
- [AutosdeOpenapiClient::StorageHostVolumeMappingCreate](docs/StorageHostVolumeMappingCreate.md)
|
|
211
212
|
- [AutosdeOpenapiClient::StorageHostVolumeMappingResponse](docs/StorageHostVolumeMappingResponse.md)
|
|
213
|
+
- [AutosdeOpenapiClient::StorageHostWWPNCandidates](docs/StorageHostWWPNCandidates.md)
|
|
212
214
|
- [AutosdeOpenapiClient::StorageResource](docs/StorageResource.md)
|
|
213
215
|
- [AutosdeOpenapiClient::StorageResourceCreate](docs/StorageResourceCreate.md)
|
|
214
216
|
- [AutosdeOpenapiClient::StorageResourceResponse](docs/StorageResourceResponse.md)
|
data/docs/StorageHost.md
CHANGED
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **component_state** | **String** | component_state | [optional] |
|
|
8
8
|
| **description** | **String** | description | [optional] |
|
|
9
|
+
| **host_cluster_name** | **String** | host_cluster_name | [optional] |
|
|
9
10
|
| **io_groups** | **String** | io_groups | [optional] |
|
|
10
11
|
| **name** | **String** | The Storage Host Name | [optional] |
|
|
12
|
+
| **status** | **String** | status | [optional] |
|
|
11
13
|
| **storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional] |
|
|
12
14
|
| **uuid** | **String** | uuid | [optional] |
|
|
13
15
|
| **volumes** | [**Volume**](Volume.md) | | [optional] |
|
|
@@ -20,8 +22,10 @@ require 'autosde_openapi_client'
|
|
|
20
22
|
instance = AutosdeOpenapiClient::StorageHost.new(
|
|
21
23
|
component_state: null,
|
|
22
24
|
description: null,
|
|
25
|
+
host_cluster_name: null,
|
|
23
26
|
io_groups: null,
|
|
24
27
|
name: null,
|
|
28
|
+
status: null,
|
|
25
29
|
storage_system: null,
|
|
26
30
|
uuid: null,
|
|
27
31
|
volumes: null
|
data/docs/StorageHostCreate.md
CHANGED
|
@@ -8,10 +8,12 @@
|
|
|
8
8
|
| **chap_secret** | **String** | chap_secret | [optional] |
|
|
9
9
|
| **component_state** | **String** | component_state | [optional] |
|
|
10
10
|
| **description** | **String** | description | [optional] |
|
|
11
|
+
| **host_cluster_name** | **String** | host_cluster_name | [optional] |
|
|
11
12
|
| **io_groups** | **String** | io_groups | [optional] |
|
|
12
13
|
| **iqn** | **String** | | [optional] |
|
|
13
14
|
| **name** | **String** | The Storage Host Name | [optional] |
|
|
14
15
|
| **port_type** | **String** | port_type | [optional] |
|
|
16
|
+
| **status** | **String** | status | [optional] |
|
|
15
17
|
| **storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional] |
|
|
16
18
|
| **volumes** | [**Volume**](Volume.md) | | [optional] |
|
|
17
19
|
| **wwpn** | **String** | wwpn | [optional] |
|
|
@@ -26,10 +28,12 @@ instance = AutosdeOpenapiClient::StorageHostCreate.new(
|
|
|
26
28
|
chap_secret: null,
|
|
27
29
|
component_state: null,
|
|
28
30
|
description: null,
|
|
31
|
+
host_cluster_name: null,
|
|
29
32
|
io_groups: null,
|
|
30
33
|
iqn: null,
|
|
31
34
|
name: null,
|
|
32
35
|
port_type: null,
|
|
36
|
+
status: null,
|
|
33
37
|
storage_system: null,
|
|
34
38
|
volumes: null,
|
|
35
39
|
wwpn: null
|
data/docs/StorageHostResponse.md
CHANGED
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
| **addresses** | [**Array<Address>**](Address.md) | addresses | [optional] |
|
|
8
8
|
| **component_state** | **String** | component_state | [optional] |
|
|
9
9
|
| **description** | **String** | description | [optional] |
|
|
10
|
+
| **host_cluster_name** | **String** | host_cluster_name | [optional] |
|
|
10
11
|
| **io_groups** | **String** | io_groups | [optional] |
|
|
11
12
|
| **name** | **String** | The Storage Host Name | [optional] |
|
|
13
|
+
| **status** | **String** | status | [optional] |
|
|
12
14
|
| **storage_system** | **String** | !!uuid of storage_system | [optional] |
|
|
13
15
|
| **uuid** | **String** | uuid | [optional] |
|
|
14
16
|
| **volumes** | [**Array<Volume>**](Volume.md) | volumes | [optional] |
|
|
@@ -22,8 +24,10 @@ instance = AutosdeOpenapiClient::StorageHostResponse.new(
|
|
|
22
24
|
addresses: null,
|
|
23
25
|
component_state: null,
|
|
24
26
|
description: null,
|
|
27
|
+
host_cluster_name: null,
|
|
25
28
|
io_groups: null,
|
|
26
29
|
name: null,
|
|
30
|
+
status: null,
|
|
27
31
|
storage_system: null,
|
|
28
32
|
uuid: null,
|
|
29
33
|
volumes: null
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# AutosdeOpenapiClient::StorageHostWWPNCandidates
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **system_uuid** | **String** | system_uuid | [optional] |
|
|
8
|
+
| **wwpn** | **String** | wwpn | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'autosde_openapi_client'
|
|
14
|
+
|
|
15
|
+
instance = AutosdeOpenapiClient::StorageHostWWPNCandidates.new(
|
|
16
|
+
system_uuid: null,
|
|
17
|
+
wwpn: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# AutosdeOpenapiClient::StorageHostWWPNCandidatesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**storage_hosts_wwpn_candidates_get**](StorageHostWWPNCandidatesApi.md#storage_hosts_wwpn_candidates_get) | **GET** /storage-hosts-wwpn-candidates | |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## storage_hosts_wwpn_candidates_get
|
|
11
|
+
|
|
12
|
+
> <Array<StorageHostWWPNCandidates>> storage_hosts_wwpn_candidates_get
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Examples
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'time'
|
|
20
|
+
require 'autosde_openapi_client'
|
|
21
|
+
# setup authorization
|
|
22
|
+
AutosdeOpenapiClient.configure do |config|
|
|
23
|
+
# Configure Bearer authorization: bearerAuth
|
|
24
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
api_instance = AutosdeOpenapiClient::StorageHostWWPNCandidatesApi.new
|
|
28
|
+
|
|
29
|
+
begin
|
|
30
|
+
|
|
31
|
+
result = api_instance.storage_hosts_wwpn_candidates_get
|
|
32
|
+
p result
|
|
33
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
|
34
|
+
puts "Error when calling StorageHostWWPNCandidatesApi->storage_hosts_wwpn_candidates_get: #{e}"
|
|
35
|
+
end
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
#### Using the storage_hosts_wwpn_candidates_get_with_http_info variant
|
|
39
|
+
|
|
40
|
+
This returns an Array which contains the response data, status code and headers.
|
|
41
|
+
|
|
42
|
+
> <Array(<Array<StorageHostWWPNCandidates>>, Integer, Hash)> storage_hosts_wwpn_candidates_get_with_http_info
|
|
43
|
+
|
|
44
|
+
```ruby
|
|
45
|
+
begin
|
|
46
|
+
|
|
47
|
+
data, status_code, headers = api_instance.storage_hosts_wwpn_candidates_get_with_http_info
|
|
48
|
+
p status_code # => 2xx
|
|
49
|
+
p headers # => { ... }
|
|
50
|
+
p data # => <Array<StorageHostWWPNCandidates>>
|
|
51
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
|
52
|
+
puts "Error when calling StorageHostWWPNCandidatesApi->storage_hosts_wwpn_candidates_get_with_http_info: #{e}"
|
|
53
|
+
end
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Parameters
|
|
57
|
+
|
|
58
|
+
This endpoint does not need any parameter.
|
|
59
|
+
|
|
60
|
+
### Return type
|
|
61
|
+
|
|
62
|
+
[**Array<StorageHostWWPNCandidates>**](StorageHostWWPNCandidates.md)
|
|
63
|
+
|
|
64
|
+
### Authorization
|
|
65
|
+
|
|
66
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
67
|
+
|
|
68
|
+
### HTTP request headers
|
|
69
|
+
|
|
70
|
+
- **Content-Type**: Not defined
|
|
71
|
+
- **Accept**: */*
|
|
72
|
+
|
|
@@ -51,6 +51,7 @@ require 'autosde_openapi_client/models/storage_host_update'
|
|
|
51
51
|
require 'autosde_openapi_client/models/storage_host_volume_mapping'
|
|
52
52
|
require 'autosde_openapi_client/models/storage_host_volume_mapping_create'
|
|
53
53
|
require 'autosde_openapi_client/models/storage_host_volume_mapping_response'
|
|
54
|
+
require 'autosde_openapi_client/models/storage_host_wwpn_candidates'
|
|
54
55
|
require 'autosde_openapi_client/models/storage_resource'
|
|
55
56
|
require 'autosde_openapi_client/models/storage_resource_create'
|
|
56
57
|
require 'autosde_openapi_client/models/storage_resource_response'
|
|
@@ -84,6 +85,7 @@ require 'autosde_openapi_client/api/service_resource_attachment_api'
|
|
|
84
85
|
require 'autosde_openapi_client/api/snapshot_api'
|
|
85
86
|
require 'autosde_openapi_client/api/storage_host_api'
|
|
86
87
|
require 'autosde_openapi_client/api/storage_host_volume_mapping_api'
|
|
88
|
+
require 'autosde_openapi_client/api/storage_host_wwpn_candidates_api'
|
|
87
89
|
require 'autosde_openapi_client/api/storage_resource_api'
|
|
88
90
|
require 'autosde_openapi_client/api/storage_system_api'
|
|
89
91
|
require 'autosde_openapi_client/api/system_type_api'
|
|
@@ -0,0 +1,75 @@
|
|
|
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 'cgi'
|
|
14
|
+
|
|
15
|
+
module AutosdeOpenapiClient
|
|
16
|
+
class StorageHostWWPNCandidatesApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# @param [Hash] opts the optional parameters
|
|
23
|
+
# @return [Array<StorageHostWWPNCandidates>]
|
|
24
|
+
def storage_hosts_wwpn_candidates_get(opts = {})
|
|
25
|
+
data, _status_code, _headers = storage_hosts_wwpn_candidates_get_with_http_info(opts)
|
|
26
|
+
data
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# @param [Hash] opts the optional parameters
|
|
30
|
+
# @return [Array<(Array<StorageHostWWPNCandidates>, Integer, Hash)>] Array<StorageHostWWPNCandidates> data, response status code and response headers
|
|
31
|
+
def storage_hosts_wwpn_candidates_get_with_http_info(opts = {})
|
|
32
|
+
if @api_client.config.debugging
|
|
33
|
+
@api_client.config.logger.debug 'Calling API: StorageHostWWPNCandidatesApi.storage_hosts_wwpn_candidates_get ...'
|
|
34
|
+
end
|
|
35
|
+
# resource path
|
|
36
|
+
local_var_path = '/storage-hosts-wwpn-candidates'
|
|
37
|
+
|
|
38
|
+
# query parameters
|
|
39
|
+
query_params = opts[:query_params] || {}
|
|
40
|
+
|
|
41
|
+
# header parameters
|
|
42
|
+
header_params = opts[:header_params] || {}
|
|
43
|
+
# HTTP header 'Accept' (if needed)
|
|
44
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
45
|
+
|
|
46
|
+
# form parameters
|
|
47
|
+
form_params = opts[:form_params] || {}
|
|
48
|
+
|
|
49
|
+
# http body (model)
|
|
50
|
+
post_body = opts[:debug_body]
|
|
51
|
+
|
|
52
|
+
# return_type
|
|
53
|
+
return_type = opts[:debug_return_type] || 'Array<StorageHostWWPNCandidates>'
|
|
54
|
+
|
|
55
|
+
# auth_names
|
|
56
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
57
|
+
|
|
58
|
+
new_options = opts.merge(
|
|
59
|
+
:operation => :"StorageHostWWPNCandidatesApi.storage_hosts_wwpn_candidates_get",
|
|
60
|
+
:header_params => header_params,
|
|
61
|
+
:query_params => query_params,
|
|
62
|
+
:form_params => form_params,
|
|
63
|
+
:body => post_body,
|
|
64
|
+
:auth_names => auth_names,
|
|
65
|
+
:return_type => return_type
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
69
|
+
if @api_client.config.debugging
|
|
70
|
+
@api_client.config.logger.debug "API called: StorageHostWWPNCandidatesApi#storage_hosts_wwpn_candidates_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
71
|
+
end
|
|
72
|
+
return data, status_code, headers
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
@@ -22,12 +22,18 @@ module AutosdeOpenapiClient
|
|
|
22
22
|
# description
|
|
23
23
|
attr_accessor :description
|
|
24
24
|
|
|
25
|
+
# host_cluster_name
|
|
26
|
+
attr_accessor :host_cluster_name
|
|
27
|
+
|
|
25
28
|
# io_groups
|
|
26
29
|
attr_accessor :io_groups
|
|
27
30
|
|
|
28
31
|
# The Storage Host Name
|
|
29
32
|
attr_accessor :name
|
|
30
33
|
|
|
34
|
+
# status
|
|
35
|
+
attr_accessor :status
|
|
36
|
+
|
|
31
37
|
attr_accessor :storage_system
|
|
32
38
|
|
|
33
39
|
# uuid
|
|
@@ -62,8 +68,10 @@ module AutosdeOpenapiClient
|
|
|
62
68
|
{
|
|
63
69
|
:'component_state' => :'component_state',
|
|
64
70
|
:'description' => :'description',
|
|
71
|
+
:'host_cluster_name' => :'host_cluster_name',
|
|
65
72
|
:'io_groups' => :'io_groups',
|
|
66
73
|
:'name' => :'name',
|
|
74
|
+
:'status' => :'status',
|
|
67
75
|
:'storage_system' => :'storage_system',
|
|
68
76
|
:'uuid' => :'uuid',
|
|
69
77
|
:'volumes' => :'volumes'
|
|
@@ -80,8 +88,10 @@ module AutosdeOpenapiClient
|
|
|
80
88
|
{
|
|
81
89
|
:'component_state' => :'String',
|
|
82
90
|
:'description' => :'String',
|
|
91
|
+
:'host_cluster_name' => :'String',
|
|
83
92
|
:'io_groups' => :'String',
|
|
84
93
|
:'name' => :'String',
|
|
94
|
+
:'status' => :'String',
|
|
85
95
|
:'storage_system' => :'StorageSystem',
|
|
86
96
|
:'uuid' => :'String',
|
|
87
97
|
:'volumes' => :'Volume'
|
|
@@ -117,6 +127,10 @@ module AutosdeOpenapiClient
|
|
|
117
127
|
self.description = attributes[:'description']
|
|
118
128
|
end
|
|
119
129
|
|
|
130
|
+
if attributes.key?(:'host_cluster_name')
|
|
131
|
+
self.host_cluster_name = attributes[:'host_cluster_name']
|
|
132
|
+
end
|
|
133
|
+
|
|
120
134
|
if attributes.key?(:'io_groups')
|
|
121
135
|
self.io_groups = attributes[:'io_groups']
|
|
122
136
|
end
|
|
@@ -125,6 +139,10 @@ module AutosdeOpenapiClient
|
|
|
125
139
|
self.name = attributes[:'name']
|
|
126
140
|
end
|
|
127
141
|
|
|
142
|
+
if attributes.key?(:'status')
|
|
143
|
+
self.status = attributes[:'status']
|
|
144
|
+
end
|
|
145
|
+
|
|
128
146
|
if attributes.key?(:'storage_system')
|
|
129
147
|
self.storage_system = attributes[:'storage_system']
|
|
130
148
|
end
|
|
@@ -175,8 +193,10 @@ module AutosdeOpenapiClient
|
|
|
175
193
|
self.class == o.class &&
|
|
176
194
|
component_state == o.component_state &&
|
|
177
195
|
description == o.description &&
|
|
196
|
+
host_cluster_name == o.host_cluster_name &&
|
|
178
197
|
io_groups == o.io_groups &&
|
|
179
198
|
name == o.name &&
|
|
199
|
+
status == o.status &&
|
|
180
200
|
storage_system == o.storage_system &&
|
|
181
201
|
uuid == o.uuid &&
|
|
182
202
|
volumes == o.volumes
|
|
@@ -191,7 +211,7 @@ module AutosdeOpenapiClient
|
|
|
191
211
|
# Calculates hash code according to all attributes.
|
|
192
212
|
# @return [Integer] Hash code
|
|
193
213
|
def hash
|
|
194
|
-
[component_state, description, io_groups, name, storage_system, uuid, volumes].hash
|
|
214
|
+
[component_state, description, host_cluster_name, io_groups, name, status, storage_system, uuid, volumes].hash
|
|
195
215
|
end
|
|
196
216
|
|
|
197
217
|
# Builds the object from hash
|
|
@@ -28,6 +28,9 @@ module AutosdeOpenapiClient
|
|
|
28
28
|
# description
|
|
29
29
|
attr_accessor :description
|
|
30
30
|
|
|
31
|
+
# host_cluster_name
|
|
32
|
+
attr_accessor :host_cluster_name
|
|
33
|
+
|
|
31
34
|
# io_groups
|
|
32
35
|
attr_accessor :io_groups
|
|
33
36
|
|
|
@@ -39,6 +42,9 @@ module AutosdeOpenapiClient
|
|
|
39
42
|
# port_type
|
|
40
43
|
attr_accessor :port_type
|
|
41
44
|
|
|
45
|
+
# status
|
|
46
|
+
attr_accessor :status
|
|
47
|
+
|
|
42
48
|
attr_accessor :storage_system
|
|
43
49
|
|
|
44
50
|
attr_accessor :volumes
|
|
@@ -75,10 +81,12 @@ module AutosdeOpenapiClient
|
|
|
75
81
|
:'chap_secret' => :'chap_secret',
|
|
76
82
|
:'component_state' => :'component_state',
|
|
77
83
|
:'description' => :'description',
|
|
84
|
+
:'host_cluster_name' => :'host_cluster_name',
|
|
78
85
|
:'io_groups' => :'io_groups',
|
|
79
86
|
:'iqn' => :'iqn',
|
|
80
87
|
:'name' => :'name',
|
|
81
88
|
:'port_type' => :'port_type',
|
|
89
|
+
:'status' => :'status',
|
|
82
90
|
:'storage_system' => :'storage_system',
|
|
83
91
|
:'volumes' => :'volumes',
|
|
84
92
|
:'wwpn' => :'wwpn'
|
|
@@ -97,10 +105,12 @@ module AutosdeOpenapiClient
|
|
|
97
105
|
:'chap_secret' => :'String',
|
|
98
106
|
:'component_state' => :'String',
|
|
99
107
|
:'description' => :'String',
|
|
108
|
+
:'host_cluster_name' => :'String',
|
|
100
109
|
:'io_groups' => :'String',
|
|
101
110
|
:'iqn' => :'String',
|
|
102
111
|
:'name' => :'String',
|
|
103
112
|
:'port_type' => :'String',
|
|
113
|
+
:'status' => :'String',
|
|
104
114
|
:'storage_system' => :'StorageSystem',
|
|
105
115
|
:'volumes' => :'Volume',
|
|
106
116
|
:'wwpn' => :'String'
|
|
@@ -144,6 +154,10 @@ module AutosdeOpenapiClient
|
|
|
144
154
|
self.description = attributes[:'description']
|
|
145
155
|
end
|
|
146
156
|
|
|
157
|
+
if attributes.key?(:'host_cluster_name')
|
|
158
|
+
self.host_cluster_name = attributes[:'host_cluster_name']
|
|
159
|
+
end
|
|
160
|
+
|
|
147
161
|
if attributes.key?(:'io_groups')
|
|
148
162
|
self.io_groups = attributes[:'io_groups']
|
|
149
163
|
end
|
|
@@ -160,6 +174,10 @@ module AutosdeOpenapiClient
|
|
|
160
174
|
self.port_type = attributes[:'port_type']
|
|
161
175
|
end
|
|
162
176
|
|
|
177
|
+
if attributes.key?(:'status')
|
|
178
|
+
self.status = attributes[:'status']
|
|
179
|
+
end
|
|
180
|
+
|
|
163
181
|
if attributes.key?(:'storage_system')
|
|
164
182
|
self.storage_system = attributes[:'storage_system']
|
|
165
183
|
end
|
|
@@ -224,10 +242,12 @@ module AutosdeOpenapiClient
|
|
|
224
242
|
chap_secret == o.chap_secret &&
|
|
225
243
|
component_state == o.component_state &&
|
|
226
244
|
description == o.description &&
|
|
245
|
+
host_cluster_name == o.host_cluster_name &&
|
|
227
246
|
io_groups == o.io_groups &&
|
|
228
247
|
iqn == o.iqn &&
|
|
229
248
|
name == o.name &&
|
|
230
249
|
port_type == o.port_type &&
|
|
250
|
+
status == o.status &&
|
|
231
251
|
storage_system == o.storage_system &&
|
|
232
252
|
volumes == o.volumes &&
|
|
233
253
|
wwpn == o.wwpn
|
|
@@ -242,7 +262,7 @@ module AutosdeOpenapiClient
|
|
|
242
262
|
# Calculates hash code according to all attributes.
|
|
243
263
|
# @return [Integer] Hash code
|
|
244
264
|
def hash
|
|
245
|
-
[chap_name, chap_secret, component_state, description, io_groups, iqn, name, port_type, storage_system, volumes, wwpn].hash
|
|
265
|
+
[chap_name, chap_secret, component_state, description, host_cluster_name, io_groups, iqn, name, port_type, status, storage_system, volumes, wwpn].hash
|
|
246
266
|
end
|
|
247
267
|
|
|
248
268
|
# Builds the object from hash
|