autosde_openapi_client 1.0.24 → 1.0.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/autosde_openapi_client.gemspec +1 -1
  4. data/docs/StorageHost.md +4 -0
  5. data/docs/StorageHostCreate.md +4 -0
  6. data/docs/StorageHostResponse.md +4 -0
  7. data/docs/StorageHostWWPNCandidates.md +20 -0
  8. data/docs/StorageHostWWPNCandidatesApi.md +72 -0
  9. data/docs/StorageSystem.md +2 -0
  10. data/lib/autosde_openapi_client.rb +2 -0
  11. data/lib/autosde_openapi_client/api/storage_host_wwpn_candidates_api.rb +75 -0
  12. data/lib/autosde_openapi_client/models/storage_host.rb +22 -2
  13. data/lib/autosde_openapi_client/models/storage_host_create.rb +21 -1
  14. data/lib/autosde_openapi_client/models/storage_host_response.rb +21 -1
  15. data/lib/autosde_openapi_client/models/storage_host_wwpn_candidates.rb +230 -0
  16. data/lib/autosde_openapi_client/models/storage_system.rb +13 -1
  17. data/lib/autosde_openapi_client/version.rb +2 -2
  18. data/spec/api/abstract_capability_api_spec.rb +4 -4
  19. data/spec/api/account_api_spec.rb +4 -4
  20. data/spec/api/address_api_spec.rb +4 -4
  21. data/spec/api/authentication_api_spec.rb +4 -4
  22. data/spec/api/auto_sde_project_api_spec.rb +4 -4
  23. data/spec/api/auto_sde_role_api_spec.rb +4 -4
  24. data/spec/api/capability_translation_api_spec.rb +4 -4
  25. data/spec/api/host_api_spec.rb +4 -4
  26. data/spec/api/host_volume_connection_api_spec.rb +4 -4
  27. data/spec/api/job_api_spec.rb +4 -4
  28. data/spec/api/native_capability_api_spec.rb +4 -4
  29. data/spec/api/profile_api_spec.rb +4 -4
  30. data/spec/api/provisioning_strategy_api_spec.rb +4 -4
  31. data/spec/api/service_api_spec.rb +4 -4
  32. data/spec/api/service_resource_attachment_api_spec.rb +4 -4
  33. data/spec/api/snapshot_api_spec.rb +4 -4
  34. data/spec/api/storage_host_api_spec.rb +4 -4
  35. data/spec/api/storage_host_volume_mapping_api_spec.rb +8 -8
  36. data/spec/api/storage_host_wwpn_candidates_api_spec.rb +44 -0
  37. data/spec/api/storage_resource_api_spec.rb +4 -4
  38. data/spec/api/storage_system_api_spec.rb +4 -4
  39. data/spec/api/system_type_api_spec.rb +4 -4
  40. data/spec/api/volume_api_spec.rb +4 -4
  41. data/spec/api/volume_safe_delete_api_spec.rb +4 -4
  42. data/spec/models/abstract_capability_spec.rb +5 -5
  43. data/spec/models/account_post_request_spec.rb +5 -5
  44. data/spec/models/account_post_response_spec.rb +5 -5
  45. data/spec/models/account_spec.rb +5 -5
  46. data/spec/models/address_create_spec.rb +5 -5
  47. data/spec/models/address_spec.rb +5 -5
  48. data/spec/models/auth_response_spec.rb +5 -5
  49. data/spec/models/authentication_spec.rb +5 -5
  50. data/spec/models/auto_sde_project_spec.rb +5 -5
  51. data/spec/models/auto_sde_role_spec.rb +5 -5
  52. data/spec/models/capability_translation_create_spec.rb +5 -5
  53. data/spec/models/capability_translation_spec.rb +5 -5
  54. data/spec/models/host_create_spec.rb +5 -5
  55. data/spec/models/host_spec.rb +5 -5
  56. data/spec/models/host_volume_connection_create_spec.rb +5 -5
  57. data/spec/models/host_volume_connection_spec.rb +5 -5
  58. data/spec/models/job_create_spec.rb +5 -5
  59. data/spec/models/job_spec.rb +5 -5
  60. data/spec/models/native_capability_spec.rb +5 -5
  61. data/spec/models/profile_spec.rb +5 -5
  62. data/spec/models/provisioning_strategy_spec.rb +5 -5
  63. data/spec/models/service_abstract_capability_value_spec.rb +5 -5
  64. data/spec/models/service_create_spec.rb +5 -5
  65. data/spec/models/service_resource_attachment_spec.rb +5 -5
  66. data/spec/models/service_spec.rb +5 -5
  67. data/spec/models/snapshot_create_spec.rb +5 -5
  68. data/spec/models/snapshot_spec.rb +5 -5
  69. data/spec/models/storage_host_create_spec.rb +17 -5
  70. data/spec/models/storage_host_response_spec.rb +17 -5
  71. data/spec/models/storage_host_spec.rb +17 -5
  72. data/spec/models/storage_host_update_spec.rb +5 -5
  73. data/spec/models/storage_host_volume_mapping_create_spec.rb +5 -5
  74. data/spec/models/storage_host_volume_mapping_spec.rb +5 -5
  75. data/spec/models/storage_host_wwpn_candidates_spec.rb +40 -0
  76. data/spec/models/storage_resource_create_spec.rb +5 -5
  77. data/spec/models/storage_resource_response_spec.rb +5 -5
  78. data/spec/models/storage_resource_spec.rb +5 -5
  79. data/spec/models/storage_system_create_spec.rb +5 -5
  80. data/spec/models/storage_system_spec.rb +11 -5
  81. data/spec/models/system_type_create_spec.rb +5 -5
  82. data/spec/models/system_type_spec.rb +5 -5
  83. data/spec/models/volume_create_spec.rb +5 -5
  84. data/spec/models/volume_response_spec.rb +5 -5
  85. data/spec/models/volume_safe_delete_create_spec.rb +5 -5
  86. data/spec/models/volume_safe_delete_spec.rb +5 -5
  87. data/spec/models/volume_spec.rb +5 -5
  88. data/spec/models/volume_update_spec.rb +5 -5
  89. metadata +67 -59
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d86153cedebd4dd8437961c752cc75ec70b1e6c44b1f35b536084b8a3a7d0ad7
4
- data.tar.gz: 78bf20f5719e8d873a9df284a5ed97ad332de44f0e2d8bba51d2a76f2cee1dc5
3
+ metadata.gz: 0afc70c84008a122ed74fee7de0eabfe4d791b26d6c4ddd09911045d12d7ddca
4
+ data.tar.gz: b6bea39f274c0194a8188046627c76b0363413f6b7771bd072d83fc2baf9f749
5
5
  SHA512:
6
- metadata.gz: 123c76fafd04eeff51a8c72714c413ba7e5e237c9b06c441ad65a0af3fb9718e454a19373c5997714d74fdfcb507ebf773a9fbe0a22ecf66d2f4c3d6691d7d4f
7
- data.tar.gz: 0dfb2db6bb042f8a4069802f59896b082ab68bca5d14b846a719a0666629b13ba557c86ebd865b6b5dcdd1df289b5f902413690689112050d0d45cdc3a71eed1
6
+ metadata.gz: 27b0e974c75a3a4e32f6d5b4a55dd305c8fb1a70a51a797572f8b91bad7b5ecc95b7f739b05bc7b0b56d650368e816e75d7dc1799aabf95e6dc1fb49b384fc6b
7
+ data.tar.gz: c4194c6978a43f6c7b34729e85616e2dbbe095dafb20b5c2e990e1630ce80369231bee69d6caf7186e3f5fd6004df99941e045bc77f640f7b8a9d7ac40c8e6be
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)
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["OpenAPI-Generator"]
23
23
  s.email = ["autosde@il.ibm.com"]
24
- s.homepage = "https://github.com/Autosde/autosde-oas/blob/main/generated/ruby/autosde_openapi_client.gemspec#L24"
24
+ s.homepage = "https://github.com/Autosde/autosde-oas/"
25
25
  s.summary = "Site Manager API Ruby Gem"
26
26
  s.description = "Site Manager API"
27
27
  s.license = "Apache-2.0"
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
@@ -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
@@ -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&lt;StorageHostWWPNCandidates&gt;**](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
+
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **auto_add_pools** | **Boolean** | auto_add_pools | [optional][default to false] |
7
8
  | **component_state** | **String** | component_state | [optional] |
8
9
  | **management_ip** | **String** | management_ip | [optional] |
9
10
  | **name** | **String** | name | [optional] |
@@ -18,6 +19,7 @@
18
19
  require 'autosde_openapi_client'
19
20
 
20
21
  instance = AutosdeOpenapiClient::StorageSystem.new(
22
+ auto_add_pools: null,
21
23
  component_state: null,
22
24
  management_ip: null,
23
25
  name: null,
@@ -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
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module AutosdeOpenapiClient
17
- # Storage host
17
+ # StorageHost
18
18
  class StorageHost
19
19
  # component_state
20
20
  attr_accessor :component_state
@@ -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