autosde_openapi_client 3.2.11 → 3.2.12
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 +3 -0
- data/docs/ServiceResourcesCompliance.md +20 -0
- data/docs/ServiceResourcesComplianceApi.md +75 -0
- data/docs/ServiceResourcesComplianceResponse.md +18 -0
- data/lib/autosde_openapi_client/api/service_resources_compliance_api.rb +83 -0
- data/lib/autosde_openapi_client/models/service_resources_compliance.rb +231 -0
- data/lib/autosde_openapi_client/models/service_resources_compliance_response.rb +222 -0
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/lib/autosde_openapi_client.rb +3 -0
- data/spec/api/service_resources_compliance_api_spec.rb +45 -0
- data/spec/models/service_resources_compliance_response_spec.rb +34 -0
- data/spec/models/service_resources_compliance_spec.rb +40 -0
- metadata +104 -92
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e8ff4e8d7a65d3990cca0f6e3840e18fb798567f7846b11902e944067712323
|
4
|
+
data.tar.gz: e62724857a317154518520015a5d13156f0e75a8a01835a7b9c0e7d43fd221a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dd54cbb043d451c07585c673a4a6aa20ba8f7cebc2d048bfe963febf9fb043343bd42d83b7eef5c2f8f44d6205e17dd83854825f7cfc012a8766f229c42a8e4
|
7
|
+
data.tar.gz: a9b37139e71a05501193d87651a3866f015504ac7b4353928653c7556ccbd7119956837ed67712ac3a747b849283ed27aa19dfca179187795b7faf71879b5223
|
data/README.md
CHANGED
@@ -162,6 +162,7 @@ Class | Method | HTTP request | Description
|
|
162
162
|
*AutosdeOpenapiClient::ServiceResourceAttachmentApi* | [**service_resource_attachment_pk_delete**](docs/ServiceResourceAttachmentApi.md#service_resource_attachment_pk_delete) | **DELETE** /service-resource-attachment/{pk} |
|
163
163
|
*AutosdeOpenapiClient::ServiceResourceAttachmentApi* | [**service_resource_attachment_pk_get**](docs/ServiceResourceAttachmentApi.md#service_resource_attachment_pk_get) | **GET** /service-resource-attachment/{pk} |
|
164
164
|
*AutosdeOpenapiClient::ServiceResourceAttachmentApi* | [**service_resource_attachment_post**](docs/ServiceResourceAttachmentApi.md#service_resource_attachment_post) | **POST** /service-resource-attachment |
|
165
|
+
*AutosdeOpenapiClient::ServiceResourcesComplianceApi* | [**service_resources_compliance_post**](docs/ServiceResourcesComplianceApi.md#service_resources_compliance_post) | **POST** /service-resources-compliance |
|
165
166
|
*AutosdeOpenapiClient::SnapshotApi* | [**snapshots_get**](docs/SnapshotApi.md#snapshots_get) | **GET** /snapshots |
|
166
167
|
*AutosdeOpenapiClient::SnapshotApi* | [**snapshots_pk_delete**](docs/SnapshotApi.md#snapshots_pk_delete) | **DELETE** /snapshots/{pk} |
|
167
168
|
*AutosdeOpenapiClient::SnapshotApi* | [**snapshots_pk_get**](docs/SnapshotApi.md#snapshots_pk_get) | **GET** /snapshots/{pk} |
|
@@ -249,6 +250,8 @@ Class | Method | HTTP request | Description
|
|
249
250
|
- [AutosdeOpenapiClient::ServiceCreate](docs/ServiceCreate.md)
|
250
251
|
- [AutosdeOpenapiClient::ServiceResourceAttachment](docs/ServiceResourceAttachment.md)
|
251
252
|
- [AutosdeOpenapiClient::ServiceResourceAttachmentResponse](docs/ServiceResourceAttachmentResponse.md)
|
253
|
+
- [AutosdeOpenapiClient::ServiceResourcesCompliance](docs/ServiceResourcesCompliance.md)
|
254
|
+
- [AutosdeOpenapiClient::ServiceResourcesComplianceResponse](docs/ServiceResourcesComplianceResponse.md)
|
252
255
|
- [AutosdeOpenapiClient::ServiceResponse](docs/ServiceResponse.md)
|
253
256
|
- [AutosdeOpenapiClient::ServiceUpdate](docs/ServiceUpdate.md)
|
254
257
|
- [AutosdeOpenapiClient::Snapshot](docs/Snapshot.md)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# AutosdeOpenapiClient::ServiceResourcesCompliance
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **capability_values** | **Array<String>** | capability_values | [optional] |
|
8
|
+
| **service** | [**Service**](Service.md) | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'autosde_openapi_client'
|
14
|
+
|
15
|
+
instance = AutosdeOpenapiClient::ServiceResourcesCompliance.new(
|
16
|
+
capability_values: null,
|
17
|
+
service: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# AutosdeOpenapiClient::ServiceResourcesComplianceApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**service_resources_compliance_post**](ServiceResourcesComplianceApi.md#service_resources_compliance_post) | **POST** /service-resources-compliance | |
|
8
|
+
|
9
|
+
|
10
|
+
## service_resources_compliance_post
|
11
|
+
|
12
|
+
> <ServiceResourcesComplianceResponse> service_resources_compliance_post(service_resources_compliance)
|
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::ServiceResourcesComplianceApi.new
|
28
|
+
service_resources_compliance = AutosdeOpenapiClient::ServiceResourcesCompliance.new # ServiceResourcesCompliance |
|
29
|
+
|
30
|
+
begin
|
31
|
+
|
32
|
+
result = api_instance.service_resources_compliance_post(service_resources_compliance)
|
33
|
+
p result
|
34
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
35
|
+
puts "Error when calling ServiceResourcesComplianceApi->service_resources_compliance_post: #{e}"
|
36
|
+
end
|
37
|
+
```
|
38
|
+
|
39
|
+
#### Using the service_resources_compliance_post_with_http_info variant
|
40
|
+
|
41
|
+
This returns an Array which contains the response data, status code and headers.
|
42
|
+
|
43
|
+
> <Array(<ServiceResourcesComplianceResponse>, Integer, Hash)> service_resources_compliance_post_with_http_info(service_resources_compliance)
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
begin
|
47
|
+
|
48
|
+
data, status_code, headers = api_instance.service_resources_compliance_post_with_http_info(service_resources_compliance)
|
49
|
+
p status_code # => 2xx
|
50
|
+
p headers # => { ... }
|
51
|
+
p data # => <ServiceResourcesComplianceResponse>
|
52
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
53
|
+
puts "Error when calling ServiceResourcesComplianceApi->service_resources_compliance_post_with_http_info: #{e}"
|
54
|
+
end
|
55
|
+
```
|
56
|
+
|
57
|
+
### Parameters
|
58
|
+
|
59
|
+
| Name | Type | Description | Notes |
|
60
|
+
| ---- | ---- | ----------- | ----- |
|
61
|
+
| **service_resources_compliance** | [**ServiceResourcesCompliance**](ServiceResourcesCompliance.md) | | |
|
62
|
+
|
63
|
+
### Return type
|
64
|
+
|
65
|
+
[**ServiceResourcesComplianceResponse**](ServiceResourcesComplianceResponse.md)
|
66
|
+
|
67
|
+
### Authorization
|
68
|
+
|
69
|
+
[bearerAuth](../README.md#bearerAuth)
|
70
|
+
|
71
|
+
### HTTP request headers
|
72
|
+
|
73
|
+
- **Content-Type**: application/json
|
74
|
+
- **Accept**: */*
|
75
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# AutosdeOpenapiClient::ServiceResourcesComplianceResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **compliant_resources** | **Array<String>** | compliant_resources | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'autosde_openapi_client'
|
13
|
+
|
14
|
+
instance = AutosdeOpenapiClient::ServiceResourcesComplianceResponse.new(
|
15
|
+
compliant_resources: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,83 @@
|
|
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 ServiceResourcesComplianceApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# @param service_resources_compliance [ServiceResourcesCompliance]
|
23
|
+
# @param [Hash] opts the optional parameters
|
24
|
+
# @return [ServiceResourcesComplianceResponse]
|
25
|
+
def service_resources_compliance_post(service_resources_compliance, opts = {})
|
26
|
+
data, _status_code, _headers = service_resources_compliance_post_with_http_info(service_resources_compliance, opts)
|
27
|
+
data
|
28
|
+
end
|
29
|
+
|
30
|
+
# @param service_resources_compliance [ServiceResourcesCompliance]
|
31
|
+
# @param [Hash] opts the optional parameters
|
32
|
+
# @return [Array<(ServiceResourcesComplianceResponse, Integer, Hash)>] ServiceResourcesComplianceResponse data, response status code and response headers
|
33
|
+
def service_resources_compliance_post_with_http_info(service_resources_compliance, opts = {})
|
34
|
+
if @api_client.config.debugging
|
35
|
+
@api_client.config.logger.debug 'Calling API: ServiceResourcesComplianceApi.service_resources_compliance_post ...'
|
36
|
+
end
|
37
|
+
# verify the required parameter 'service_resources_compliance' is set
|
38
|
+
if @api_client.config.client_side_validation && service_resources_compliance.nil?
|
39
|
+
fail ArgumentError, "Missing the required parameter 'service_resources_compliance' when calling ServiceResourcesComplianceApi.service_resources_compliance_post"
|
40
|
+
end
|
41
|
+
# resource path
|
42
|
+
local_var_path = '/service-resources-compliance'
|
43
|
+
|
44
|
+
# query parameters
|
45
|
+
query_params = opts[:query_params] || {}
|
46
|
+
|
47
|
+
# header parameters
|
48
|
+
header_params = opts[:header_params] || {}
|
49
|
+
# HTTP header 'Accept' (if needed)
|
50
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
51
|
+
# HTTP header 'Content-Type'
|
52
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
53
|
+
|
54
|
+
# form parameters
|
55
|
+
form_params = opts[:form_params] || {}
|
56
|
+
|
57
|
+
# http body (model)
|
58
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(service_resources_compliance)
|
59
|
+
|
60
|
+
# return_type
|
61
|
+
return_type = opts[:debug_return_type] || 'ServiceResourcesComplianceResponse'
|
62
|
+
|
63
|
+
# auth_names
|
64
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
65
|
+
|
66
|
+
new_options = opts.merge(
|
67
|
+
:operation => :"ServiceResourcesComplianceApi.service_resources_compliance_post",
|
68
|
+
:header_params => header_params,
|
69
|
+
:query_params => query_params,
|
70
|
+
:form_params => form_params,
|
71
|
+
:body => post_body,
|
72
|
+
:auth_names => auth_names,
|
73
|
+
:return_type => return_type
|
74
|
+
)
|
75
|
+
|
76
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
77
|
+
if @api_client.config.debugging
|
78
|
+
@api_client.config.logger.debug "API called: ServiceResourcesComplianceApi#service_resources_compliance_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
79
|
+
end
|
80
|
+
return data, status_code, headers
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,231 @@
|
|
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
|
+
# Check if a service will have at least one remaining compliant resource, given a set of capability values.
|
18
|
+
class ServiceResourcesCompliance
|
19
|
+
# capability_values
|
20
|
+
attr_accessor :capability_values
|
21
|
+
|
22
|
+
attr_accessor :service
|
23
|
+
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
25
|
+
def self.attribute_map
|
26
|
+
{
|
27
|
+
:'capability_values' => :'capability_values',
|
28
|
+
:'service' => :'service'
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# Returns all the JSON keys this model knows about
|
33
|
+
def self.acceptable_attributes
|
34
|
+
attribute_map.values
|
35
|
+
end
|
36
|
+
|
37
|
+
# Attribute type mapping.
|
38
|
+
def self.openapi_types
|
39
|
+
{
|
40
|
+
:'capability_values' => :'Array<String>',
|
41
|
+
:'service' => :'Service'
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# List of attributes with nullable: true
|
46
|
+
def self.openapi_nullable
|
47
|
+
Set.new([
|
48
|
+
])
|
49
|
+
end
|
50
|
+
|
51
|
+
# Initializes the object
|
52
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
53
|
+
def initialize(attributes = {})
|
54
|
+
if (!attributes.is_a?(Hash))
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::ServiceResourcesCompliance` initialize method"
|
56
|
+
end
|
57
|
+
|
58
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
60
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::ServiceResourcesCompliance`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
62
|
+
end
|
63
|
+
h[k.to_sym] = v
|
64
|
+
}
|
65
|
+
|
66
|
+
if attributes.key?(:'capability_values')
|
67
|
+
if (value = attributes[:'capability_values']).is_a?(Array)
|
68
|
+
self.capability_values = value
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
if attributes.key?(:'service')
|
73
|
+
self.service = attributes[:'service']
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
78
|
+
# @return Array for valid properties with the reasons
|
79
|
+
def list_invalid_properties
|
80
|
+
invalid_properties = Array.new
|
81
|
+
invalid_properties
|
82
|
+
end
|
83
|
+
|
84
|
+
# Check to see if the all the properties in the model are valid
|
85
|
+
# @return true if the model is valid
|
86
|
+
def valid?
|
87
|
+
true
|
88
|
+
end
|
89
|
+
|
90
|
+
# Checks equality by comparing each attribute.
|
91
|
+
# @param [Object] Object to be compared
|
92
|
+
def ==(o)
|
93
|
+
return true if self.equal?(o)
|
94
|
+
self.class == o.class &&
|
95
|
+
capability_values == o.capability_values &&
|
96
|
+
service == o.service
|
97
|
+
end
|
98
|
+
|
99
|
+
# @see the `==` method
|
100
|
+
# @param [Object] Object to be compared
|
101
|
+
def eql?(o)
|
102
|
+
self == o
|
103
|
+
end
|
104
|
+
|
105
|
+
# Calculates hash code according to all attributes.
|
106
|
+
# @return [Integer] Hash code
|
107
|
+
def hash
|
108
|
+
[capability_values, service].hash
|
109
|
+
end
|
110
|
+
|
111
|
+
# Builds the object from hash
|
112
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
113
|
+
# @return [Object] Returns the model itself
|
114
|
+
def self.build_from_hash(attributes)
|
115
|
+
new.build_from_hash(attributes)
|
116
|
+
end
|
117
|
+
|
118
|
+
# Builds the object from hash
|
119
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
120
|
+
# @return [Object] Returns the model itself
|
121
|
+
def build_from_hash(attributes)
|
122
|
+
return nil unless attributes.is_a?(Hash)
|
123
|
+
self.class.openapi_types.each_pair do |key, type|
|
124
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
125
|
+
self.send("#{key}=", nil)
|
126
|
+
elsif type =~ /\AArray<(.*)>/i
|
127
|
+
# check to ensure the input is an array given that the attribute
|
128
|
+
# is documented as an array but the input is not
|
129
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
130
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
131
|
+
end
|
132
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
133
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
self
|
138
|
+
end
|
139
|
+
|
140
|
+
# Deserializes the data based on type
|
141
|
+
# @param string type Data type
|
142
|
+
# @param string value Value to be deserialized
|
143
|
+
# @return [Object] Deserialized data
|
144
|
+
def _deserialize(type, value)
|
145
|
+
case type.to_sym
|
146
|
+
when :Time
|
147
|
+
Time.parse(value)
|
148
|
+
when :Date
|
149
|
+
Date.parse(value)
|
150
|
+
when :String
|
151
|
+
value.to_s
|
152
|
+
when :Integer
|
153
|
+
value.to_i
|
154
|
+
when :Float
|
155
|
+
value.to_f
|
156
|
+
when :Boolean
|
157
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
158
|
+
true
|
159
|
+
else
|
160
|
+
false
|
161
|
+
end
|
162
|
+
when :Object
|
163
|
+
# generic object (usually a Hash), return directly
|
164
|
+
value
|
165
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
166
|
+
inner_type = Regexp.last_match[:inner_type]
|
167
|
+
value.map { |v| _deserialize(inner_type, v) }
|
168
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
169
|
+
k_type = Regexp.last_match[:k_type]
|
170
|
+
v_type = Regexp.last_match[:v_type]
|
171
|
+
{}.tap do |hash|
|
172
|
+
value.each do |k, v|
|
173
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
174
|
+
end
|
175
|
+
end
|
176
|
+
else # model
|
177
|
+
# models (e.g. Pet) or oneOf
|
178
|
+
klass = AutosdeOpenapiClient.const_get(type)
|
179
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
# Returns the string representation of the object
|
184
|
+
# @return [String] String presentation of the object
|
185
|
+
def to_s
|
186
|
+
to_hash.to_s
|
187
|
+
end
|
188
|
+
|
189
|
+
# to_body is an alias to to_hash (backward compatibility)
|
190
|
+
# @return [Hash] Returns the object in the form of hash
|
191
|
+
def to_body
|
192
|
+
to_hash
|
193
|
+
end
|
194
|
+
|
195
|
+
# Returns the object in the form of hash
|
196
|
+
# @return [Hash] Returns the object in the form of hash
|
197
|
+
def to_hash
|
198
|
+
hash = {}
|
199
|
+
self.class.attribute_map.each_pair do |attr, param|
|
200
|
+
value = self.send(attr)
|
201
|
+
if value.nil?
|
202
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
203
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
204
|
+
end
|
205
|
+
|
206
|
+
hash[param] = _to_hash(value)
|
207
|
+
end
|
208
|
+
hash
|
209
|
+
end
|
210
|
+
|
211
|
+
# Outputs non-array value in the form of hash
|
212
|
+
# For object, use to_hash. Otherwise, just return the value
|
213
|
+
# @param [Object] value Any valid value
|
214
|
+
# @return [Hash] Returns the value in the form of hash
|
215
|
+
def _to_hash(value)
|
216
|
+
if value.is_a?(Array)
|
217
|
+
value.compact.map { |v| _to_hash(v) }
|
218
|
+
elsif value.is_a?(Hash)
|
219
|
+
{}.tap do |hash|
|
220
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
221
|
+
end
|
222
|
+
elsif value.respond_to? :to_hash
|
223
|
+
value.to_hash
|
224
|
+
else
|
225
|
+
value
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
end
|
230
|
+
|
231
|
+
end
|
@@ -0,0 +1,222 @@
|
|
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 ServiceResourcesComplianceResponse
|
19
|
+
# compliant_resources
|
20
|
+
attr_accessor :compliant_resources
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'compliant_resources' => :'compliant_resources'
|
26
|
+
}
|
27
|
+
end
|
28
|
+
|
29
|
+
# Returns all the JSON keys this model knows about
|
30
|
+
def self.acceptable_attributes
|
31
|
+
attribute_map.values
|
32
|
+
end
|
33
|
+
|
34
|
+
# Attribute type mapping.
|
35
|
+
def self.openapi_types
|
36
|
+
{
|
37
|
+
:'compliant_resources' => :'Array<String>'
|
38
|
+
}
|
39
|
+
end
|
40
|
+
|
41
|
+
# List of attributes with nullable: true
|
42
|
+
def self.openapi_nullable
|
43
|
+
Set.new([
|
44
|
+
])
|
45
|
+
end
|
46
|
+
|
47
|
+
# Initializes the object
|
48
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
49
|
+
def initialize(attributes = {})
|
50
|
+
if (!attributes.is_a?(Hash))
|
51
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::ServiceResourcesComplianceResponse` initialize method"
|
52
|
+
end
|
53
|
+
|
54
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
55
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
56
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
57
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::ServiceResourcesComplianceResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
58
|
+
end
|
59
|
+
h[k.to_sym] = v
|
60
|
+
}
|
61
|
+
|
62
|
+
if attributes.key?(:'compliant_resources')
|
63
|
+
if (value = attributes[:'compliant_resources']).is_a?(Array)
|
64
|
+
self.compliant_resources = value
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
70
|
+
# @return Array for valid properties with the reasons
|
71
|
+
def list_invalid_properties
|
72
|
+
invalid_properties = Array.new
|
73
|
+
invalid_properties
|
74
|
+
end
|
75
|
+
|
76
|
+
# Check to see if the all the properties in the model are valid
|
77
|
+
# @return true if the model is valid
|
78
|
+
def valid?
|
79
|
+
true
|
80
|
+
end
|
81
|
+
|
82
|
+
# Checks equality by comparing each attribute.
|
83
|
+
# @param [Object] Object to be compared
|
84
|
+
def ==(o)
|
85
|
+
return true if self.equal?(o)
|
86
|
+
self.class == o.class &&
|
87
|
+
compliant_resources == o.compliant_resources
|
88
|
+
end
|
89
|
+
|
90
|
+
# @see the `==` method
|
91
|
+
# @param [Object] Object to be compared
|
92
|
+
def eql?(o)
|
93
|
+
self == o
|
94
|
+
end
|
95
|
+
|
96
|
+
# Calculates hash code according to all attributes.
|
97
|
+
# @return [Integer] Hash code
|
98
|
+
def hash
|
99
|
+
[compliant_resources].hash
|
100
|
+
end
|
101
|
+
|
102
|
+
# Builds the object from hash
|
103
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
104
|
+
# @return [Object] Returns the model itself
|
105
|
+
def self.build_from_hash(attributes)
|
106
|
+
new.build_from_hash(attributes)
|
107
|
+
end
|
108
|
+
|
109
|
+
# Builds the object from hash
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
111
|
+
# @return [Object] Returns the model itself
|
112
|
+
def build_from_hash(attributes)
|
113
|
+
return nil unless attributes.is_a?(Hash)
|
114
|
+
self.class.openapi_types.each_pair do |key, type|
|
115
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
116
|
+
self.send("#{key}=", nil)
|
117
|
+
elsif type =~ /\AArray<(.*)>/i
|
118
|
+
# check to ensure the input is an array given that the attribute
|
119
|
+
# is documented as an array but the input is not
|
120
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
121
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
122
|
+
end
|
123
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
124
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
self
|
129
|
+
end
|
130
|
+
|
131
|
+
# Deserializes the data based on type
|
132
|
+
# @param string type Data type
|
133
|
+
# @param string value Value to be deserialized
|
134
|
+
# @return [Object] Deserialized data
|
135
|
+
def _deserialize(type, value)
|
136
|
+
case type.to_sym
|
137
|
+
when :Time
|
138
|
+
Time.parse(value)
|
139
|
+
when :Date
|
140
|
+
Date.parse(value)
|
141
|
+
when :String
|
142
|
+
value.to_s
|
143
|
+
when :Integer
|
144
|
+
value.to_i
|
145
|
+
when :Float
|
146
|
+
value.to_f
|
147
|
+
when :Boolean
|
148
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
149
|
+
true
|
150
|
+
else
|
151
|
+
false
|
152
|
+
end
|
153
|
+
when :Object
|
154
|
+
# generic object (usually a Hash), return directly
|
155
|
+
value
|
156
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
157
|
+
inner_type = Regexp.last_match[:inner_type]
|
158
|
+
value.map { |v| _deserialize(inner_type, v) }
|
159
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
160
|
+
k_type = Regexp.last_match[:k_type]
|
161
|
+
v_type = Regexp.last_match[:v_type]
|
162
|
+
{}.tap do |hash|
|
163
|
+
value.each do |k, v|
|
164
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
else # model
|
168
|
+
# models (e.g. Pet) or oneOf
|
169
|
+
klass = AutosdeOpenapiClient.const_get(type)
|
170
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
# Returns the string representation of the object
|
175
|
+
# @return [String] String presentation of the object
|
176
|
+
def to_s
|
177
|
+
to_hash.to_s
|
178
|
+
end
|
179
|
+
|
180
|
+
# to_body is an alias to to_hash (backward compatibility)
|
181
|
+
# @return [Hash] Returns the object in the form of hash
|
182
|
+
def to_body
|
183
|
+
to_hash
|
184
|
+
end
|
185
|
+
|
186
|
+
# Returns the object in the form of hash
|
187
|
+
# @return [Hash] Returns the object in the form of hash
|
188
|
+
def to_hash
|
189
|
+
hash = {}
|
190
|
+
self.class.attribute_map.each_pair do |attr, param|
|
191
|
+
value = self.send(attr)
|
192
|
+
if value.nil?
|
193
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
194
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
195
|
+
end
|
196
|
+
|
197
|
+
hash[param] = _to_hash(value)
|
198
|
+
end
|
199
|
+
hash
|
200
|
+
end
|
201
|
+
|
202
|
+
# Outputs non-array value in the form of hash
|
203
|
+
# For object, use to_hash. Otherwise, just return the value
|
204
|
+
# @param [Object] value Any valid value
|
205
|
+
# @return [Hash] Returns the value in the form of hash
|
206
|
+
def _to_hash(value)
|
207
|
+
if value.is_a?(Array)
|
208
|
+
value.compact.map { |v| _to_hash(v) }
|
209
|
+
elsif value.is_a?(Hash)
|
210
|
+
{}.tap do |hash|
|
211
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
212
|
+
end
|
213
|
+
elsif value.respond_to? :to_hash
|
214
|
+
value.to_hash
|
215
|
+
else
|
216
|
+
value
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
end
|
221
|
+
|
222
|
+
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Site Manager API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.2.
|
6
|
+
The version of the OpenAPI document: 3.2.12
|
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 = '3.2.
|
14
|
+
VERSION = '3.2.12'
|
15
15
|
end
|
@@ -59,6 +59,8 @@ require 'autosde_openapi_client/models/service_abstract_capability_value_respons
|
|
59
59
|
require 'autosde_openapi_client/models/service_create'
|
60
60
|
require 'autosde_openapi_client/models/service_resource_attachment'
|
61
61
|
require 'autosde_openapi_client/models/service_resource_attachment_response'
|
62
|
+
require 'autosde_openapi_client/models/service_resources_compliance'
|
63
|
+
require 'autosde_openapi_client/models/service_resources_compliance_response'
|
62
64
|
require 'autosde_openapi_client/models/service_response'
|
63
65
|
require 'autosde_openapi_client/models/service_update'
|
64
66
|
require 'autosde_openapi_client/models/snapshot'
|
@@ -118,6 +120,7 @@ require 'autosde_openapi_client/api/refresh_system_api'
|
|
118
120
|
require 'autosde_openapi_client/api/service_api'
|
119
121
|
require 'autosde_openapi_client/api/service_abstract_capability_value_api'
|
120
122
|
require 'autosde_openapi_client/api/service_resource_attachment_api'
|
123
|
+
require 'autosde_openapi_client/api/service_resources_compliance_api'
|
121
124
|
require 'autosde_openapi_client/api/snapshot_api'
|
122
125
|
require 'autosde_openapi_client/api/storage_host_api'
|
123
126
|
require 'autosde_openapi_client/api/storage_host_wwpn_candidates_api'
|
@@ -0,0 +1,45 @@
|
|
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
|
+
|
16
|
+
# Unit tests for AutosdeOpenapiClient::ServiceResourcesComplianceApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ServiceResourcesComplianceApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = AutosdeOpenapiClient::ServiceResourcesComplianceApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ServiceResourcesComplianceApi' do
|
30
|
+
it 'should create an instance of ServiceResourcesComplianceApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(AutosdeOpenapiClient::ServiceResourcesComplianceApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for service_resources_compliance_post
|
36
|
+
# @param service_resources_compliance
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [ServiceResourcesComplianceResponse]
|
39
|
+
describe 'service_resources_compliance_post test' do
|
40
|
+
it 'should work' do
|
41
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
@@ -0,0 +1,34 @@
|
|
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::ServiceResourcesComplianceResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::ServiceResourcesComplianceResponse do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::ServiceResourcesComplianceResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ServiceResourcesComplianceResponse' do
|
24
|
+
it 'should create an instance of ServiceResourcesComplianceResponse' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::ServiceResourcesComplianceResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "compliant_resources"' 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
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for AutosdeOpenapiClient::ServiceResourcesCompliance
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::ServiceResourcesCompliance do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::ServiceResourcesCompliance.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ServiceResourcesCompliance' do
|
24
|
+
it 'should create an instance of ServiceResourcesCompliance' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::ServiceResourcesCompliance)
|
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 "service"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autosde_openapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -126,6 +126,9 @@ files:
|
|
126
126
|
- docs/ServiceResourceAttachment.md
|
127
127
|
- docs/ServiceResourceAttachmentApi.md
|
128
128
|
- docs/ServiceResourceAttachmentResponse.md
|
129
|
+
- docs/ServiceResourcesCompliance.md
|
130
|
+
- docs/ServiceResourcesComplianceApi.md
|
131
|
+
- docs/ServiceResourcesComplianceResponse.md
|
129
132
|
- docs/ServiceResponse.md
|
130
133
|
- docs/ServiceUpdate.md
|
131
134
|
- docs/Snapshot.md
|
@@ -197,6 +200,7 @@ files:
|
|
197
200
|
- lib/autosde_openapi_client/api/service_abstract_capability_value_api.rb
|
198
201
|
- lib/autosde_openapi_client/api/service_api.rb
|
199
202
|
- lib/autosde_openapi_client/api/service_resource_attachment_api.rb
|
203
|
+
- lib/autosde_openapi_client/api/service_resources_compliance_api.rb
|
200
204
|
- lib/autosde_openapi_client/api/snapshot_api.rb
|
201
205
|
- lib/autosde_openapi_client/api/storage_host_api.rb
|
202
206
|
- lib/autosde_openapi_client/api/storage_host_wwpn_candidates_api.rb
|
@@ -254,6 +258,8 @@ files:
|
|
254
258
|
- lib/autosde_openapi_client/models/service_create.rb
|
255
259
|
- lib/autosde_openapi_client/models/service_resource_attachment.rb
|
256
260
|
- lib/autosde_openapi_client/models/service_resource_attachment_response.rb
|
261
|
+
- lib/autosde_openapi_client/models/service_resources_compliance.rb
|
262
|
+
- lib/autosde_openapi_client/models/service_resources_compliance_response.rb
|
257
263
|
- lib/autosde_openapi_client/models/service_response.rb
|
258
264
|
- lib/autosde_openapi_client/models/service_update.rb
|
259
265
|
- lib/autosde_openapi_client/models/snapshot.rb
|
@@ -312,6 +318,7 @@ files:
|
|
312
318
|
- spec/api/service_abstract_capability_value_api_spec.rb
|
313
319
|
- spec/api/service_api_spec.rb
|
314
320
|
- spec/api/service_resource_attachment_api_spec.rb
|
321
|
+
- spec/api/service_resources_compliance_api_spec.rb
|
315
322
|
- spec/api/snapshot_api_spec.rb
|
316
323
|
- spec/api/storage_host_api_spec.rb
|
317
324
|
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
@@ -367,6 +374,8 @@ files:
|
|
367
374
|
- spec/models/service_create_spec.rb
|
368
375
|
- spec/models/service_resource_attachment_response_spec.rb
|
369
376
|
- spec/models/service_resource_attachment_spec.rb
|
377
|
+
- spec/models/service_resources_compliance_response_spec.rb
|
378
|
+
- spec/models/service_resources_compliance_spec.rb
|
370
379
|
- spec/models/service_response_spec.rb
|
371
380
|
- spec/models/service_spec.rb
|
372
381
|
- spec/models/service_update_spec.rb
|
@@ -428,117 +437,120 @@ signing_key:
|
|
428
437
|
specification_version: 4
|
429
438
|
summary: Site Manager API Ruby Gem
|
430
439
|
test_files:
|
431
|
-
- spec/api/
|
440
|
+
- spec/api/storage_host_api_spec.rb
|
441
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
442
|
+
- spec/api/service_resource_attachment_api_spec.rb
|
443
|
+
- spec/api/auto_sde_role_api_spec.rb
|
444
|
+
- spec/api/snapshot_api_spec.rb
|
445
|
+
- spec/api/storage_hosts_mapping_api_spec.rb
|
446
|
+
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
447
|
+
- spec/api/validate_system_api_spec.rb
|
432
448
|
- spec/api/profile_api_spec.rb
|
433
|
-
- spec/api/volume_migration_api_spec.rb
|
434
|
-
- spec/api/system_type_api_spec.rb
|
435
|
-
- spec/api/authentication_api_spec.rb
|
436
449
|
- spec/api/provisioning_strategy_api_spec.rb
|
450
|
+
- spec/api/volume_migration_api_spec.rb
|
437
451
|
- spec/api/service_abstract_capability_value_api_spec.rb
|
438
|
-
- spec/api/
|
439
|
-
- spec/api/account_api_spec.rb
|
440
|
-
- spec/api/capability_translation_api_spec.rb
|
441
|
-
- spec/api/refresh_system_api_spec.rb
|
442
|
-
- spec/api/job_api_spec.rb
|
443
|
-
- spec/api/auto_sde_project_api_spec.rb
|
444
|
-
- spec/api/event_api_spec.rb
|
445
|
-
- spec/api/host_volume_connection_api_spec.rb
|
446
|
-
- spec/api/host_api_spec.rb
|
452
|
+
- spec/api/storage_resource_api_spec.rb
|
447
453
|
- spec/api/address_api_spec.rb
|
448
|
-
- spec/api/
|
454
|
+
- spec/api/service_api_spec.rb
|
455
|
+
- spec/api/host_api_spec.rb
|
449
456
|
- spec/api/volume_api_spec.rb
|
450
|
-
- spec/api/
|
451
|
-
- spec/api/
|
452
|
-
- spec/api/
|
453
|
-
- spec/api/
|
454
|
-
- spec/api/
|
455
|
-
- spec/api/
|
456
|
-
- spec/api/host_cluster_membership_api_spec.rb
|
457
|
-
- spec/api/storage_host_api_spec.rb
|
457
|
+
- spec/api/user_api_spec.rb
|
458
|
+
- spec/api/service_resources_compliance_api_spec.rb
|
459
|
+
- spec/api/job_api_spec.rb
|
460
|
+
- spec/api/host_volume_connection_api_spec.rb
|
461
|
+
- spec/api/event_api_spec.rb
|
462
|
+
- spec/api/auto_sde_project_api_spec.rb
|
458
463
|
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
464
|
+
- spec/api/system_type_api_spec.rb
|
465
|
+
- spec/api/capability_translation_api_spec.rb
|
459
466
|
- spec/api/volume_clone_api_spec.rb
|
467
|
+
- spec/api/celery_config_api_spec.rb
|
468
|
+
- spec/api/abstract_capability_api_spec.rb
|
469
|
+
- spec/api/authentication_api_spec.rb
|
470
|
+
- spec/api/native_capability_api_spec.rb
|
471
|
+
- spec/api/storage_system_api_spec.rb
|
472
|
+
- spec/api/account_api_spec.rb
|
460
473
|
- spec/api/host_cluster_api_spec.rb
|
461
|
-
- spec/api/
|
462
|
-
- spec/api/user_api_spec.rb
|
463
|
-
- spec/api/service_api_spec.rb
|
464
|
-
- spec/api/auto_sde_role_api_spec.rb
|
474
|
+
- spec/api/refresh_system_api_spec.rb
|
465
475
|
- spec/api_client_spec.rb
|
466
476
|
- spec/configuration_spec.rb
|
477
|
+
- spec/models/host_cluster_response_spec.rb
|
478
|
+
- spec/models/storage_host_spec.rb
|
479
|
+
- spec/models/storage_system_create_spec.rb
|
480
|
+
- spec/models/service_resource_attachment_spec.rb
|
481
|
+
- spec/models/host_volume_connection_create_spec.rb
|
482
|
+
- spec/models/service_abstract_capability_value_response_spec.rb
|
483
|
+
- spec/models/host_spec.rb
|
467
484
|
- spec/models/address_create_spec.rb
|
468
|
-
- spec/models/service_update_spec.rb
|
469
|
-
- spec/models/service_spec.rb
|
470
|
-
- spec/models/host_cluster_membership_spec.rb
|
471
|
-
- spec/models/user_spec.rb
|
472
|
-
- spec/models/storage_resource_response_spec.rb
|
473
|
-
- spec/models/system_type_spec.rb
|
474
485
|
- spec/models/storage_host_update_spec.rb
|
475
|
-
- spec/models/
|
476
|
-
- spec/models/
|
477
|
-
- spec/models/
|
478
|
-
- spec/models/
|
479
|
-
- spec/models/
|
480
|
-
- spec/models/
|
481
|
-
- spec/models/
|
486
|
+
- spec/models/snapshot_response_spec.rb
|
487
|
+
- spec/models/celery_config_spec.rb
|
488
|
+
- spec/models/storage_host_create_spec.rb
|
489
|
+
- spec/models/storage_resource_spec.rb
|
490
|
+
- spec/models/provisioning_strategy_spec.rb
|
491
|
+
- spec/models/host_volume_connection_spec.rb
|
492
|
+
- spec/models/account_spec.rb
|
493
|
+
- spec/models/host_cluster_membership_spec.rb
|
494
|
+
- spec/models/account_post_request_spec.rb
|
495
|
+
- spec/models/auto_sde_role_spec.rb
|
496
|
+
- spec/models/auto_sde_project_spec.rb
|
497
|
+
- spec/models/service_resources_compliance_spec.rb
|
482
498
|
- spec/models/async_response_spec.rb
|
499
|
+
- spec/models/volume_update_spec.rb
|
500
|
+
- spec/models/storage_resource_update_spec.rb
|
501
|
+
- spec/models/snapshot_spec.rb
|
502
|
+
- spec/models/storage_system_response_spec.rb
|
503
|
+
- spec/models/snapshot_create_spec.rb
|
504
|
+
- spec/models/host_cluster_spec.rb
|
505
|
+
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
483
506
|
- spec/models/event_spec.rb
|
484
|
-
- spec/models/
|
485
|
-
- spec/models/
|
486
|
-
- spec/models/
|
487
|
-
- spec/models/
|
488
|
-
- spec/models/service_abstract_capability_value_response_spec.rb
|
489
|
-
- spec/models/storage_host_wwpn_candidates_spec.rb
|
490
|
-
- spec/models/abstract_capability_spec.rb
|
491
|
-
- spec/models/host_volume_connection_spec.rb
|
492
|
-
- spec/models/service_resource_attachment_response_spec.rb
|
493
|
-
- spec/models/host_cluster_volume_mapping_spec.rb
|
494
|
-
- spec/models/account_post_response_spec.rb
|
495
|
-
- spec/models/snapshot_response_spec.rb
|
496
|
-
- spec/models/abstract_capability_response_spec.rb
|
497
|
-
- spec/models/host_volume_connection_create_spec.rb
|
507
|
+
- spec/models/storage_hosts_mapping_create_spec.rb
|
508
|
+
- spec/models/host_create_spec.rb
|
509
|
+
- spec/models/system_type_response_spec.rb
|
510
|
+
- spec/models/volume_spec.rb
|
498
511
|
- spec/models/job_response_spec.rb
|
512
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
513
|
+
- spec/models/abstract_capability_response_spec.rb
|
514
|
+
- spec/models/storage_host_response_spec.rb
|
515
|
+
- spec/models/volume_create_spec.rb
|
516
|
+
- spec/models/service_response_spec.rb
|
517
|
+
- spec/models/validate_system_data_spec.rb
|
499
518
|
- spec/models/storage_hosts_mapping_spec.rb
|
500
|
-
- spec/models/
|
501
|
-
- spec/models/
|
502
|
-
- spec/models/
|
503
|
-
- spec/models/
|
504
|
-
- spec/models/
|
519
|
+
- spec/models/storage_host_wwpn_candidates_spec.rb
|
520
|
+
- spec/models/validate_system_spec.rb
|
521
|
+
- spec/models/service_resources_compliance_response_spec.rb
|
522
|
+
- spec/models/host_cluster_create_spec.rb
|
523
|
+
- spec/models/capability_translation_create_spec.rb
|
505
524
|
- spec/models/service_create_spec.rb
|
506
|
-
- spec/models/
|
507
|
-
- spec/models/
|
508
|
-
- spec/models/
|
509
|
-
- spec/models/
|
510
|
-
- spec/models/
|
511
|
-
- spec/models/
|
512
|
-
- spec/models/
|
525
|
+
- spec/models/address_spec.rb
|
526
|
+
- spec/models/capability_translation_spec.rb
|
527
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
528
|
+
- spec/models/user_update_spec.rb
|
529
|
+
- spec/models/authentication_spec.rb
|
530
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
531
|
+
- spec/models/abstract_capability_spec.rb
|
513
532
|
- spec/models/volume_clone_spec.rb
|
514
|
-
- spec/models/snapshot_spec.rb
|
515
|
-
- spec/models/volume_update_spec.rb
|
516
533
|
- spec/models/volume_response_spec.rb
|
534
|
+
- spec/models/storage_system_spec.rb
|
535
|
+
- spec/models/service_update_spec.rb
|
536
|
+
- spec/models/native_capability_spec.rb
|
537
|
+
- spec/models/refresh_system_spec.rb
|
538
|
+
- spec/models/service_resource_attachment_response_spec.rb
|
539
|
+
- spec/models/event_response_spec.rb
|
517
540
|
- spec/models/auth_response_spec.rb
|
518
|
-
- spec/models/
|
519
|
-
- spec/models/validate_system_spec.rb
|
520
|
-
- spec/models/storage_hosts_mapping_create_spec.rb
|
521
|
-
- spec/models/host_spec.rb
|
522
|
-
- spec/models/volume_create_spec.rb
|
523
|
-
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
524
|
-
- spec/models/auto_sde_role_spec.rb
|
525
|
-
- spec/models/storage_resource_create_spec.rb
|
526
|
-
- spec/models/service_resource_attachment_spec.rb
|
527
|
-
- spec/models/celery_config_spec.rb
|
528
|
-
- spec/models/storage_host_response_spec.rb
|
529
|
-
- spec/models/storage_resource_update_spec.rb
|
530
|
-
- spec/models/host_cluster_create_spec.rb
|
541
|
+
- spec/models/service_spec.rb
|
531
542
|
- spec/models/storage_system_update_spec.rb
|
532
|
-
- spec/models/provisioning_strategy_spec.rb
|
533
|
-
- spec/models/storage_host_create_spec.rb
|
534
|
-
- spec/models/capability_translation_create_spec.rb
|
535
|
-
- spec/models/volume_migration_spec.rb
|
536
|
-
- spec/models/storage_resource_spec.rb
|
537
|
-
- spec/models/service_response_spec.rb
|
538
|
-
- spec/models/snapshot_create_spec.rb
|
539
|
-
- spec/models/event_response_spec.rb
|
540
|
-
- spec/models/authentication_spec.rb
|
541
|
-
- spec/models/host_cluster_update_spec.rb
|
542
543
|
- spec/models/storage_hosts_mapping_response_spec.rb
|
544
|
+
- spec/models/system_type_spec.rb
|
545
|
+
- spec/models/job_spec.rb
|
546
|
+
- spec/models/user_spec.rb
|
547
|
+
- spec/models/storage_resource_response_spec.rb
|
548
|
+
- spec/models/host_cluster_update_spec.rb
|
543
549
|
- spec/models/system_type_create_spec.rb
|
550
|
+
- spec/models/profile_spec.rb
|
551
|
+
- spec/models/account_post_response_spec.rb
|
552
|
+
- spec/models/user_create_spec.rb
|
553
|
+
- spec/models/job_create_spec.rb
|
554
|
+
- spec/models/volume_migration_spec.rb
|
555
|
+
- spec/models/storage_resource_create_spec.rb
|
544
556
|
- spec/spec_helper.rb
|