freeclimb 5.1.0 → 5.2.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.
Files changed (308) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/Gemfile +4 -5
  4. data/Gemfile.lock +18 -5
  5. data/README.md +4 -4
  6. data/Rakefile +1 -1
  7. data/docs/CreateConferenceRequest.md +1 -1
  8. data/docs/DefaultApi.md +1 -1
  9. data/freeclimb.gemspec +21 -26
  10. data/lib/freeclimb/api/default_api.rb +878 -878
  11. data/lib/freeclimb/api_client.rb +78 -83
  12. data/lib/freeclimb/api_error.rb +17 -19
  13. data/lib/freeclimb/configuration.rb +27 -29
  14. data/lib/freeclimb/models/account_request.rb +36 -41
  15. data/lib/freeclimb/models/account_result.rb +88 -92
  16. data/lib/freeclimb/models/account_status.rb +12 -14
  17. data/lib/freeclimb/models/account_type.rb +12 -14
  18. data/lib/freeclimb/models/add_to_conference.rb +81 -85
  19. data/lib/freeclimb/models/add_to_conference_notification_webhook.rb +99 -103
  20. data/lib/freeclimb/models/add_to_queue_notification_webhook.rb +78 -82
  21. data/lib/freeclimb/models/answered_by.rb +12 -14
  22. data/lib/freeclimb/models/application_list.rb +74 -78
  23. data/lib/freeclimb/models/application_request.rb +66 -70
  24. data/lib/freeclimb/models/application_result.rb +100 -104
  25. data/lib/freeclimb/models/available_number.rb +66 -70
  26. data/lib/freeclimb/models/available_number_list.rb +74 -78
  27. data/lib/freeclimb/models/barge_in_reason.rb +12 -14
  28. data/lib/freeclimb/models/buy_incoming_number_request.rb +41 -45
  29. data/lib/freeclimb/models/call_control_webhook.rb +56 -61
  30. data/lib/freeclimb/models/call_direction.rb +12 -14
  31. data/lib/freeclimb/models/call_ended_reason.rb +12 -14
  32. data/lib/freeclimb/models/call_list.rb +74 -78
  33. data/lib/freeclimb/models/call_result.rb +142 -146
  34. data/lib/freeclimb/models/call_status.rb +12 -14
  35. data/lib/freeclimb/models/call_status_webhook.rb +84 -88
  36. data/lib/freeclimb/models/capabilities.rb +55 -59
  37. data/lib/freeclimb/models/completion_request.rb +32 -36
  38. data/lib/freeclimb/models/completion_result.rb +36 -40
  39. data/lib/freeclimb/models/completion_result_status.rb +12 -14
  40. data/lib/freeclimb/models/conference_list.rb +74 -78
  41. data/lib/freeclimb/models/conference_participant_list.rb +74 -78
  42. data/lib/freeclimb/models/conference_participant_result.rb +88 -92
  43. data/lib/freeclimb/models/conference_recording_status_webhook.rb +99 -103
  44. data/lib/freeclimb/models/conference_result.rb +106 -110
  45. data/lib/freeclimb/models/conference_status.rb +12 -14
  46. data/lib/freeclimb/models/conference_status_webhook.rb +102 -106
  47. data/lib/freeclimb/models/create_conference.rb +60 -63
  48. data/lib/freeclimb/models/create_conference_request.rb +55 -54
  49. data/lib/freeclimb/models/create_conference_webhook.rb +102 -106
  50. data/lib/freeclimb/models/create_web_rtc_token.rb +42 -46
  51. data/lib/freeclimb/models/dequeue.rb +28 -33
  52. data/lib/freeclimb/models/dequeue_webhook.rb +89 -93
  53. data/lib/freeclimb/models/enqueue.rb +48 -52
  54. data/lib/freeclimb/models/filter_logs_request.rb +31 -35
  55. data/lib/freeclimb/models/get_digits.rb +73 -77
  56. data/lib/freeclimb/models/get_digits_reason.rb +12 -14
  57. data/lib/freeclimb/models/get_digits_webhook.rb +93 -97
  58. data/lib/freeclimb/models/get_speech.rb +94 -97
  59. data/lib/freeclimb/models/get_speech_reason.rb +12 -14
  60. data/lib/freeclimb/models/get_speech_webhook.rb +118 -122
  61. data/lib/freeclimb/models/grammar_file_built_in.rb +12 -14
  62. data/lib/freeclimb/models/grammar_type.rb +12 -14
  63. data/lib/freeclimb/models/hangup.rb +34 -39
  64. data/lib/freeclimb/models/if_machine.rb +12 -14
  65. data/lib/freeclimb/models/inbound_call_webhook.rb +85 -89
  66. data/lib/freeclimb/models/incoming_number_list.rb +74 -78
  67. data/lib/freeclimb/models/incoming_number_request.rb +41 -45
  68. data/lib/freeclimb/models/incoming_number_result.rb +122 -126
  69. data/lib/freeclimb/models/language.rb +12 -14
  70. data/lib/freeclimb/models/leave_conference_webhook.rb +79 -83
  71. data/lib/freeclimb/models/log_level.rb +12 -14
  72. data/lib/freeclimb/models/log_list.rb +74 -78
  73. data/lib/freeclimb/models/log_result.rb +67 -71
  74. data/lib/freeclimb/models/machine_detected_webhook.rb +89 -93
  75. data/lib/freeclimb/models/machine_type.rb +12 -14
  76. data/lib/freeclimb/models/make_call_request.rb +77 -81
  77. data/lib/freeclimb/models/message_delivery_webhook.rb +81 -86
  78. data/lib/freeclimb/models/message_direction.rb +12 -14
  79. data/lib/freeclimb/models/message_request.rb +72 -75
  80. data/lib/freeclimb/models/message_result.rb +135 -139
  81. data/lib/freeclimb/models/message_status.rb +12 -14
  82. data/lib/freeclimb/models/message_status_webhook.rb +86 -90
  83. data/lib/freeclimb/models/messages_list.rb +74 -78
  84. data/lib/freeclimb/models/mutable_resource_model.rb +46 -51
  85. data/lib/freeclimb/models/out_dial.rb +80 -84
  86. data/lib/freeclimb/models/out_dial_api_connect_webhook.rb +84 -88
  87. data/lib/freeclimb/models/out_dial_connect_webhook.rb +84 -88
  88. data/lib/freeclimb/models/out_dial_start_webhook.rb +90 -94
  89. data/lib/freeclimb/models/pagination_model.rb +67 -71
  90. data/lib/freeclimb/models/park.rb +44 -48
  91. data/lib/freeclimb/models/pause.rb +33 -37
  92. data/lib/freeclimb/models/percl_command.rb +36 -40
  93. data/lib/freeclimb/models/percl_script.rb +32 -36
  94. data/lib/freeclimb/models/play.rb +44 -48
  95. data/lib/freeclimb/models/play_beep.rb +12 -14
  96. data/lib/freeclimb/models/play_early_media.rb +33 -37
  97. data/lib/freeclimb/models/queue_list.rb +74 -78
  98. data/lib/freeclimb/models/queue_member.rb +55 -59
  99. data/lib/freeclimb/models/queue_member_list.rb +74 -78
  100. data/lib/freeclimb/models/queue_request.rb +37 -42
  101. data/lib/freeclimb/models/queue_result.rb +88 -92
  102. data/lib/freeclimb/models/queue_result_status.rb +12 -14
  103. data/lib/freeclimb/models/queue_wait_webhook.rb +94 -98
  104. data/lib/freeclimb/models/record_utterance.rb +63 -67
  105. data/lib/freeclimb/models/record_utterance_term_reason.rb +12 -14
  106. data/lib/freeclimb/models/record_webhook.rb +119 -123
  107. data/lib/freeclimb/models/recording_list.rb +74 -78
  108. data/lib/freeclimb/models/recording_result.rb +76 -80
  109. data/lib/freeclimb/models/redirect.rb +33 -37
  110. data/lib/freeclimb/models/redirect_webhook.rb +84 -88
  111. data/lib/freeclimb/models/reject.rb +34 -39
  112. data/lib/freeclimb/models/remove_from_conference.rb +28 -33
  113. data/lib/freeclimb/models/remove_from_queue_notification_webhook.rb +89 -93
  114. data/lib/freeclimb/models/request_type.rb +12 -14
  115. data/lib/freeclimb/models/say.rb +49 -53
  116. data/lib/freeclimb/models/send_digits.rb +43 -47
  117. data/lib/freeclimb/models/set_dtmf_pass_through.rb +34 -39
  118. data/lib/freeclimb/models/set_listen.rb +34 -39
  119. data/lib/freeclimb/models/set_talk.rb +34 -39
  120. data/lib/freeclimb/models/sms.rb +48 -52
  121. data/lib/freeclimb/models/sms_ten_dlc_brand.rb +187 -190
  122. data/lib/freeclimb/models/sms_ten_dlc_brand_alt_business_id_type.rb +12 -14
  123. data/lib/freeclimb/models/sms_ten_dlc_brand_entity_type.rb +12 -14
  124. data/lib/freeclimb/models/sms_ten_dlc_brand_identity_status.rb +12 -14
  125. data/lib/freeclimb/models/sms_ten_dlc_brand_relationship.rb +12 -14
  126. data/lib/freeclimb/models/sms_ten_dlc_brand_stock_exchange.rb +12 -14
  127. data/lib/freeclimb/models/sms_ten_dlc_brands_list_result.rb +74 -78
  128. data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +226 -229
  129. data/lib/freeclimb/models/sms_ten_dlc_campaign_status.rb +12 -14
  130. data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result.rb +74 -78
  131. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +186 -189
  132. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +84 -87
  133. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_status.rb +12 -14
  134. data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result.rb +74 -78
  135. data/lib/freeclimb/models/sms_toll_free_campaign.rb +61 -64
  136. data/lib/freeclimb/models/sms_toll_free_campaign_registration_status.rb +12 -14
  137. data/lib/freeclimb/models/sms_toll_free_campaigns_list_result.rb +74 -78
  138. data/lib/freeclimb/models/start_record_call.rb +28 -33
  139. data/lib/freeclimb/models/terminate_conference.rb +28 -33
  140. data/lib/freeclimb/models/tfn.rb +31 -35
  141. data/lib/freeclimb/models/tfn_campaign.rb +76 -79
  142. data/lib/freeclimb/models/transcribe_reason.rb +12 -14
  143. data/lib/freeclimb/models/transcribe_term_reason.rb +12 -14
  144. data/lib/freeclimb/models/transcribe_utterance.rb +61 -65
  145. data/lib/freeclimb/models/transcribe_utterance_record.rb +43 -47
  146. data/lib/freeclimb/models/transcribe_webhook.rb +150 -154
  147. data/lib/freeclimb/models/unpark.rb +28 -33
  148. data/lib/freeclimb/models/update_call_request.rb +31 -35
  149. data/lib/freeclimb/models/update_call_request_status.rb +12 -14
  150. data/lib/freeclimb/models/update_conference_participant_request.rb +41 -46
  151. data/lib/freeclimb/models/update_conference_request.rb +41 -45
  152. data/lib/freeclimb/models/update_conference_request_status.rb +12 -14
  153. data/lib/freeclimb/models/webhook.rb +32 -37
  154. data/lib/freeclimb/utils/request_verifier.rb +14 -14
  155. data/lib/freeclimb/utils/signature_information.rb +8 -8
  156. data/lib/freeclimb/version.rb +10 -12
  157. data/lib/freeclimb.rb +156 -158
  158. data/openapi.json +3 -0
  159. data/package.json +1 -1
  160. data/spec/api/default_api_spec.rb +492 -676
  161. data/spec/api_client_spec.rb +100 -102
  162. data/spec/configuration_spec.rb +16 -18
  163. data/spec/models/account_request_spec.rb +104 -233
  164. data/spec/models/account_result_spec.rb +393 -1013
  165. data/spec/models/account_status_spec.rb +27 -30
  166. data/spec/models/account_type_spec.rb +24 -27
  167. data/spec/models/add_to_conference_notification_webhook_spec.rb +464 -1197
  168. data/spec/models/add_to_conference_spec.rb +354 -850
  169. data/spec/models/add_to_queue_notification_webhook_spec.rb +341 -864
  170. data/spec/models/answered_by_spec.rb +24 -27
  171. data/spec/models/application_list_spec.rb +289 -646
  172. data/spec/models/application_request_spec.rb +265 -679
  173. data/spec/models/application_result_spec.rb +444 -1184
  174. data/spec/models/available_number_list_spec.rb +289 -646
  175. data/spec/models/available_number_spec.rb +271 -650
  176. data/spec/models/barge_in_reason_spec.rb +27 -30
  177. data/spec/models/buy_incoming_number_request_spec.rb +136 -322
  178. data/spec/models/call_control_webhook_spec.rb +203 -503
  179. data/spec/models/call_direction_spec.rb +27 -30
  180. data/spec/models/call_ended_reason_spec.rb +107 -110
  181. data/spec/models/call_list_spec.rb +289 -646
  182. data/spec/models/call_result_spec.rb +679 -1778
  183. data/spec/models/call_status_spec.rb +47 -50
  184. data/spec/models/call_status_webhook_spec.rb +413 -990
  185. data/spec/models/capabilities_spec.rb +202 -411
  186. data/spec/models/completion_request_spec.rb +75 -143
  187. data/spec/models/completion_result_spec.rb +104 -231
  188. data/spec/models/completion_result_status_spec.rb +24 -27
  189. data/spec/models/conference_list_spec.rb +289 -646
  190. data/spec/models/conference_participant_list_spec.rb +289 -646
  191. data/spec/models/conference_participant_result_spec.rb +384 -938
  192. data/spec/models/conference_recording_status_webhook_spec.rb +464 -1197
  193. data/spec/models/conference_result_spec.rb +489 -1263
  194. data/spec/models/conference_status_spec.rb +31 -34
  195. data/spec/models/conference_status_webhook_spec.rb +464 -1197
  196. data/spec/models/create_conference_request_spec.rb +204 -485
  197. data/spec/models/create_conference_spec.rb +237 -557
  198. data/spec/models/create_conference_webhook_spec.rb +464 -1197
  199. data/spec/models/create_web_rtc_token_spec.rb +136 -307
  200. data/spec/models/dequeue_spec.rb +14 -17
  201. data/spec/models/dequeue_webhook_spec.rb +400 -1021
  202. data/spec/models/enqueue_spec.rb +169 -412
  203. data/spec/models/filter_logs_request_spec.rb +73 -145
  204. data/spec/models/get_digits_reason_spec.rb +31 -34
  205. data/spec/models/get_digits_spec.rb +326 -737
  206. data/spec/models/get_digits_webhook_spec.rb +435 -1127
  207. data/spec/models/get_speech_reason_spec.rb +39 -42
  208. data/spec/models/get_speech_spec.rb +399 -1036
  209. data/spec/models/get_speech_webhook_spec.rb +608 -1553
  210. data/spec/models/grammar_file_built_in_spec.rb +75 -78
  211. data/spec/models/grammar_type_spec.rb +24 -27
  212. data/spec/models/hangup_spec.rb +73 -145
  213. data/spec/models/if_machine_spec.rb +24 -27
  214. data/spec/models/inbound_call_webhook_spec.rb +371 -951
  215. data/spec/models/incoming_number_list_spec.rb +289 -646
  216. data/spec/models/incoming_number_request_spec.rb +136 -322
  217. data/spec/models/incoming_number_result_spec.rb +573 -1489
  218. data/spec/models/language_spec.rb +120 -123
  219. data/spec/models/leave_conference_webhook_spec.rb +341 -864
  220. data/spec/models/log_level_spec.rb +27 -30
  221. data/spec/models/log_list_spec.rb +289 -646
  222. data/spec/models/log_result_spec.rb +272 -667
  223. data/spec/models/machine_detected_webhook_spec.rb +401 -1036
  224. data/spec/models/machine_type_spec.rb +24 -27
  225. data/spec/models/make_call_request_spec.rb +353 -905
  226. data/spec/models/message_delivery_webhook_spec.rb +357 -942
  227. data/spec/models/message_direction_spec.rb +24 -27
  228. data/spec/models/message_request_spec.rb +324 -818
  229. data/spec/models/message_result_spec.rb +647 -1710
  230. data/spec/models/message_status_spec.rb +60 -63
  231. data/spec/models/message_status_webhook_spec.rb +405 -1045
  232. data/spec/models/messages_list_spec.rb +289 -646
  233. data/spec/models/mutable_resource_model_spec.rb +168 -395
  234. data/spec/models/out_dial_api_connect_webhook_spec.rb +371 -951
  235. data/spec/models/out_dial_connect_webhook_spec.rb +371 -951
  236. data/spec/models/out_dial_spec.rb +354 -903
  237. data/spec/models/out_dial_start_webhook_spec.rb +401 -1038
  238. data/spec/models/pagination_model_spec.rb +259 -577
  239. data/spec/models/park_spec.rb +136 -322
  240. data/spec/models/pause_spec.rb +72 -128
  241. data/spec/models/percl_command_spec.rb +76 -145
  242. data/spec/models/percl_script_spec.rb +73 -127
  243. data/spec/models/play_beep_spec.rb +31 -34
  244. data/spec/models/play_early_media_spec.rb +73 -145
  245. data/spec/models/play_spec.rb +135 -287
  246. data/spec/models/queue_list_spec.rb +289 -646
  247. data/spec/models/queue_member_list_spec.rb +289 -646
  248. data/spec/models/queue_member_spec.rb +199 -467
  249. data/spec/models/queue_request_spec.rb +103 -216
  250. data/spec/models/queue_result_spec.rb +388 -965
  251. data/spec/models/queue_result_status_spec.rb +31 -34
  252. data/spec/models/queue_wait_webhook_spec.rb +429 -1091
  253. data/spec/models/record_utterance_spec.rb +263 -591
  254. data/spec/models/record_utterance_term_reason_spec.rb +31 -34
  255. data/spec/models/record_webhook_spec.rb +605 -1548
  256. data/spec/models/recording_list_spec.rb +289 -646
  257. data/spec/models/recording_result_spec.rb +323 -819
  258. data/spec/models/redirect_spec.rb +73 -145
  259. data/spec/models/redirect_webhook_spec.rb +371 -951
  260. data/spec/models/reject_spec.rb +73 -145
  261. data/spec/models/remove_from_conference_spec.rb +14 -17
  262. data/spec/models/remove_from_queue_notification_webhook_spec.rb +404 -1023
  263. data/spec/models/request_type_spec.rb +107 -110
  264. data/spec/models/say_spec.rb +168 -377
  265. data/spec/models/send_digits_spec.rb +135 -287
  266. data/spec/models/set_dtmf_pass_through_spec.rb +74 -127
  267. data/spec/models/set_listen_spec.rb +74 -127
  268. data/spec/models/set_talk_spec.rb +74 -127
  269. data/spec/models/sms_spec.rb +169 -412
  270. data/spec/models/sms_ten_dlc_brand_alt_business_id_type_spec.rb +31 -34
  271. data/spec/models/sms_ten_dlc_brand_entity_type_spec.rb +35 -38
  272. data/spec/models/sms_ten_dlc_brand_identity_status_spec.rb +31 -34
  273. data/spec/models/sms_ten_dlc_brand_relationship_spec.rb +35 -38
  274. data/spec/models/sms_ten_dlc_brand_spec.rb +1082 -2746
  275. data/spec/models/sms_ten_dlc_brand_stock_exchange_spec.rb +124 -127
  276. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +289 -646
  277. data/spec/models/sms_ten_dlc_campaign_spec.rb +1139 -2881
  278. data/spec/models/sms_ten_dlc_campaign_status_spec.rb +24 -27
  279. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +289 -646
  280. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +406 -1004
  281. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +961 -2393
  282. data/spec/models/sms_ten_dlc_partner_campaign_status_spec.rb +24 -27
  283. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +289 -646
  284. data/spec/models/sms_toll_free_campaign_registration_status_spec.rb +35 -38
  285. data/spec/models/sms_toll_free_campaign_spec.rb +270 -666
  286. data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +289 -646
  287. data/spec/models/start_record_call_spec.rb +14 -17
  288. data/spec/models/terminate_conference_spec.rb +14 -17
  289. data/spec/models/tfn_campaign_spec.rb +330 -858
  290. data/spec/models/tfn_spec.rb +73 -145
  291. data/spec/models/transcribe_reason_spec.rb +35 -38
  292. data/spec/models/transcribe_term_reason_spec.rb +24 -27
  293. data/spec/models/transcribe_utterance_record_spec.rb +134 -270
  294. data/spec/models/transcribe_utterance_spec.rb +236 -523
  295. data/spec/models/transcribe_webhook_spec.rb +749 -1918
  296. data/spec/models/unpark_spec.rb +14 -17
  297. data/spec/models/update_call_request_spec.rb +74 -143
  298. data/spec/models/update_call_request_status_spec.rb +24 -27
  299. data/spec/models/update_conference_participant_request_spec.rb +137 -268
  300. data/spec/models/update_conference_request_spec.rb +140 -321
  301. data/spec/models/update_conference_request_status_spec.rb +24 -27
  302. data/spec/models/webhook_spec.rb +68 -137
  303. data/spec/quickstart_spec.rb +5 -5
  304. data/spec/spec_helper.rb +92 -100
  305. data/spec/utils/request_verifier_spec.rb +70 -71
  306. data/spec/utils/signature_information_spec.rb +23 -23
  307. data/yarn.lock +9 -0
  308. metadata +3 -151
@@ -1,18 +1,16 @@
1
- =begin
2
- #FreeClimb API
1
+ # #FreeClimb API
2
+ #
3
+ # FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
4
+ #
5
+ # The version of the OpenAPI document: 1.0.0
6
+ # Contact: support@freeclimb.com
7
+ # Generated by: https://openapi-generator.tech
8
+ # OpenAPI Generator version: 7.9.0
9
+ #
3
10
 
4
- #FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
5
-
6
- The version of the OpenAPI document: 1.0.0
7
- Contact: support@freeclimb.com
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.9.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
11
+ require "spec_helper"
12
+ require "json"
13
+ require "date"
16
14
  include Freeclimb
17
15
 
18
16
  # Unit tests for Freeclimb::RecordingResult
@@ -21,660 +19,332 @@ include Freeclimb
21
19
  describe Freeclimb::RecordingResult do
22
20
  let(:instance) { Freeclimb::RecordingResult.new }
23
21
 
24
- describe 'test an instance of RecordingResult' do
25
- it 'should create an instance of RecordingResult' do
22
+ describe "test an instance of RecordingResult" do
23
+ it "should create an instance of RecordingResult" do
26
24
  expect(instance).to be_instance_of(Freeclimb::RecordingResult)
27
25
  end
28
26
  end
29
-
27
+
30
28
  describe 'test attribute "uri"' do
31
- it 'should work' do
32
-
29
+ it "should work" do
33
30
  instance.uri = "TEST_STRING"
34
- expect(instance.uri).to eq("TEST_STRING")
35
-
36
-
37
-
31
+ expect(instance.uri).to eq("TEST_STRING")
38
32
  end
39
33
  end
40
34
 
41
35
  describe 'test attribute "date_created"' do
42
- it 'should work' do
43
-
36
+ it "should work" do
44
37
  instance.date_created = "TEST_STRING"
45
- expect(instance.date_created).to eq("TEST_STRING")
46
-
47
-
48
-
38
+ expect(instance.date_created).to eq("TEST_STRING")
49
39
  end
50
40
  end
51
41
 
52
42
  describe 'test attribute "date_updated"' do
53
- it 'should work' do
54
-
43
+ it "should work" do
55
44
  instance.date_updated = "TEST_STRING"
56
- expect(instance.date_updated).to eq("TEST_STRING")
57
-
58
-
59
-
45
+ expect(instance.date_updated).to eq("TEST_STRING")
60
46
  end
61
47
  end
62
48
 
63
49
  describe 'test attribute "revision"' do
64
- it 'should work' do
65
-
66
-
50
+ it "should work" do
67
51
  instance.revision = 1
68
52
  expect(instance.revision).to eq(1)
69
-
70
-
71
-
72
53
  end
73
54
  end
74
55
 
75
56
  describe 'test attribute "recording_id"' do
76
- it 'should work' do
77
-
57
+ it "should work" do
78
58
  instance.recording_id = "TEST_STRING"
79
- expect(instance.recording_id).to eq("TEST_STRING")
80
-
81
-
82
-
59
+ expect(instance.recording_id).to eq("TEST_STRING")
83
60
  end
84
61
  end
85
62
 
86
63
  describe 'test attribute "account_id"' do
87
- it 'should work' do
88
-
64
+ it "should work" do
89
65
  instance.account_id = "TEST_STRING"
90
- expect(instance.account_id).to eq("TEST_STRING")
91
-
92
-
93
-
66
+ expect(instance.account_id).to eq("TEST_STRING")
94
67
  end
95
68
  end
96
69
 
97
70
  describe 'test attribute "call_id"' do
98
- it 'should work' do
99
-
71
+ it "should work" do
100
72
  instance.call_id = "TEST_STRING"
101
- expect(instance.call_id).to eq("TEST_STRING")
102
-
103
-
104
-
73
+ expect(instance.call_id).to eq("TEST_STRING")
105
74
  end
106
75
  end
107
76
 
108
77
  describe 'test attribute "duration_sec"' do
109
- it 'should work' do
110
-
111
-
78
+ it "should work" do
112
79
  instance.duration_sec = 1
113
80
  expect(instance.duration_sec).to eq(1)
114
-
115
-
116
-
117
81
  end
118
82
  end
119
83
 
120
84
  describe 'test attribute "conference_id"' do
121
- it 'should work' do
122
-
85
+ it "should work" do
123
86
  instance.conference_id = "TEST_STRING"
124
- expect(instance.conference_id).to eq("TEST_STRING")
125
-
126
-
127
-
87
+ expect(instance.conference_id).to eq("TEST_STRING")
128
88
  end
129
89
  end
130
90
 
131
91
  describe 'test method "initialize"' do
132
- it 'properly initializes with values' do
133
- expect { instance = Freeclimb::RecordingResult.new(
134
-
135
- uri: "TS",
136
-
137
-
138
-
139
-
140
- date_created: "TS",
141
-
142
-
143
-
144
-
145
- date_updated: "TS",
146
-
147
-
148
-
149
- revision: 1,
150
-
151
-
152
-
153
-
154
- recording_id: "TS",
155
-
156
-
157
-
158
-
159
- account_id: "TS",
160
-
161
-
162
-
163
-
164
- call_id: "TS",
165
-
166
-
167
-
168
- duration_sec: 1,
169
-
170
-
171
-
172
-
173
- conference_id: "TS",
174
-
175
-
176
-
177
- )}.not_to raise_error()
178
- end
179
- it 'fails to initialize with input argument that is not a hash in Freeclimb::RecordingResult' do
180
- expect { instance = Freeclimb::RecordingResult.new(
181
-
182
- uri: "TS",
183
-
184
-
185
-
186
-
187
- date_created: "TS",
188
-
189
-
190
-
191
-
192
- date_updated: "TS",
193
-
194
-
195
-
196
- revision: 1,
197
-
198
-
199
-
200
-
201
- recording_id: "TS",
202
-
203
-
204
-
205
-
206
- account_id: "TS",
207
-
208
-
209
-
210
-
211
- call_id: "TS",
212
-
213
-
214
-
215
- duration_sec: 1,
216
-
217
-
218
-
219
-
220
- conference_id: "TS",
221
-
222
-
223
-
224
- invalid_attribute: true
225
- )}.to raise_error(ArgumentError)
226
- end
227
- it 'fails to initialize with invalid attribute' do
228
- expect { instance = Freeclimb::RecordingResult.new(
229
-
230
- uri: "TS",
231
-
232
-
233
-
234
-
235
- date_created: "TS",
236
-
237
-
238
-
239
-
240
- date_updated: "TS",
241
-
242
-
243
-
244
- revision: 1,
245
-
246
-
247
-
248
-
249
- recording_id: "TS",
250
-
251
-
252
-
253
-
254
- account_id: "TS",
255
-
256
-
257
-
258
-
259
- call_id: "TS",
260
-
261
-
262
-
263
- duration_sec: 1,
264
-
265
-
266
-
267
-
268
- conference_id: "TS",
269
-
270
-
271
-
272
- invalid_attribute: true
273
- )}.to raise_error(ArgumentError)
274
- end
275
- end
276
-
277
- describe 'test method "valid"' do
278
- it 'checks if properties are valid' do
279
- instance = Freeclimb::RecordingResult.new(
280
-
92
+ it "properly initializes with values" do
93
+ expect {
94
+ Freeclimb::RecordingResult.new(
281
95
  uri: "TS",
282
-
283
-
284
-
285
-
96
+
286
97
  date_created: "TS",
287
-
288
-
289
-
290
-
98
+
291
99
  date_updated: "TS",
292
-
293
-
294
-
100
+
295
101
  revision: 1,
296
-
297
-
298
-
299
-
102
+
300
103
  recording_id: "TS",
301
-
302
-
303
-
304
-
104
+
305
105
  account_id: "TS",
306
-
307
-
308
-
309
-
106
+
310
107
  call_id: "TS",
311
-
312
-
313
-
314
- duration_sec: 1,
315
-
316
-
317
-
318
-
319
- conference_id: "TS",
320
-
321
-
322
-
323
- )
324
- expect(instance.valid?).to eq(true)
325
- end
326
108
 
109
+ duration_sec: 1,
327
110
 
328
- skip 'checks if properties are invalid' do
329
- instance = Freeclimb::RecordingResult.new(
330
-
331
- )
332
- expect(instance.valid?).to eq(false)
111
+ conference_id: "TS"
112
+ )
113
+ }.not_to raise_error
333
114
  end
334
-
335
- end
336
-
337
- describe 'test method "eql?"' do
338
- it 'checks if objects are equal' do
339
-
340
-
341
-
342
-
343
-
344
-
345
-
346
-
347
-
348
- instance_1 = Freeclimb::RecordingResult.new(
349
-
115
+ it "fails to initialize with input argument that is not a hash in Freeclimb::RecordingResult" do
116
+ expect {
117
+ Freeclimb::RecordingResult.new(
350
118
  uri: "TS",
351
-
352
-
353
-
354
-
119
+
355
120
  date_created: "TS",
356
-
357
-
358
-
359
-
121
+
360
122
  date_updated: "TS",
361
-
362
-
363
-
123
+
364
124
  revision: 1,
365
-
366
-
367
-
368
-
125
+
369
126
  recording_id: "TS",
370
-
371
-
372
-
373
-
127
+
374
128
  account_id: "TS",
375
-
376
-
377
-
378
-
129
+
379
130
  call_id: "TS",
380
-
381
-
382
-
131
+
383
132
  duration_sec: 1,
384
-
385
-
386
-
387
-
133
+
388
134
  conference_id: "TS",
389
-
390
-
391
-
392
- )
393
- instance_2 = Freeclimb::RecordingResult.new(
394
-
135
+
136
+ invalid_attribute: true
137
+ )
138
+ }.to raise_error(ArgumentError)
139
+ end
140
+ it "fails to initialize with invalid attribute" do
141
+ expect {
142
+ Freeclimb::RecordingResult.new(
395
143
  uri: "TS",
396
-
397
-
398
-
399
-
144
+
400
145
  date_created: "TS",
401
-
402
-
403
-
404
-
146
+
405
147
  date_updated: "TS",
406
-
407
-
408
-
409
-
410
-
148
+
411
149
  revision: 1,
412
-
413
-
150
+
414
151
  recording_id: "TS",
415
-
416
-
417
-
418
-
152
+
419
153
  account_id: "TS",
420
-
421
-
422
-
423
-
154
+
424
155
  call_id: "TS",
425
-
426
-
427
-
428
-
429
-
156
+
430
157
  duration_sec: 1,
431
-
432
-
158
+
433
159
  conference_id: "TS",
434
-
435
-
436
-
160
+
161
+ invalid_attribute: true
162
+ )
163
+ }.to raise_error(ArgumentError)
164
+ end
165
+ end
166
+
167
+ describe 'test method "valid"' do
168
+ it "checks if properties are valid" do
169
+ instance = Freeclimb::RecordingResult.new(
170
+ uri: "TS",
171
+
172
+ date_created: "TS",
173
+
174
+ date_updated: "TS",
175
+
176
+ revision: 1,
177
+
178
+ recording_id: "TS",
179
+
180
+ account_id: "TS",
181
+
182
+ call_id: "TS",
183
+
184
+ duration_sec: 1,
185
+
186
+ conference_id: "TS"
187
+ )
188
+ expect(instance.valid?).to eq(true)
189
+ end
190
+
191
+ skip "checks if properties are invalid" do
192
+ instance = Freeclimb::RecordingResult.new
193
+
194
+ expect(instance.valid?).to eq(false)
195
+ end
196
+ end
197
+
198
+ describe 'test method "eql?"' do
199
+ it "checks if objects are equal" do
200
+ instance_1 = Freeclimb::RecordingResult.new(
201
+ uri: "TS",
202
+
203
+ date_created: "TS",
204
+
205
+ date_updated: "TS",
206
+
207
+ revision: 1,
208
+
209
+ recording_id: "TS",
210
+
211
+ account_id: "TS",
212
+
213
+ call_id: "TS",
214
+
215
+ duration_sec: 1,
216
+
217
+ conference_id: "TS"
218
+ )
219
+ instance_2 = Freeclimb::RecordingResult.new(
220
+ uri: "TS",
221
+
222
+ date_created: "TS",
223
+
224
+ date_updated: "TS",
225
+
226
+ revision: 1,
227
+
228
+ recording_id: "TS",
229
+
230
+ account_id: "TS",
231
+
232
+ call_id: "TS",
233
+
234
+ duration_sec: 1,
235
+
236
+ conference_id: "TS"
437
237
  )
438
238
  expect(instance_1.eql?(instance_2)).to eq(true)
439
239
  end
440
-
441
- it 'checks if objects are not equal' do
240
+
241
+ it "checks if objects are not equal" do
442
242
  instance_1 = Freeclimb::RecordingResult.new(
443
-
444
- uri: "TS",
445
-
446
-
447
-
448
-
449
- date_created: "TS",
450
-
451
-
452
-
453
-
454
- date_updated: "TS",
455
-
456
-
457
-
458
- revision: 2,
459
-
460
-
461
-
462
-
463
- recording_id: "TS",
464
-
465
-
466
-
467
-
468
- account_id: "TS",
469
-
470
-
471
-
472
-
473
- call_id: "TS",
474
-
475
-
476
-
477
- duration_sec: 2,
478
-
479
-
480
-
481
-
482
- conference_id: "TS",
483
-
484
-
485
-
243
+ uri: "TS",
244
+
245
+ date_created: "TS",
246
+
247
+ date_updated: "TS",
248
+
249
+ revision: 2,
250
+
251
+ recording_id: "TS",
252
+
253
+ account_id: "TS",
254
+
255
+ call_id: "TS",
256
+
257
+ duration_sec: 2,
258
+
259
+ conference_id: "TS"
486
260
  )
487
261
  instance_2 = Freeclimb::RecordingResult.new(
488
-
489
- uri: "ST",
490
-
491
-
492
-
493
-
494
- date_created: "ST",
495
-
496
-
497
-
498
-
499
- date_updated: "ST",
500
-
501
-
502
-
503
- revision: 1,
504
-
505
-
506
-
507
-
508
- recording_id: "ST",
509
-
510
-
511
-
512
-
513
- account_id: "ST",
514
-
515
-
516
-
517
-
518
- call_id: "ST",
519
-
520
-
521
-
522
- duration_sec: 1,
523
-
524
-
525
-
526
-
527
- conference_id: "ST",
528
-
529
-
530
-
262
+ uri: "ST",
263
+
264
+ date_created: "ST",
265
+
266
+ date_updated: "ST",
267
+
268
+ revision: 1,
269
+
270
+ recording_id: "ST",
271
+
272
+ account_id: "ST",
273
+
274
+ call_id: "ST",
275
+
276
+ duration_sec: 1,
277
+
278
+ conference_id: "ST"
531
279
  )
532
280
  expect(instance_1.eql?(instance_2)).to eq(false)
533
281
  end
534
282
  end
535
-
283
+
536
284
  describe 'test method "hash"' do
537
- it 'calculates hash code' do
285
+ it "calculates hash code" do
538
286
  instance = Freeclimb::RecordingResult.new(
539
-
540
- uri: "TS",
541
-
542
-
543
-
544
-
545
- date_created: "TS",
546
-
547
-
548
-
549
-
550
- date_updated: "TS",
551
-
552
-
553
-
554
- revision: 1,
555
-
556
-
557
-
558
-
559
- recording_id: "TS",
560
-
561
-
562
-
563
-
564
- account_id: "TS",
565
-
566
-
567
-
568
-
569
- call_id: "TS",
570
-
571
-
572
-
573
- duration_sec: 1,
574
-
575
-
576
-
577
-
578
- conference_id: "TS",
579
-
580
-
581
-
582
- )
287
+ uri: "TS",
288
+
289
+ date_created: "TS",
290
+
291
+ date_updated: "TS",
292
+
293
+ revision: 1,
294
+
295
+ recording_id: "TS",
296
+
297
+ account_id: "TS",
298
+
299
+ call_id: "TS",
300
+
301
+ duration_sec: 1,
302
+
303
+ conference_id: "TS"
304
+ )
583
305
  expect(instance.hash).to be_a_kind_of(Integer)
584
306
  end
585
307
  end
586
308
 
587
309
  describe 'test method "build_from_hash"' do
588
- it 'builds equivalent model from hash code' do
310
+ it "builds equivalent model from hash code" do
589
311
  instance_1 = Freeclimb::RecordingResult.new(
590
-
591
312
  uri: "TS",
592
-
593
-
594
-
595
-
313
+
596
314
  date_created: "TS",
597
-
598
-
599
-
600
-
315
+
601
316
  date_updated: "TS",
602
-
603
-
604
-
317
+
605
318
  revision: 1,
606
-
607
-
608
-
609
-
319
+
610
320
  recording_id: "TS",
611
-
612
-
613
-
614
-
321
+
615
322
  account_id: "TS",
616
-
617
-
618
-
619
-
323
+
620
324
  call_id: "TS",
621
-
622
-
623
-
325
+
624
326
  duration_sec: 1,
625
-
626
-
627
-
628
-
629
- conference_id: "TS",
630
-
631
-
632
-
327
+
328
+ conference_id: "TS"
633
329
  )
634
330
  instance_2 = Freeclimb::RecordingResult.new(
635
-
636
331
  uri: "TS",
637
-
638
-
639
-
640
-
332
+
641
333
  date_created: "TS",
642
-
643
-
644
-
645
-
334
+
646
335
  date_updated: "TS",
647
-
648
-
649
-
336
+
650
337
  revision: 1,
651
-
652
-
653
-
654
-
338
+
655
339
  recording_id: "TS",
656
-
657
-
658
-
659
-
340
+
660
341
  account_id: "TS",
661
-
662
-
663
-
664
-
342
+
665
343
  call_id: "TS",
666
-
667
-
668
-
344
+
669
345
  duration_sec: 1,
670
-
671
-
672
-
673
-
674
- conference_id: "TS",
675
-
676
-
677
-
346
+
347
+ conference_id: "TS"
678
348
  )
679
349
 
680
350
  expect(instance_2.build_from_hash(instance_1.hash)).to eq(instance_1.build_from_hash(instance_1.hash))
@@ -683,296 +353,147 @@ describe Freeclimb::RecordingResult do
683
353
 
684
354
  describe 'test method "_deserialize"' do
685
355
  instance = Freeclimb::RecordingResult.new(
686
-
687
- uri: "TS",
688
-
689
-
690
-
691
-
692
- date_created: "TS",
693
-
694
-
695
-
696
-
697
- date_updated: "TS",
698
-
699
-
700
-
701
- revision: 1,
702
-
703
-
704
-
705
-
706
- recording_id: "TS",
707
-
708
-
709
-
710
-
711
- account_id: "TS",
712
-
713
-
714
-
715
-
716
- call_id: "TS",
717
-
718
-
719
-
720
- duration_sec: 1,
721
-
722
-
723
-
724
-
725
- conference_id: "TS",
726
-
727
-
728
-
356
+ uri: "TS",
357
+
358
+ date_created: "TS",
359
+
360
+ date_updated: "TS",
361
+
362
+ revision: 1,
363
+
364
+ recording_id: "TS",
365
+
366
+ account_id: "TS",
367
+
368
+ call_id: "TS",
369
+
370
+ duration_sec: 1,
371
+
372
+ conference_id: "TS"
729
373
  )
730
- it 'deserializes the data of uri' do
374
+ it "deserializes the data of uri" do
731
375
  expect(instance._deserialize("String", instance.uri)).to be_a_kind_of(String)
732
376
  end
733
-
734
-
735
- it 'deserializes the data of date_created' do
377
+
378
+ it "deserializes the data of date_created" do
736
379
  expect(instance._deserialize("String", instance.date_created)).to be_a_kind_of(String)
737
380
  end
738
-
739
-
740
- it 'deserializes the data of date_updated' do
381
+
382
+ it "deserializes the data of date_updated" do
741
383
  expect(instance._deserialize("String", instance.date_updated)).to be_a_kind_of(String)
742
384
  end
743
-
744
-
745
- it 'deserializes the data of revision' do
385
+
386
+ it "deserializes the data of revision" do
746
387
  expect(instance._deserialize("Integer", instance.revision)).to be_a_kind_of(Integer)
747
388
  end
748
-
749
-
750
- it 'deserializes the data of recording_id' do
389
+
390
+ it "deserializes the data of recording_id" do
751
391
  expect(instance._deserialize("String", instance.recording_id)).to be_a_kind_of(String)
752
392
  end
753
-
754
-
755
- it 'deserializes the data of account_id' do
393
+
394
+ it "deserializes the data of account_id" do
756
395
  expect(instance._deserialize("String", instance.account_id)).to be_a_kind_of(String)
757
396
  end
758
-
759
-
760
- it 'deserializes the data of call_id' do
397
+
398
+ it "deserializes the data of call_id" do
761
399
  expect(instance._deserialize("String", instance.call_id)).to be_a_kind_of(String)
762
400
  end
763
-
764
-
765
- it 'deserializes the data of duration_sec' do
401
+
402
+ it "deserializes the data of duration_sec" do
766
403
  expect(instance._deserialize("Integer", instance.duration_sec)).to be_a_kind_of(Integer)
767
404
  end
768
-
769
-
770
- it 'deserializes the data of conference_id' do
405
+
406
+ it "deserializes the data of conference_id" do
771
407
  expect(instance._deserialize("String", instance.conference_id)).to be_a_kind_of(String)
772
408
  end
773
-
774
-
775
409
  end
776
410
 
777
411
  describe 'test method "to_s"' do
778
- it 'returns the string representation of the object' do
412
+ it "returns the string representation of the object" do
779
413
  instance = Freeclimb::RecordingResult.new(
780
-
781
414
  uri: "TS",
782
-
783
-
784
-
785
-
415
+
786
416
  date_created: "TS",
787
-
788
-
789
-
790
-
417
+
791
418
  date_updated: "TS",
792
-
793
-
794
-
419
+
795
420
  revision: 1,
796
-
797
-
798
-
799
-
421
+
800
422
  recording_id: "TS",
801
-
802
-
803
-
804
-
423
+
805
424
  account_id: "TS",
806
-
807
-
808
-
809
-
425
+
810
426
  call_id: "TS",
811
-
812
-
813
-
427
+
814
428
  duration_sec: 1,
815
-
816
-
817
-
818
-
819
- conference_id: "TS",
820
-
821
-
822
-
429
+
430
+ conference_id: "TS"
823
431
  )
824
432
  expect(instance.to_s).to eq(instance.to_hash.to_s)
825
433
  end
826
434
  end
827
435
 
828
436
  describe 'test method "to_hash"' do
829
- it 'returns the object in the form of hash' do
437
+ it "returns the object in the form of hash" do
830
438
  instance = Freeclimb::RecordingResult.new(
831
-
832
439
  uri: "TS",
833
-
834
-
835
-
836
-
440
+
837
441
  date_created: "TS",
838
-
839
-
840
-
841
-
442
+
842
443
  date_updated: "TS",
843
-
844
-
845
-
444
+
846
445
  revision: 1,
847
-
848
-
849
-
850
-
446
+
851
447
  recording_id: "TS",
852
-
853
-
854
-
855
-
448
+
856
449
  account_id: "TS",
857
-
858
-
859
-
860
-
450
+
861
451
  call_id: "TS",
862
-
863
-
864
-
452
+
865
453
  duration_sec: 1,
866
-
867
-
868
-
869
-
870
- conference_id: "TS",
871
-
872
-
873
-
454
+
455
+ conference_id: "TS"
874
456
  )
875
457
  expect(instance.to_hash).to be_a_kind_of(Hash)
876
458
  end
877
- it 'creates equal hash for two equal objects' do
878
-
879
-
880
-
881
-
882
-
883
-
884
-
885
-
886
-
459
+ it "creates equal hash for two equal objects" do
887
460
  instance_1 = Freeclimb::RecordingResult.new(
888
-
889
461
  uri: "TS",
890
-
891
-
892
-
893
-
462
+
894
463
  date_created: "TS",
895
-
896
-
897
-
898
-
464
+
899
465
  date_updated: "TS",
900
-
901
-
902
-
466
+
903
467
  revision: 1,
904
-
905
-
906
-
907
-
468
+
908
469
  recording_id: "TS",
909
-
910
-
911
-
912
-
470
+
913
471
  account_id: "TS",
914
-
915
-
916
-
917
-
472
+
918
473
  call_id: "TS",
919
-
920
-
921
-
474
+
922
475
  duration_sec: 1,
923
-
924
-
925
-
926
-
927
- conference_id: "TS",
928
-
929
-
930
-
476
+
477
+ conference_id: "TS"
931
478
  )
932
479
  instance_2 = Freeclimb::RecordingResult.new(
933
-
934
480
  uri: "TS",
935
-
936
-
937
-
938
-
481
+
939
482
  date_created: "TS",
940
-
941
-
942
-
943
-
483
+
944
484
  date_updated: "TS",
945
-
946
-
947
-
485
+
948
486
  revision: 1,
949
-
950
-
951
-
952
-
487
+
953
488
  recording_id: "TS",
954
-
955
-
956
-
957
-
489
+
958
490
  account_id: "TS",
959
-
960
-
961
-
962
-
491
+
963
492
  call_id: "TS",
964
-
965
-
966
-
493
+
967
494
  duration_sec: 1,
968
-
969
-
970
-
971
-
972
- conference_id: "TS",
973
-
974
-
975
-
495
+
496
+ conference_id: "TS"
976
497
  )
977
498
  expect(instance_1.to_hash).to eq(instance_2.to_hash)
978
499
  end
@@ -980,67 +501,50 @@ describe Freeclimb::RecordingResult do
980
501
 
981
502
  describe 'test method "_to_hash"' do
982
503
  instance = Freeclimb::RecordingResult.new(
983
-
984
- uri: "TS",
985
-
986
-
987
-
988
- date_created: "TS",
989
-
990
-
991
-
992
- date_updated: "TS",
993
-
994
-
995
- revision: 1,
996
-
997
-
998
-
999
- recording_id: "TS",
1000
-
1001
-
1002
-
1003
- account_id: "TS",
1004
-
1005
-
1006
-
1007
- call_id: "TS",
1008
-
1009
-
1010
- duration_sec: 1,
1011
-
1012
-
1013
-
1014
- conference_id: "TS",
1015
-
1016
- )
1017
- it 'returns uri in the form of hash' do
504
+ uri: "TS",
505
+
506
+ date_created: "TS",
507
+
508
+ date_updated: "TS",
509
+
510
+ revision: 1,
511
+
512
+ recording_id: "TS",
513
+
514
+ account_id: "TS",
515
+
516
+ call_id: "TS",
517
+
518
+ duration_sec: 1,
519
+
520
+ conference_id: "TS"
521
+ )
522
+ it "returns uri in the form of hash" do
1018
523
  expect(instance._to_hash(instance.uri)).to eq(instance.uri)
1019
524
  end
1020
- it 'returns date_created in the form of hash' do
525
+ it "returns date_created in the form of hash" do
1021
526
  expect(instance._to_hash(instance.date_created)).to eq(instance.date_created)
1022
527
  end
1023
- it 'returns date_updated in the form of hash' do
528
+ it "returns date_updated in the form of hash" do
1024
529
  expect(instance._to_hash(instance.date_updated)).to eq(instance.date_updated)
1025
530
  end
1026
- it 'returns revision in the form of hash' do
531
+ it "returns revision in the form of hash" do
1027
532
  expect(instance._to_hash(instance.revision)).to eq(instance.revision)
1028
533
  end
1029
- it 'returns recording_id in the form of hash' do
534
+ it "returns recording_id in the form of hash" do
1030
535
  expect(instance._to_hash(instance.recording_id)).to eq(instance.recording_id)
1031
536
  end
1032
- it 'returns account_id in the form of hash' do
537
+ it "returns account_id in the form of hash" do
1033
538
  expect(instance._to_hash(instance.account_id)).to eq(instance.account_id)
1034
539
  end
1035
- it 'returns call_id in the form of hash' do
540
+ it "returns call_id in the form of hash" do
1036
541
  expect(instance._to_hash(instance.call_id)).to eq(instance.call_id)
1037
542
  end
1038
- it 'returns duration_sec in the form of hash' do
543
+ it "returns duration_sec in the form of hash" do
1039
544
  expect(instance._to_hash(instance.duration_sec)).to eq(instance.duration_sec)
1040
545
  end
1041
- it 'returns conference_id in the form of hash' do
546
+ it "returns conference_id in the form of hash" do
1042
547
  expect(instance._to_hash(instance.conference_id)).to eq(instance.conference_id)
1043
548
  end
1044
549
  end
1045
-
1046
550
  end