autosde_openapi_client 2.0.4 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f856b8d8f6cb217fdd8590fde9dfe4b9433bb9ce9a333be3adddf0bc805bb280
4
- data.tar.gz: 9ed329cecfc6b86e4b542e38376ccc2b10baf80afb9b61b6e123c34c8aa9a0dd
3
+ metadata.gz: cf939972afe56b5f95761a56cbb0a257a790c2b09d711a75224ca52fbf75ba70
4
+ data.tar.gz: a0b9fc47c3f6f375e67ca50640325231c5d7558ce09db9cfb28eb2ef76fb23c5
5
5
  SHA512:
6
- metadata.gz: 734a25358cb0d966d77e936fa9aa4f83199f1760da24b3bb694c24c843799d17885fe1d21ce6dc2690d9ba61a32f4c7e724fbb69cd0174280767ea58cc978a0c
7
- data.tar.gz: be387f66c20e53f1be93a83108a04bc62734ef187af3ef09c18ea6579e02d1ccf93e3917540738d77e8e29d1fb3035231c143977f7adf09dc26cf45902c4b2c9
6
+ metadata.gz: 9c41e4cf956e8d2afd6ac9af605be25fcaf4122cde39c7afff2ff7fabd89d7f962359ab015ceab3bc8c86623331a751c9afe110c5f46ec0c9cc769f77e3c26e5
7
+ data.tar.gz: 3d3598e596f13f02e58992795092c7eecccf06d419899a305b0577c50374ca9a86ebc8fd4aa4b97cca7286166cdc914cc814987565bab2d7581281a22f9bc415
data/README.md CHANGED
@@ -243,6 +243,7 @@ Class | Method | HTTP request | Description
243
243
  - [AutosdeOpenapiClient::ServiceAbstractCapabilityValueResponse](docs/ServiceAbstractCapabilityValueResponse.md)
244
244
  - [AutosdeOpenapiClient::ServiceCreate](docs/ServiceCreate.md)
245
245
  - [AutosdeOpenapiClient::ServiceResourceAttachment](docs/ServiceResourceAttachment.md)
246
+ - [AutosdeOpenapiClient::ServiceResponse](docs/ServiceResponse.md)
246
247
  - [AutosdeOpenapiClient::Snapshot](docs/Snapshot.md)
247
248
  - [AutosdeOpenapiClient::SnapshotCreate](docs/SnapshotCreate.md)
248
249
  - [AutosdeOpenapiClient::StorageHost](docs/StorageHost.md)
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **uuid** | [**StorageSystem**](StorageSystem.md) | | [optional] |
7
+ | **resource_type** | **String** | resource_type | [optional] |
8
+ | **storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional] |
8
9
 
9
10
  ## Example
10
11
 
@@ -12,7 +13,8 @@
12
13
  require 'autosde_openapi_client'
13
14
 
14
15
  instance = AutosdeOpenapiClient::RefreshSystem.new(
15
- uuid: null
16
+ resource_type: null,
17
+ storage_system: null
16
18
  )
17
19
  ```
18
20
 
data/docs/ServiceApi.md CHANGED
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
13
13
 
14
14
  ## services_get
15
15
 
16
- > <Array<Service>> services_get
16
+ > <Array<ServiceResponse>> services_get
17
17
 
18
18
 
19
19
 
@@ -43,7 +43,7 @@ end
43
43
 
44
44
  This returns an Array which contains the response data, status code and headers.
45
45
 
46
- > <Array(<Array<Service>>, Integer, Hash)> services_get_with_http_info
46
+ > <Array(<Array<ServiceResponse>>, Integer, Hash)> services_get_with_http_info
47
47
 
48
48
  ```ruby
49
49
  begin
@@ -51,7 +51,7 @@ begin
51
51
  data, status_code, headers = api_instance.services_get_with_http_info
52
52
  p status_code # => 2xx
53
53
  p headers # => { ... }
54
- p data # => <Array<Service>>
54
+ p data # => <Array<ServiceResponse>>
55
55
  rescue AutosdeOpenapiClient::ApiError => e
56
56
  puts "Error when calling ServiceApi->services_get_with_http_info: #{e}"
57
57
  end
@@ -63,7 +63,7 @@ This endpoint does not need any parameter.
63
63
 
64
64
  ### Return type
65
65
 
66
- [**Array&lt;Service&gt;**](Service.md)
66
+ [**Array&lt;ServiceResponse&gt;**](ServiceResponse.md)
67
67
 
68
68
  ### Authorization
69
69
 
@@ -77,7 +77,7 @@ This endpoint does not need any parameter.
77
77
 
78
78
  ## services_pk_delete
79
79
 
80
- > <AsyncResponse> services_pk_delete(pk)
80
+ > <Service> services_pk_delete(pk)
81
81
 
82
82
 
83
83
 
@@ -108,7 +108,7 @@ end
108
108
 
109
109
  This returns an Array which contains the response data, status code and headers.
110
110
 
111
- > <Array(<AsyncResponse>, Integer, Hash)> services_pk_delete_with_http_info(pk)
111
+ > <Array(<Service>, Integer, Hash)> services_pk_delete_with_http_info(pk)
112
112
 
113
113
  ```ruby
114
114
  begin
@@ -116,7 +116,7 @@ begin
116
116
  data, status_code, headers = api_instance.services_pk_delete_with_http_info(pk)
117
117
  p status_code # => 2xx
118
118
  p headers # => { ... }
119
- p data # => <AsyncResponse>
119
+ p data # => <Service>
120
120
  rescue AutosdeOpenapiClient::ApiError => e
121
121
  puts "Error when calling ServiceApi->services_pk_delete_with_http_info: #{e}"
122
122
  end
@@ -130,7 +130,7 @@ end
130
130
 
131
131
  ### Return type
132
132
 
133
- [**AsyncResponse**](AsyncResponse.md)
133
+ [**Service**](Service.md)
134
134
 
135
135
  ### Authorization
136
136
 
@@ -280,7 +280,7 @@ end
280
280
 
281
281
  ## services_post
282
282
 
283
- > <AsyncResponse> services_post(service_create)
283
+ > <ServiceResponse> services_post(service_create)
284
284
 
285
285
 
286
286
 
@@ -311,7 +311,7 @@ end
311
311
 
312
312
  This returns an Array which contains the response data, status code and headers.
313
313
 
314
- > <Array(<AsyncResponse>, Integer, Hash)> services_post_with_http_info(service_create)
314
+ > <Array(<ServiceResponse>, Integer, Hash)> services_post_with_http_info(service_create)
315
315
 
316
316
  ```ruby
317
317
  begin
@@ -319,7 +319,7 @@ begin
319
319
  data, status_code, headers = api_instance.services_post_with_http_info(service_create)
320
320
  p status_code # => 2xx
321
321
  p headers # => { ... }
322
- p data # => <AsyncResponse>
322
+ p data # => <ServiceResponse>
323
323
  rescue AutosdeOpenapiClient::ApiError => e
324
324
  puts "Error when calling ServiceApi->services_post_with_http_info: #{e}"
325
325
  end
@@ -333,7 +333,7 @@ end
333
333
 
334
334
  ### Return type
335
335
 
336
- [**AsyncResponse**](AsyncResponse.md)
336
+ [**ServiceResponse**](ServiceResponse.md)
337
337
 
338
338
  ### Authorization
339
339
 
@@ -0,0 +1,38 @@
1
+ # AutosdeOpenapiClient::ServiceResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **capability_values** | [**ServiceAbstractCapabilityValue**](ServiceAbstractCapabilityValue.md) | | [optional] |
8
+ | **capability_values_json** | **String** | capability_values_json | [optional] |
9
+ | **component_state** | **String** | component_state | [optional] |
10
+ | **description** | **String** | description | [optional][default to &#39;&#39;] |
11
+ | **name** | **String** | name | [optional] |
12
+ | **profile** | **String** | !!uuid of profile | [optional] |
13
+ | **project** | **String** | !!uuid of project | [optional] |
14
+ | **provisioning_strategy** | **String** | !!uuid of provisioning_strategy | [optional] |
15
+ | **resource_service** | **Boolean** | resource_service | [optional][default to false] |
16
+ | **uuid** | **String** | uuid | [optional] |
17
+ | **version** | **Integer** | The version of the service | [optional][default to 1] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'autosde_openapi_client'
23
+
24
+ instance = AutosdeOpenapiClient::ServiceResponse.new(
25
+ capability_values: null,
26
+ capability_values_json: null,
27
+ component_state: null,
28
+ description: null,
29
+ name: null,
30
+ profile: null,
31
+ project: null,
32
+ provisioning_strategy: null,
33
+ resource_service: null,
34
+ uuid: null,
35
+ version: null
36
+ )
37
+ ```
38
+
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **advanced_attributes_map** | **String** | advanced_attributes_map | [optional] |
8
+ | **capability_values_json** | **String** | capability_values_json | [optional] |
8
9
  | **component_state** | **String** | component_state | [optional] |
9
10
  | **logical_free** | **Integer** | logical_free | [optional][default to 0] |
10
11
  | **logical_total** | **Integer** | The Total logical capacity of this resource (gb) | [optional][default to 0] |
@@ -21,6 +22,7 @@ require 'autosde_openapi_client'
21
22
 
22
23
  instance = AutosdeOpenapiClient::StorageResourceResponse.new(
23
24
  advanced_attributes_map: null,
25
+ capability_values_json: null,
24
26
  component_state: null,
25
27
  logical_free: null,
26
28
  logical_total: null,
data/docs/VolumeCreate.md CHANGED
@@ -8,7 +8,9 @@
8
8
  | **component_state** | **String** | component_state | [optional] |
9
9
  | **count** | **Integer** | count | [optional][default to 1] |
10
10
  | **name** | **String** | name | [optional] |
11
- | **service** | **String** | !!uuid of service | [optional] |
11
+ | **resources** | **Array&lt;String&gt;** | resources | [optional] |
12
+ | **service** | [**Service**](Service.md) | | [optional] |
13
+ | **service_name** | **String** | service_name | [optional][default to &#39;null&#39;] |
12
14
  | **size** | **Integer** | size | [optional] |
13
15
  | **status** | **String** | status | [optional] |
14
16
  | **unmapped_since** | **Time** | unmapped_since | [optional] |
@@ -25,7 +27,9 @@ instance = AutosdeOpenapiClient::VolumeCreate.new(
25
27
  component_state: null,
26
28
  count: null,
27
29
  name: null,
30
+ resources: null,
28
31
  service: null,
32
+ service_name: null,
29
33
  size: null,
30
34
  status: null,
31
35
  unmapped_since: null,
@@ -20,14 +20,14 @@ module AutosdeOpenapiClient
20
20
  @api_client = api_client
21
21
  end
22
22
  # @param [Hash] opts the optional parameters
23
- # @return [Array<Service>]
23
+ # @return [Array<ServiceResponse>]
24
24
  def services_get(opts = {})
25
25
  data, _status_code, _headers = services_get_with_http_info(opts)
26
26
  data
27
27
  end
28
28
 
29
29
  # @param [Hash] opts the optional parameters
30
- # @return [Array<(Array<Service>, Integer, Hash)>] Array<Service> data, response status code and response headers
30
+ # @return [Array<(Array<ServiceResponse>, Integer, Hash)>] Array<ServiceResponse> data, response status code and response headers
31
31
  def services_get_with_http_info(opts = {})
32
32
  if @api_client.config.debugging
33
33
  @api_client.config.logger.debug 'Calling API: ServiceApi.services_get ...'
@@ -50,7 +50,7 @@ module AutosdeOpenapiClient
50
50
  post_body = opts[:debug_body]
51
51
 
52
52
  # return_type
53
- return_type = opts[:debug_return_type] || 'Array<Service>'
53
+ return_type = opts[:debug_return_type] || 'Array<ServiceResponse>'
54
54
 
55
55
  # auth_names
56
56
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -74,7 +74,7 @@ module AutosdeOpenapiClient
74
74
 
75
75
  # @param pk [Integer]
76
76
  # @param [Hash] opts the optional parameters
77
- # @return [AsyncResponse]
77
+ # @return [Service]
78
78
  def services_pk_delete(pk, opts = {})
79
79
  data, _status_code, _headers = services_pk_delete_with_http_info(pk, opts)
80
80
  data
@@ -82,7 +82,7 @@ module AutosdeOpenapiClient
82
82
 
83
83
  # @param pk [Integer]
84
84
  # @param [Hash] opts the optional parameters
85
- # @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
85
+ # @return [Array<(Service, Integer, Hash)>] Service data, response status code and response headers
86
86
  def services_pk_delete_with_http_info(pk, opts = {})
87
87
  if @api_client.config.debugging
88
88
  @api_client.config.logger.debug 'Calling API: ServiceApi.services_pk_delete ...'
@@ -109,7 +109,7 @@ module AutosdeOpenapiClient
109
109
  post_body = opts[:debug_body]
110
110
 
111
111
  # return_type
112
- return_type = opts[:debug_return_type] || 'AsyncResponse'
112
+ return_type = opts[:debug_return_type] || 'Service'
113
113
 
114
114
  # auth_names
115
115
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -259,7 +259,7 @@ module AutosdeOpenapiClient
259
259
 
260
260
  # @param service_create [ServiceCreate]
261
261
  # @param [Hash] opts the optional parameters
262
- # @return [AsyncResponse]
262
+ # @return [ServiceResponse]
263
263
  def services_post(service_create, opts = {})
264
264
  data, _status_code, _headers = services_post_with_http_info(service_create, opts)
265
265
  data
@@ -267,7 +267,7 @@ module AutosdeOpenapiClient
267
267
 
268
268
  # @param service_create [ServiceCreate]
269
269
  # @param [Hash] opts the optional parameters
270
- # @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
270
+ # @return [Array<(ServiceResponse, Integer, Hash)>] ServiceResponse data, response status code and response headers
271
271
  def services_post_with_http_info(service_create, opts = {})
272
272
  if @api_client.config.debugging
273
273
  @api_client.config.logger.debug 'Calling API: ServiceApi.services_post ...'
@@ -296,7 +296,7 @@ module AutosdeOpenapiClient
296
296
  post_body = opts[:debug_body] || @api_client.object_to_http_body(service_create)
297
297
 
298
298
  # return_type
299
- return_type = opts[:debug_return_type] || 'AsyncResponse'
299
+ return_type = opts[:debug_return_type] || 'ServiceResponse'
300
300
 
301
301
  # auth_names
302
302
  auth_names = opts[:debug_auth_names] || ['bearerAuth']
@@ -16,12 +16,38 @@ require 'time'
16
16
  module AutosdeOpenapiClient
17
17
  # RefreshSystem object represents refreshing of the storage system.
18
18
  class RefreshSystem
19
- attr_accessor :uuid
19
+ # resource_type
20
+ attr_accessor :resource_type
21
+
22
+ attr_accessor :storage_system
23
+
24
+ class EnumAttributeValidator
25
+ attr_reader :datatype
26
+ attr_reader :allowable_values
27
+
28
+ def initialize(datatype, allowable_values)
29
+ @allowable_values = allowable_values.map do |value|
30
+ case datatype.to_s
31
+ when /Integer/i
32
+ value.to_i
33
+ when /Float/i
34
+ value.to_f
35
+ else
36
+ value
37
+ end
38
+ end
39
+ end
40
+
41
+ def valid?(value)
42
+ !value || allowable_values.include?(value)
43
+ end
44
+ end
20
45
 
21
46
  # Attribute mapping from ruby-style variable name to JSON key.
22
47
  def self.attribute_map
23
48
  {
24
- :'uuid' => :'uuid'
49
+ :'resource_type' => :'resource_type',
50
+ :'storage_system' => :'storage_system'
25
51
  }
26
52
  end
27
53
 
@@ -33,7 +59,8 @@ module AutosdeOpenapiClient
33
59
  # Attribute type mapping.
34
60
  def self.openapi_types
35
61
  {
36
- :'uuid' => :'StorageSystem'
62
+ :'resource_type' => :'String',
63
+ :'storage_system' => :'StorageSystem'
37
64
  }
38
65
  end
39
66
 
@@ -58,8 +85,12 @@ module AutosdeOpenapiClient
58
85
  h[k.to_sym] = v
59
86
  }
60
87
 
61
- if attributes.key?(:'uuid')
62
- self.uuid = attributes[:'uuid']
88
+ if attributes.key?(:'resource_type')
89
+ self.resource_type = attributes[:'resource_type']
90
+ end
91
+
92
+ if attributes.key?(:'storage_system')
93
+ self.storage_system = attributes[:'storage_system']
63
94
  end
64
95
  end
65
96
 
@@ -73,15 +104,28 @@ module AutosdeOpenapiClient
73
104
  # Check to see if the all the properties in the model are valid
74
105
  # @return true if the model is valid
75
106
  def valid?
107
+ resource_type_validator = EnumAttributeValidator.new('String', ["system_resources", "volumes", "hosts", "events"])
108
+ return false unless resource_type_validator.valid?(@resource_type)
76
109
  true
77
110
  end
78
111
 
112
+ # Custom attribute writer method checking allowed values (enum).
113
+ # @param [Object] resource_type Object to be assigned
114
+ def resource_type=(resource_type)
115
+ validator = EnumAttributeValidator.new('String', ["system_resources", "volumes", "hosts", "events"])
116
+ unless validator.valid?(resource_type)
117
+ fail ArgumentError, "invalid value for \"resource_type\", must be one of #{validator.allowable_values}."
118
+ end
119
+ @resource_type = resource_type
120
+ end
121
+
79
122
  # Checks equality by comparing each attribute.
80
123
  # @param [Object] Object to be compared
81
124
  def ==(o)
82
125
  return true if self.equal?(o)
83
126
  self.class == o.class &&
84
- uuid == o.uuid
127
+ resource_type == o.resource_type &&
128
+ storage_system == o.storage_system
85
129
  end
86
130
 
87
131
  # @see the `==` method
@@ -93,7 +137,7 @@ module AutosdeOpenapiClient
93
137
  # Calculates hash code according to all attributes.
94
138
  # @return [Integer] Hash code
95
139
  def hash
96
- [uuid].hash
140
+ [resource_type, storage_system].hash
97
141
  end
98
142
 
99
143
  # Builds the object from hash
@@ -0,0 +1,364 @@
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 ServiceResponse
19
+ attr_accessor :capability_values
20
+
21
+ # capability_values_json
22
+ attr_accessor :capability_values_json
23
+
24
+ # component_state
25
+ attr_accessor :component_state
26
+
27
+ # description
28
+ attr_accessor :description
29
+
30
+ # name
31
+ attr_accessor :name
32
+
33
+ # !!uuid of profile
34
+ attr_accessor :profile
35
+
36
+ # !!uuid of project
37
+ attr_accessor :project
38
+
39
+ # !!uuid of provisioning_strategy
40
+ attr_accessor :provisioning_strategy
41
+
42
+ # resource_service
43
+ attr_accessor :resource_service
44
+
45
+ # uuid
46
+ attr_accessor :uuid
47
+
48
+ # The version of the service
49
+ attr_accessor :version
50
+
51
+ class EnumAttributeValidator
52
+ attr_reader :datatype
53
+ attr_reader :allowable_values
54
+
55
+ def initialize(datatype, allowable_values)
56
+ @allowable_values = allowable_values.map do |value|
57
+ case datatype.to_s
58
+ when /Integer/i
59
+ value.to_i
60
+ when /Float/i
61
+ value.to_f
62
+ else
63
+ value
64
+ end
65
+ end
66
+ end
67
+
68
+ def valid?(value)
69
+ !value || allowable_values.include?(value)
70
+ end
71
+ end
72
+
73
+ # Attribute mapping from ruby-style variable name to JSON key.
74
+ def self.attribute_map
75
+ {
76
+ :'capability_values' => :'capability_values',
77
+ :'capability_values_json' => :'capability_values_json',
78
+ :'component_state' => :'component_state',
79
+ :'description' => :'description',
80
+ :'name' => :'name',
81
+ :'profile' => :'profile',
82
+ :'project' => :'project',
83
+ :'provisioning_strategy' => :'provisioning_strategy',
84
+ :'resource_service' => :'resource_service',
85
+ :'uuid' => :'uuid',
86
+ :'version' => :'version'
87
+ }
88
+ end
89
+
90
+ # Returns all the JSON keys this model knows about
91
+ def self.acceptable_attributes
92
+ attribute_map.values
93
+ end
94
+
95
+ # Attribute type mapping.
96
+ def self.openapi_types
97
+ {
98
+ :'capability_values' => :'ServiceAbstractCapabilityValue',
99
+ :'capability_values_json' => :'String',
100
+ :'component_state' => :'String',
101
+ :'description' => :'String',
102
+ :'name' => :'String',
103
+ :'profile' => :'String',
104
+ :'project' => :'String',
105
+ :'provisioning_strategy' => :'String',
106
+ :'resource_service' => :'Boolean',
107
+ :'uuid' => :'String',
108
+ :'version' => :'Integer'
109
+ }
110
+ end
111
+
112
+ # List of attributes with nullable: true
113
+ def self.openapi_nullable
114
+ Set.new([
115
+ ])
116
+ end
117
+
118
+ # Initializes the object
119
+ # @param [Hash] attributes Model attributes in the form of hash
120
+ def initialize(attributes = {})
121
+ if (!attributes.is_a?(Hash))
122
+ fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::ServiceResponse` initialize method"
123
+ end
124
+
125
+ # check to see if the attribute exists and convert string to symbol for hash key
126
+ attributes = attributes.each_with_object({}) { |(k, v), h|
127
+ if (!self.class.attribute_map.key?(k.to_sym))
128
+ fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::ServiceResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
129
+ end
130
+ h[k.to_sym] = v
131
+ }
132
+
133
+ if attributes.key?(:'capability_values')
134
+ self.capability_values = attributes[:'capability_values']
135
+ end
136
+
137
+ if attributes.key?(:'capability_values_json')
138
+ self.capability_values_json = attributes[:'capability_values_json']
139
+ end
140
+
141
+ if attributes.key?(:'component_state')
142
+ self.component_state = attributes[:'component_state']
143
+ end
144
+
145
+ if attributes.key?(:'description')
146
+ self.description = attributes[:'description']
147
+ else
148
+ self.description = ''
149
+ end
150
+
151
+ if attributes.key?(:'name')
152
+ self.name = attributes[:'name']
153
+ end
154
+
155
+ if attributes.key?(:'profile')
156
+ self.profile = attributes[:'profile']
157
+ end
158
+
159
+ if attributes.key?(:'project')
160
+ self.project = attributes[:'project']
161
+ end
162
+
163
+ if attributes.key?(:'provisioning_strategy')
164
+ self.provisioning_strategy = attributes[:'provisioning_strategy']
165
+ end
166
+
167
+ if attributes.key?(:'resource_service')
168
+ self.resource_service = attributes[:'resource_service']
169
+ else
170
+ self.resource_service = false
171
+ end
172
+
173
+ if attributes.key?(:'uuid')
174
+ self.uuid = attributes[:'uuid']
175
+ end
176
+
177
+ if attributes.key?(:'version')
178
+ self.version = attributes[:'version']
179
+ else
180
+ self.version = 1
181
+ end
182
+ end
183
+
184
+ # Show invalid properties with the reasons. Usually used together with valid?
185
+ # @return Array for valid properties with the reasons
186
+ def list_invalid_properties
187
+ invalid_properties = Array.new
188
+ if !@component_state.nil? && @component_state.to_s.length > 32
189
+ invalid_properties.push('invalid value for "component_state", the character length must be smaller than or equal to 32.')
190
+ end
191
+
192
+ invalid_properties
193
+ end
194
+
195
+ # Check to see if the all the properties in the model are valid
196
+ # @return true if the model is valid
197
+ def valid?
198
+ component_state_validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
199
+ return false unless component_state_validator.valid?(@component_state)
200
+ return false if !@component_state.nil? && @component_state.to_s.length > 32
201
+ true
202
+ end
203
+
204
+ # Custom attribute writer method checking allowed values (enum).
205
+ # @param [Object] component_state Object to be assigned
206
+ def component_state=(component_state)
207
+ validator = EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
208
+ unless validator.valid?(component_state)
209
+ fail ArgumentError, "invalid value for \"component_state\", must be one of #{validator.allowable_values}."
210
+ end
211
+ @component_state = component_state
212
+ end
213
+
214
+ # Checks equality by comparing each attribute.
215
+ # @param [Object] Object to be compared
216
+ def ==(o)
217
+ return true if self.equal?(o)
218
+ self.class == o.class &&
219
+ capability_values == o.capability_values &&
220
+ capability_values_json == o.capability_values_json &&
221
+ component_state == o.component_state &&
222
+ description == o.description &&
223
+ name == o.name &&
224
+ profile == o.profile &&
225
+ project == o.project &&
226
+ provisioning_strategy == o.provisioning_strategy &&
227
+ resource_service == o.resource_service &&
228
+ uuid == o.uuid &&
229
+ version == o.version
230
+ end
231
+
232
+ # @see the `==` method
233
+ # @param [Object] Object to be compared
234
+ def eql?(o)
235
+ self == o
236
+ end
237
+
238
+ # Calculates hash code according to all attributes.
239
+ # @return [Integer] Hash code
240
+ def hash
241
+ [capability_values, capability_values_json, component_state, description, name, profile, project, provisioning_strategy, resource_service, uuid, version].hash
242
+ end
243
+
244
+ # Builds the object from hash
245
+ # @param [Hash] attributes Model attributes in the form of hash
246
+ # @return [Object] Returns the model itself
247
+ def self.build_from_hash(attributes)
248
+ new.build_from_hash(attributes)
249
+ end
250
+
251
+ # Builds the object from hash
252
+ # @param [Hash] attributes Model attributes in the form of hash
253
+ # @return [Object] Returns the model itself
254
+ def build_from_hash(attributes)
255
+ return nil unless attributes.is_a?(Hash)
256
+ self.class.openapi_types.each_pair do |key, type|
257
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
258
+ self.send("#{key}=", nil)
259
+ elsif type =~ /\AArray<(.*)>/i
260
+ # check to ensure the input is an array given that the attribute
261
+ # is documented as an array but the input is not
262
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
263
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
264
+ end
265
+ elsif !attributes[self.class.attribute_map[key]].nil?
266
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
267
+ end
268
+ end
269
+
270
+ self
271
+ end
272
+
273
+ # Deserializes the data based on type
274
+ # @param string type Data type
275
+ # @param string value Value to be deserialized
276
+ # @return [Object] Deserialized data
277
+ def _deserialize(type, value)
278
+ case type.to_sym
279
+ when :Time
280
+ Time.parse(value)
281
+ when :Date
282
+ Date.parse(value)
283
+ when :String
284
+ value.to_s
285
+ when :Integer
286
+ value.to_i
287
+ when :Float
288
+ value.to_f
289
+ when :Boolean
290
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
291
+ true
292
+ else
293
+ false
294
+ end
295
+ when :Object
296
+ # generic object (usually a Hash), return directly
297
+ value
298
+ when /\AArray<(?<inner_type>.+)>\z/
299
+ inner_type = Regexp.last_match[:inner_type]
300
+ value.map { |v| _deserialize(inner_type, v) }
301
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
302
+ k_type = Regexp.last_match[:k_type]
303
+ v_type = Regexp.last_match[:v_type]
304
+ {}.tap do |hash|
305
+ value.each do |k, v|
306
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
307
+ end
308
+ end
309
+ else # model
310
+ # models (e.g. Pet) or oneOf
311
+ klass = AutosdeOpenapiClient.const_get(type)
312
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
313
+ end
314
+ end
315
+
316
+ # Returns the string representation of the object
317
+ # @return [String] String presentation of the object
318
+ def to_s
319
+ to_hash.to_s
320
+ end
321
+
322
+ # to_body is an alias to to_hash (backward compatibility)
323
+ # @return [Hash] Returns the object in the form of hash
324
+ def to_body
325
+ to_hash
326
+ end
327
+
328
+ # Returns the object in the form of hash
329
+ # @return [Hash] Returns the object in the form of hash
330
+ def to_hash
331
+ hash = {}
332
+ self.class.attribute_map.each_pair do |attr, param|
333
+ value = self.send(attr)
334
+ if value.nil?
335
+ is_nullable = self.class.openapi_nullable.include?(attr)
336
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
337
+ end
338
+
339
+ hash[param] = _to_hash(value)
340
+ end
341
+ hash
342
+ end
343
+
344
+ # Outputs non-array value in the form of hash
345
+ # For object, use to_hash. Otherwise, just return the value
346
+ # @param [Object] value Any valid value
347
+ # @return [Hash] Returns the value in the form of hash
348
+ def _to_hash(value)
349
+ if value.is_a?(Array)
350
+ value.compact.map { |v| _to_hash(v) }
351
+ elsif value.is_a?(Hash)
352
+ {}.tap do |hash|
353
+ value.each { |k, v| hash[k] = _to_hash(v) }
354
+ end
355
+ elsif value.respond_to? :to_hash
356
+ value.to_hash
357
+ else
358
+ value
359
+ end
360
+ end
361
+
362
+ end
363
+
364
+ end
@@ -19,6 +19,9 @@ module AutosdeOpenapiClient
19
19
  # advanced_attributes_map
20
20
  attr_accessor :advanced_attributes_map
21
21
 
22
+ # capability_values_json
23
+ attr_accessor :capability_values_json
24
+
22
25
  # component_state
23
26
  attr_accessor :component_state
24
27
 
@@ -69,6 +72,7 @@ module AutosdeOpenapiClient
69
72
  def self.attribute_map
70
73
  {
71
74
  :'advanced_attributes_map' => :'advanced_attributes_map',
75
+ :'capability_values_json' => :'capability_values_json',
72
76
  :'component_state' => :'component_state',
73
77
  :'logical_free' => :'logical_free',
74
78
  :'logical_total' => :'logical_total',
@@ -89,6 +93,7 @@ module AutosdeOpenapiClient
89
93
  def self.openapi_types
90
94
  {
91
95
  :'advanced_attributes_map' => :'String',
96
+ :'capability_values_json' => :'String',
92
97
  :'component_state' => :'String',
93
98
  :'logical_free' => :'Integer',
94
99
  :'logical_total' => :'Integer',
@@ -125,6 +130,10 @@ module AutosdeOpenapiClient
125
130
  self.advanced_attributes_map = attributes[:'advanced_attributes_map']
126
131
  end
127
132
 
133
+ if attributes.key?(:'capability_values_json')
134
+ self.capability_values_json = attributes[:'capability_values_json']
135
+ end
136
+
128
137
  if attributes.key?(:'component_state')
129
138
  self.component_state = attributes[:'component_state']
130
139
  end
@@ -210,6 +219,7 @@ module AutosdeOpenapiClient
210
219
  return true if self.equal?(o)
211
220
  self.class == o.class &&
212
221
  advanced_attributes_map == o.advanced_attributes_map &&
222
+ capability_values_json == o.capability_values_json &&
213
223
  component_state == o.component_state &&
214
224
  logical_free == o.logical_free &&
215
225
  logical_total == o.logical_total &&
@@ -229,7 +239,7 @@ module AutosdeOpenapiClient
229
239
  # Calculates hash code according to all attributes.
230
240
  # @return [Integer] Hash code
231
241
  def hash
232
- [advanced_attributes_map, component_state, logical_free, logical_total, name, pool_name, protocol, storage_system, uuid].hash
242
+ [advanced_attributes_map, capability_values_json, component_state, logical_free, logical_total, name, pool_name, protocol, storage_system, uuid].hash
233
243
  end
234
244
 
235
245
  # Builds the object from hash
@@ -28,9 +28,14 @@ module AutosdeOpenapiClient
28
28
  # name
29
29
  attr_accessor :name
30
30
 
31
- # !!uuid of service
31
+ # resources
32
+ attr_accessor :resources
33
+
32
34
  attr_accessor :service
33
35
 
36
+ # service_name
37
+ attr_accessor :service_name
38
+
34
39
  # size
35
40
  attr_accessor :size
36
41
 
@@ -75,7 +80,9 @@ module AutosdeOpenapiClient
75
80
  :'component_state' => :'component_state',
76
81
  :'count' => :'count',
77
82
  :'name' => :'name',
83
+ :'resources' => :'resources',
78
84
  :'service' => :'service',
85
+ :'service_name' => :'service_name',
79
86
  :'size' => :'size',
80
87
  :'status' => :'status',
81
88
  :'unmapped_since' => :'unmapped_since',
@@ -96,7 +103,9 @@ module AutosdeOpenapiClient
96
103
  :'component_state' => :'String',
97
104
  :'count' => :'Integer',
98
105
  :'name' => :'String',
99
- :'service' => :'String',
106
+ :'resources' => :'Array<String>',
107
+ :'service' => :'Service',
108
+ :'service_name' => :'String',
100
109
  :'size' => :'Integer',
101
110
  :'status' => :'String',
102
111
  :'unmapped_since' => :'Time',
@@ -146,10 +155,22 @@ module AutosdeOpenapiClient
146
155
  self.name = attributes[:'name']
147
156
  end
148
157
 
158
+ if attributes.key?(:'resources')
159
+ if (value = attributes[:'resources']).is_a?(Array)
160
+ self.resources = value
161
+ end
162
+ end
163
+
149
164
  if attributes.key?(:'service')
150
165
  self.service = attributes[:'service']
151
166
  end
152
167
 
168
+ if attributes.key?(:'service_name')
169
+ self.service_name = attributes[:'service_name']
170
+ else
171
+ self.service_name = 'null'
172
+ end
173
+
153
174
  if attributes.key?(:'size')
154
175
  self.size = attributes[:'size']
155
176
  end
@@ -210,7 +231,9 @@ module AutosdeOpenapiClient
210
231
  component_state == o.component_state &&
211
232
  count == o.count &&
212
233
  name == o.name &&
234
+ resources == o.resources &&
213
235
  service == o.service &&
236
+ service_name == o.service_name &&
214
237
  size == o.size &&
215
238
  status == o.status &&
216
239
  unmapped_since == o.unmapped_since &&
@@ -227,7 +250,7 @@ module AutosdeOpenapiClient
227
250
  # Calculates hash code according to all attributes.
228
251
  # @return [Integer] Hash code
229
252
  def hash
230
- [compliant, component_state, count, name, service, size, status, unmapped_since, uuid, volume_name].hash
253
+ [compliant, component_state, count, name, resources, service, service_name, size, status, unmapped_since, uuid, volume_name].hash
231
254
  end
232
255
 
233
256
  # 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: 2.0.4
6
+ The version of the OpenAPI document: 2.0.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 = '2.0.4'
14
+ VERSION = '2.0.5'
15
15
  end
@@ -56,6 +56,7 @@ require 'autosde_openapi_client/models/service_abstract_capability_value'
56
56
  require 'autosde_openapi_client/models/service_abstract_capability_value_response'
57
57
  require 'autosde_openapi_client/models/service_create'
58
58
  require 'autosde_openapi_client/models/service_resource_attachment'
59
+ require 'autosde_openapi_client/models/service_response'
59
60
  require 'autosde_openapi_client/models/snapshot'
60
61
  require 'autosde_openapi_client/models/snapshot_create'
61
62
  require 'autosde_openapi_client/models/storage_host'
@@ -34,7 +34,7 @@ describe 'ServiceApi' do
34
34
 
35
35
  # unit tests for services_get
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<Service>]
37
+ # @return [Array<ServiceResponse>]
38
38
  describe 'services_get test' do
39
39
  it 'should work' do
40
40
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,7 +44,7 @@ describe 'ServiceApi' do
44
44
  # unit tests for services_pk_delete
45
45
  # @param pk
46
46
  # @param [Hash] opts the optional parameters
47
- # @return [AsyncResponse]
47
+ # @return [Service]
48
48
  describe 'services_pk_delete test' do
49
49
  it 'should work' do
50
50
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -75,7 +75,7 @@ describe 'ServiceApi' do
75
75
  # unit tests for services_post
76
76
  # @param service_create
77
77
  # @param [Hash] opts the optional parameters
78
- # @return [AsyncResponse]
78
+ # @return [ServiceResponse]
79
79
  describe 'services_post test' do
80
80
  it 'should work' do
81
81
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -25,7 +25,17 @@ describe AutosdeOpenapiClient::RefreshSystem do
25
25
  expect(instance).to be_instance_of(AutosdeOpenapiClient::RefreshSystem)
26
26
  end
27
27
  end
28
- describe 'test attribute "uuid"' do
28
+ describe 'test attribute "resource_type"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["system_resources", "volumes", "hosts", "events"])
32
+ # validator.allowable_values.each do |value|
33
+ # expect { instance.resource_type = value }.not_to raise_error
34
+ # end
35
+ end
36
+ end
37
+
38
+ describe 'test attribute "storage_system"' do
29
39
  it 'should work' do
30
40
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
41
  end
@@ -0,0 +1,98 @@
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::ServiceResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AutosdeOpenapiClient::ServiceResponse do
21
+ let(:instance) { AutosdeOpenapiClient::ServiceResponse.new }
22
+
23
+ describe 'test an instance of ServiceResponse' do
24
+ it 'should create an instance of ServiceResponse' do
25
+ expect(instance).to be_instance_of(AutosdeOpenapiClient::ServiceResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "capability_values"' 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 "capability_values_json"' 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
+ describe 'test attribute "component_state"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
44
+ # validator.allowable_values.each do |value|
45
+ # expect { instance.component_state = value }.not_to raise_error
46
+ # end
47
+ end
48
+ end
49
+
50
+ describe 'test attribute "description"' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ describe 'test attribute "name"' 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
+
62
+ describe 'test attribute "profile"' 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
+
68
+ describe 'test attribute "project"' 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
+
74
+ describe 'test attribute "provisioning_strategy"' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
+ end
78
+ end
79
+
80
+ describe 'test attribute "resource_service"' do
81
+ it 'should work' do
82
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
+ end
84
+ end
85
+
86
+ describe 'test attribute "uuid"' do
87
+ it 'should work' do
88
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
89
+ end
90
+ end
91
+
92
+ describe 'test attribute "version"' do
93
+ it 'should work' do
94
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
+ end
96
+ end
97
+
98
+ end
@@ -31,6 +31,12 @@ describe AutosdeOpenapiClient::StorageResourceResponse do
31
31
  end
32
32
  end
33
33
 
34
+ describe 'test attribute "capability_values_json"' 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
+
34
40
  describe 'test attribute "component_state"' do
35
41
  it 'should work' do
36
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -53,12 +53,24 @@ describe AutosdeOpenapiClient::VolumeCreate do
53
53
  end
54
54
  end
55
55
 
56
+ describe 'test attribute "resources"' 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 "service"' do
57
63
  it 'should work' do
58
64
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
65
  end
60
66
  end
61
67
 
68
+ describe 'test attribute "service_name"' 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
+
62
74
  describe 'test attribute "size"' do
63
75
  it 'should work' do
64
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: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-21 00:00:00.000000000 Z
11
+ date: 2023-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -123,6 +123,7 @@ files:
123
123
  - docs/ServiceCreate.md
124
124
  - docs/ServiceResourceAttachment.md
125
125
  - docs/ServiceResourceAttachmentApi.md
126
+ - docs/ServiceResponse.md
126
127
  - docs/Snapshot.md
127
128
  - docs/SnapshotApi.md
128
129
  - docs/SnapshotCreate.md
@@ -237,6 +238,7 @@ files:
237
238
  - lib/autosde_openapi_client/models/service_abstract_capability_value_response.rb
238
239
  - lib/autosde_openapi_client/models/service_create.rb
239
240
  - lib/autosde_openapi_client/models/service_resource_attachment.rb
241
+ - lib/autosde_openapi_client/models/service_response.rb
240
242
  - lib/autosde_openapi_client/models/snapshot.rb
241
243
  - lib/autosde_openapi_client/models/snapshot_create.rb
242
244
  - lib/autosde_openapi_client/models/storage_host.rb
@@ -338,6 +340,7 @@ files:
338
340
  - spec/models/service_abstract_capability_value_spec.rb
339
341
  - spec/models/service_create_spec.rb
340
342
  - spec/models/service_resource_attachment_spec.rb
343
+ - spec/models/service_response_spec.rb
341
344
  - spec/models/service_spec.rb
342
345
  - spec/models/snapshot_create_spec.rb
343
346
  - spec/models/snapshot_spec.rb
@@ -393,104 +396,105 @@ specification_version: 4
393
396
  summary: Site Manager API Ruby Gem
394
397
  test_files:
395
398
  - spec/api/host_volume_connection_api_spec.rb
396
- - spec/api/authentication_api_spec.rb
397
399
  - spec/api/address_api_spec.rb
398
- - spec/api/host_cluster_api_spec.rb
399
- - spec/api/host_api_spec.rb
400
- - spec/api/host_cluster_volume_mapping_api_spec.rb
401
- - spec/api/provisioning_strategy_api_spec.rb
402
- - spec/api/host_cluster_membership_api_spec.rb
400
+ - spec/api/storage_host_api_spec.rb
401
+ - spec/api/event_api_spec.rb
403
402
  - spec/api/capability_translation_api_spec.rb
404
- - spec/api/service_abstract_capability_value_api_spec.rb
405
- - spec/api/service_api_spec.rb
403
+ - spec/api/auto_sde_project_api_spec.rb
406
404
  - spec/api/auto_sde_role_api_spec.rb
407
405
  - spec/api/service_resource_attachment_api_spec.rb
408
- - spec/api/storage_host_wwpn_candidates_api_spec.rb
406
+ - spec/api/snapshot_api_spec.rb
409
407
  - spec/api/celery_config_api_spec.rb
410
- - spec/api/system_type_api_spec.rb
411
- - spec/api/refresh_system_api_spec.rb
412
- - spec/api/storage_resource_api_spec.rb
408
+ - spec/api/abstract_capability_api_spec.rb
409
+ - spec/api/host_cluster_volume_mapping_api_spec.rb
413
410
  - spec/api/job_api_spec.rb
414
- - spec/api/storage_hosts_mapping_api_spec.rb
415
- - spec/api/validate_system_api_spec.rb
416
- - spec/api/account_api_spec.rb
417
411
  - spec/api/native_capability_api_spec.rb
418
- - spec/api/event_api_spec.rb
419
- - spec/api/auto_sde_project_api_spec.rb
420
- - spec/api/snapshot_api_spec.rb
421
- - spec/api/storage_host_api_spec.rb
422
- - spec/api/abstract_capability_api_spec.rb
412
+ - spec/api/storage_system_api_spec.rb
423
413
  - spec/api/user_api_spec.rb
424
- - spec/api/volume_api_spec.rb
414
+ - spec/api/host_cluster_api_spec.rb
415
+ - spec/api/provisioning_strategy_api_spec.rb
416
+ - spec/api/storage_resource_api_spec.rb
417
+ - spec/api/storage_host_wwpn_candidates_api_spec.rb
418
+ - spec/api/system_type_api_spec.rb
419
+ - spec/api/account_api_spec.rb
420
+ - spec/api/service_abstract_capability_value_api_spec.rb
425
421
  - spec/api/profile_api_spec.rb
426
- - spec/api/storage_system_api_spec.rb
422
+ - spec/api/refresh_system_api_spec.rb
423
+ - spec/api/host_cluster_membership_api_spec.rb
424
+ - spec/api/validate_system_api_spec.rb
425
+ - spec/api/volume_api_spec.rb
426
+ - spec/api/authentication_api_spec.rb
427
+ - spec/api/storage_hosts_mapping_api_spec.rb
428
+ - spec/api/host_api_spec.rb
429
+ - spec/api/service_api_spec.rb
427
430
  - spec/api_client_spec.rb
428
431
  - spec/configuration_spec.rb
429
- - spec/models/system_type_create_spec.rb
430
- - spec/models/event_response_spec.rb
431
- - spec/models/volume_response_spec.rb
432
- - spec/models/volume_spec.rb
433
- - spec/models/refresh_system_spec.rb
434
- - spec/models/async_response_spec.rb
435
- - spec/models/auto_sde_project_spec.rb
436
- - spec/models/host_cluster_response_spec.rb
437
- - spec/models/capability_translation_spec.rb
438
- - spec/models/auto_sde_role_spec.rb
439
- - spec/models/event_spec.rb
440
- - spec/models/address_create_spec.rb
441
- - spec/models/auth_response_spec.rb
442
- - spec/models/host_volume_connection_spec.rb
443
- - spec/models/host_spec.rb
444
- - spec/models/storage_resource_response_spec.rb
445
- - spec/models/abstract_capability_response_spec.rb
446
- - spec/models/storage_resource_update_spec.rb
447
- - spec/models/service_abstract_capability_value_response_spec.rb
448
- - spec/models/service_spec.rb
449
432
  - spec/models/storage_hosts_mapping_response_spec.rb
450
- - spec/models/snapshot_spec.rb
451
- - spec/models/host_cluster_volume_mapping_spec.rb
452
433
  - spec/models/job_create_spec.rb
453
- - spec/models/service_create_spec.rb
454
- - spec/models/validate_system_spec.rb
434
+ - spec/models/snapshot_spec.rb
455
435
  - spec/models/celery_config_spec.rb
456
- - spec/models/storage_hosts_mapping_create_spec.rb
457
- - spec/models/storage_system_response_spec.rb
458
- - spec/models/storage_system_spec.rb
459
436
  - spec/models/account_post_response_spec.rb
460
- - spec/models/storage_host_update_spec.rb
461
- - spec/models/user_spec.rb
462
437
  - spec/models/storage_host_spec.rb
463
- - spec/models/volume_update_spec.rb
464
- - spec/models/job_spec.rb
465
- - spec/models/storage_system_create_spec.rb
466
438
  - spec/models/host_cluster_volume_mapping_create_spec.rb
467
- - spec/models/account_post_request_spec.rb
439
+ - spec/models/service_spec.rb
440
+ - spec/models/async_response_spec.rb
441
+ - spec/models/system_type_spec.rb
442
+ - spec/models/host_cluster_membership_spec.rb
443
+ - spec/models/service_create_spec.rb
444
+ - spec/models/storage_resource_spec.rb
445
+ - spec/models/event_response_spec.rb
446
+ - spec/models/address_spec.rb
447
+ - spec/models/storage_host_response_spec.rb
448
+ - spec/models/authentication_spec.rb
449
+ - spec/models/volume_response_spec.rb
450
+ - spec/models/storage_system_response_spec.rb
451
+ - spec/models/storage_resource_update_spec.rb
452
+ - spec/models/auto_sde_project_spec.rb
453
+ - spec/models/native_capability_spec.rb
454
+ - spec/models/host_cluster_volume_mapping_spec.rb
455
+ - spec/models/event_spec.rb
456
+ - spec/models/storage_hosts_mapping_create_spec.rb
457
+ - spec/models/abstract_capability_spec.rb
468
458
  - spec/models/host_volume_connection_create_spec.rb
459
+ - spec/models/job_spec.rb
460
+ - spec/models/storage_host_create_spec.rb
461
+ - spec/models/service_abstract_capability_value_response_spec.rb
462
+ - spec/models/host_spec.rb
469
463
  - spec/models/profile_spec.rb
470
- - spec/models/storage_host_wwpn_candidates_spec.rb
471
- - spec/models/abstract_capability_spec.rb
472
464
  - spec/models/storage_hosts_mapping_spec.rb
473
- - spec/models/host_cluster_membership_spec.rb
474
- - spec/models/authentication_spec.rb
475
- - spec/models/address_spec.rb
476
- - spec/models/service_abstract_capability_value_spec.rb
465
+ - spec/models/auth_response_spec.rb
466
+ - spec/models/volume_spec.rb
467
+ - spec/models/capability_translation_create_spec.rb
468
+ - spec/models/service_response_spec.rb
469
+ - spec/models/host_create_spec.rb
470
+ - spec/models/abstract_capability_response_spec.rb
471
+ - spec/models/validate_system_spec.rb
472
+ - spec/models/storage_host_wwpn_candidates_spec.rb
477
473
  - spec/models/snapshot_create_spec.rb
478
- - spec/models/storage_resource_spec.rb
479
- - spec/models/system_type_spec.rb
474
+ - spec/models/storage_host_update_spec.rb
475
+ - spec/models/storage_resource_create_spec.rb
476
+ - spec/models/address_create_spec.rb
477
+ - spec/models/storage_system_create_spec.rb
478
+ - spec/models/volume_create_spec.rb
479
+ - spec/models/service_resource_attachment_spec.rb
480
+ - spec/models/refresh_system_spec.rb
481
+ - spec/models/user_create_spec.rb
480
482
  - spec/models/host_cluster_spec.rb
481
- - spec/models/host_create_spec.rb
482
- - spec/models/host_cluster_create_spec.rb
483
- - spec/models/storage_host_create_spec.rb
483
+ - spec/models/storage_system_spec.rb
484
+ - spec/models/auto_sde_role_spec.rb
484
485
  - spec/models/storage_system_update_spec.rb
485
- - spec/models/capability_translation_create_spec.rb
486
- - spec/models/native_capability_spec.rb
486
+ - spec/models/host_cluster_response_spec.rb
487
+ - spec/models/host_cluster_create_spec.rb
488
+ - spec/models/service_abstract_capability_value_spec.rb
487
489
  - spec/models/host_cluster_volume_mapping_response_spec.rb
488
- - spec/models/volume_create_spec.rb
489
- - spec/models/user_update_spec.rb
490
- - spec/models/user_create_spec.rb
490
+ - spec/models/storage_resource_response_spec.rb
491
491
  - spec/models/provisioning_strategy_spec.rb
492
- - spec/models/storage_host_response_spec.rb
493
- - spec/models/service_resource_attachment_spec.rb
494
- - spec/models/storage_resource_create_spec.rb
492
+ - spec/models/account_post_request_spec.rb
493
+ - spec/models/user_update_spec.rb
495
494
  - spec/models/account_spec.rb
495
+ - spec/models/host_volume_connection_spec.rb
496
+ - spec/models/user_spec.rb
497
+ - spec/models/capability_translation_spec.rb
498
+ - spec/models/volume_update_spec.rb
499
+ - spec/models/system_type_create_spec.rb
496
500
  - spec/spec_helper.rb