Skip to content

Commit 2299da8

Browse files
author
devexperience
committed
Generated version 1.11.0
This commit was automatically created by a GitHub Action to generate version 1.11.0 of this library.
1 parent d78a0af commit 2299da8

File tree

8 files changed

+40
-4
lines changed

8 files changed

+40
-4
lines changed

docs/ImageOptionResponse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
77
| **data_uri** | **String** | | [optional] |
8+
| **guid** | **String** | | [optional] |
89
| **label** | **String** | | [optional] |
910
| **value** | **String** | | [optional] |
1011

@@ -15,6 +16,7 @@ require 'mx-platform-ruby'
1516

1617
instance = MxPlatformRuby::ImageOptionResponse.new(
1718
data_uri: data:image/png;base64,iVBORw0KGgoAAAANSUh ... more image data ...,
19+
guid: CRD-ce76d2e3-86bd-ec4a-ec52-eb53b5194bf5,
1820
label: IMAGE_1,
1921
value: image_data
2022
)

docs/OptionResponse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
7+
| **guid** | **String** | | [optional] |
78
| **label** | **String** | | [optional] |
89
| **value** | **String** | | [optional] |
910

@@ -13,6 +14,7 @@
1314
require 'mx-platform-ruby'
1415

1516
instance = MxPlatformRuby::OptionResponse.new(
17+
guid: CRD-ce76d2e3-86bd-ec4a-ec52-eb53b5194bf5,
1618
label: IMAGE_1,
1719
value: image_data
1820
)

lib/mx-platform-ruby/models/image_option_response.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ module MxPlatformRuby
1717
class ImageOptionResponse
1818
attr_accessor :data_uri
1919

20+
attr_accessor :guid
21+
2022
attr_accessor :label
2123

2224
attr_accessor :value
@@ -25,6 +27,7 @@ class ImageOptionResponse
2527
def self.attribute_map
2628
{
2729
:'data_uri' => :'data_uri',
30+
:'guid' => :'guid',
2831
:'label' => :'label',
2932
:'value' => :'value'
3033
}
@@ -39,6 +42,7 @@ def self.acceptable_attributes
3942
def self.openapi_types
4043
{
4144
:'data_uri' => :'String',
45+
:'guid' => :'String',
4246
:'label' => :'String',
4347
:'value' => :'String'
4448
}
@@ -48,6 +52,7 @@ def self.openapi_types
4852
def self.openapi_nullable
4953
Set.new([
5054
:'data_uri',
55+
:'guid',
5156
:'label',
5257
:'value'
5358
])
@@ -72,6 +77,10 @@ def initialize(attributes = {})
7277
self.data_uri = attributes[:'data_uri']
7378
end
7479

80+
if attributes.key?(:'guid')
81+
self.guid = attributes[:'guid']
82+
end
83+
7584
if attributes.key?(:'label')
7685
self.label = attributes[:'label']
7786
end
@@ -102,6 +111,7 @@ def ==(o)
102111
return true if self.equal?(o)
103112
self.class == o.class &&
104113
data_uri == o.data_uri &&
114+
guid == o.guid &&
105115
label == o.label &&
106116
value == o.value
107117
end
@@ -115,7 +125,7 @@ def eql?(o)
115125
# Calculates hash code according to all attributes.
116126
# @return [Integer] Hash code
117127
def hash
118-
[data_uri, label, value].hash
128+
[data_uri, guid, label, value].hash
119129
end
120130

121131
# Builds the object from hash

lib/mx-platform-ruby/models/option_response.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@
1515

1616
module MxPlatformRuby
1717
class OptionResponse
18+
attr_accessor :guid
19+
1820
attr_accessor :label
1921

2022
attr_accessor :value
2123

2224
# Attribute mapping from ruby-style variable name to JSON key.
2325
def self.attribute_map
2426
{
27+
:'guid' => :'guid',
2528
:'label' => :'label',
2629
:'value' => :'value'
2730
}
@@ -35,6 +38,7 @@ def self.acceptable_attributes
3538
# Attribute type mapping.
3639
def self.openapi_types
3740
{
41+
:'guid' => :'String',
3842
:'label' => :'String',
3943
:'value' => :'String'
4044
}
@@ -43,6 +47,7 @@ def self.openapi_types
4347
# List of attributes with nullable: true
4448
def self.openapi_nullable
4549
Set.new([
50+
:'guid',
4651
:'label',
4752
:'value'
4853
])
@@ -63,6 +68,10 @@ def initialize(attributes = {})
6368
h[k.to_sym] = v
6469
}
6570

71+
if attributes.key?(:'guid')
72+
self.guid = attributes[:'guid']
73+
end
74+
6675
if attributes.key?(:'label')
6776
self.label = attributes[:'label']
6877
end
@@ -92,6 +101,7 @@ def valid?
92101
def ==(o)
93102
return true if self.equal?(o)
94103
self.class == o.class &&
104+
guid == o.guid &&
95105
label == o.label &&
96106
value == o.value
97107
end
@@ -105,7 +115,7 @@ def eql?(o)
105115
# Calculates hash code according to all attributes.
106116
# @return [Integer] Hash code
107117
def hash
108-
[label, value].hash
118+
[guid, label, value].hash
109119
end
110120

111121
# Builds the object from hash

lib/mx-platform-ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
=end
1212

1313
module MxPlatformRuby
14-
VERSION = '1.10.1'
14+
VERSION = '1.11.0'
1515
end

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
66
gemLicense: MIT
77
gemName: mx-platform-ruby
88
gemRequiredRubyVersion: ">= 2.6"
9-
gemVersion: 1.10.1
9+
gemVersion: 1.11.0
1010
library: faraday
1111
moduleName: MxPlatformRuby

spec/models/image_option_response_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@
3333
end
3434
end
3535

36+
describe 'test attribute "guid"' do
37+
it 'should work' do
38+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39+
end
40+
end
41+
3642
describe 'test attribute "label"' do
3743
it 'should work' do
3844
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/

spec/models/option_response_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
end
2828
end
2929

30+
describe 'test attribute "guid"' do
31+
it 'should work' do
32+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33+
end
34+
end
35+
3036
describe 'test attribute "label"' do
3137
it 'should work' do
3238
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/

0 commit comments

Comments
 (0)