gpd_debtposition_api 3.8.0
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +141 -0
- data/Rakefile +10 -0
- data/docs/AppInfo.md +22 -0
- data/docs/DebtPositionActionsAPIApi.md +165 -0
- data/docs/DebtPositionsAPIApi.md +424 -0
- data/docs/HomeApi.md +82 -0
- data/docs/MultipleIUPDModel.md +18 -0
- data/docs/MultiplePaymentPositionModel.md +18 -0
- data/docs/PageInfo.md +24 -0
- data/docs/PaymentOptionMetadataModel.md +20 -0
- data/docs/PaymentOptionMetadataModelResponse.md +20 -0
- data/docs/PaymentOptionModel.md +38 -0
- data/docs/PaymentOptionModelResponse.md +58 -0
- data/docs/PaymentPositionModel.md +60 -0
- data/docs/PaymentPositionModelBaseResponse.md +44 -0
- data/docs/PaymentPositionsInfo.md +20 -0
- data/docs/ProblemJson.md +22 -0
- data/docs/Stamp.md +22 -0
- data/docs/TransferMetadataModel.md +20 -0
- data/docs/TransferMetadataModelResponse.md +20 -0
- data/docs/TransferModel.md +34 -0
- data/docs/TransferModelResponse.md +40 -0
- data/git_push.sh +57 -0
- data/gpd_debtposition_api.gemspec +39 -0
- data/lib/gpd_debtposition_api/api/debt_position_actions_api_api.rb +162 -0
- data/lib/gpd_debtposition_api/api/debt_positions_api_api.rb +439 -0
- data/lib/gpd_debtposition_api/api/home_api.rb +80 -0
- data/lib/gpd_debtposition_api/api_client.rb +394 -0
- data/lib/gpd_debtposition_api/api_error.rb +58 -0
- data/lib/gpd_debtposition_api/configuration.rb +320 -0
- data/lib/gpd_debtposition_api/models/app_info.rb +232 -0
- data/lib/gpd_debtposition_api/models/multiple_iupd_model.rb +251 -0
- data/lib/gpd_debtposition_api/models/multiple_payment_position_model.rb +223 -0
- data/lib/gpd_debtposition_api/models/page_info.rb +273 -0
- data/lib/gpd_debtposition_api/models/payment_option_metadata_model.rb +231 -0
- data/lib/gpd_debtposition_api/models/payment_option_metadata_model_response.rb +223 -0
- data/lib/gpd_debtposition_api/models/payment_option_model.rb +396 -0
- data/lib/gpd_debtposition_api/models/payment_option_model_response.rb +432 -0
- data/lib/gpd_debtposition_api/models/payment_position_model.rb +568 -0
- data/lib/gpd_debtposition_api/models/payment_position_model_base_response.rb +383 -0
- data/lib/gpd_debtposition_api/models/payment_positions_info.rb +239 -0
- data/lib/gpd_debtposition_api/models/problem_json.rb +259 -0
- data/lib/gpd_debtposition_api/models/stamp.rb +305 -0
- data/lib/gpd_debtposition_api/models/transfer_metadata_model.rb +231 -0
- data/lib/gpd_debtposition_api/models/transfer_metadata_model_response.rb +223 -0
- data/lib/gpd_debtposition_api/models/transfer_model.rb +378 -0
- data/lib/gpd_debtposition_api/models/transfer_model_response.rb +349 -0
- data/lib/gpd_debtposition_api/version.rb +15 -0
- data/lib/gpd_debtposition_api.rb +59 -0
- data/spec/api/debt_position_actions_api_api_spec.rb +61 -0
- data/spec/api/debt_positions_api_api_spec.rb +111 -0
- data/spec/api/home_api_spec.rb +46 -0
- data/spec/models/app_info_spec.rb +48 -0
- data/spec/models/multiple_iupd_model_spec.rb +36 -0
- data/spec/models/multiple_payment_position_model_spec.rb +36 -0
- data/spec/models/page_info_spec.rb +54 -0
- data/spec/models/payment_option_metadata_model_response_spec.rb +42 -0
- data/spec/models/payment_option_metadata_model_spec.rb +42 -0
- data/spec/models/payment_option_model_response_spec.rb +160 -0
- data/spec/models/payment_option_model_spec.rb +96 -0
- data/spec/models/payment_position_model_base_response_spec.rb +122 -0
- data/spec/models/payment_position_model_spec.rb +170 -0
- data/spec/models/payment_positions_info_spec.rb +42 -0
- data/spec/models/problem_json_spec.rb +48 -0
- data/spec/models/stamp_spec.rb +48 -0
- data/spec/models/transfer_metadata_model_response_spec.rb +42 -0
- data/spec/models/transfer_metadata_model_spec.rb +42 -0
- data/spec/models/transfer_model_response_spec.rb +106 -0
- data/spec/models/transfer_model_spec.rb +88 -0
- data/spec/spec_helper.rb +111 -0
- metadata +175 -0
@@ -0,0 +1,170 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::PaymentPositionModel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::PaymentPositionModel do
|
21
|
+
let(:instance) { GPDDebtPositions::PaymentPositionModel.new }
|
22
|
+
|
23
|
+
describe 'test an instance of PaymentPositionModel' do
|
24
|
+
it 'should create an instance of PaymentPositionModel' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::PaymentPositionModel)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "iupd"' 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
|
+
|
36
|
+
describe 'test attribute "aca"' 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
|
+
|
42
|
+
describe 'test attribute "type"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["F", "G"])
|
46
|
+
# validator.allowable_values.each do |value|
|
47
|
+
# expect { instance.type = value }.not_to raise_error
|
48
|
+
# end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "pay_stand_in"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "fiscal_code"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "full_name"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "street_name"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "civic_number"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "postal_code"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "city"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "province"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "region"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'test attribute "country"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'test attribute "email"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe 'test attribute "phone"' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
describe 'test attribute "switch_to_expired"' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
describe 'test attribute "company_name"' do
|
131
|
+
it 'should work' do
|
132
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
describe 'test attribute "office_name"' do
|
137
|
+
it 'should work' do
|
138
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
describe 'test attribute "validity_date"' do
|
143
|
+
it 'should work' do
|
144
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
describe 'test attribute "payment_date"' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
describe 'test attribute "status"' do
|
155
|
+
it 'should work' do
|
156
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
157
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["DRAFT", "PUBLISHED", "VALID", "INVALID", "EXPIRED", "PARTIALLY_PAID", "PAID", "REPORTED"])
|
158
|
+
# validator.allowable_values.each do |value|
|
159
|
+
# expect { instance.status = value }.not_to raise_error
|
160
|
+
# end
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
describe 'test attribute "payment_option"' do
|
165
|
+
it 'should work' do
|
166
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::PaymentPositionsInfo
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::PaymentPositionsInfo do
|
21
|
+
let(:instance) { GPDDebtPositions::PaymentPositionsInfo.new }
|
22
|
+
|
23
|
+
describe 'test an instance of PaymentPositionsInfo' do
|
24
|
+
it 'should create an instance of PaymentPositionsInfo' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::PaymentPositionsInfo)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "payment_position_list"' 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
|
+
|
36
|
+
describe 'test attribute "page_info"' 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
|
+
|
42
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::ProblemJson
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::ProblemJson do
|
21
|
+
let(:instance) { GPDDebtPositions::ProblemJson.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ProblemJson' do
|
24
|
+
it 'should create an instance of ProblemJson' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::ProblemJson)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "title"' 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
|
+
|
36
|
+
describe 'test attribute "status"' 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
|
+
|
42
|
+
describe 'test attribute "detail"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::Stamp
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::Stamp do
|
21
|
+
let(:instance) { GPDDebtPositions::Stamp.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Stamp' do
|
24
|
+
it 'should create an instance of Stamp' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::Stamp)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "hash_document"' 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
|
+
|
36
|
+
describe 'test attribute "stamp_type"' 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
|
+
|
42
|
+
describe 'test attribute "provincial_residence"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::TransferMetadataModelResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::TransferMetadataModelResponse do
|
21
|
+
let(:instance) { GPDDebtPositions::TransferMetadataModelResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of TransferMetadataModelResponse' do
|
24
|
+
it 'should create an instance of TransferMetadataModelResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::TransferMetadataModelResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "key"' 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
|
+
|
36
|
+
describe 'test attribute "value"' 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
|
+
|
42
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::TransferMetadataModel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::TransferMetadataModel do
|
21
|
+
let(:instance) { GPDDebtPositions::TransferMetadataModel.new }
|
22
|
+
|
23
|
+
describe 'test an instance of TransferMetadataModel' do
|
24
|
+
it 'should create an instance of TransferMetadataModel' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::TransferMetadataModel)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "key"' 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
|
+
|
36
|
+
describe 'test attribute "value"' 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
|
+
|
42
|
+
end
|
@@ -0,0 +1,106 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::TransferModelResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::TransferModelResponse do
|
21
|
+
let(:instance) { GPDDebtPositions::TransferModelResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of TransferModelResponse' do
|
24
|
+
it 'should create an instance of TransferModelResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::TransferModelResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "organization_fiscal_code"' 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
|
+
|
36
|
+
describe 'test attribute "id_transfer"' 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
|
+
|
42
|
+
describe 'test attribute "amount"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "remittance_information"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "category"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe 'test attribute "iban"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
describe 'test attribute "postal_iban"' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe 'test attribute "stamp"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe 'test attribute "inserted_date"' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
describe 'test attribute "status"' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
87
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["T_UNREPORTED", "T_REPORTED"])
|
88
|
+
# validator.allowable_values.each do |value|
|
89
|
+
# expect { instance.status = value }.not_to raise_error
|
90
|
+
# end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "last_updated_date"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "transfer_metadata"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|
@@ -0,0 +1,88 @@
|
|
1
|
+
=begin
|
2
|
+
#PagoPA API Debt Position
|
3
|
+
|
4
|
+
#Progetto Gestione Posizioni Debitorie
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.11.18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.11.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for GPDDebtPositions::TransferModel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe GPDDebtPositions::TransferModel do
|
21
|
+
let(:instance) { GPDDebtPositions::TransferModel.new }
|
22
|
+
|
23
|
+
describe 'test an instance of TransferModel' do
|
24
|
+
it 'should create an instance of TransferModel' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(GPDDebtPositions::TransferModel)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "id_transfer"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["1", "2", "3", "4", "5"])
|
34
|
+
# validator.allowable_values.each do |value|
|
35
|
+
# expect { instance.id_transfer = value }.not_to raise_error
|
36
|
+
# end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "amount"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "organization_fiscal_code"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "remittance_information"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "category"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "iban"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "postal_iban"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "stamp"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "transfer_metadata"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
end
|