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: 61b99dea54189cc0cf3884b92ff7f1061322786b0af48a439041bf4c1451f2d1
4
- data.tar.gz: 4151637cdf1d09650480c4b26fd016278c8acdbf303fa07bb9150e5cc958636e
3
+ metadata.gz: 84727a8808a228c47aa948db21eaa21ae4bbd4148f79e7d7bde0afb39171a65c
4
+ data.tar.gz: 5411b5f321a470086cf5cb17e93eb4ee3a383263b79e2c8a81485a1a834d5dd3
5
5
  SHA512:
6
- metadata.gz: b3d68b79830a03e1275693170491b1742e36835bec23789c2bab2ad604b41ebd06b9756efb83ba7fd0400667f2bf0b1cef94c6d152d744f196459d1076644eba
7
- data.tar.gz: 3997ee2dcfa29c4d66a90fbf46b30f764eef8e314e31c8b4d981513dd203fea31e22115202e168ff3530a4463d6ad4af8d63f76b0de4e9af89c56e7f01f0d2d8
6
+ metadata.gz: 066dcb4305c70dc8494307e0586e513083a82dc9eee27319c312b293e6c8b924bb5b3400ee234407e389615286b14c3f1e4f778d47d8b0d5c86ad118fde5e494
7
+ data.tar.gz: 19ad190fb5bb3b2c75a13805c937be4e40d798393a4e543d1a3faf3add2bda748fc31188e931bba6f6f2fd0a3284c12959ff57560931bb830b2abad0353c8446
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **capability_values** | [**ServiceAbstractCapabilityValue**](ServiceAbstractCapabilityValue.md) | | [optional] |
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
- capability_values: null,
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
- attr_accessor :capability_values
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
- :'capability_values' => :'capability_values',
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
- :'capability_values' => :'ServiceAbstractCapabilityValue',
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?(:'capability_values')
121
- self.capability_values = attributes[:'capability_values']
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
- capability_values == o.capability_values &&
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
- [capability_values, component_state, description, name, profile, project, provisioning_strategy, uuid, version].hash
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.0
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.0'
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 "capability_values"' do
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autosde_openapi_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator