freeclimb 4.6.0 → 4.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/Gemfile.lock +2 -2
  4. data/README.md +6 -5
  5. data/docs/DefaultApi.md +7 -8
  6. data/docs/TranscribeUtterance.md +1 -1
  7. data/docs/TranscribeUtteranceAllOf.md +28 -0
  8. data/docs/TranscribeUtteranceAllOfRecord.md +22 -0
  9. data/lib/freeclimb/api/default_api.rb +11 -9
  10. data/lib/freeclimb/models/account_request.rb +0 -2
  11. data/lib/freeclimb/models/account_result.rb +0 -6
  12. data/lib/freeclimb/models/add_to_conference.rb +0 -16
  13. data/lib/freeclimb/models/add_to_conference_all_of.rb +0 -16
  14. data/lib/freeclimb/models/application_result.rb +0 -6
  15. data/lib/freeclimb/models/buy_incoming_number_request.rb +0 -4
  16. data/lib/freeclimb/models/call_result.rb +0 -6
  17. data/lib/freeclimb/models/conference_participant_result.rb +0 -6
  18. data/lib/freeclimb/models/conference_result.rb +0 -6
  19. data/lib/freeclimb/models/create_conference.rb +0 -8
  20. data/lib/freeclimb/models/create_conference_all_of.rb +0 -8
  21. data/lib/freeclimb/models/create_conference_request.rb +0 -6
  22. data/lib/freeclimb/models/create_web_rtc_token.rb +0 -4
  23. data/lib/freeclimb/models/dequeue.rb +1 -0
  24. data/lib/freeclimb/models/enqueue.rb +0 -6
  25. data/lib/freeclimb/models/enqueue_all_of.rb +0 -6
  26. data/lib/freeclimb/models/get_digits.rb +0 -16
  27. data/lib/freeclimb/models/get_digits_all_of.rb +0 -16
  28. data/lib/freeclimb/models/get_speech.rb +0 -22
  29. data/lib/freeclimb/models/get_speech_all_of.rb +0 -22
  30. data/lib/freeclimb/models/incoming_number_request.rb +0 -2
  31. data/lib/freeclimb/models/incoming_number_result.rb +0 -10
  32. data/lib/freeclimb/models/incoming_number_result_all_of.rb +0 -2
  33. data/lib/freeclimb/models/make_call_request.rb +0 -18
  34. data/lib/freeclimb/models/message_request.rb +0 -16
  35. data/lib/freeclimb/models/message_request_all_of.rb +0 -8
  36. data/lib/freeclimb/models/message_result.rb +0 -8
  37. data/lib/freeclimb/models/message_result_all_of.rb +0 -2
  38. data/lib/freeclimb/models/mutable_resource_model.rb +0 -6
  39. data/lib/freeclimb/models/out_dial.rb +0 -18
  40. data/lib/freeclimb/models/out_dial_all_of.rb +0 -18
  41. data/lib/freeclimb/models/park.rb +0 -4
  42. data/lib/freeclimb/models/park_all_of.rb +0 -4
  43. data/lib/freeclimb/models/play.rb +0 -4
  44. data/lib/freeclimb/models/play_all_of.rb +0 -4
  45. data/lib/freeclimb/models/queue_request.rb +0 -2
  46. data/lib/freeclimb/models/queue_result.rb +0 -6
  47. data/lib/freeclimb/models/record_utterance.rb +0 -12
  48. data/lib/freeclimb/models/record_utterance_all_of.rb +0 -12
  49. data/lib/freeclimb/models/recording_result.rb +0 -6
  50. data/lib/freeclimb/models/remove_from_conference.rb +1 -0
  51. data/lib/freeclimb/models/say.rb +0 -6
  52. data/lib/freeclimb/models/say_all_of.rb +0 -6
  53. data/lib/freeclimb/models/send_digits.rb +0 -4
  54. data/lib/freeclimb/models/send_digits_all_of.rb +0 -4
  55. data/lib/freeclimb/models/sms.rb +0 -6
  56. data/lib/freeclimb/models/sms_all_of.rb +0 -6
  57. data/lib/freeclimb/models/sms_ten_dlc_brand.rb +0 -60
  58. data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +0 -50
  59. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +0 -44
  60. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +0 -20
  61. data/lib/freeclimb/models/sms_toll_free_campaign.rb +0 -12
  62. data/lib/freeclimb/models/start_record_call.rb +1 -0
  63. data/lib/freeclimb/models/terminate_conference.rb +1 -0
  64. data/lib/freeclimb/models/transcribe_utterance.rb +11 -16
  65. data/lib/freeclimb/models/{terminate_conference_all_of.rb → transcribe_utterance_all_of.rb} +67 -14
  66. data/lib/freeclimb/models/{transcribe_utterance_record.rb → transcribe_utterance_all_of_record.rb} +3 -7
  67. data/lib/freeclimb/models/unpark.rb +1 -0
  68. data/lib/freeclimb/models/update_conference_participant_request.rb +0 -2
  69. data/lib/freeclimb/models/update_conference_request.rb +0 -2
  70. data/lib/freeclimb/version.rb +1 -1
  71. data/lib/freeclimb.rb +3 -2
  72. data/openapi.json +276 -319
  73. data/spec/api/default_api_spec.rb +120 -62
  74. data/spec/models/account_request_spec.rb +8 -6
  75. data/spec/models/account_result_spec.rb +28 -9
  76. data/spec/models/add_to_conference_spec.rb +21 -7
  77. data/spec/models/application_list_spec.rb +46 -22
  78. data/spec/models/application_request_spec.rb +13 -6
  79. data/spec/models/application_result_spec.rb +24 -9
  80. data/spec/models/available_number_list_spec.rb +46 -22
  81. data/spec/models/available_number_spec.rb +23 -10
  82. data/spec/models/buy_incoming_number_request_spec.rb +11 -7
  83. data/spec/models/call_list_spec.rb +46 -22
  84. data/spec/models/call_result_spec.rb +49 -15
  85. data/spec/models/capabilities_spec.rb +26 -11
  86. data/spec/models/conference_list_spec.rb +46 -22
  87. data/spec/models/conference_participant_list_spec.rb +46 -22
  88. data/spec/models/conference_participant_result_spec.rb +24 -9
  89. data/spec/models/conference_result_spec.rb +32 -9
  90. data/spec/models/create_conference_request_spec.rb +15 -6
  91. data/spec/models/create_conference_spec.rb +19 -7
  92. data/spec/models/create_web_rtc_token_spec.rb +18 -12
  93. data/spec/models/enqueue_spec.rb +16 -9
  94. data/spec/models/filter_logs_request_spec.rb +9 -7
  95. data/spec/models/get_digits_spec.rb +43 -19
  96. data/spec/models/get_speech_spec.rb +60 -24
  97. data/spec/models/hangup_spec.rb +7 -6
  98. data/spec/models/incoming_number_list_spec.rb +46 -22
  99. data/spec/models/incoming_number_request_spec.rb +9 -6
  100. data/spec/models/incoming_number_result_spec.rb +47 -17
  101. data/spec/models/log_list_spec.rb +46 -22
  102. data/spec/models/log_result_spec.rb +21 -9
  103. data/spec/models/make_call_request_spec.rb +26 -11
  104. data/spec/models/message_request_spec.rb +26 -12
  105. data/spec/models/message_result_spec.rb +34 -11
  106. data/spec/models/messages_list_spec.rb +46 -22
  107. data/spec/models/mutable_resource_model_spec.rb +15 -9
  108. data/spec/models/out_dial_spec.rb +33 -13
  109. data/spec/models/pagination_model_spec.rb +40 -21
  110. data/spec/models/park_spec.rb +13 -8
  111. data/spec/models/pause_spec.rb +14 -10
  112. data/spec/models/percl_command_spec.rb +6 -6
  113. data/spec/models/percl_script_spec.rb +11 -6
  114. data/spec/models/play_early_media_spec.rb +9 -7
  115. data/spec/models/play_spec.rb +17 -10
  116. data/spec/models/queue_list_spec.rb +46 -22
  117. data/spec/models/queue_member_list_spec.rb +46 -22
  118. data/spec/models/queue_member_spec.rb +21 -12
  119. data/spec/models/queue_request_spec.rb +13 -9
  120. data/spec/models/queue_result_spec.rb +37 -18
  121. data/spec/models/record_utterance_spec.rb +28 -13
  122. data/spec/models/recording_list_spec.rb +46 -22
  123. data/spec/models/recording_result_spec.rb +25 -12
  124. data/spec/models/redirect_spec.rb +9 -7
  125. data/spec/models/reject_spec.rb +7 -6
  126. data/spec/models/remove_from_conference_spec.rb +0 -67
  127. data/spec/models/say_spec.rb +18 -10
  128. data/spec/models/send_digits_spec.rb +17 -10
  129. data/spec/models/set_listen_spec.rb +8 -6
  130. data/spec/models/set_talk_spec.rb +8 -6
  131. data/spec/models/sms_spec.rb +16 -9
  132. data/spec/models/sms_ten_dlc_brand_spec.rb +38 -4
  133. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +46 -22
  134. data/spec/models/sms_ten_dlc_campaign_spec.rb +63 -4
  135. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +46 -22
  136. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +25 -7
  137. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +56 -8
  138. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +46 -22
  139. data/spec/models/sms_toll_free_campaign_spec.rb +29 -15
  140. data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +46 -22
  141. data/spec/models/terminate_conference_spec.rb +0 -67
  142. data/spec/models/tfn_spec.rb +9 -7
  143. data/spec/models/{transcribe_utterance_record_spec.rb → transcribe_utterance_all_of_record_spec.rb} +78 -67
  144. data/spec/models/transcribe_utterance_spec.rb +37 -96
  145. data/spec/models/update_call_request_spec.rb +12 -7
  146. data/spec/models/update_conference_participant_request_spec.rb +10 -6
  147. data/spec/models/update_conference_request_spec.rb +15 -6
  148. metadata +89 -88
  149. data/lib/freeclimb/models/remove_from_conference_all_of.rb +0 -228
@@ -30,6 +30,7 @@ describe Freeclimb::CallResult 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::CallResult 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::CallResult 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::CallResult do
58
64
  it 'should work' do
59
65
  instance.call_id = "TEST_STRING"
60
66
  expect(instance.call_id).to eq("TEST_STRING")
67
+
61
68
  end
62
69
  end
63
70
 
@@ -65,6 +72,7 @@ describe Freeclimb::CallResult do
65
72
  it 'should work' do
66
73
  instance.parent_call_id = "TEST_STRING"
67
74
  expect(instance.parent_call_id).to eq("TEST_STRING")
75
+
68
76
  end
69
77
  end
70
78
 
@@ -72,6 +80,7 @@ describe Freeclimb::CallResult do
72
80
  it 'should work' do
73
81
  instance.account_id = "TEST_STRING"
74
82
  expect(instance.account_id).to eq("TEST_STRING")
83
+
75
84
  end
76
85
  end
77
86
 
@@ -79,6 +88,7 @@ describe Freeclimb::CallResult do
79
88
  it 'should work' do
80
89
  instance.from = "TEST_STRING"
81
90
  expect(instance.from).to eq("TEST_STRING")
91
+
82
92
  end
83
93
  end
84
94
 
@@ -86,6 +96,7 @@ describe Freeclimb::CallResult do
86
96
  it 'should work' do
87
97
  instance.to = "TEST_STRING"
88
98
  expect(instance.to).to eq("TEST_STRING")
99
+
89
100
  end
90
101
  end
91
102
 
@@ -93,6 +104,7 @@ describe Freeclimb::CallResult do
93
104
  it 'should work' do
94
105
  instance.phone_number_id = "TEST_STRING"
95
106
  expect(instance.phone_number_id).to eq("TEST_STRING")
107
+
96
108
  end
97
109
  end
98
110
 
@@ -136,6 +148,7 @@ describe Freeclimb::CallResult do
136
148
  it 'should work' do
137
149
  instance.start_time = "TEST_STRING"
138
150
  expect(instance.start_time).to eq("TEST_STRING")
151
+
139
152
  end
140
153
  end
141
154
 
@@ -143,6 +156,7 @@ describe Freeclimb::CallResult do
143
156
  it 'should work' do
144
157
  instance.connect_time = "TEST_STRING"
145
158
  expect(instance.connect_time).to eq("TEST_STRING")
159
+
146
160
  end
147
161
  end
148
162
 
@@ -150,20 +164,27 @@ describe Freeclimb::CallResult do
150
164
  it 'should work' do
151
165
  instance.end_time = "TEST_STRING"
152
166
  expect(instance.end_time).to eq("TEST_STRING")
167
+
153
168
  end
154
169
  end
155
170
 
156
171
  describe 'test attribute "duration"' do
157
172
  it 'should work' do
173
+
174
+
158
175
  instance.duration = 1
159
- expect(instance.duration).to eq(1)
176
+ expect(instance.duration).to eq(1)
177
+
160
178
  end
161
179
  end
162
180
 
163
181
  describe 'test attribute "connect_duration"' do
164
182
  it 'should work' do
183
+
184
+
165
185
  instance.connect_duration = 1
166
- expect(instance.connect_duration).to eq(1)
186
+ expect(instance.connect_duration).to eq(1)
187
+
167
188
  end
168
189
  end
169
190
 
@@ -197,6 +218,7 @@ describe Freeclimb::CallResult do
197
218
 
198
219
  describe 'test attribute "subresource_uris"' do
199
220
  it 'should work' do
221
+
200
222
  testObject = Object.new()
201
223
  instance.subresource_uris = testObject
202
224
  expect(instance.subresource_uris).to eq(testObject)
@@ -276,7 +298,7 @@ describe Freeclimb::CallResult do
276
298
  )}.to raise_error(ArgumentError)
277
299
  end
278
300
  end
279
-
301
+
280
302
  describe 'test method "valid"' do
281
303
  it 'checks if properties are valid' do
282
304
  instance = Freeclimb::CallResult.new(
@@ -302,15 +324,14 @@ describe Freeclimb::CallResult do
302
324
  )
303
325
  expect(instance.valid?).to eq(true)
304
326
  end
327
+
305
328
  it 'checks if properties are invalid' do
306
329
  instance = Freeclimb::CallResult.new(
330
+
307
331
  )
308
332
  expect(instance.valid?).to eq(false)
309
333
  end
310
- it 'checks if model is empty' do
311
- instance = Freeclimb::CallResult.new()
312
- expect(instance.valid?).to eq(false)
313
- end
334
+
314
335
  end
315
336
 
316
337
  describe 'test method "eql?"' do
@@ -327,13 +348,16 @@ describe Freeclimb::CallResult do
327
348
  from: "TS",
328
349
  to: "TS",
329
350
  phone_number_id: "TS",
351
+ call_status: Freeclimb::CallStatus.new(),
330
352
  call_status: "QUEUED",
331
353
  start_time: "TS",
332
354
  connect_time: "TS",
333
355
  end_time: "TS",
334
356
  duration: 1,
335
357
  connect_duration: 1,
358
+ direction: Freeclimb::CallDirection.new(),
336
359
  direction: "INBOUND",
360
+ answered_by: Freeclimb::AnsweredBy.new(),
337
361
  answered_by: "HUMAN",
338
362
  subresource_uris: obj,
339
363
  )
@@ -348,37 +372,44 @@ describe Freeclimb::CallResult do
348
372
  from: "TS",
349
373
  to: "TS",
350
374
  phone_number_id: "TS",
375
+ call_status: Freeclimb::CallStatus.new(),
351
376
  call_status: "QUEUED",
352
377
  start_time: "TS",
353
378
  connect_time: "TS",
354
379
  end_time: "TS",
355
380
  duration: 1,
356
381
  connect_duration: 1,
382
+ direction: Freeclimb::CallDirection.new(),
357
383
  direction: "INBOUND",
384
+ answered_by: Freeclimb::AnsweredBy.new(),
358
385
  answered_by: "HUMAN",
359
386
  subresource_uris: obj,
360
387
  )
361
388
  expect(instance_1.eql?(instance_2)).to eq(true)
362
389
  end
390
+
363
391
  it 'checks if objects are not equal' do
364
392
  instance_1 = Freeclimb::CallResult.new(
365
393
  uri: "TS",
366
394
  date_created: "TS",
367
395
  date_updated: "TS",
368
- revision: 1,
396
+ revision: 2,
369
397
  call_id: "TS",
370
398
  parent_call_id: "TS",
371
399
  account_id: "TS",
372
400
  from: "TS",
373
401
  to: "TS",
374
402
  phone_number_id: "TS",
403
+ call_status: Freeclimb::CallStatus.new(),
375
404
  call_status: "QUEUED",
376
405
  start_time: "TS",
377
406
  connect_time: "TS",
378
407
  end_time: "TS",
379
- duration: 1,
380
- connect_duration: 1,
408
+ duration: 2,
409
+ connect_duration: 2,
410
+ direction: Freeclimb::CallDirection.new(),
381
411
  direction: "INBOUND",
412
+ answered_by: Freeclimb::AnsweredBy.new(),
382
413
  answered_by: "HUMAN",
383
414
  subresource_uris: Object.new(),
384
415
  )
@@ -386,27 +417,30 @@ describe Freeclimb::CallResult do
386
417
  uri: "ST",
387
418
  date_created: "ST",
388
419
  date_updated: "ST",
389
- revision: 0,
420
+ revision: 1,
390
421
  call_id: "ST",
391
422
  parent_call_id: "ST",
392
423
  account_id: "ST",
393
424
  from: "ST",
394
425
  to: "ST",
395
426
  phone_number_id: "ST",
427
+ call_status: Freeclimb::CallStatus.new(),
396
428
  call_status: "RINGING",
397
429
  start_time: "ST",
398
430
  connect_time: "ST",
399
431
  end_time: "ST",
400
- duration: 0,
401
- connect_duration: 0,
432
+ duration: 1,
433
+ connect_duration: 1,
434
+ direction: Freeclimb::CallDirection.new(),
402
435
  direction: "OUTBOUND_API",
436
+ answered_by: Freeclimb::AnsweredBy.new(),
403
437
  answered_by: "MACHINE",
404
438
  subresource_uris: nil,
405
439
  )
406
440
  expect(instance_1.eql?(instance_2)).to eq(false)
407
441
  end
408
442
  end
409
-
443
+
410
444
  describe 'test method "hash"' do
411
445
  it 'calculates hash code' do
412
446
  instance = Freeclimb::CallResult.new(
@@ -30,6 +30,7 @@ describe Freeclimb::Capabilities do
30
30
  it 'should work' do
31
31
  instance.voice = false
32
32
  expect(instance.voice).to eq(false)
33
+
33
34
  end
34
35
  end
35
36
 
@@ -37,6 +38,7 @@ describe Freeclimb::Capabilities do
37
38
  it 'should work' do
38
39
  instance.sms = false
39
40
  expect(instance.sms).to eq(false)
41
+
40
42
  end
41
43
  end
42
44
 
@@ -44,6 +46,7 @@ describe Freeclimb::Capabilities do
44
46
  it 'should work' do
45
47
  instance.toll_free = false
46
48
  expect(instance.toll_free).to eq(false)
49
+
47
50
  end
48
51
  end
49
52
 
@@ -51,6 +54,7 @@ describe Freeclimb::Capabilities do
51
54
  it 'should work' do
52
55
  instance.ten_dlc = false
53
56
  expect(instance.ten_dlc).to eq(false)
57
+
54
58
  end
55
59
  end
56
60
 
@@ -58,6 +62,7 @@ describe Freeclimb::Capabilities do
58
62
  it 'should work' do
59
63
  instance.short_code = false
60
64
  expect(instance.short_code).to eq(false)
65
+
61
66
  end
62
67
  end
63
68
 
@@ -92,7 +97,7 @@ describe Freeclimb::Capabilities do
92
97
  )}.to raise_error(ArgumentError)
93
98
  end
94
99
  end
95
-
100
+
96
101
  describe 'test method "valid"' do
97
102
  it 'checks if properties are valid' do
98
103
  instance = Freeclimb::Capabilities.new(
@@ -104,20 +109,29 @@ describe Freeclimb::Capabilities do
104
109
  )
105
110
  expect(instance.valid?).to eq(true)
106
111
  end
112
+
107
113
  it 'checks if properties are invalid' do
108
114
  instance = Freeclimb::Capabilities.new(
109
- voice: nil,
110
- sms: nil,
111
- toll_free: nil,
112
- ten_dlc: nil,
113
- short_code: nil,
115
+ voice: nil,
116
+
117
+ voice: nil,
118
+ sms: nil,
119
+
120
+ sms: nil,
121
+ toll_free: nil,
122
+
123
+ toll_free: nil,
124
+ ten_dlc: nil,
125
+
126
+ ten_dlc: nil,
127
+ short_code: nil,
128
+
129
+ short_code: nil,
130
+
114
131
  )
115
132
  expect(instance.valid?).to eq(false)
116
133
  end
117
- it 'checks if model is empty' do
118
- instance = Freeclimb::Capabilities.new()
119
- expect(instance.valid?).to eq(false)
120
- end
134
+
121
135
  end
122
136
 
123
137
  describe 'test method "eql?"' do
@@ -139,6 +153,7 @@ describe Freeclimb::Capabilities do
139
153
  )
140
154
  expect(instance_1.eql?(instance_2)).to eq(true)
141
155
  end
156
+
142
157
  it 'checks if objects are not equal' do
143
158
  instance_1 = Freeclimb::Capabilities.new(
144
159
  voice: true,
@@ -157,7 +172,7 @@ describe Freeclimb::Capabilities do
157
172
  expect(instance_1.eql?(instance_2)).to eq(false)
158
173
  end
159
174
  end
160
-
175
+
161
176
  describe 'test method "hash"' do
162
177
  it 'calculates hash code' do
163
178
  instance = Freeclimb::Capabilities.new(
@@ -28,43 +28,61 @@ describe Freeclimb::ConferenceList 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::ConferenceList 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 "conferences"' do
79
98
  it 'should work' do
99
+
80
100
  instance.conferences = ["ELEMENT_1", "ELEMENT_2"]
81
101
  expect(instance.conferences).to eq(["ELEMENT_1", "ELEMENT_2"])
82
102
  end
@@ -122,7 +142,7 @@ describe Freeclimb::ConferenceList 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::ConferenceList.new(
@@ -137,15 +157,14 @@ describe Freeclimb::ConferenceList 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::ConferenceList.new(
163
+
142
164
  )
143
165
  expect(instance.valid?).to eq(false)
144
166
  end
145
- it 'checks if model is empty' do
146
- instance = Freeclimb::ConferenceList.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::ConferenceList do
159
178
  num_pages: 1,
160
179
  page_size: 1,
161
180
  next_page_uri: "TS",
181
+ conferences: Freeclimb::ConferenceResult.new(),
162
182
  conferences: [],
163
183
  )
164
184
  instance_2 = Freeclimb::ConferenceList.new(
@@ -169,35 +189,39 @@ describe Freeclimb::ConferenceList do
169
189
  num_pages: 1,
170
190
  page_size: 1,
171
191
  next_page_uri: "TS",
192
+ conferences: Freeclimb::ConferenceResult.new(),
172
193
  conferences: [],
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::ConferenceList.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
+ conferences: Freeclimb::ConferenceResult.new(),
208
+ conferences: [],
209
+ )
210
+ instance_2 = Freeclimb::ConferenceList.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
- conferences: [],
186
- )
187
- instance_2 = Freeclimb::ConferenceList.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
+ conferences: Freeclimb::ConferenceResult.new(),
195
219
  conferences: 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::ConferenceList.new(
@@ -28,43 +28,61 @@ describe Freeclimb::ConferenceParticipantList 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::ConferenceParticipantList 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 "participants"' do
79
98
  it 'should work' do
99
+
80
100
  instance.participants = ["ELEMENT_1", "ELEMENT_2"]
81
101
  expect(instance.participants).to eq(["ELEMENT_1", "ELEMENT_2"])
82
102
  end
@@ -122,7 +142,7 @@ describe Freeclimb::ConferenceParticipantList 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::ConferenceParticipantList.new(
@@ -137,15 +157,14 @@ describe Freeclimb::ConferenceParticipantList 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::ConferenceParticipantList.new(
163
+
142
164
  )
143
165
  expect(instance.valid?).to eq(false)
144
166
  end
145
- it 'checks if model is empty' do
146
- instance = Freeclimb::ConferenceParticipantList.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::ConferenceParticipantList do
159
178
  num_pages: 1,
160
179
  page_size: 1,
161
180
  next_page_uri: "TS",
181
+ participants: Freeclimb::ConferenceParticipantResult.new(),
162
182
  participants: [],
163
183
  )
164
184
  instance_2 = Freeclimb::ConferenceParticipantList.new(
@@ -169,35 +189,39 @@ describe Freeclimb::ConferenceParticipantList do
169
189
  num_pages: 1,
170
190
  page_size: 1,
171
191
  next_page_uri: "TS",
192
+ participants: Freeclimb::ConferenceParticipantResult.new(),
172
193
  participants: [],
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::ConferenceParticipantList.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
+ participants: Freeclimb::ConferenceParticipantResult.new(),
208
+ participants: [],
209
+ )
210
+ instance_2 = Freeclimb::ConferenceParticipantList.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
- participants: [],
186
- )
187
- instance_2 = Freeclimb::ConferenceParticipantList.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
+ participants: Freeclimb::ConferenceParticipantResult.new(),
195
219
  participants: 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::ConferenceParticipantList.new(