Skip to content

Commit dce6339

Browse files
author
devexperience
committed
Generated version 0.23.0
This commit was automatically created by a GitHub Action to generate version 0.23.0 of this library.
1 parent e38d6e2 commit dce6339

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

docs/SpendingPlansResponseBody.md

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

55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
7-
| **iteration_items** | [**Array<SpendingPlanResponse>**](SpendingPlanResponse.md) | | [optional] |
7+
| **spending_plans** | [**Array<SpendingPlanResponse>**](SpendingPlanResponse.md) | | [optional] |
88
| **pagination** | [**PaginationResponse**](PaginationResponse.md) | | [optional] |
99

1010
## Example
@@ -13,7 +13,7 @@
1313
require 'mx-platform-ruby'
1414

1515
instance = MxPlatformRuby::SpendingPlansResponseBody.new(
16-
iteration_items: null,
16+
spending_plans: null,
1717
pagination: null
1818
)
1919
```

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515

1616
module MxPlatformRuby
1717
class SpendingPlansResponseBody
18-
attr_accessor :iteration_items
18+
attr_accessor :spending_plans
1919

2020
attr_accessor :pagination
2121

2222
# Attribute mapping from ruby-style variable name to JSON key.
2323
def self.attribute_map
2424
{
25-
:'iteration_items' => :'iteration_items',
25+
:'spending_plans' => :'spending_plans',
2626
:'pagination' => :'pagination'
2727
}
2828
end
@@ -35,7 +35,7 @@ def self.acceptable_attributes
3535
# Attribute type mapping.
3636
def self.openapi_types
3737
{
38-
:'iteration_items' => :'Array<SpendingPlanResponse>',
38+
:'spending_plans' => :'Array<SpendingPlanResponse>',
3939
:'pagination' => :'PaginationResponse'
4040
}
4141
end
@@ -61,9 +61,9 @@ def initialize(attributes = {})
6161
h[k.to_sym] = v
6262
}
6363

64-
if attributes.key?(:'iteration_items')
65-
if (value = attributes[:'iteration_items']).is_a?(Array)
66-
self.iteration_items = value
64+
if attributes.key?(:'spending_plans')
65+
if (value = attributes[:'spending_plans']).is_a?(Array)
66+
self.spending_plans = value
6767
end
6868
end
6969

@@ -92,7 +92,7 @@ def valid?
9292
def ==(o)
9393
return true if self.equal?(o)
9494
self.class == o.class &&
95-
iteration_items == o.iteration_items &&
95+
spending_plans == o.spending_plans &&
9696
pagination == o.pagination
9797
end
9898

@@ -105,7 +105,7 @@ def eql?(o)
105105
# Calculates hash code according to all attributes.
106106
# @return [Integer] Hash code
107107
def hash
108-
[iteration_items, pagination].hash
108+
[spending_plans, pagination].hash
109109
end
110110

111111
# 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 = '0.22.1'
14+
VERSION = '0.23.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: 0.22.1
9+
gemVersion: 0.23.0
1010
library: faraday
1111
moduleName: MxPlatformRuby

spec/models/spending_plans_response_body_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
expect(instance).to be_instance_of(MxPlatformRuby::SpendingPlansResponseBody)
2626
end
2727
end
28-
describe 'test attribute "iteration_items"' do
28+
describe 'test attribute "spending_plans"' do
2929
it 'should work' do
3030
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
3131
end

0 commit comments

Comments
 (0)