freeclimb 4.6.0 → 4.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +6 -5
- data/docs/DefaultApi.md +7 -6
- data/docs/TranscribeUtterance.md +1 -1
- data/docs/TranscribeUtteranceAllOf.md +28 -0
- data/docs/TranscribeUtteranceAllOfRecord.md +22 -0
- data/lib/freeclimb/api/default_api.rb +11 -7
- data/lib/freeclimb/models/account_request.rb +0 -2
- data/lib/freeclimb/models/account_result.rb +0 -6
- data/lib/freeclimb/models/add_to_conference.rb +0 -16
- data/lib/freeclimb/models/add_to_conference_all_of.rb +0 -16
- data/lib/freeclimb/models/application_result.rb +0 -6
- data/lib/freeclimb/models/buy_incoming_number_request.rb +0 -4
- data/lib/freeclimb/models/call_result.rb +0 -6
- data/lib/freeclimb/models/conference_participant_result.rb +0 -6
- data/lib/freeclimb/models/conference_result.rb +0 -6
- data/lib/freeclimb/models/create_conference.rb +0 -8
- data/lib/freeclimb/models/create_conference_all_of.rb +0 -8
- data/lib/freeclimb/models/create_conference_request.rb +0 -6
- data/lib/freeclimb/models/create_web_rtc_token.rb +0 -4
- data/lib/freeclimb/models/dequeue.rb +1 -0
- data/lib/freeclimb/models/enqueue.rb +0 -6
- data/lib/freeclimb/models/enqueue_all_of.rb +0 -6
- data/lib/freeclimb/models/get_digits.rb +0 -16
- data/lib/freeclimb/models/get_digits_all_of.rb +0 -16
- data/lib/freeclimb/models/get_speech.rb +0 -22
- data/lib/freeclimb/models/get_speech_all_of.rb +0 -22
- data/lib/freeclimb/models/incoming_number_request.rb +0 -2
- data/lib/freeclimb/models/incoming_number_result.rb +0 -10
- data/lib/freeclimb/models/incoming_number_result_all_of.rb +0 -2
- data/lib/freeclimb/models/make_call_request.rb +0 -18
- data/lib/freeclimb/models/message_request.rb +0 -16
- data/lib/freeclimb/models/message_request_all_of.rb +0 -8
- data/lib/freeclimb/models/message_result.rb +0 -8
- data/lib/freeclimb/models/message_result_all_of.rb +0 -2
- data/lib/freeclimb/models/mutable_resource_model.rb +0 -6
- data/lib/freeclimb/models/out_dial.rb +0 -18
- data/lib/freeclimb/models/out_dial_all_of.rb +0 -18
- data/lib/freeclimb/models/park.rb +0 -4
- data/lib/freeclimb/models/park_all_of.rb +0 -4
- data/lib/freeclimb/models/play.rb +0 -4
- data/lib/freeclimb/models/play_all_of.rb +0 -4
- data/lib/freeclimb/models/queue_request.rb +0 -2
- data/lib/freeclimb/models/queue_result.rb +0 -6
- data/lib/freeclimb/models/record_utterance.rb +0 -12
- data/lib/freeclimb/models/record_utterance_all_of.rb +0 -12
- data/lib/freeclimb/models/recording_result.rb +0 -6
- data/lib/freeclimb/models/remove_from_conference.rb +1 -0
- data/lib/freeclimb/models/say.rb +0 -6
- data/lib/freeclimb/models/say_all_of.rb +0 -6
- data/lib/freeclimb/models/send_digits.rb +0 -4
- data/lib/freeclimb/models/send_digits_all_of.rb +0 -4
- data/lib/freeclimb/models/sms.rb +0 -6
- data/lib/freeclimb/models/sms_all_of.rb +0 -6
- data/lib/freeclimb/models/sms_ten_dlc_brand.rb +0 -60
- data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +0 -50
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +0 -44
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +0 -20
- data/lib/freeclimb/models/sms_toll_free_campaign.rb +0 -12
- data/lib/freeclimb/models/start_record_call.rb +1 -0
- data/lib/freeclimb/models/terminate_conference.rb +1 -0
- data/lib/freeclimb/models/transcribe_utterance.rb +11 -16
- data/lib/freeclimb/models/{terminate_conference_all_of.rb → transcribe_utterance_all_of.rb} +67 -14
- data/lib/freeclimb/models/{transcribe_utterance_record.rb → transcribe_utterance_all_of_record.rb} +3 -7
- data/lib/freeclimb/models/unpark.rb +1 -0
- data/lib/freeclimb/models/update_conference_participant_request.rb +0 -2
- data/lib/freeclimb/models/update_conference_request.rb +0 -2
- data/lib/freeclimb/version.rb +1 -1
- data/lib/freeclimb.rb +3 -2
- data/openapi.json +142 -318
- data/spec/api/default_api_spec.rb +120 -61
- data/spec/models/account_request_spec.rb +8 -6
- data/spec/models/account_result_spec.rb +28 -9
- data/spec/models/add_to_conference_spec.rb +21 -7
- data/spec/models/application_list_spec.rb +46 -22
- data/spec/models/application_request_spec.rb +13 -6
- data/spec/models/application_result_spec.rb +24 -9
- data/spec/models/available_number_list_spec.rb +46 -22
- data/spec/models/available_number_spec.rb +23 -10
- data/spec/models/buy_incoming_number_request_spec.rb +11 -7
- data/spec/models/call_list_spec.rb +46 -22
- data/spec/models/call_result_spec.rb +49 -15
- data/spec/models/capabilities_spec.rb +26 -11
- data/spec/models/conference_list_spec.rb +46 -22
- data/spec/models/conference_participant_list_spec.rb +46 -22
- data/spec/models/conference_participant_result_spec.rb +24 -9
- data/spec/models/conference_result_spec.rb +32 -9
- data/spec/models/create_conference_request_spec.rb +15 -6
- data/spec/models/create_conference_spec.rb +19 -7
- data/spec/models/create_web_rtc_token_spec.rb +18 -12
- data/spec/models/enqueue_spec.rb +16 -9
- data/spec/models/filter_logs_request_spec.rb +9 -7
- data/spec/models/get_digits_spec.rb +43 -19
- data/spec/models/get_speech_spec.rb +60 -24
- data/spec/models/hangup_spec.rb +7 -6
- data/spec/models/incoming_number_list_spec.rb +46 -22
- data/spec/models/incoming_number_request_spec.rb +9 -6
- data/spec/models/incoming_number_result_spec.rb +47 -17
- data/spec/models/log_list_spec.rb +46 -22
- data/spec/models/log_result_spec.rb +21 -9
- data/spec/models/make_call_request_spec.rb +26 -11
- data/spec/models/message_request_spec.rb +26 -12
- data/spec/models/message_result_spec.rb +34 -11
- data/spec/models/messages_list_spec.rb +46 -22
- data/spec/models/mutable_resource_model_spec.rb +15 -9
- data/spec/models/out_dial_spec.rb +33 -13
- data/spec/models/pagination_model_spec.rb +40 -21
- data/spec/models/park_spec.rb +13 -8
- data/spec/models/pause_spec.rb +14 -10
- data/spec/models/percl_command_spec.rb +6 -6
- data/spec/models/percl_script_spec.rb +11 -6
- data/spec/models/play_early_media_spec.rb +9 -7
- data/spec/models/play_spec.rb +17 -10
- data/spec/models/queue_list_spec.rb +46 -22
- data/spec/models/queue_member_list_spec.rb +46 -22
- data/spec/models/queue_member_spec.rb +21 -12
- data/spec/models/queue_request_spec.rb +13 -9
- data/spec/models/queue_result_spec.rb +37 -18
- data/spec/models/record_utterance_spec.rb +28 -13
- data/spec/models/recording_list_spec.rb +46 -22
- data/spec/models/recording_result_spec.rb +25 -12
- data/spec/models/redirect_spec.rb +9 -7
- data/spec/models/reject_spec.rb +7 -6
- data/spec/models/remove_from_conference_spec.rb +0 -67
- data/spec/models/say_spec.rb +18 -10
- data/spec/models/send_digits_spec.rb +17 -10
- data/spec/models/set_listen_spec.rb +8 -6
- data/spec/models/set_talk_spec.rb +8 -6
- data/spec/models/sms_spec.rb +16 -9
- data/spec/models/sms_ten_dlc_brand_spec.rb +38 -4
- data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +46 -22
- data/spec/models/sms_ten_dlc_campaign_spec.rb +63 -4
- data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +46 -22
- data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +25 -7
- data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +56 -8
- data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +46 -22
- data/spec/models/sms_toll_free_campaign_spec.rb +29 -15
- data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +46 -22
- data/spec/models/terminate_conference_spec.rb +0 -67
- data/spec/models/tfn_spec.rb +9 -7
- data/spec/models/{transcribe_utterance_record_spec.rb → transcribe_utterance_all_of_record_spec.rb} +78 -67
- data/spec/models/transcribe_utterance_spec.rb +37 -96
- data/spec/models/update_call_request_spec.rb +12 -7
- data/spec/models/update_conference_participant_request_spec.rb +10 -6
- data/spec/models/update_conference_request_spec.rb +15 -6
- metadata +88 -87
- data/lib/freeclimb/models/remove_from_conference_all_of.rb +0 -228
@@ -30,6 +30,7 @@ describe Freeclimb::AccountResult do
|
|
30
30
|
it 'should work' do
|
31
31
|
instance.uri = "TEST_STRING"
|
32
32
|
expect(instance.uri).to eq("TEST_STRING")
|
33
|
+
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
@@ -37,6 +38,7 @@ describe Freeclimb::AccountResult do
|
|
37
38
|
it 'should work' do
|
38
39
|
instance.date_created = "TEST_STRING"
|
39
40
|
expect(instance.date_created).to eq("TEST_STRING")
|
41
|
+
|
40
42
|
end
|
41
43
|
end
|
42
44
|
|
@@ -44,13 +46,17 @@ describe Freeclimb::AccountResult do
|
|
44
46
|
it 'should work' do
|
45
47
|
instance.date_updated = "TEST_STRING"
|
46
48
|
expect(instance.date_updated).to eq("TEST_STRING")
|
49
|
+
|
47
50
|
end
|
48
51
|
end
|
49
52
|
|
50
53
|
describe 'test attribute "revision"' do
|
51
54
|
it 'should work' do
|
55
|
+
|
56
|
+
|
52
57
|
instance.revision = 1
|
53
|
-
expect(instance.revision).to eq(1)
|
58
|
+
expect(instance.revision).to eq(1)
|
59
|
+
|
54
60
|
end
|
55
61
|
end
|
56
62
|
|
@@ -58,6 +64,7 @@ describe Freeclimb::AccountResult do
|
|
58
64
|
it 'should work' do
|
59
65
|
instance.account_id = "TEST_STRING"
|
60
66
|
expect(instance.account_id).to eq("TEST_STRING")
|
67
|
+
|
61
68
|
end
|
62
69
|
end
|
63
70
|
|
@@ -65,6 +72,7 @@ describe Freeclimb::AccountResult do
|
|
65
72
|
it 'should work' do
|
66
73
|
instance.api_key = "TEST_STRING"
|
67
74
|
expect(instance.api_key).to eq("TEST_STRING")
|
75
|
+
|
68
76
|
end
|
69
77
|
end
|
70
78
|
|
@@ -72,6 +80,7 @@ describe Freeclimb::AccountResult do
|
|
72
80
|
it 'should work' do
|
73
81
|
instance._alias = "TEST_STRING"
|
74
82
|
expect(instance._alias).to eq("TEST_STRING")
|
83
|
+
|
75
84
|
end
|
76
85
|
end
|
77
86
|
|
@@ -79,6 +88,7 @@ describe Freeclimb::AccountResult do
|
|
79
88
|
it 'should work' do
|
80
89
|
instance.label = "TEST_STRING"
|
81
90
|
expect(instance.label).to eq("TEST_STRING")
|
91
|
+
|
82
92
|
end
|
83
93
|
end
|
84
94
|
|
@@ -112,6 +122,7 @@ describe Freeclimb::AccountResult do
|
|
112
122
|
|
113
123
|
describe 'test attribute "subresource_uris"' do
|
114
124
|
it 'should work' do
|
125
|
+
|
115
126
|
testObject = Object.new()
|
116
127
|
instance.subresource_uris = testObject
|
117
128
|
expect(instance.subresource_uris).to eq(testObject)
|
@@ -167,7 +178,7 @@ describe Freeclimb::AccountResult do
|
|
167
178
|
)}.to raise_error(ArgumentError)
|
168
179
|
end
|
169
180
|
end
|
170
|
-
|
181
|
+
|
171
182
|
describe 'test method "valid"' do
|
172
183
|
it 'checks if properties are valid' do
|
173
184
|
instance = Freeclimb::AccountResult.new(
|
@@ -185,15 +196,14 @@ describe Freeclimb::AccountResult do
|
|
185
196
|
)
|
186
197
|
expect(instance.valid?).to eq(true)
|
187
198
|
end
|
199
|
+
|
188
200
|
it 'checks if properties are invalid' do
|
189
201
|
instance = Freeclimb::AccountResult.new(
|
202
|
+
|
190
203
|
)
|
191
204
|
expect(instance.valid?).to eq(false)
|
192
205
|
end
|
193
|
-
|
194
|
-
instance = Freeclimb::AccountResult.new()
|
195
|
-
expect(instance.valid?).to eq(false)
|
196
|
-
end
|
206
|
+
|
197
207
|
end
|
198
208
|
|
199
209
|
describe 'test method "eql?"' do
|
@@ -208,7 +218,9 @@ describe Freeclimb::AccountResult do
|
|
208
218
|
api_key: "TS",
|
209
219
|
_alias: "TS",
|
210
220
|
label: "TS",
|
221
|
+
type: Freeclimb::AccountType.new(),
|
211
222
|
type: "TRIAL",
|
223
|
+
status: Freeclimb::AccountStatus.new(),
|
212
224
|
status: "CLOSED",
|
213
225
|
subresource_uris: obj,
|
214
226
|
)
|
@@ -221,23 +233,28 @@ describe Freeclimb::AccountResult do
|
|
221
233
|
api_key: "TS",
|
222
234
|
_alias: "TS",
|
223
235
|
label: "TS",
|
236
|
+
type: Freeclimb::AccountType.new(),
|
224
237
|
type: "TRIAL",
|
238
|
+
status: Freeclimb::AccountStatus.new(),
|
225
239
|
status: "CLOSED",
|
226
240
|
subresource_uris: obj,
|
227
241
|
)
|
228
242
|
expect(instance_1.eql?(instance_2)).to eq(true)
|
229
243
|
end
|
244
|
+
|
230
245
|
it 'checks if objects are not equal' do
|
231
246
|
instance_1 = Freeclimb::AccountResult.new(
|
232
247
|
uri: "TS",
|
233
248
|
date_created: "TS",
|
234
249
|
date_updated: "TS",
|
235
|
-
revision:
|
250
|
+
revision: 2,
|
236
251
|
account_id: "TS",
|
237
252
|
api_key: "TS",
|
238
253
|
_alias: "TS",
|
239
254
|
label: "TS",
|
255
|
+
type: Freeclimb::AccountType.new(),
|
240
256
|
type: "TRIAL",
|
257
|
+
status: Freeclimb::AccountStatus.new(),
|
241
258
|
status: "CLOSED",
|
242
259
|
subresource_uris: Object.new(),
|
243
260
|
)
|
@@ -245,19 +262,21 @@ describe Freeclimb::AccountResult do
|
|
245
262
|
uri: "ST",
|
246
263
|
date_created: "ST",
|
247
264
|
date_updated: "ST",
|
248
|
-
revision:
|
265
|
+
revision: 1,
|
249
266
|
account_id: "ST",
|
250
267
|
api_key: "ST",
|
251
268
|
_alias: "ST",
|
252
269
|
label: "ST",
|
270
|
+
type: Freeclimb::AccountType.new(),
|
253
271
|
type: "FULL",
|
272
|
+
status: Freeclimb::AccountStatus.new(),
|
254
273
|
status: "SUSPENDED",
|
255
274
|
subresource_uris: nil,
|
256
275
|
)
|
257
276
|
expect(instance_1.eql?(instance_2)).to eq(false)
|
258
277
|
end
|
259
278
|
end
|
260
|
-
|
279
|
+
|
261
280
|
describe 'test method "hash"' do
|
262
281
|
it 'calculates hash code' do
|
263
282
|
instance = Freeclimb::AccountResult.new(
|
@@ -30,6 +30,7 @@ describe Freeclimb::AddToConference do
|
|
30
30
|
it 'should work' do
|
31
31
|
instance.allow_call_control = false
|
32
32
|
expect(instance.allow_call_control).to eq(false)
|
33
|
+
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
@@ -37,6 +38,7 @@ describe Freeclimb::AddToConference do
|
|
37
38
|
it 'should work' do
|
38
39
|
instance.call_control_sequence = "TEST_STRING"
|
39
40
|
expect(instance.call_control_sequence).to eq("TEST_STRING")
|
41
|
+
|
40
42
|
end
|
41
43
|
end
|
42
44
|
|
@@ -44,6 +46,7 @@ describe Freeclimb::AddToConference do
|
|
44
46
|
it 'should work' do
|
45
47
|
instance.call_control_url = "TEST_STRING"
|
46
48
|
expect(instance.call_control_url).to eq("TEST_STRING")
|
49
|
+
|
47
50
|
end
|
48
51
|
end
|
49
52
|
|
@@ -51,6 +54,7 @@ describe Freeclimb::AddToConference do
|
|
51
54
|
it 'should work' do
|
52
55
|
instance.conference_id = "TEST_STRING"
|
53
56
|
expect(instance.conference_id).to eq("TEST_STRING")
|
57
|
+
|
54
58
|
end
|
55
59
|
end
|
56
60
|
|
@@ -58,6 +62,7 @@ describe Freeclimb::AddToConference do
|
|
58
62
|
it 'should work' do
|
59
63
|
instance.leave_conference_url = "TEST_STRING"
|
60
64
|
expect(instance.leave_conference_url).to eq("TEST_STRING")
|
65
|
+
|
61
66
|
end
|
62
67
|
end
|
63
68
|
|
@@ -65,6 +70,7 @@ describe Freeclimb::AddToConference do
|
|
65
70
|
it 'should work' do
|
66
71
|
instance.listen = false
|
67
72
|
expect(instance.listen).to eq(false)
|
73
|
+
|
68
74
|
end
|
69
75
|
end
|
70
76
|
|
@@ -72,6 +78,7 @@ describe Freeclimb::AddToConference do
|
|
72
78
|
it 'should work' do
|
73
79
|
instance.notification_url = "TEST_STRING"
|
74
80
|
expect(instance.notification_url).to eq("TEST_STRING")
|
81
|
+
|
75
82
|
end
|
76
83
|
end
|
77
84
|
|
@@ -79,6 +86,7 @@ describe Freeclimb::AddToConference do
|
|
79
86
|
it 'should work' do
|
80
87
|
instance.start_conf_on_enter = false
|
81
88
|
expect(instance.start_conf_on_enter).to eq(false)
|
89
|
+
|
82
90
|
end
|
83
91
|
end
|
84
92
|
|
@@ -86,6 +94,7 @@ describe Freeclimb::AddToConference do
|
|
86
94
|
it 'should work' do
|
87
95
|
instance.talk = false
|
88
96
|
expect(instance.talk).to eq(false)
|
97
|
+
|
89
98
|
end
|
90
99
|
end
|
91
100
|
|
@@ -132,7 +141,7 @@ describe Freeclimb::AddToConference do
|
|
132
141
|
)}.to raise_error(ArgumentError)
|
133
142
|
end
|
134
143
|
end
|
135
|
-
|
144
|
+
|
136
145
|
describe 'test method "valid"' do
|
137
146
|
it 'checks if properties are valid' do
|
138
147
|
instance = Freeclimb::AddToConference.new(
|
@@ -148,16 +157,20 @@ describe Freeclimb::AddToConference do
|
|
148
157
|
)
|
149
158
|
expect(instance.valid?).to eq(true)
|
150
159
|
end
|
160
|
+
|
151
161
|
it 'checks if properties are invalid' do
|
152
162
|
instance = Freeclimb::AddToConference.new(
|
153
|
-
|
163
|
+
allow_call_control: nil,
|
164
|
+
|
165
|
+
conference_id: nil,
|
166
|
+
listen: nil,
|
167
|
+
start_conf_on_enter: nil,
|
168
|
+
talk: nil,
|
169
|
+
|
154
170
|
)
|
155
171
|
expect(instance.valid?).to eq(false)
|
156
172
|
end
|
157
|
-
|
158
|
-
instance = Freeclimb::AddToConference.new()
|
159
|
-
expect(instance.valid?).to eq(false)
|
160
|
-
end
|
173
|
+
|
161
174
|
end
|
162
175
|
|
163
176
|
describe 'test method "eql?"' do
|
@@ -187,6 +200,7 @@ describe Freeclimb::AddToConference do
|
|
187
200
|
)
|
188
201
|
expect(instance_1.eql?(instance_2)).to eq(true)
|
189
202
|
end
|
203
|
+
|
190
204
|
it 'checks if objects are not equal' do
|
191
205
|
instance_1 = Freeclimb::AddToConference.new(
|
192
206
|
allow_call_control: true,
|
@@ -213,7 +227,7 @@ describe Freeclimb::AddToConference do
|
|
213
227
|
expect(instance_1.eql?(instance_2)).to eq(false)
|
214
228
|
end
|
215
229
|
end
|
216
|
-
|
230
|
+
|
217
231
|
describe 'test method "hash"' do
|
218
232
|
it 'calculates hash code' do
|
219
233
|
instance = Freeclimb::AddToConference.new(
|
@@ -28,43 +28,61 @@ describe Freeclimb::ApplicationList do
|
|
28
28
|
|
29
29
|
describe 'test attribute "total"' do
|
30
30
|
it 'should work' do
|
31
|
+
|
32
|
+
|
31
33
|
instance.total = 1
|
32
|
-
expect(instance.total).to eq(1)
|
34
|
+
expect(instance.total).to eq(1)
|
35
|
+
|
33
36
|
end
|
34
37
|
end
|
35
38
|
|
36
39
|
describe 'test attribute "start"' do
|
37
40
|
it 'should work' do
|
41
|
+
|
42
|
+
|
38
43
|
instance.start = 1
|
39
|
-
expect(instance.start).to eq(1)
|
44
|
+
expect(instance.start).to eq(1)
|
45
|
+
|
40
46
|
end
|
41
47
|
end
|
42
48
|
|
43
49
|
describe 'test attribute "_end"' do
|
44
50
|
it 'should work' do
|
51
|
+
|
52
|
+
|
45
53
|
instance._end = 1
|
46
|
-
expect(instance._end).to eq(1)
|
54
|
+
expect(instance._end).to eq(1)
|
55
|
+
|
47
56
|
end
|
48
57
|
end
|
49
58
|
|
50
59
|
describe 'test attribute "page"' do
|
51
60
|
it 'should work' do
|
61
|
+
|
62
|
+
|
52
63
|
instance.page = 1
|
53
|
-
expect(instance.page).to eq(1)
|
64
|
+
expect(instance.page).to eq(1)
|
65
|
+
|
54
66
|
end
|
55
67
|
end
|
56
68
|
|
57
69
|
describe 'test attribute "num_pages"' do
|
58
70
|
it 'should work' do
|
71
|
+
|
72
|
+
|
59
73
|
instance.num_pages = 1
|
60
|
-
expect(instance.num_pages).to eq(1)
|
74
|
+
expect(instance.num_pages).to eq(1)
|
75
|
+
|
61
76
|
end
|
62
77
|
end
|
63
78
|
|
64
79
|
describe 'test attribute "page_size"' do
|
65
80
|
it 'should work' do
|
81
|
+
|
82
|
+
|
66
83
|
instance.page_size = 1
|
67
|
-
expect(instance.page_size).to eq(1)
|
84
|
+
expect(instance.page_size).to eq(1)
|
85
|
+
|
68
86
|
end
|
69
87
|
end
|
70
88
|
|
@@ -72,11 +90,13 @@ describe Freeclimb::ApplicationList do
|
|
72
90
|
it 'should work' do
|
73
91
|
instance.next_page_uri = "TEST_STRING"
|
74
92
|
expect(instance.next_page_uri).to eq("TEST_STRING")
|
93
|
+
|
75
94
|
end
|
76
95
|
end
|
77
96
|
|
78
97
|
describe 'test attribute "applications"' do
|
79
98
|
it 'should work' do
|
99
|
+
|
80
100
|
instance.applications = ["ELEMENT_1", "ELEMENT_2"]
|
81
101
|
expect(instance.applications).to eq(["ELEMENT_1", "ELEMENT_2"])
|
82
102
|
end
|
@@ -122,7 +142,7 @@ describe Freeclimb::ApplicationList do
|
|
122
142
|
)}.to raise_error(ArgumentError)
|
123
143
|
end
|
124
144
|
end
|
125
|
-
|
145
|
+
|
126
146
|
describe 'test method "valid"' do
|
127
147
|
it 'checks if properties are valid' do
|
128
148
|
instance = Freeclimb::ApplicationList.new(
|
@@ -137,15 +157,14 @@ describe Freeclimb::ApplicationList do
|
|
137
157
|
)
|
138
158
|
expect(instance.valid?).to eq(true)
|
139
159
|
end
|
160
|
+
|
140
161
|
it 'checks if properties are invalid' do
|
141
162
|
instance = Freeclimb::ApplicationList.new(
|
163
|
+
|
142
164
|
)
|
143
165
|
expect(instance.valid?).to eq(false)
|
144
166
|
end
|
145
|
-
|
146
|
-
instance = Freeclimb::ApplicationList.new()
|
147
|
-
expect(instance.valid?).to eq(false)
|
148
|
-
end
|
167
|
+
|
149
168
|
end
|
150
169
|
|
151
170
|
describe 'test method "eql?"' do
|
@@ -159,6 +178,7 @@ describe Freeclimb::ApplicationList do
|
|
159
178
|
num_pages: 1,
|
160
179
|
page_size: 1,
|
161
180
|
next_page_uri: "TS",
|
181
|
+
applications: Freeclimb::ApplicationResult.new(),
|
162
182
|
applications: [],
|
163
183
|
)
|
164
184
|
instance_2 = Freeclimb::ApplicationList.new(
|
@@ -169,35 +189,39 @@ describe Freeclimb::ApplicationList do
|
|
169
189
|
num_pages: 1,
|
170
190
|
page_size: 1,
|
171
191
|
next_page_uri: "TS",
|
192
|
+
applications: Freeclimb::ApplicationResult.new(),
|
172
193
|
applications: [],
|
173
194
|
)
|
174
195
|
expect(instance_1.eql?(instance_2)).to eq(true)
|
175
196
|
end
|
197
|
+
|
176
198
|
it 'checks if objects are not equal' do
|
177
199
|
instance_1 = Freeclimb::ApplicationList.new(
|
200
|
+
total: 2,
|
201
|
+
start: 2,
|
202
|
+
_end: 2,
|
203
|
+
page: 2,
|
204
|
+
num_pages: 2,
|
205
|
+
page_size: 2,
|
206
|
+
next_page_uri: "TS",
|
207
|
+
applications: Freeclimb::ApplicationResult.new(),
|
208
|
+
applications: [],
|
209
|
+
)
|
210
|
+
instance_2 = Freeclimb::ApplicationList.new(
|
178
211
|
total: 1,
|
179
212
|
start: 1,
|
180
213
|
_end: 1,
|
181
214
|
page: 1,
|
182
215
|
num_pages: 1,
|
183
216
|
page_size: 1,
|
184
|
-
next_page_uri: "TS",
|
185
|
-
applications: [],
|
186
|
-
)
|
187
|
-
instance_2 = Freeclimb::ApplicationList.new(
|
188
|
-
total: 0,
|
189
|
-
start: 0,
|
190
|
-
_end: 0,
|
191
|
-
page: 0,
|
192
|
-
num_pages: 0,
|
193
|
-
page_size: 0,
|
194
217
|
next_page_uri: "ST",
|
218
|
+
applications: Freeclimb::ApplicationResult.new(),
|
195
219
|
applications: nil,
|
196
220
|
)
|
197
221
|
expect(instance_1.eql?(instance_2)).to eq(false)
|
198
222
|
end
|
199
223
|
end
|
200
|
-
|
224
|
+
|
201
225
|
describe 'test method "hash"' do
|
202
226
|
it 'calculates hash code' do
|
203
227
|
instance = Freeclimb::ApplicationList.new(
|
@@ -30,6 +30,7 @@ describe Freeclimb::ApplicationRequest do
|
|
30
30
|
it 'should work' do
|
31
31
|
instance._alias = "TEST_STRING"
|
32
32
|
expect(instance._alias).to eq("TEST_STRING")
|
33
|
+
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
@@ -37,6 +38,7 @@ describe Freeclimb::ApplicationRequest do
|
|
37
38
|
it 'should work' do
|
38
39
|
instance.voice_url = "TEST_STRING"
|
39
40
|
expect(instance.voice_url).to eq("TEST_STRING")
|
41
|
+
|
40
42
|
end
|
41
43
|
end
|
42
44
|
|
@@ -44,6 +46,7 @@ describe Freeclimb::ApplicationRequest do
|
|
44
46
|
it 'should work' do
|
45
47
|
instance.voice_fallback_url = "TEST_STRING"
|
46
48
|
expect(instance.voice_fallback_url).to eq("TEST_STRING")
|
49
|
+
|
47
50
|
end
|
48
51
|
end
|
49
52
|
|
@@ -51,6 +54,7 @@ describe Freeclimb::ApplicationRequest do
|
|
51
54
|
it 'should work' do
|
52
55
|
instance.call_connect_url = "TEST_STRING"
|
53
56
|
expect(instance.call_connect_url).to eq("TEST_STRING")
|
57
|
+
|
54
58
|
end
|
55
59
|
end
|
56
60
|
|
@@ -58,6 +62,7 @@ describe Freeclimb::ApplicationRequest do
|
|
58
62
|
it 'should work' do
|
59
63
|
instance.status_callback_url = "TEST_STRING"
|
60
64
|
expect(instance.status_callback_url).to eq("TEST_STRING")
|
65
|
+
|
61
66
|
end
|
62
67
|
end
|
63
68
|
|
@@ -65,6 +70,7 @@ describe Freeclimb::ApplicationRequest do
|
|
65
70
|
it 'should work' do
|
66
71
|
instance.sms_url = "TEST_STRING"
|
67
72
|
expect(instance.sms_url).to eq("TEST_STRING")
|
73
|
+
|
68
74
|
end
|
69
75
|
end
|
70
76
|
|
@@ -72,6 +78,7 @@ describe Freeclimb::ApplicationRequest do
|
|
72
78
|
it 'should work' do
|
73
79
|
instance.sms_fallback_url = "TEST_STRING"
|
74
80
|
expect(instance.sms_fallback_url).to eq("TEST_STRING")
|
81
|
+
|
75
82
|
end
|
76
83
|
end
|
77
84
|
|
@@ -112,7 +119,7 @@ describe Freeclimb::ApplicationRequest do
|
|
112
119
|
)}.to raise_error(ArgumentError)
|
113
120
|
end
|
114
121
|
end
|
115
|
-
|
122
|
+
|
116
123
|
describe 'test method "valid"' do
|
117
124
|
it 'checks if properties are valid' do
|
118
125
|
instance = Freeclimb::ApplicationRequest.new(
|
@@ -126,15 +133,14 @@ describe Freeclimb::ApplicationRequest do
|
|
126
133
|
)
|
127
134
|
expect(instance.valid?).to eq(true)
|
128
135
|
end
|
136
|
+
|
129
137
|
it 'checks if properties are invalid' do
|
130
138
|
instance = Freeclimb::ApplicationRequest.new(
|
139
|
+
|
131
140
|
)
|
132
141
|
expect(instance.valid?).to eq(false)
|
133
142
|
end
|
134
|
-
|
135
|
-
instance = Freeclimb::ApplicationRequest.new()
|
136
|
-
expect(instance.valid?).to eq(false)
|
137
|
-
end
|
143
|
+
|
138
144
|
end
|
139
145
|
|
140
146
|
describe 'test method "eql?"' do
|
@@ -160,6 +166,7 @@ describe Freeclimb::ApplicationRequest do
|
|
160
166
|
)
|
161
167
|
expect(instance_1.eql?(instance_2)).to eq(true)
|
162
168
|
end
|
169
|
+
|
163
170
|
it 'checks if objects are not equal' do
|
164
171
|
instance_1 = Freeclimb::ApplicationRequest.new(
|
165
172
|
_alias: "TS",
|
@@ -182,7 +189,7 @@ describe Freeclimb::ApplicationRequest do
|
|
182
189
|
expect(instance_1.eql?(instance_2)).to eq(false)
|
183
190
|
end
|
184
191
|
end
|
185
|
-
|
192
|
+
|
186
193
|
describe 'test method "hash"' do
|
187
194
|
it 'calculates hash code' do
|
188
195
|
instance = Freeclimb::ApplicationRequest.new(
|
@@ -30,6 +30,7 @@ describe Freeclimb::ApplicationResult do
|
|
30
30
|
it 'should work' do
|
31
31
|
instance.uri = "TEST_STRING"
|
32
32
|
expect(instance.uri).to eq("TEST_STRING")
|
33
|
+
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
@@ -37,6 +38,7 @@ describe Freeclimb::ApplicationResult do
|
|
37
38
|
it 'should work' do
|
38
39
|
instance.date_created = "TEST_STRING"
|
39
40
|
expect(instance.date_created).to eq("TEST_STRING")
|
41
|
+
|
40
42
|
end
|
41
43
|
end
|
42
44
|
|
@@ -44,13 +46,17 @@ describe Freeclimb::ApplicationResult do
|
|
44
46
|
it 'should work' do
|
45
47
|
instance.date_updated = "TEST_STRING"
|
46
48
|
expect(instance.date_updated).to eq("TEST_STRING")
|
49
|
+
|
47
50
|
end
|
48
51
|
end
|
49
52
|
|
50
53
|
describe 'test attribute "revision"' do
|
51
54
|
it 'should work' do
|
55
|
+
|
56
|
+
|
52
57
|
instance.revision = 1
|
53
|
-
expect(instance.revision).to eq(1)
|
58
|
+
expect(instance.revision).to eq(1)
|
59
|
+
|
54
60
|
end
|
55
61
|
end
|
56
62
|
|
@@ -58,6 +64,7 @@ describe Freeclimb::ApplicationResult do
|
|
58
64
|
it 'should work' do
|
59
65
|
instance.account_id = "TEST_STRING"
|
60
66
|
expect(instance.account_id).to eq("TEST_STRING")
|
67
|
+
|
61
68
|
end
|
62
69
|
end
|
63
70
|
|
@@ -65,6 +72,7 @@ describe Freeclimb::ApplicationResult do
|
|
65
72
|
it 'should work' do
|
66
73
|
instance.application_id = "TEST_STRING"
|
67
74
|
expect(instance.application_id).to eq("TEST_STRING")
|
75
|
+
|
68
76
|
end
|
69
77
|
end
|
70
78
|
|
@@ -72,6 +80,7 @@ describe Freeclimb::ApplicationResult do
|
|
72
80
|
it 'should work' do
|
73
81
|
instance._alias = "TEST_STRING"
|
74
82
|
expect(instance._alias).to eq("TEST_STRING")
|
83
|
+
|
75
84
|
end
|
76
85
|
end
|
77
86
|
|
@@ -79,6 +88,7 @@ describe Freeclimb::ApplicationResult do
|
|
79
88
|
it 'should work' do
|
80
89
|
instance.voice_url = "TEST_STRING"
|
81
90
|
expect(instance.voice_url).to eq("TEST_STRING")
|
91
|
+
|
82
92
|
end
|
83
93
|
end
|
84
94
|
|
@@ -86,6 +96,7 @@ describe Freeclimb::ApplicationResult do
|
|
86
96
|
it 'should work' do
|
87
97
|
instance.voice_fallback_url = "TEST_STRING"
|
88
98
|
expect(instance.voice_fallback_url).to eq("TEST_STRING")
|
99
|
+
|
89
100
|
end
|
90
101
|
end
|
91
102
|
|
@@ -93,6 +104,7 @@ describe Freeclimb::ApplicationResult do
|
|
93
104
|
it 'should work' do
|
94
105
|
instance.call_connect_url = "TEST_STRING"
|
95
106
|
expect(instance.call_connect_url).to eq("TEST_STRING")
|
107
|
+
|
96
108
|
end
|
97
109
|
end
|
98
110
|
|
@@ -100,6 +112,7 @@ describe Freeclimb::ApplicationResult do
|
|
100
112
|
it 'should work' do
|
101
113
|
instance.status_callback_url = "TEST_STRING"
|
102
114
|
expect(instance.status_callback_url).to eq("TEST_STRING")
|
115
|
+
|
103
116
|
end
|
104
117
|
end
|
105
118
|
|
@@ -107,6 +120,7 @@ describe Freeclimb::ApplicationResult do
|
|
107
120
|
it 'should work' do
|
108
121
|
instance.sms_url = "TEST_STRING"
|
109
122
|
expect(instance.sms_url).to eq("TEST_STRING")
|
123
|
+
|
110
124
|
end
|
111
125
|
end
|
112
126
|
|
@@ -114,6 +128,7 @@ describe Freeclimb::ApplicationResult do
|
|
114
128
|
it 'should work' do
|
115
129
|
instance.sms_fallback_url = "TEST_STRING"
|
116
130
|
expect(instance.sms_fallback_url).to eq("TEST_STRING")
|
131
|
+
|
117
132
|
end
|
118
133
|
end
|
119
134
|
|
@@ -172,7 +187,7 @@ describe Freeclimb::ApplicationResult do
|
|
172
187
|
)}.to raise_error(ArgumentError)
|
173
188
|
end
|
174
189
|
end
|
175
|
-
|
190
|
+
|
176
191
|
describe 'test method "valid"' do
|
177
192
|
it 'checks if properties are valid' do
|
178
193
|
instance = Freeclimb::ApplicationResult.new(
|
@@ -192,15 +207,14 @@ describe Freeclimb::ApplicationResult do
|
|
192
207
|
)
|
193
208
|
expect(instance.valid?).to eq(true)
|
194
209
|
end
|
210
|
+
|
195
211
|
it 'checks if properties are invalid' do
|
196
212
|
instance = Freeclimb::ApplicationResult.new(
|
213
|
+
|
197
214
|
)
|
198
215
|
expect(instance.valid?).to eq(false)
|
199
216
|
end
|
200
|
-
|
201
|
-
instance = Freeclimb::ApplicationResult.new()
|
202
|
-
expect(instance.valid?).to eq(false)
|
203
|
-
end
|
217
|
+
|
204
218
|
end
|
205
219
|
|
206
220
|
describe 'test method "eql?"' do
|
@@ -238,12 +252,13 @@ describe Freeclimb::ApplicationResult do
|
|
238
252
|
)
|
239
253
|
expect(instance_1.eql?(instance_2)).to eq(true)
|
240
254
|
end
|
255
|
+
|
241
256
|
it 'checks if objects are not equal' do
|
242
257
|
instance_1 = Freeclimb::ApplicationResult.new(
|
243
258
|
uri: "TS",
|
244
259
|
date_created: "TS",
|
245
260
|
date_updated: "TS",
|
246
|
-
revision:
|
261
|
+
revision: 2,
|
247
262
|
account_id: "TS",
|
248
263
|
application_id: "TS",
|
249
264
|
_alias: "TS",
|
@@ -258,7 +273,7 @@ describe Freeclimb::ApplicationResult do
|
|
258
273
|
uri: "ST",
|
259
274
|
date_created: "ST",
|
260
275
|
date_updated: "ST",
|
261
|
-
revision:
|
276
|
+
revision: 1,
|
262
277
|
account_id: "ST",
|
263
278
|
application_id: "ST",
|
264
279
|
_alias: "ST",
|
@@ -272,7 +287,7 @@ describe Freeclimb::ApplicationResult do
|
|
272
287
|
expect(instance_1.eql?(instance_2)).to eq(false)
|
273
288
|
end
|
274
289
|
end
|
275
|
-
|
290
|
+
|
276
291
|
describe 'test method "hash"' do
|
277
292
|
it 'calculates hash code' do
|
278
293
|
instance = Freeclimb::ApplicationResult.new(
|