autosde_openapi_client 2.2.0 → 2.2.1
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84727a8808a228c47aa948db21eaa21ae4bbd4148f79e7d7bde0afb39171a65c
|
4
|
+
data.tar.gz: 5411b5f321a470086cf5cb17e93eb4ee3a383263b79e2c8a81485a1a834d5dd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 066dcb4305c70dc8494307e0586e513083a82dc9eee27319c312b293e6c8b924bb5b3400ee234407e389615286b14c3f1e4f778d47d8b0d5c86ad118fde5e494
|
7
|
+
data.tar.gz: 19ad190fb5bb3b2c75a13805c937be4e40d798393a4e543d1a3faf3add2bda748fc31188e931bba6f6f2fd0a3284c12959ff57560931bb830b2abad0353c8446
|
data/docs/ServiceCreate.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **capability_value_list** | **Array<String>** | capability_value_list | [optional] |
|
8
8
|
| **component_state** | **String** | component_state | [optional] |
|
9
9
|
| **description** | **String** | description | [optional][default to ''] |
|
10
10
|
| **name** | **String** | name | [optional] |
|
@@ -20,7 +20,7 @@
|
|
20
20
|
require 'autosde_openapi_client'
|
21
21
|
|
22
22
|
instance = AutosdeOpenapiClient::ServiceCreate.new(
|
23
|
-
|
23
|
+
capability_value_list: null,
|
24
24
|
component_state: null,
|
25
25
|
description: null,
|
26
26
|
name: null,
|
@@ -16,7 +16,8 @@ require 'time'
|
|
16
16
|
module AutosdeOpenapiClient
|
17
17
|
# TODO add description
|
18
18
|
class ServiceCreate
|
19
|
-
|
19
|
+
# capability_value_list
|
20
|
+
attr_accessor :capability_value_list
|
20
21
|
|
21
22
|
# component_state
|
22
23
|
attr_accessor :component_state
|
@@ -64,7 +65,7 @@ module AutosdeOpenapiClient
|
|
64
65
|
# Attribute mapping from ruby-style variable name to JSON key.
|
65
66
|
def self.attribute_map
|
66
67
|
{
|
67
|
-
:'
|
68
|
+
:'capability_value_list' => :'capability_value_list',
|
68
69
|
:'component_state' => :'component_state',
|
69
70
|
:'description' => :'description',
|
70
71
|
:'name' => :'name',
|
@@ -84,7 +85,7 @@ module AutosdeOpenapiClient
|
|
84
85
|
# Attribute type mapping.
|
85
86
|
def self.openapi_types
|
86
87
|
{
|
87
|
-
:'
|
88
|
+
:'capability_value_list' => :'Array<String>',
|
88
89
|
:'component_state' => :'String',
|
89
90
|
:'description' => :'String',
|
90
91
|
:'name' => :'String',
|
@@ -117,8 +118,10 @@ module AutosdeOpenapiClient
|
|
117
118
|
h[k.to_sym] = v
|
118
119
|
}
|
119
120
|
|
120
|
-
if attributes.key?(:'
|
121
|
-
|
121
|
+
if attributes.key?(:'capability_value_list')
|
122
|
+
if (value = attributes[:'capability_value_list']).is_a?(Array)
|
123
|
+
self.capability_value_list = value
|
124
|
+
end
|
122
125
|
end
|
123
126
|
|
124
127
|
if attributes.key?(:'component_state')
|
@@ -193,7 +196,7 @@ module AutosdeOpenapiClient
|
|
193
196
|
def ==(o)
|
194
197
|
return true if self.equal?(o)
|
195
198
|
self.class == o.class &&
|
196
|
-
|
199
|
+
capability_value_list == o.capability_value_list &&
|
197
200
|
component_state == o.component_state &&
|
198
201
|
description == o.description &&
|
199
202
|
name == o.name &&
|
@@ -213,7 +216,7 @@ module AutosdeOpenapiClient
|
|
213
216
|
# Calculates hash code according to all attributes.
|
214
217
|
# @return [Integer] Hash code
|
215
218
|
def hash
|
216
|
-
[
|
219
|
+
[capability_value_list, component_state, description, name, profile, project, provisioning_strategy, uuid, version].hash
|
217
220
|
end
|
218
221
|
|
219
222
|
# 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.2.
|
6
|
+
The version of the OpenAPI document: 2.2.1
|
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.2.
|
14
|
+
VERSION = '2.2.1'
|
15
15
|
end
|
@@ -25,7 +25,7 @@ describe AutosdeOpenapiClient::ServiceCreate do
|
|
25
25
|
expect(instance).to be_instance_of(AutosdeOpenapiClient::ServiceCreate)
|
26
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "
|
28
|
+
describe 'test attribute "capability_value_list"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
31
|
end
|