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::SMSTenDLCBrand
@@ -21,3214 +19,1612 @@ include Freeclimb
21
19
  describe Freeclimb::SMSTenDLCBrand do
22
20
  let(:instance) { Freeclimb::SMSTenDLCBrand.new }
23
21
 
24
- describe 'test an instance of SMSTenDLCBrand' do
25
- it 'should create an instance of SMSTenDLCBrand' do
22
+ describe "test an instance of SMSTenDLCBrand" do
23
+ it "should create an instance of SMSTenDLCBrand" do
26
24
  expect(instance).to be_instance_of(Freeclimb::SMSTenDLCBrand)
27
25
  end
28
26
  end
29
-
27
+
30
28
  describe 'test attribute "account_id"' do
31
- it 'should work' do
32
-
29
+ it "should work" do
33
30
  instance.account_id = "TEST_STRING"
34
- expect(instance.account_id).to eq("TEST_STRING")
35
-
36
-
37
-
31
+ expect(instance.account_id).to eq("TEST_STRING")
38
32
  end
39
33
  end
40
34
 
41
-
42
35
  describe 'test attribute "entity_type"' do
43
- it 'assigns value PRIVATE_PROFIT' do
36
+ it "assigns value PRIVATE_PROFIT" do
44
37
  instance.entity_type = Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT
45
- expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT)
38
+ expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT)
46
39
  end
47
- it 'assigns value PUBLIC_PROFIT' do
40
+ it "assigns value PUBLIC_PROFIT" do
48
41
  instance.entity_type = Freeclimb::SMSTenDLCBrandEntityType::PUBLIC_PROFIT
49
- expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::PUBLIC_PROFIT)
42
+ expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::PUBLIC_PROFIT)
50
43
  end
51
- it 'assigns value NON_PROFIT' do
44
+ it "assigns value NON_PROFIT" do
52
45
  instance.entity_type = Freeclimb::SMSTenDLCBrandEntityType::NON_PROFIT
53
- expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::NON_PROFIT)
46
+ expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::NON_PROFIT)
54
47
  end
55
- it 'assigns value GOVERNMENT' do
48
+ it "assigns value GOVERNMENT" do
56
49
  instance.entity_type = Freeclimb::SMSTenDLCBrandEntityType::GOVERNMENT
57
- expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::GOVERNMENT)
50
+ expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::GOVERNMENT)
58
51
  end
59
- it 'assigns value SOLE_PROPRIETOR' do
52
+ it "assigns value SOLE_PROPRIETOR" do
60
53
  instance.entity_type = Freeclimb::SMSTenDLCBrandEntityType::SOLE_PROPRIETOR
61
- expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::SOLE_PROPRIETOR)
54
+ expect(instance.entity_type).to eq(Freeclimb::SMSTenDLCBrandEntityType::SOLE_PROPRIETOR)
62
55
  end
63
56
  end
64
57
  describe 'test attribute "csp_id"' do
65
- it 'should work' do
66
-
58
+ it "should work" do
67
59
  instance.csp_id = "TEST_STRING"
68
- expect(instance.csp_id).to eq("TEST_STRING")
69
-
70
-
71
-
60
+ expect(instance.csp_id).to eq("TEST_STRING")
72
61
  end
73
62
  end
74
63
 
75
64
  describe 'test attribute "brand_id"' do
76
- it 'should work' do
77
-
65
+ it "should work" do
78
66
  instance.brand_id = "TEST_STRING"
79
- expect(instance.brand_id).to eq("TEST_STRING")
80
-
81
-
82
-
67
+ expect(instance.brand_id).to eq("TEST_STRING")
83
68
  end
84
69
  end
85
70
 
86
71
  describe 'test attribute "first_name"' do
87
- it 'should assign a value of maxLength' do
72
+ it "should assign a value of maxLength" do
88
73
  instance.first_name = "T" * 100
89
- expect(instance.first_name).to eq("T" * 100)
74
+ expect(instance.first_name).to eq("T" * 100)
90
75
  end
91
- it 'should not assign a value over maxLength' do
92
- expect { instance.first_name = "T" * (100 + 1) }.to raise_error(ArgumentError)
76
+ it "should not assign a value over maxLength" do
77
+ expect { instance.first_name = "T" * (100 + 1) }.to raise_error(ArgumentError)
93
78
  end
94
79
  end
95
80
 
96
81
  describe 'test attribute "last_name"' do
97
- it 'should assign a value of maxLength' do
82
+ it "should assign a value of maxLength" do
98
83
  instance.last_name = "T" * 100
99
- expect(instance.last_name).to eq("T" * 100)
84
+ expect(instance.last_name).to eq("T" * 100)
100
85
  end
101
- it 'should not assign a value over maxLength' do
102
- expect { instance.last_name = "T" * (100 + 1) }.to raise_error(ArgumentError)
86
+ it "should not assign a value over maxLength" do
87
+ expect { instance.last_name = "T" * (100 + 1) }.to raise_error(ArgumentError)
103
88
  end
104
89
  end
105
90
 
106
91
  describe 'test attribute "display_name"' do
107
- it 'should assign a value of maxLength' do
92
+ it "should assign a value of maxLength" do
108
93
  instance.display_name = "T" * 255
109
- expect(instance.display_name).to eq("T" * 255)
94
+ expect(instance.display_name).to eq("T" * 255)
110
95
  end
111
- it 'should not assign a value over maxLength' do
112
- expect { instance.display_name = "T" * (255 + 1) }.to raise_error(ArgumentError)
96
+ it "should not assign a value over maxLength" do
97
+ expect { instance.display_name = "T" * (255 + 1) }.to raise_error(ArgumentError)
113
98
  end
114
99
  end
115
100
 
116
101
  describe 'test attribute "company_name"' do
117
- it 'should assign a value of maxLength' do
102
+ it "should assign a value of maxLength" do
118
103
  instance.company_name = "T" * 255
119
- expect(instance.company_name).to eq("T" * 255)
104
+ expect(instance.company_name).to eq("T" * 255)
120
105
  end
121
- it 'should not assign a value over maxLength' do
122
- expect { instance.company_name = "T" * (255 + 1) }.to raise_error(ArgumentError)
106
+ it "should not assign a value over maxLength" do
107
+ expect { instance.company_name = "T" * (255 + 1) }.to raise_error(ArgumentError)
123
108
  end
124
109
  end
125
110
 
126
111
  describe 'test attribute "ein"' do
127
- it 'should assign a value of maxLength' do
112
+ it "should assign a value of maxLength" do
128
113
  instance.ein = "T" * 21
129
- expect(instance.ein).to eq("T" * 21)
114
+ expect(instance.ein).to eq("T" * 21)
130
115
  end
131
- it 'should not assign a value over maxLength' do
132
- expect { instance.ein = "T" * (21 + 1) }.to raise_error(ArgumentError)
116
+ it "should not assign a value over maxLength" do
117
+ expect { instance.ein = "T" * (21 + 1) }.to raise_error(ArgumentError)
133
118
  end
134
119
  end
135
120
 
136
121
  describe 'test attribute "ein_issuing_country"' do
137
- it 'should assign a value of maxLength' do
122
+ it "should assign a value of maxLength" do
138
123
  instance.ein_issuing_country = "T" * 2
139
- expect(instance.ein_issuing_country).to eq("T" * 2)
124
+ expect(instance.ein_issuing_country).to eq("T" * 2)
140
125
  end
141
- it 'should not assign a value over maxLength' do
142
- expect { instance.ein_issuing_country = "T" * (2 + 1) }.to raise_error(ArgumentError)
126
+ it "should not assign a value over maxLength" do
127
+ expect { instance.ein_issuing_country = "T" * (2 + 1) }.to raise_error(ArgumentError)
143
128
  end
144
129
  end
145
130
 
146
131
  describe 'test attribute "phone"' do
147
- it 'should assign a value of maxLength' do
132
+ it "should assign a value of maxLength" do
148
133
  instance.phone = "T" * 20
149
- expect(instance.phone).to eq("T" * 20)
134
+ expect(instance.phone).to eq("T" * 20)
150
135
  end
151
- it 'should not assign a value over maxLength' do
152
- expect { instance.phone = "T" * (20 + 1) }.to raise_error(ArgumentError)
136
+ it "should not assign a value over maxLength" do
137
+ expect { instance.phone = "T" * (20 + 1) }.to raise_error(ArgumentError)
153
138
  end
154
139
  end
155
140
 
156
141
  describe 'test attribute "street"' do
157
- it 'should assign a value of maxLength' do
142
+ it "should assign a value of maxLength" do
158
143
  instance.street = "T" * 100
159
- expect(instance.street).to eq("T" * 100)
144
+ expect(instance.street).to eq("T" * 100)
160
145
  end
161
- it 'should not assign a value over maxLength' do
162
- expect { instance.street = "T" * (100 + 1) }.to raise_error(ArgumentError)
146
+ it "should not assign a value over maxLength" do
147
+ expect { instance.street = "T" * (100 + 1) }.to raise_error(ArgumentError)
163
148
  end
164
149
  end
165
150
 
166
151
  describe 'test attribute "city"' do
167
- it 'should assign a value of maxLength' do
152
+ it "should assign a value of maxLength" do
168
153
  instance.city = "T" * 100
169
- expect(instance.city).to eq("T" * 100)
154
+ expect(instance.city).to eq("T" * 100)
170
155
  end
171
- it 'should not assign a value over maxLength' do
172
- expect { instance.city = "T" * (100 + 1) }.to raise_error(ArgumentError)
156
+ it "should not assign a value over maxLength" do
157
+ expect { instance.city = "T" * (100 + 1) }.to raise_error(ArgumentError)
173
158
  end
174
159
  end
175
160
 
176
161
  describe 'test attribute "state"' do
177
- it 'should assign a value of maxLength' do
162
+ it "should assign a value of maxLength" do
178
163
  instance.state = "T" * 20
179
- expect(instance.state).to eq("T" * 20)
164
+ expect(instance.state).to eq("T" * 20)
180
165
  end
181
- it 'should not assign a value over maxLength' do
182
- expect { instance.state = "T" * (20 + 1) }.to raise_error(ArgumentError)
166
+ it "should not assign a value over maxLength" do
167
+ expect { instance.state = "T" * (20 + 1) }.to raise_error(ArgumentError)
183
168
  end
184
169
  end
185
170
 
186
171
  describe 'test attribute "postal_code"' do
187
- it 'should assign a value of maxLength' do
172
+ it "should assign a value of maxLength" do
188
173
  instance.postal_code = "T" * 10
189
- expect(instance.postal_code).to eq("T" * 10)
174
+ expect(instance.postal_code).to eq("T" * 10)
190
175
  end
191
- it 'should not assign a value over maxLength' do
192
- expect { instance.postal_code = "T" * (10 + 1) }.to raise_error(ArgumentError)
176
+ it "should not assign a value over maxLength" do
177
+ expect { instance.postal_code = "T" * (10 + 1) }.to raise_error(ArgumentError)
193
178
  end
194
179
  end
195
180
 
196
181
  describe 'test attribute "country"' do
197
- it 'should assign a value of maxLength' do
182
+ it "should assign a value of maxLength" do
198
183
  instance.country = "T" * 2
199
- expect(instance.country).to eq("T" * 2)
184
+ expect(instance.country).to eq("T" * 2)
200
185
  end
201
- it 'should not assign a value over maxLength' do
202
- expect { instance.country = "T" * (2 + 1) }.to raise_error(ArgumentError)
186
+ it "should not assign a value over maxLength" do
187
+ expect { instance.country = "T" * (2 + 1) }.to raise_error(ArgumentError)
203
188
  end
204
189
  end
205
190
 
206
191
  describe 'test attribute "email"' do
207
- it 'should assign a value of maxLength' do
192
+ it "should assign a value of maxLength" do
208
193
  instance.email = "T" * 100
209
- expect(instance.email).to eq("T" * 100)
194
+ expect(instance.email).to eq("T" * 100)
210
195
  end
211
- it 'should not assign a value over maxLength' do
212
- expect { instance.email = "T" * (100 + 1) }.to raise_error(ArgumentError)
196
+ it "should not assign a value over maxLength" do
197
+ expect { instance.email = "T" * (100 + 1) }.to raise_error(ArgumentError)
213
198
  end
214
199
  end
215
200
 
216
201
  describe 'test attribute "stock_symbol"' do
217
- it 'should assign a value of maxLength' do
202
+ it "should assign a value of maxLength" do
218
203
  instance.stock_symbol = "T" * 10
219
- expect(instance.stock_symbol).to eq("T" * 10)
204
+ expect(instance.stock_symbol).to eq("T" * 10)
220
205
  end
221
- it 'should not assign a value over maxLength' do
222
- expect { instance.stock_symbol = "T" * (10 + 1) }.to raise_error(ArgumentError)
206
+ it "should not assign a value over maxLength" do
207
+ expect { instance.stock_symbol = "T" * (10 + 1) }.to raise_error(ArgumentError)
223
208
  end
224
209
  end
225
210
 
226
-
227
211
  describe 'test attribute "stock_exchange"' do
228
- it 'assigns value NONE' do
212
+ it "assigns value NONE" do
229
213
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::NONE
230
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::NONE)
214
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::NONE)
231
215
  end
232
- it 'assigns value NASDAQ' do
216
+ it "assigns value NASDAQ" do
233
217
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::NASDAQ
234
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::NASDAQ)
218
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::NASDAQ)
235
219
  end
236
- it 'assigns value NYSE' do
220
+ it "assigns value NYSE" do
237
221
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::NYSE
238
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::NYSE)
222
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::NYSE)
239
223
  end
240
- it 'assigns value AMEX' do
224
+ it "assigns value AMEX" do
241
225
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::AMEX
242
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::AMEX)
226
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::AMEX)
243
227
  end
244
- it 'assigns value AMX' do
228
+ it "assigns value AMX" do
245
229
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::AMX
246
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::AMX)
230
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::AMX)
247
231
  end
248
- it 'assigns value ASX' do
232
+ it "assigns value ASX" do
249
233
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::ASX
250
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::ASX)
234
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::ASX)
251
235
  end
252
- it 'assigns value B3' do
236
+ it "assigns value B3" do
253
237
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::B3
254
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::B3)
238
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::B3)
255
239
  end
256
- it 'assigns value BME' do
240
+ it "assigns value BME" do
257
241
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::BME
258
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::BME)
242
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::BME)
259
243
  end
260
- it 'assigns value BSE' do
244
+ it "assigns value BSE" do
261
245
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::BSE
262
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::BSE)
246
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::BSE)
263
247
  end
264
- it 'assigns value FRA' do
248
+ it "assigns value FRA" do
265
249
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::FRA
266
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::FRA)
250
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::FRA)
267
251
  end
268
- it 'assigns value ICEX' do
252
+ it "assigns value ICEX" do
269
253
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::ICEX
270
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::ICEX)
254
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::ICEX)
271
255
  end
272
- it 'assigns value JPX' do
256
+ it "assigns value JPX" do
273
257
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::JPX
274
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::JPX)
258
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::JPX)
275
259
  end
276
- it 'assigns value JSE' do
260
+ it "assigns value JSE" do
277
261
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::JSE
278
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::JSE)
262
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::JSE)
279
263
  end
280
- it 'assigns value KRX' do
264
+ it "assigns value KRX" do
281
265
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::KRX
282
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::KRX)
266
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::KRX)
283
267
  end
284
- it 'assigns value LON' do
268
+ it "assigns value LON" do
285
269
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::LON
286
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::LON)
270
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::LON)
287
271
  end
288
- it 'assigns value NSE' do
272
+ it "assigns value NSE" do
289
273
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::NSE
290
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::NSE)
274
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::NSE)
291
275
  end
292
- it 'assigns value OMX' do
276
+ it "assigns value OMX" do
293
277
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::OMX
294
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::OMX)
278
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::OMX)
295
279
  end
296
- it 'assigns value SEHK' do
280
+ it "assigns value SEHK" do
297
281
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::SEHK
298
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SEHK)
282
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SEHK)
299
283
  end
300
- it 'assigns value SGX' do
284
+ it "assigns value SGX" do
301
285
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::SGX
302
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SGX)
286
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SGX)
303
287
  end
304
- it 'assigns value SSE' do
288
+ it "assigns value SSE" do
305
289
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::SSE
306
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SSE)
290
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SSE)
307
291
  end
308
- it 'assigns value STO' do
292
+ it "assigns value STO" do
309
293
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::STO
310
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::STO)
294
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::STO)
311
295
  end
312
- it 'assigns value SWX' do
296
+ it "assigns value SWX" do
313
297
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::SWX
314
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SWX)
298
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SWX)
315
299
  end
316
- it 'assigns value SZSE' do
300
+ it "assigns value SZSE" do
317
301
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::SZSE
318
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SZSE)
302
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::SZSE)
319
303
  end
320
- it 'assigns value TSX' do
304
+ it "assigns value TSX" do
321
305
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::TSX
322
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::TSX)
306
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::TSX)
323
307
  end
324
- it 'assigns value TWSE' do
308
+ it "assigns value TWSE" do
325
309
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::TWSE
326
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::TWSE)
310
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::TWSE)
327
311
  end
328
- it 'assigns value VSE' do
312
+ it "assigns value VSE" do
329
313
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::VSE
330
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::VSE)
314
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::VSE)
331
315
  end
332
- it 'assigns value OTHER' do
316
+ it "assigns value OTHER" do
333
317
  instance.stock_exchange = Freeclimb::SMSTenDLCBrandStockExchange::OTHER
334
- expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::OTHER)
318
+ expect(instance.stock_exchange).to eq(Freeclimb::SMSTenDLCBrandStockExchange::OTHER)
335
319
  end
336
320
  end
337
321
  describe 'test attribute "ip_address"' do
338
- it 'should assign a value of maxLength' do
322
+ it "should assign a value of maxLength" do
339
323
  instance.ip_address = "T" * 50
340
- expect(instance.ip_address).to eq("T" * 50)
324
+ expect(instance.ip_address).to eq("T" * 50)
341
325
  end
342
- it 'should not assign a value over maxLength' do
343
- expect { instance.ip_address = "T" * (50 + 1) }.to raise_error(ArgumentError)
326
+ it "should not assign a value over maxLength" do
327
+ expect { instance.ip_address = "T" * (50 + 1) }.to raise_error(ArgumentError)
344
328
  end
345
329
  end
346
330
 
347
331
  describe 'test attribute "website"' do
348
- it 'should assign a value of maxLength' do
332
+ it "should assign a value of maxLength" do
349
333
  instance.website = "T" * 100
350
- expect(instance.website).to eq("T" * 100)
334
+ expect(instance.website).to eq("T" * 100)
351
335
  end
352
- it 'should not assign a value over maxLength' do
353
- expect { instance.website = "T" * (100 + 1) }.to raise_error(ArgumentError)
336
+ it "should not assign a value over maxLength" do
337
+ expect { instance.website = "T" * (100 + 1) }.to raise_error(ArgumentError)
354
338
  end
355
339
  end
356
340
 
357
-
358
341
  describe 'test attribute "brand_relationship"' do
359
- it 'assigns value BASIC_ACCOUNT' do
342
+ it "assigns value BASIC_ACCOUNT" do
360
343
  instance.brand_relationship = Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT
361
- expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT)
344
+ expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT)
362
345
  end
363
- it 'assigns value SMALL_ACCOUNT' do
346
+ it "assigns value SMALL_ACCOUNT" do
364
347
  instance.brand_relationship = Freeclimb::SMSTenDLCBrandRelationship::SMALL_ACCOUNT
365
- expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::SMALL_ACCOUNT)
348
+ expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::SMALL_ACCOUNT)
366
349
  end
367
- it 'assigns value MEDIUM_ACCOUNT' do
350
+ it "assigns value MEDIUM_ACCOUNT" do
368
351
  instance.brand_relationship = Freeclimb::SMSTenDLCBrandRelationship::MEDIUM_ACCOUNT
369
- expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::MEDIUM_ACCOUNT)
352
+ expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::MEDIUM_ACCOUNT)
370
353
  end
371
- it 'assigns value LARGE_ACCOUNT' do
354
+ it "assigns value LARGE_ACCOUNT" do
372
355
  instance.brand_relationship = Freeclimb::SMSTenDLCBrandRelationship::LARGE_ACCOUNT
373
- expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::LARGE_ACCOUNT)
356
+ expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::LARGE_ACCOUNT)
374
357
  end
375
- it 'assigns value KEY_ACCOUNT' do
358
+ it "assigns value KEY_ACCOUNT" do
376
359
  instance.brand_relationship = Freeclimb::SMSTenDLCBrandRelationship::KEY_ACCOUNT
377
- expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::KEY_ACCOUNT)
360
+ expect(instance.brand_relationship).to eq(Freeclimb::SMSTenDLCBrandRelationship::KEY_ACCOUNT)
378
361
  end
379
362
  end
380
363
  describe 'test attribute "vertical"' do
381
- it 'should assign a value of maxLength' do
364
+ it "should assign a value of maxLength" do
382
365
  instance.vertical = "T" * 50
383
- expect(instance.vertical).to eq("T" * 50)
366
+ expect(instance.vertical).to eq("T" * 50)
384
367
  end
385
- it 'should not assign a value over maxLength' do
386
- expect { instance.vertical = "T" * (50 + 1) }.to raise_error(ArgumentError)
368
+ it "should not assign a value over maxLength" do
369
+ expect { instance.vertical = "T" * (50 + 1) }.to raise_error(ArgumentError)
387
370
  end
388
371
  end
389
372
 
390
373
  describe 'test attribute "alt_business_id"' do
391
- it 'should assign a value of maxLength' do
374
+ it "should assign a value of maxLength" do
392
375
  instance.alt_business_id = "T" * 50
393
- expect(instance.alt_business_id).to eq("T" * 50)
376
+ expect(instance.alt_business_id).to eq("T" * 50)
394
377
  end
395
- it 'should not assign a value over maxLength' do
396
- expect { instance.alt_business_id = "T" * (50 + 1) }.to raise_error(ArgumentError)
378
+ it "should not assign a value over maxLength" do
379
+ expect { instance.alt_business_id = "T" * (50 + 1) }.to raise_error(ArgumentError)
397
380
  end
398
381
  end
399
382
 
400
-
401
383
  describe 'test attribute "alt_business_id_type"' do
402
- it 'assigns value NONE' do
384
+ it "assigns value NONE" do
403
385
  instance.alt_business_id_type = Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE
404
- expect(instance.alt_business_id_type).to eq(Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE)
386
+ expect(instance.alt_business_id_type).to eq(Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE)
405
387
  end
406
- it 'assigns value DUNS' do
388
+ it "assigns value DUNS" do
407
389
  instance.alt_business_id_type = Freeclimb::SMSTenDLCBrandAltBusinessIdType::DUNS
408
- expect(instance.alt_business_id_type).to eq(Freeclimb::SMSTenDLCBrandAltBusinessIdType::DUNS)
390
+ expect(instance.alt_business_id_type).to eq(Freeclimb::SMSTenDLCBrandAltBusinessIdType::DUNS)
409
391
  end
410
- it 'assigns value GIIN' do
392
+ it "assigns value GIIN" do
411
393
  instance.alt_business_id_type = Freeclimb::SMSTenDLCBrandAltBusinessIdType::GIIN
412
- expect(instance.alt_business_id_type).to eq(Freeclimb::SMSTenDLCBrandAltBusinessIdType::GIIN)
394
+ expect(instance.alt_business_id_type).to eq(Freeclimb::SMSTenDLCBrandAltBusinessIdType::GIIN)
413
395
  end
414
- it 'assigns value LEI' do
396
+ it "assigns value LEI" do
415
397
  instance.alt_business_id_type = Freeclimb::SMSTenDLCBrandAltBusinessIdType::LEI
416
- expect(instance.alt_business_id_type).to eq(Freeclimb::SMSTenDLCBrandAltBusinessIdType::LEI)
398
+ expect(instance.alt_business_id_type).to eq(Freeclimb::SMSTenDLCBrandAltBusinessIdType::LEI)
417
399
  end
418
400
  end
419
401
  describe 'test attribute "universal_ein"' do
420
- it 'should work' do
421
-
402
+ it "should work" do
422
403
  instance.universal_ein = "TEST_STRING"
423
- expect(instance.universal_ein).to eq("TEST_STRING")
424
-
425
-
426
-
404
+ expect(instance.universal_ein).to eq("TEST_STRING")
427
405
  end
428
406
  end
429
407
 
430
408
  describe 'test attribute "reference_id"' do
431
- it 'should assign a value of maxLength' do
409
+ it "should assign a value of maxLength" do
432
410
  instance.reference_id = "T" * 50
433
- expect(instance.reference_id).to eq("T" * 50)
411
+ expect(instance.reference_id).to eq("T" * 50)
434
412
  end
435
- it 'should not assign a value over maxLength' do
436
- expect { instance.reference_id = "T" * (50 + 1) }.to raise_error(ArgumentError)
413
+ it "should not assign a value over maxLength" do
414
+ expect { instance.reference_id = "T" * (50 + 1) }.to raise_error(ArgumentError)
437
415
  end
438
416
  end
439
417
 
440
418
  describe 'test attribute "optional_attributes"' do
441
- it 'should work' do
442
-
443
- testObject = Object.new()
419
+ it "should work" do
420
+ testObject = Object.new
444
421
  instance.optional_attributes = testObject
445
422
  expect(instance.optional_attributes).to eq(testObject)
446
-
447
-
448
-
449
423
  end
450
424
  end
451
425
 
452
426
  describe 'test attribute "mock"' do
453
- it 'should work' do
427
+ it "should work" do
454
428
  instance.mock = false
455
- expect(instance.mock).to eq(false)
456
-
457
-
458
-
429
+ expect(instance.mock).to eq(false)
459
430
  end
460
431
  end
461
432
 
462
-
463
433
  describe 'test attribute "identity_status"' do
464
- it 'assigns value SELF_DECLARED' do
434
+ it "assigns value SELF_DECLARED" do
465
435
  instance.identity_status = Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED
466
- expect(instance.identity_status).to eq(Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED)
436
+ expect(instance.identity_status).to eq(Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED)
467
437
  end
468
- it 'assigns value UNVERIFIED' do
438
+ it "assigns value UNVERIFIED" do
469
439
  instance.identity_status = Freeclimb::SMSTenDLCBrandIdentityStatus::UNVERIFIED
470
- expect(instance.identity_status).to eq(Freeclimb::SMSTenDLCBrandIdentityStatus::UNVERIFIED)
440
+ expect(instance.identity_status).to eq(Freeclimb::SMSTenDLCBrandIdentityStatus::UNVERIFIED)
471
441
  end
472
- it 'assigns value VERIFIED' do
442
+ it "assigns value VERIFIED" do
473
443
  instance.identity_status = Freeclimb::SMSTenDLCBrandIdentityStatus::VERIFIED
474
- expect(instance.identity_status).to eq(Freeclimb::SMSTenDLCBrandIdentityStatus::VERIFIED)
444
+ expect(instance.identity_status).to eq(Freeclimb::SMSTenDLCBrandIdentityStatus::VERIFIED)
475
445
  end
476
- it 'assigns value VETTED_VERIFIED' do
446
+ it "assigns value VETTED_VERIFIED" do
477
447
  instance.identity_status = Freeclimb::SMSTenDLCBrandIdentityStatus::VETTED_VERIFIED
478
- expect(instance.identity_status).to eq(Freeclimb::SMSTenDLCBrandIdentityStatus::VETTED_VERIFIED)
448
+ expect(instance.identity_status).to eq(Freeclimb::SMSTenDLCBrandIdentityStatus::VETTED_VERIFIED)
479
449
  end
480
450
  end
481
451
  describe 'test attribute "create_date"' do
482
- it 'should work' do
452
+ it "should work" do
483
453
  instance.create_date = "2022-07-05T15:17:05Z"
484
- expect(instance.create_date).to eq("2022-07-05T15:17:05Z")
485
-
486
-
487
-
454
+ expect(instance.create_date).to eq("2022-07-05T15:17:05Z")
488
455
  end
489
456
  end
490
457
 
491
458
  describe 'test method "initialize"' do
492
- it 'properly initializes with values' do
493
- expect { instance = Freeclimb::SMSTenDLCBrand.new(
494
-
495
- account_id: "TS",
496
-
497
-
498
-
499
-
500
- entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
501
-
502
-
503
-
504
-
505
- csp_id: "TS",
506
-
507
-
508
-
509
-
510
- brand_id: "TS",
511
-
512
-
513
-
514
-
515
- first_name: "TS",
516
-
517
-
518
-
519
-
520
- last_name: "TS",
521
-
522
-
523
-
524
-
525
- display_name: "TS",
526
-
527
-
528
-
529
-
530
- company_name: "TS",
531
-
532
-
533
-
534
-
535
- ein: "TS",
536
-
537
-
538
-
539
-
540
- ein_issuing_country: "TS",
541
-
542
-
543
-
544
-
545
- phone: "TS",
546
-
547
-
548
-
549
-
550
- street: "TS",
551
-
552
-
553
-
554
-
555
- city: "TS",
556
-
557
-
558
-
559
-
560
- state: "TS",
561
-
562
-
563
-
564
-
565
- postal_code: "TS",
566
-
567
-
568
-
569
-
570
- country: "TS",
571
-
572
-
573
-
574
-
575
- email: "TS",
576
-
577
-
578
-
579
-
580
- stock_symbol: "TS",
581
-
582
-
583
-
584
-
585
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
586
-
587
-
588
-
589
-
590
- ip_address: "TS",
591
-
592
-
593
-
594
-
595
- website: "TS",
596
-
597
-
598
-
599
-
600
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
601
-
602
-
603
-
604
-
605
- vertical: "TS",
606
-
607
-
608
-
609
-
610
- alt_business_id: "TS",
611
-
612
-
613
-
614
-
615
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
616
-
617
-
618
-
619
-
620
- universal_ein: "TS",
621
-
622
-
623
-
624
-
625
- reference_id: "TS",
626
-
627
-
628
-
629
-
630
-
631
- optional_attributes: Hash.new(),
632
-
633
-
634
- mock: true,
635
-
636
-
637
-
638
-
639
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
640
-
641
-
642
-
643
-
644
- create_date: "2022-07-05T15:17:05Z",
645
-
646
-
647
- )}.not_to raise_error()
648
- end
649
- it 'fails to initialize with input argument that is not a hash in Freeclimb::SMSTenDLCBrand' do
650
- expect { instance = Freeclimb::SMSTenDLCBrand.new(
651
-
652
- account_id: "TS",
653
-
654
-
655
-
656
-
657
- entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
658
-
659
-
660
-
661
-
662
- csp_id: "TS",
663
-
664
-
665
-
666
-
667
- brand_id: "TS",
668
-
669
-
670
-
671
-
672
- first_name: "TS",
673
-
674
-
675
-
676
-
677
- last_name: "TS",
678
-
679
-
680
-
681
-
682
- display_name: "TS",
683
-
684
-
685
-
686
-
687
- company_name: "TS",
688
-
689
-
690
-
691
-
692
- ein: "TS",
693
-
694
-
695
-
696
-
697
- ein_issuing_country: "TS",
698
-
699
-
700
-
701
-
702
- phone: "TS",
703
-
704
-
705
-
706
-
707
- street: "TS",
708
-
709
-
710
-
711
-
712
- city: "TS",
713
-
714
-
715
-
716
-
717
- state: "TS",
718
-
719
-
720
-
721
-
722
- postal_code: "TS",
723
-
724
-
725
-
726
-
727
- country: "TS",
728
-
729
-
730
-
731
-
732
- email: "TS",
733
-
734
-
735
-
736
-
737
- stock_symbol: "TS",
738
-
739
-
740
-
741
-
742
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
743
-
744
-
745
-
746
-
747
- ip_address: "TS",
748
-
749
-
750
-
751
-
752
- website: "TS",
753
-
754
-
755
-
756
-
757
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
758
-
759
-
760
-
761
-
762
- vertical: "TS",
763
-
764
-
765
-
766
-
767
- alt_business_id: "TS",
768
-
769
-
770
-
771
-
772
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
773
-
774
-
775
-
776
-
777
- universal_ein: "TS",
778
-
779
-
780
-
781
-
782
- reference_id: "TS",
783
-
784
-
785
-
786
-
787
-
788
- optional_attributes: Hash.new(),
789
-
790
-
791
- mock: true,
792
-
793
-
794
-
795
-
796
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
797
-
798
-
799
-
800
-
801
- create_date: "2022-07-05T15:17:05Z",
802
-
803
-
804
- invalid_attribute: true
805
- )}.to raise_error(ArgumentError)
806
- end
807
- it 'fails to initialize with invalid attribute' do
808
- expect { instance = Freeclimb::SMSTenDLCBrand.new(
809
-
810
- account_id: "TS",
811
-
812
-
813
-
814
-
815
- entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
816
-
817
-
818
-
819
-
820
- csp_id: "TS",
821
-
822
-
823
-
824
-
825
- brand_id: "TS",
826
-
827
-
828
-
829
-
830
- first_name: "TS",
831
-
832
-
833
-
834
-
835
- last_name: "TS",
836
-
837
-
838
-
839
-
840
- display_name: "TS",
841
-
842
-
843
-
844
-
845
- company_name: "TS",
846
-
847
-
848
-
849
-
850
- ein: "TS",
851
-
852
-
853
-
854
-
855
- ein_issuing_country: "TS",
856
-
857
-
858
-
859
-
860
- phone: "TS",
861
-
862
-
863
-
864
-
865
- street: "TS",
866
-
867
-
868
-
869
-
870
- city: "TS",
871
-
872
-
873
-
874
-
875
- state: "TS",
876
-
877
-
878
-
879
-
880
- postal_code: "TS",
881
-
882
-
883
-
884
-
885
- country: "TS",
886
-
887
-
888
-
889
-
890
- email: "TS",
891
-
892
-
893
-
894
-
895
- stock_symbol: "TS",
896
-
897
-
898
-
899
-
900
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
901
-
902
-
903
-
904
-
905
- ip_address: "TS",
906
-
907
-
908
-
909
-
910
- website: "TS",
911
-
912
-
913
-
914
-
915
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
916
-
917
-
918
-
919
-
920
- vertical: "TS",
921
-
922
-
923
-
924
-
925
- alt_business_id: "TS",
926
-
927
-
928
-
929
-
930
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
931
-
932
-
933
-
934
-
935
- universal_ein: "TS",
936
-
937
-
938
-
939
-
940
- reference_id: "TS",
941
-
942
-
943
-
944
-
945
-
946
- optional_attributes: Hash.new(),
947
-
948
-
949
- mock: true,
950
-
951
-
952
-
953
-
954
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
955
-
956
-
957
-
958
-
959
- create_date: "2022-07-05T15:17:05Z",
960
-
961
-
962
- invalid_attribute: true
963
- )}.to raise_error(ArgumentError)
964
- end
965
- end
966
-
967
- describe 'test method "valid"' do
968
- it 'checks if properties are valid' do
969
- instance = Freeclimb::SMSTenDLCBrand.new(
970
-
459
+ it "properly initializes with values" do
460
+ expect {
461
+ Freeclimb::SMSTenDLCBrand.new(
971
462
  account_id: "TS",
972
-
973
-
974
-
975
-
463
+
976
464
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
977
-
978
-
979
-
980
-
465
+
981
466
  csp_id: "TS",
982
-
983
-
984
-
985
-
467
+
986
468
  brand_id: "TS",
987
-
988
-
989
-
990
-
469
+
991
470
  first_name: "TS",
992
-
993
-
994
-
995
-
471
+
996
472
  last_name: "TS",
997
-
998
-
999
-
1000
-
473
+
1001
474
  display_name: "TS",
1002
-
1003
-
1004
-
1005
-
475
+
1006
476
  company_name: "TS",
1007
-
1008
-
1009
-
1010
-
477
+
1011
478
  ein: "TS",
1012
-
1013
-
1014
-
1015
-
479
+
1016
480
  ein_issuing_country: "TS",
1017
-
1018
-
1019
-
1020
-
481
+
1021
482
  phone: "TS",
1022
-
1023
-
1024
-
1025
-
483
+
1026
484
  street: "TS",
1027
-
1028
-
1029
-
1030
-
485
+
1031
486
  city: "TS",
1032
-
1033
-
1034
-
1035
-
487
+
1036
488
  state: "TS",
1037
-
1038
-
1039
-
1040
-
489
+
1041
490
  postal_code: "TS",
1042
-
1043
-
1044
-
1045
-
491
+
1046
492
  country: "TS",
1047
-
1048
-
1049
-
1050
-
493
+
1051
494
  email: "TS",
1052
-
1053
-
1054
-
1055
-
495
+
1056
496
  stock_symbol: "TS",
1057
-
1058
-
1059
-
1060
-
497
+
1061
498
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1062
-
1063
-
1064
-
1065
-
499
+
1066
500
  ip_address: "TS",
1067
-
1068
-
1069
-
1070
-
501
+
1071
502
  website: "TS",
1072
-
1073
-
1074
-
1075
-
503
+
1076
504
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1077
-
1078
-
1079
-
1080
-
505
+
1081
506
  vertical: "TS",
1082
-
1083
-
1084
-
1085
-
507
+
1086
508
  alt_business_id: "TS",
1087
-
1088
-
1089
-
1090
-
509
+
1091
510
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1092
-
1093
-
1094
-
1095
-
511
+
1096
512
  universal_ein: "TS",
1097
-
1098
-
1099
-
1100
-
1101
- reference_id: "TS",
1102
-
1103
-
1104
-
1105
-
1106
-
1107
- optional_attributes: Hash.new(),
1108
-
1109
-
1110
- mock: true,
1111
-
1112
-
1113
-
1114
-
1115
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1116
-
1117
-
1118
-
1119
-
1120
- create_date: "2022-07-05T15:17:05Z",
1121
-
1122
-
1123
- )
1124
- expect(instance.valid?).to eq(true)
1125
- end
1126
513
 
514
+ reference_id: "TS",
1127
515
 
1128
- skip 'checks if properties are invalid' do
1129
- instance = Freeclimb::SMSTenDLCBrand.new(
1130
-
1131
- )
1132
- expect(instance.valid?).to eq(false)
1133
- end
1134
-
1135
- end
516
+ optional_attributes: {},
1136
517
 
1137
- describe 'test method "eql?"' do
1138
- it 'checks if objects are equal' do
1139
-
1140
-
1141
-
1142
-
1143
-
1144
-
1145
-
1146
-
1147
-
1148
-
1149
-
1150
-
1151
-
1152
-
1153
-
1154
-
1155
-
1156
-
1157
-
1158
-
1159
-
1160
-
1161
-
1162
-
1163
-
1164
-
1165
-
1166
-
1167
-
1168
-
1169
-
1170
- instance_1 = Freeclimb::SMSTenDLCBrand.new(
1171
-
1172
- account_id: "TS",
1173
-
1174
-
1175
-
1176
-
1177
-
1178
-
1179
- entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1180
-
1181
-
1182
- csp_id: "TS",
1183
-
1184
-
1185
-
1186
-
1187
- brand_id: "TS",
1188
-
1189
-
1190
-
1191
-
1192
- first_name: "TS",
1193
-
1194
-
1195
-
1196
-
1197
- last_name: "TS",
1198
-
1199
-
1200
-
1201
-
1202
- display_name: "TS",
1203
-
1204
-
1205
-
1206
-
1207
- company_name: "TS",
1208
-
1209
-
1210
-
1211
-
1212
- ein: "TS",
1213
-
1214
-
1215
-
1216
-
1217
- ein_issuing_country: "TS",
1218
-
1219
-
1220
-
1221
-
1222
- phone: "TS",
1223
-
1224
-
1225
-
1226
-
1227
- street: "TS",
1228
-
1229
-
1230
-
1231
-
1232
- city: "TS",
1233
-
1234
-
1235
-
1236
-
1237
- state: "TS",
1238
-
1239
-
1240
-
1241
-
1242
- postal_code: "TS",
1243
-
1244
-
1245
-
1246
-
1247
- country: "TS",
1248
-
1249
-
1250
-
1251
-
1252
- email: "TS",
1253
-
1254
-
1255
-
1256
-
1257
- stock_symbol: "TS",
1258
-
1259
-
1260
-
1261
-
1262
-
1263
-
1264
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1265
-
1266
-
1267
- ip_address: "TS",
1268
-
1269
-
1270
-
1271
-
1272
- website: "TS",
1273
-
1274
-
1275
-
1276
-
1277
-
1278
-
1279
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1280
-
1281
-
1282
- vertical: "TS",
1283
-
1284
-
1285
-
1286
-
1287
- alt_business_id: "TS",
1288
-
1289
-
1290
-
1291
-
1292
-
1293
-
1294
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1295
-
1296
-
1297
- universal_ein: "TS",
1298
-
1299
-
1300
-
1301
-
1302
- reference_id: "TS",
1303
-
1304
-
1305
-
1306
-
1307
- optional_attributes: Hash.new(),
1308
-
1309
-
1310
-
1311
518
  mock: true,
1312
-
1313
-
1314
-
1315
-
1316
-
1317
-
519
+
1318
520
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1319
-
1320
-
1321
-
1322
-
1323
- )
1324
- instance_2 = Freeclimb::SMSTenDLCBrand.new(
1325
-
521
+
522
+ create_date: "2022-07-05T15:17:05Z"
523
+ )
524
+ }.not_to raise_error
525
+ end
526
+ it "fails to initialize with input argument that is not a hash in Freeclimb::SMSTenDLCBrand" do
527
+ expect {
528
+ Freeclimb::SMSTenDLCBrand.new(
1326
529
  account_id: "TS",
1327
-
1328
-
1329
-
1330
-
1331
-
1332
-
530
+
1333
531
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1334
-
1335
-
532
+
1336
533
  csp_id: "TS",
1337
-
1338
-
1339
-
1340
-
534
+
1341
535
  brand_id: "TS",
1342
-
1343
-
1344
-
1345
-
536
+
1346
537
  first_name: "TS",
1347
-
1348
-
1349
-
1350
-
538
+
1351
539
  last_name: "TS",
1352
-
1353
-
1354
-
1355
-
540
+
1356
541
  display_name: "TS",
1357
-
1358
-
1359
-
1360
-
542
+
1361
543
  company_name: "TS",
1362
-
1363
-
1364
-
1365
-
544
+
1366
545
  ein: "TS",
1367
-
1368
-
1369
-
1370
-
546
+
1371
547
  ein_issuing_country: "TS",
1372
-
1373
-
1374
-
1375
-
548
+
1376
549
  phone: "TS",
1377
-
1378
-
1379
-
1380
-
550
+
1381
551
  street: "TS",
1382
-
1383
-
1384
-
1385
-
552
+
1386
553
  city: "TS",
1387
-
1388
-
1389
-
1390
-
554
+
1391
555
  state: "TS",
1392
-
1393
-
1394
-
1395
-
556
+
1396
557
  postal_code: "TS",
1397
-
1398
-
1399
-
1400
-
558
+
1401
559
  country: "TS",
1402
-
1403
-
1404
-
1405
-
560
+
1406
561
  email: "TS",
1407
-
1408
-
1409
-
1410
-
562
+
1411
563
  stock_symbol: "TS",
1412
-
1413
-
1414
-
1415
-
1416
-
1417
-
564
+
1418
565
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1419
-
1420
-
566
+
1421
567
  ip_address: "TS",
1422
-
1423
-
1424
-
1425
-
568
+
1426
569
  website: "TS",
1427
-
1428
-
1429
-
1430
-
1431
-
1432
-
570
+
1433
571
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1434
-
1435
-
572
+
1436
573
  vertical: "TS",
1437
-
1438
-
1439
-
1440
-
574
+
1441
575
  alt_business_id: "TS",
1442
-
1443
-
1444
-
1445
-
1446
-
1447
-
576
+
1448
577
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1449
-
1450
-
578
+
1451
579
  universal_ein: "TS",
1452
-
1453
-
1454
-
1455
-
580
+
1456
581
  reference_id: "TS",
1457
-
1458
-
1459
-
1460
-
1461
- optional_attributes: Hash.new(),
1462
-
1463
-
1464
-
582
+
583
+ optional_attributes: {},
584
+
1465
585
  mock: true,
1466
-
1467
-
1468
-
1469
-
1470
-
1471
-
586
+
1472
587
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1473
-
1474
-
1475
-
1476
-
1477
- )
1478
- expect(instance_1.eql?(instance_2)).to eq(true)
588
+
589
+ create_date: "2022-07-05T15:17:05Z",
590
+
591
+ invalid_attribute: true
592
+ )
593
+ }.to raise_error(ArgumentError)
1479
594
  end
1480
-
1481
- it 'checks if objects are not equal' do
1482
- instance_1 = Freeclimb::SMSTenDLCBrand.new(
1483
-
595
+ it "fails to initialize with invalid attribute" do
596
+ expect {
597
+ Freeclimb::SMSTenDLCBrand.new(
1484
598
  account_id: "TS",
1485
-
1486
-
1487
-
1488
-
1489
-
1490
-
599
+
1491
600
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1492
-
1493
-
601
+
1494
602
  csp_id: "TS",
1495
-
1496
-
1497
-
1498
-
603
+
1499
604
  brand_id: "TS",
1500
-
1501
-
1502
-
1503
-
605
+
1504
606
  first_name: "TS",
1505
-
1506
-
1507
-
1508
-
607
+
1509
608
  last_name: "TS",
1510
-
1511
-
1512
-
1513
-
609
+
1514
610
  display_name: "TS",
1515
-
1516
-
1517
-
1518
-
611
+
1519
612
  company_name: "TS",
1520
-
1521
-
1522
-
1523
-
613
+
1524
614
  ein: "TS",
1525
-
1526
-
1527
-
1528
-
615
+
1529
616
  ein_issuing_country: "TS",
1530
-
1531
-
1532
-
1533
-
617
+
1534
618
  phone: "TS",
1535
-
1536
-
1537
-
1538
-
619
+
1539
620
  street: "TS",
1540
-
1541
-
1542
-
1543
-
621
+
1544
622
  city: "TS",
1545
-
1546
-
1547
-
1548
-
623
+
1549
624
  state: "TS",
1550
-
1551
-
1552
-
1553
-
625
+
1554
626
  postal_code: "TS",
1555
-
1556
-
1557
-
1558
-
627
+
1559
628
  country: "TS",
1560
-
1561
-
1562
-
1563
-
629
+
1564
630
  email: "TS",
1565
-
1566
-
1567
-
1568
-
631
+
1569
632
  stock_symbol: "TS",
1570
-
1571
-
1572
-
1573
-
1574
-
1575
-
633
+
1576
634
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1577
-
1578
-
635
+
1579
636
  ip_address: "TS",
1580
-
1581
-
1582
-
1583
-
637
+
1584
638
  website: "TS",
1585
-
1586
-
1587
-
1588
-
1589
-
1590
-
639
+
1591
640
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1592
-
1593
-
641
+
1594
642
  vertical: "TS",
1595
-
1596
-
1597
-
1598
-
643
+
1599
644
  alt_business_id: "TS",
1600
-
1601
-
1602
-
1603
-
1604
-
1605
-
645
+
1606
646
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1607
-
1608
-
647
+
1609
648
  universal_ein: "TS",
1610
-
1611
-
1612
-
1613
-
649
+
1614
650
  reference_id: "TS",
1615
-
1616
-
1617
-
1618
-
1619
- optional_attributes: Hash.new(),
1620
-
1621
-
1622
-
651
+
652
+ optional_attributes: {},
653
+
1623
654
  mock: true,
1624
-
1625
-
1626
-
1627
-
1628
-
1629
-
655
+
1630
656
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1631
-
1632
-
1633
-
1634
-
1635
- )
1636
- instance_2 = Freeclimb::SMSTenDLCBrand.new(
1637
-
1638
- account_id: "ST",
1639
-
1640
-
1641
-
1642
-
1643
-
1644
-
1645
- entity_type: nil,
1646
-
1647
-
1648
- csp_id: "ST",
1649
-
1650
-
1651
-
1652
-
1653
- brand_id: "ST",
1654
-
1655
-
1656
-
1657
-
1658
- first_name: "ST",
1659
-
1660
-
1661
-
1662
-
1663
- last_name: "ST",
1664
-
1665
-
1666
-
1667
-
1668
- display_name: "ST",
1669
-
1670
-
1671
-
1672
-
1673
- company_name: "ST",
1674
-
1675
-
1676
-
1677
-
1678
- ein: "ST",
1679
-
1680
-
1681
-
1682
-
1683
- ein_issuing_country: "ST",
1684
-
1685
-
1686
-
1687
-
1688
- phone: "ST",
1689
-
1690
-
1691
-
1692
-
1693
- street: "ST",
1694
-
1695
-
1696
-
1697
-
1698
- city: "ST",
1699
-
1700
-
1701
-
1702
-
1703
- state: "ST",
1704
-
1705
-
1706
-
1707
-
1708
- postal_code: "ST",
1709
-
1710
-
1711
-
1712
-
1713
- country: "ST",
1714
-
1715
-
1716
-
1717
-
1718
- email: "ST",
1719
-
1720
-
1721
-
1722
-
1723
- stock_symbol: "ST",
1724
-
1725
-
1726
-
1727
-
1728
-
1729
-
1730
- stock_exchange: nil,
1731
-
1732
-
1733
- ip_address: "ST",
1734
-
1735
-
1736
-
1737
-
1738
- website: "ST",
1739
-
1740
-
1741
-
1742
-
1743
-
1744
-
1745
- brand_relationship: nil,
1746
-
1747
-
1748
- vertical: "ST",
1749
-
1750
-
1751
-
1752
-
1753
- alt_business_id: "ST",
1754
-
1755
-
1756
-
1757
-
1758
-
1759
-
1760
- alt_business_id_type: nil,
1761
-
1762
-
1763
- universal_ein: "ST",
1764
-
1765
-
1766
-
1767
-
1768
- reference_id: "ST",
1769
-
1770
-
1771
-
1772
-
1773
- optional_attributes: Hash.new(),
1774
-
1775
-
1776
-
1777
- mock: false,
1778
-
1779
-
1780
-
1781
-
1782
-
1783
-
1784
- identity_status: nil,
1785
-
1786
-
1787
-
1788
-
1789
- )
1790
- expect(instance_1.eql?(instance_2)).to eq(false)
657
+
658
+ create_date: "2022-07-05T15:17:05Z",
659
+
660
+ invalid_attribute: true
661
+ )
662
+ }.to raise_error(ArgumentError)
1791
663
  end
1792
664
  end
1793
-
1794
- describe 'test method "hash"' do
1795
- it 'calculates hash code' do
665
+
666
+ describe 'test method "valid"' do
667
+ it "checks if properties are valid" do
1796
668
  instance = Freeclimb::SMSTenDLCBrand.new(
1797
-
1798
- account_id: "TS",
1799
-
1800
-
1801
-
1802
-
1803
- entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1804
-
1805
-
1806
-
1807
-
1808
- csp_id: "TS",
1809
-
1810
-
1811
-
1812
-
1813
- brand_id: "TS",
1814
-
1815
-
1816
-
1817
-
1818
- first_name: "TS",
1819
-
1820
-
1821
-
1822
-
1823
- last_name: "TS",
1824
-
1825
-
1826
-
1827
-
1828
- display_name: "TS",
1829
-
1830
-
1831
-
1832
-
1833
- company_name: "TS",
1834
-
1835
-
1836
-
1837
-
1838
- ein: "TS",
1839
-
1840
-
1841
-
1842
-
1843
- ein_issuing_country: "TS",
1844
-
1845
-
1846
-
1847
-
1848
- phone: "TS",
1849
-
1850
-
1851
-
1852
-
1853
- street: "TS",
1854
-
1855
-
1856
-
1857
-
1858
- city: "TS",
1859
-
1860
-
1861
-
1862
-
1863
- state: "TS",
1864
-
1865
-
1866
-
1867
-
1868
- postal_code: "TS",
1869
-
1870
-
1871
-
1872
-
1873
- country: "TS",
1874
-
1875
-
1876
-
1877
-
1878
- email: "TS",
1879
-
1880
-
1881
-
1882
-
1883
- stock_symbol: "TS",
1884
-
1885
-
1886
-
1887
-
1888
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1889
-
1890
-
1891
-
1892
-
1893
- ip_address: "TS",
1894
-
1895
-
1896
-
1897
-
1898
- website: "TS",
1899
-
1900
-
1901
-
1902
-
1903
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1904
-
1905
-
1906
-
1907
-
1908
- vertical: "TS",
1909
-
1910
-
1911
-
1912
-
1913
- alt_business_id: "TS",
1914
-
1915
-
1916
-
1917
-
1918
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1919
-
1920
-
1921
-
1922
-
1923
- universal_ein: "TS",
1924
-
1925
-
1926
-
1927
-
1928
- reference_id: "TS",
1929
-
1930
-
1931
-
1932
-
1933
-
1934
- optional_attributes: Hash.new(),
1935
-
1936
-
1937
- mock: true,
1938
-
1939
-
1940
-
1941
-
1942
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1943
-
1944
-
1945
-
1946
-
1947
- create_date: "2022-07-05T15:17:05Z",
1948
-
1949
-
1950
- )
1951
- expect(instance.hash).to be_a_kind_of(Integer)
669
+ account_id: "TS",
670
+
671
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
672
+
673
+ csp_id: "TS",
674
+
675
+ brand_id: "TS",
676
+
677
+ first_name: "TS",
678
+
679
+ last_name: "TS",
680
+
681
+ display_name: "TS",
682
+
683
+ company_name: "TS",
684
+
685
+ ein: "TS",
686
+
687
+ ein_issuing_country: "TS",
688
+
689
+ phone: "TS",
690
+
691
+ street: "TS",
692
+
693
+ city: "TS",
694
+
695
+ state: "TS",
696
+
697
+ postal_code: "TS",
698
+
699
+ country: "TS",
700
+
701
+ email: "TS",
702
+
703
+ stock_symbol: "TS",
704
+
705
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
706
+
707
+ ip_address: "TS",
708
+
709
+ website: "TS",
710
+
711
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
712
+
713
+ vertical: "TS",
714
+
715
+ alt_business_id: "TS",
716
+
717
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
718
+
719
+ universal_ein: "TS",
720
+
721
+ reference_id: "TS",
722
+
723
+ optional_attributes: {},
724
+
725
+ mock: true,
726
+
727
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
728
+
729
+ create_date: "2022-07-05T15:17:05Z"
730
+ )
731
+ expect(instance.valid?).to eq(true)
732
+ end
733
+
734
+ skip "checks if properties are invalid" do
735
+ instance = Freeclimb::SMSTenDLCBrand.new
736
+
737
+ expect(instance.valid?).to eq(false)
1952
738
  end
1953
739
  end
1954
740
 
1955
- describe 'test method "build_from_hash"' do
1956
- it 'builds equivalent model from hash code' do
741
+ describe 'test method "eql?"' do
742
+ it "checks if objects are equal" do
1957
743
  instance_1 = Freeclimb::SMSTenDLCBrand.new(
1958
-
1959
744
  account_id: "TS",
1960
-
1961
-
1962
-
1963
-
745
+
1964
746
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1965
-
1966
-
1967
-
1968
-
747
+
1969
748
  csp_id: "TS",
1970
-
1971
-
1972
-
1973
-
749
+
1974
750
  brand_id: "TS",
1975
-
1976
-
1977
-
1978
-
751
+
1979
752
  first_name: "TS",
1980
-
1981
-
1982
-
1983
-
753
+
1984
754
  last_name: "TS",
1985
-
1986
-
1987
-
1988
-
755
+
1989
756
  display_name: "TS",
1990
-
1991
-
1992
-
1993
-
757
+
1994
758
  company_name: "TS",
1995
-
1996
-
1997
-
1998
-
759
+
1999
760
  ein: "TS",
2000
-
2001
-
2002
-
2003
-
761
+
2004
762
  ein_issuing_country: "TS",
2005
-
2006
-
2007
-
2008
-
763
+
2009
764
  phone: "TS",
2010
-
2011
-
2012
-
2013
-
765
+
2014
766
  street: "TS",
2015
-
2016
-
2017
-
2018
-
767
+
2019
768
  city: "TS",
2020
-
2021
-
2022
-
2023
-
769
+
2024
770
  state: "TS",
2025
-
2026
-
2027
-
2028
-
771
+
2029
772
  postal_code: "TS",
2030
-
2031
-
2032
-
2033
-
773
+
2034
774
  country: "TS",
2035
-
2036
-
2037
-
2038
-
775
+
2039
776
  email: "TS",
2040
-
2041
-
2042
-
2043
-
777
+
2044
778
  stock_symbol: "TS",
2045
-
2046
-
2047
-
2048
-
779
+
2049
780
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
2050
-
2051
-
2052
-
2053
-
781
+
2054
782
  ip_address: "TS",
2055
-
2056
-
2057
-
2058
-
783
+
2059
784
  website: "TS",
2060
-
2061
-
2062
-
2063
-
785
+
2064
786
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
2065
-
2066
-
2067
-
2068
-
787
+
2069
788
  vertical: "TS",
2070
-
2071
-
2072
-
2073
-
789
+
2074
790
  alt_business_id: "TS",
2075
-
2076
-
2077
-
2078
-
791
+
2079
792
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
2080
-
2081
-
2082
-
2083
-
793
+
2084
794
  universal_ein: "TS",
2085
-
2086
-
2087
-
2088
-
795
+
2089
796
  reference_id: "TS",
2090
-
2091
-
2092
-
2093
-
2094
-
2095
- optional_attributes: Hash.new(),
2096
-
2097
-
797
+
798
+ optional_attributes: {},
799
+
2098
800
  mock: true,
2099
-
2100
-
2101
-
2102
-
2103
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
2104
-
2105
-
2106
-
2107
-
2108
- create_date: "2022-07-05T15:17:05Z",
2109
-
2110
-
801
+
802
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED
2111
803
  )
2112
804
  instance_2 = Freeclimb::SMSTenDLCBrand.new(
2113
-
2114
805
  account_id: "TS",
2115
-
2116
-
2117
-
2118
-
806
+
2119
807
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
2120
-
2121
-
2122
-
2123
-
808
+
2124
809
  csp_id: "TS",
2125
-
2126
-
2127
-
2128
-
810
+
2129
811
  brand_id: "TS",
2130
-
2131
-
2132
-
2133
-
812
+
2134
813
  first_name: "TS",
2135
-
2136
-
2137
-
2138
-
814
+
2139
815
  last_name: "TS",
2140
-
2141
-
2142
-
2143
-
816
+
2144
817
  display_name: "TS",
2145
-
2146
-
2147
-
2148
-
818
+
2149
819
  company_name: "TS",
2150
-
2151
-
2152
-
2153
-
820
+
2154
821
  ein: "TS",
2155
-
2156
-
2157
-
2158
-
822
+
2159
823
  ein_issuing_country: "TS",
2160
-
2161
-
2162
-
2163
-
824
+
2164
825
  phone: "TS",
2165
-
2166
-
2167
-
2168
-
826
+
2169
827
  street: "TS",
2170
-
2171
-
2172
-
2173
-
828
+
2174
829
  city: "TS",
2175
-
2176
-
2177
-
2178
-
830
+
2179
831
  state: "TS",
2180
-
2181
-
2182
-
2183
-
832
+
2184
833
  postal_code: "TS",
2185
-
2186
-
2187
-
2188
-
834
+
2189
835
  country: "TS",
2190
-
2191
-
2192
-
2193
-
836
+
2194
837
  email: "TS",
2195
-
2196
-
2197
-
2198
-
838
+
2199
839
  stock_symbol: "TS",
2200
-
2201
-
2202
-
2203
-
840
+
2204
841
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
2205
-
2206
-
2207
-
2208
-
842
+
2209
843
  ip_address: "TS",
2210
-
2211
-
2212
-
2213
-
844
+
2214
845
  website: "TS",
2215
-
2216
-
2217
-
2218
-
846
+
2219
847
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
2220
-
2221
-
2222
-
2223
-
848
+
2224
849
  vertical: "TS",
2225
-
2226
-
2227
-
2228
-
850
+
2229
851
  alt_business_id: "TS",
2230
-
2231
-
2232
-
2233
-
852
+
2234
853
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
2235
-
2236
-
2237
-
2238
-
854
+
2239
855
  universal_ein: "TS",
2240
-
2241
-
2242
-
2243
-
856
+
2244
857
  reference_id: "TS",
2245
-
2246
-
2247
-
2248
-
2249
-
2250
- optional_attributes: Hash.new(),
2251
-
2252
-
858
+
859
+ optional_attributes: {},
860
+
2253
861
  mock: true,
2254
-
2255
-
2256
-
2257
-
2258
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
2259
-
2260
-
2261
-
2262
-
2263
- create_date: "2022-07-05T15:17:05Z",
2264
-
2265
-
862
+
863
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED
2266
864
  )
865
+ expect(instance_1.eql?(instance_2)).to eq(true)
866
+ end
2267
867
 
2268
- expect(instance_2.build_from_hash(instance_1.hash)).to eq(instance_1.build_from_hash(instance_1.hash))
868
+ it "checks if objects are not equal" do
869
+ instance_1 = Freeclimb::SMSTenDLCBrand.new(
870
+ account_id: "TS",
871
+
872
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
873
+
874
+ csp_id: "TS",
875
+
876
+ brand_id: "TS",
877
+
878
+ first_name: "TS",
879
+
880
+ last_name: "TS",
881
+
882
+ display_name: "TS",
883
+
884
+ company_name: "TS",
885
+
886
+ ein: "TS",
887
+
888
+ ein_issuing_country: "TS",
889
+
890
+ phone: "TS",
891
+
892
+ street: "TS",
893
+
894
+ city: "TS",
895
+
896
+ state: "TS",
897
+
898
+ postal_code: "TS",
899
+
900
+ country: "TS",
901
+
902
+ email: "TS",
903
+
904
+ stock_symbol: "TS",
905
+
906
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
907
+
908
+ ip_address: "TS",
909
+
910
+ website: "TS",
911
+
912
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
913
+
914
+ vertical: "TS",
915
+
916
+ alt_business_id: "TS",
917
+
918
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
919
+
920
+ universal_ein: "TS",
921
+
922
+ reference_id: "TS",
923
+
924
+ optional_attributes: {},
925
+
926
+ mock: true,
927
+
928
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED
929
+ )
930
+ instance_2 = Freeclimb::SMSTenDLCBrand.new(
931
+ account_id: "ST",
932
+
933
+ entity_type: nil,
934
+
935
+ csp_id: "ST",
936
+
937
+ brand_id: "ST",
938
+
939
+ first_name: "ST",
940
+
941
+ last_name: "ST",
942
+
943
+ display_name: "ST",
944
+
945
+ company_name: "ST",
946
+
947
+ ein: "ST",
948
+
949
+ ein_issuing_country: "ST",
950
+
951
+ phone: "ST",
952
+
953
+ street: "ST",
954
+
955
+ city: "ST",
956
+
957
+ state: "ST",
958
+
959
+ postal_code: "ST",
960
+
961
+ country: "ST",
962
+
963
+ email: "ST",
964
+
965
+ stock_symbol: "ST",
966
+
967
+ stock_exchange: nil,
968
+
969
+ ip_address: "ST",
970
+
971
+ website: "ST",
972
+
973
+ brand_relationship: nil,
974
+
975
+ vertical: "ST",
976
+
977
+ alt_business_id: "ST",
978
+
979
+ alt_business_id_type: nil,
980
+
981
+ universal_ein: "ST",
982
+
983
+ reference_id: "ST",
984
+
985
+ optional_attributes: {},
986
+
987
+ mock: false,
988
+
989
+ identity_status: nil
990
+ )
991
+ expect(instance_1.eql?(instance_2)).to eq(false)
2269
992
  end
2270
993
  end
2271
994
 
2272
- describe 'test method "_deserialize"' do
2273
- instance = Freeclimb::SMSTenDLCBrand.new(
2274
-
995
+ describe 'test method "hash"' do
996
+ it "calculates hash code" do
997
+ instance = Freeclimb::SMSTenDLCBrand.new(
2275
998
  account_id: "TS",
2276
-
2277
-
2278
-
2279
-
999
+
2280
1000
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
2281
-
2282
-
2283
-
2284
-
1001
+
2285
1002
  csp_id: "TS",
2286
-
2287
-
2288
-
2289
-
1003
+
2290
1004
  brand_id: "TS",
2291
-
2292
-
2293
-
2294
-
1005
+
2295
1006
  first_name: "TS",
2296
-
2297
-
2298
-
2299
-
1007
+
2300
1008
  last_name: "TS",
2301
-
2302
-
2303
-
2304
-
1009
+
2305
1010
  display_name: "TS",
2306
-
2307
-
2308
-
2309
-
1011
+
2310
1012
  company_name: "TS",
2311
-
2312
-
2313
-
2314
-
1013
+
2315
1014
  ein: "TS",
2316
-
2317
-
2318
-
2319
-
1015
+
2320
1016
  ein_issuing_country: "TS",
2321
-
2322
-
2323
-
2324
-
1017
+
2325
1018
  phone: "TS",
2326
-
2327
-
2328
-
2329
-
1019
+
2330
1020
  street: "TS",
2331
-
2332
-
2333
-
2334
-
1021
+
2335
1022
  city: "TS",
2336
-
2337
-
2338
-
2339
-
1023
+
2340
1024
  state: "TS",
2341
-
2342
-
2343
-
2344
-
1025
+
2345
1026
  postal_code: "TS",
2346
-
2347
-
2348
-
2349
-
1027
+
2350
1028
  country: "TS",
2351
-
2352
-
2353
-
2354
-
1029
+
2355
1030
  email: "TS",
2356
-
2357
-
2358
-
2359
-
1031
+
2360
1032
  stock_symbol: "TS",
2361
-
2362
-
2363
-
2364
-
1033
+
2365
1034
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
2366
-
2367
-
2368
-
2369
-
1035
+
2370
1036
  ip_address: "TS",
2371
-
2372
-
2373
-
2374
-
1037
+
2375
1038
  website: "TS",
2376
-
2377
-
2378
-
2379
-
1039
+
2380
1040
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
2381
-
2382
-
2383
-
2384
-
1041
+
2385
1042
  vertical: "TS",
2386
-
2387
-
2388
-
2389
-
1043
+
2390
1044
  alt_business_id: "TS",
2391
-
2392
-
2393
-
2394
-
1045
+
2395
1046
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
2396
-
2397
-
2398
-
2399
-
1047
+
2400
1048
  universal_ein: "TS",
2401
-
2402
-
2403
-
2404
-
1049
+
2405
1050
  reference_id: "TS",
2406
-
2407
-
2408
-
2409
-
2410
-
2411
- optional_attributes: Hash.new(),
2412
-
2413
-
1051
+
1052
+ optional_attributes: {},
1053
+
2414
1054
  mock: true,
2415
-
2416
-
2417
-
2418
-
1055
+
2419
1056
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
2420
-
2421
-
2422
-
2423
-
2424
- create_date: "2022-07-05T15:17:05Z",
2425
-
2426
-
1057
+
1058
+ create_date: "2022-07-05T15:17:05Z"
1059
+ )
1060
+ expect(instance.hash).to be_a_kind_of(Integer)
1061
+ end
1062
+ end
1063
+
1064
+ describe 'test method "build_from_hash"' do
1065
+ it "builds equivalent model from hash code" do
1066
+ instance_1 = Freeclimb::SMSTenDLCBrand.new(
1067
+ account_id: "TS",
1068
+
1069
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1070
+
1071
+ csp_id: "TS",
1072
+
1073
+ brand_id: "TS",
1074
+
1075
+ first_name: "TS",
1076
+
1077
+ last_name: "TS",
1078
+
1079
+ display_name: "TS",
1080
+
1081
+ company_name: "TS",
1082
+
1083
+ ein: "TS",
1084
+
1085
+ ein_issuing_country: "TS",
1086
+
1087
+ phone: "TS",
1088
+
1089
+ street: "TS",
1090
+
1091
+ city: "TS",
1092
+
1093
+ state: "TS",
1094
+
1095
+ postal_code: "TS",
1096
+
1097
+ country: "TS",
1098
+
1099
+ email: "TS",
1100
+
1101
+ stock_symbol: "TS",
1102
+
1103
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1104
+
1105
+ ip_address: "TS",
1106
+
1107
+ website: "TS",
1108
+
1109
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1110
+
1111
+ vertical: "TS",
1112
+
1113
+ alt_business_id: "TS",
1114
+
1115
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1116
+
1117
+ universal_ein: "TS",
1118
+
1119
+ reference_id: "TS",
1120
+
1121
+ optional_attributes: {},
1122
+
1123
+ mock: true,
1124
+
1125
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1126
+
1127
+ create_date: "2022-07-05T15:17:05Z"
1128
+ )
1129
+ instance_2 = Freeclimb::SMSTenDLCBrand.new(
1130
+ account_id: "TS",
1131
+
1132
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1133
+
1134
+ csp_id: "TS",
1135
+
1136
+ brand_id: "TS",
1137
+
1138
+ first_name: "TS",
1139
+
1140
+ last_name: "TS",
1141
+
1142
+ display_name: "TS",
1143
+
1144
+ company_name: "TS",
1145
+
1146
+ ein: "TS",
1147
+
1148
+ ein_issuing_country: "TS",
1149
+
1150
+ phone: "TS",
1151
+
1152
+ street: "TS",
1153
+
1154
+ city: "TS",
1155
+
1156
+ state: "TS",
1157
+
1158
+ postal_code: "TS",
1159
+
1160
+ country: "TS",
1161
+
1162
+ email: "TS",
1163
+
1164
+ stock_symbol: "TS",
1165
+
1166
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1167
+
1168
+ ip_address: "TS",
1169
+
1170
+ website: "TS",
1171
+
1172
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1173
+
1174
+ vertical: "TS",
1175
+
1176
+ alt_business_id: "TS",
1177
+
1178
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1179
+
1180
+ universal_ein: "TS",
1181
+
1182
+ reference_id: "TS",
1183
+
1184
+ optional_attributes: {},
1185
+
1186
+ mock: true,
1187
+
1188
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1189
+
1190
+ create_date: "2022-07-05T15:17:05Z"
1191
+ )
1192
+
1193
+ expect(instance_2.build_from_hash(instance_1.hash)).to eq(instance_1.build_from_hash(instance_1.hash))
1194
+ end
1195
+ end
1196
+
1197
+ describe 'test method "_deserialize"' do
1198
+ instance = Freeclimb::SMSTenDLCBrand.new(
1199
+ account_id: "TS",
1200
+
1201
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1202
+
1203
+ csp_id: "TS",
1204
+
1205
+ brand_id: "TS",
1206
+
1207
+ first_name: "TS",
1208
+
1209
+ last_name: "TS",
1210
+
1211
+ display_name: "TS",
1212
+
1213
+ company_name: "TS",
1214
+
1215
+ ein: "TS",
1216
+
1217
+ ein_issuing_country: "TS",
1218
+
1219
+ phone: "TS",
1220
+
1221
+ street: "TS",
1222
+
1223
+ city: "TS",
1224
+
1225
+ state: "TS",
1226
+
1227
+ postal_code: "TS",
1228
+
1229
+ country: "TS",
1230
+
1231
+ email: "TS",
1232
+
1233
+ stock_symbol: "TS",
1234
+
1235
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1236
+
1237
+ ip_address: "TS",
1238
+
1239
+ website: "TS",
1240
+
1241
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1242
+
1243
+ vertical: "TS",
1244
+
1245
+ alt_business_id: "TS",
1246
+
1247
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1248
+
1249
+ universal_ein: "TS",
1250
+
1251
+ reference_id: "TS",
1252
+
1253
+ optional_attributes: {},
1254
+
1255
+ mock: true,
1256
+
1257
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1258
+
1259
+ create_date: "2022-07-05T15:17:05Z"
2427
1260
  )
2428
- it 'deserializes the data of account_id' do
1261
+ it "deserializes the data of account_id" do
2429
1262
  expect(instance._deserialize("String", instance.account_id)).to be_a_kind_of(String)
2430
1263
  end
2431
-
2432
-
2433
-
2434
-
2435
- it 'deserializes the data of csp_id' do
1264
+
1265
+ it "deserializes the data of csp_id" do
2436
1266
  expect(instance._deserialize("String", instance.csp_id)).to be_a_kind_of(String)
2437
1267
  end
2438
-
2439
-
2440
- it 'deserializes the data of brand_id' do
1268
+
1269
+ it "deserializes the data of brand_id" do
2441
1270
  expect(instance._deserialize("String", instance.brand_id)).to be_a_kind_of(String)
2442
1271
  end
2443
-
2444
-
2445
- it 'deserializes the data of first_name' do
1272
+
1273
+ it "deserializes the data of first_name" do
2446
1274
  expect(instance._deserialize("String", instance.first_name)).to be_a_kind_of(String)
2447
1275
  end
2448
-
2449
-
2450
- it 'deserializes the data of last_name' do
1276
+
1277
+ it "deserializes the data of last_name" do
2451
1278
  expect(instance._deserialize("String", instance.last_name)).to be_a_kind_of(String)
2452
1279
  end
2453
-
2454
-
2455
- it 'deserializes the data of display_name' do
1280
+
1281
+ it "deserializes the data of display_name" do
2456
1282
  expect(instance._deserialize("String", instance.display_name)).to be_a_kind_of(String)
2457
1283
  end
2458
-
2459
-
2460
- it 'deserializes the data of company_name' do
1284
+
1285
+ it "deserializes the data of company_name" do
2461
1286
  expect(instance._deserialize("String", instance.company_name)).to be_a_kind_of(String)
2462
1287
  end
2463
-
2464
-
2465
- it 'deserializes the data of ein' do
1288
+
1289
+ it "deserializes the data of ein" do
2466
1290
  expect(instance._deserialize("String", instance.ein)).to be_a_kind_of(String)
2467
1291
  end
2468
-
2469
-
2470
- it 'deserializes the data of ein_issuing_country' do
1292
+
1293
+ it "deserializes the data of ein_issuing_country" do
2471
1294
  expect(instance._deserialize("String", instance.ein_issuing_country)).to be_a_kind_of(String)
2472
1295
  end
2473
-
2474
-
2475
- it 'deserializes the data of phone' do
1296
+
1297
+ it "deserializes the data of phone" do
2476
1298
  expect(instance._deserialize("String", instance.phone)).to be_a_kind_of(String)
2477
1299
  end
2478
-
2479
-
2480
- it 'deserializes the data of street' do
1300
+
1301
+ it "deserializes the data of street" do
2481
1302
  expect(instance._deserialize("String", instance.street)).to be_a_kind_of(String)
2482
1303
  end
2483
-
2484
-
2485
- it 'deserializes the data of city' do
1304
+
1305
+ it "deserializes the data of city" do
2486
1306
  expect(instance._deserialize("String", instance.city)).to be_a_kind_of(String)
2487
1307
  end
2488
-
2489
-
2490
- it 'deserializes the data of state' do
1308
+
1309
+ it "deserializes the data of state" do
2491
1310
  expect(instance._deserialize("String", instance.state)).to be_a_kind_of(String)
2492
1311
  end
2493
-
2494
-
2495
- it 'deserializes the data of postal_code' do
1312
+
1313
+ it "deserializes the data of postal_code" do
2496
1314
  expect(instance._deserialize("String", instance.postal_code)).to be_a_kind_of(String)
2497
1315
  end
2498
-
2499
-
2500
- it 'deserializes the data of country' do
1316
+
1317
+ it "deserializes the data of country" do
2501
1318
  expect(instance._deserialize("String", instance.country)).to be_a_kind_of(String)
2502
1319
  end
2503
-
2504
-
2505
- it 'deserializes the data of email' do
1320
+
1321
+ it "deserializes the data of email" do
2506
1322
  expect(instance._deserialize("String", instance.email)).to be_a_kind_of(String)
2507
1323
  end
2508
-
2509
-
2510
- it 'deserializes the data of stock_symbol' do
1324
+
1325
+ it "deserializes the data of stock_symbol" do
2511
1326
  expect(instance._deserialize("String", instance.stock_symbol)).to be_a_kind_of(String)
2512
1327
  end
2513
-
2514
-
2515
-
2516
-
2517
- it 'deserializes the data of ip_address' do
1328
+
1329
+ it "deserializes the data of ip_address" do
2518
1330
  expect(instance._deserialize("String", instance.ip_address)).to be_a_kind_of(String)
2519
1331
  end
2520
-
2521
-
2522
- it 'deserializes the data of website' do
1332
+
1333
+ it "deserializes the data of website" do
2523
1334
  expect(instance._deserialize("String", instance.website)).to be_a_kind_of(String)
2524
1335
  end
2525
-
2526
-
2527
-
2528
-
2529
- it 'deserializes the data of vertical' do
1336
+
1337
+ it "deserializes the data of vertical" do
2530
1338
  expect(instance._deserialize("String", instance.vertical)).to be_a_kind_of(String)
2531
1339
  end
2532
-
2533
-
2534
- it 'deserializes the data of alt_business_id' do
1340
+
1341
+ it "deserializes the data of alt_business_id" do
2535
1342
  expect(instance._deserialize("String", instance.alt_business_id)).to be_a_kind_of(String)
2536
1343
  end
2537
-
2538
-
2539
-
2540
-
2541
- it 'deserializes the data of universal_ein' do
1344
+
1345
+ it "deserializes the data of universal_ein" do
2542
1346
  expect(instance._deserialize("String", instance.universal_ein)).to be_a_kind_of(String)
2543
1347
  end
2544
-
2545
-
2546
- it 'deserializes the data of reference_id' do
1348
+
1349
+ it "deserializes the data of reference_id" do
2547
1350
  expect(instance._deserialize("String", instance.reference_id)).to be_a_kind_of(String)
2548
1351
  end
2549
-
2550
-
2551
-
2552
- it 'deserializes the data of optional_attributes' do
1352
+
1353
+ it "deserializes the data of optional_attributes" do
2553
1354
  expect(instance._deserialize("Hash<String, Object>", instance.optional_attributes)).to be_a_kind_of(Hash)
2554
1355
  end
2555
-
2556
-
2557
-
2558
-
2559
- it 'deserializes the data of mock' do
1356
+
1357
+ it "deserializes the data of mock" do
2560
1358
  expect(instance._deserialize("Boolean", instance.mock)).to be_a_kind_of(TrueClass)
2561
1359
  end
2562
-
2563
-
2564
- it 'deserializes the data of create_date' do
1360
+
1361
+ it "deserializes the data of create_date" do
2565
1362
  expect(instance._deserialize("Time", instance.create_date)).to be_a_kind_of(Time)
2566
1363
  end
2567
-
2568
-
2569
1364
  end
2570
1365
 
2571
1366
  describe 'test method "to_s"' do
2572
- it 'returns the string representation of the object' do
1367
+ it "returns the string representation of the object" do
2573
1368
  instance = Freeclimb::SMSTenDLCBrand.new(
2574
-
2575
1369
  account_id: "TS",
2576
-
2577
-
2578
-
2579
-
1370
+
2580
1371
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
2581
-
2582
-
2583
-
2584
-
1372
+
2585
1373
  csp_id: "TS",
2586
-
2587
-
2588
-
2589
-
1374
+
2590
1375
  brand_id: "TS",
2591
-
2592
-
2593
-
2594
-
1376
+
2595
1377
  first_name: "TS",
2596
-
2597
-
2598
-
2599
-
1378
+
2600
1379
  last_name: "TS",
2601
-
2602
-
2603
-
2604
-
1380
+
2605
1381
  display_name: "TS",
2606
-
2607
-
2608
-
2609
-
1382
+
2610
1383
  company_name: "TS",
2611
-
2612
-
2613
-
2614
-
1384
+
2615
1385
  ein: "TS",
2616
-
2617
-
2618
-
2619
-
1386
+
2620
1387
  ein_issuing_country: "TS",
2621
-
2622
-
2623
-
2624
-
1388
+
2625
1389
  phone: "TS",
2626
-
2627
-
2628
-
2629
-
1390
+
2630
1391
  street: "TS",
2631
-
2632
-
2633
-
2634
-
1392
+
2635
1393
  city: "TS",
2636
-
2637
-
2638
-
2639
-
1394
+
2640
1395
  state: "TS",
2641
-
2642
-
2643
-
2644
-
1396
+
2645
1397
  postal_code: "TS",
2646
-
2647
-
2648
-
2649
-
1398
+
2650
1399
  country: "TS",
2651
-
2652
-
2653
-
2654
-
1400
+
2655
1401
  email: "TS",
2656
-
2657
-
2658
-
2659
-
1402
+
2660
1403
  stock_symbol: "TS",
2661
-
2662
-
2663
-
2664
-
1404
+
2665
1405
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
2666
-
2667
-
2668
-
2669
-
1406
+
2670
1407
  ip_address: "TS",
2671
-
2672
-
2673
-
2674
-
1408
+
2675
1409
  website: "TS",
2676
-
2677
-
2678
-
2679
-
1410
+
2680
1411
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
2681
-
2682
-
2683
-
2684
-
1412
+
2685
1413
  vertical: "TS",
2686
-
2687
-
2688
-
2689
-
1414
+
2690
1415
  alt_business_id: "TS",
2691
-
2692
-
2693
-
2694
-
1416
+
2695
1417
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
2696
-
2697
-
2698
-
2699
-
1418
+
2700
1419
  universal_ein: "TS",
2701
-
2702
-
2703
-
2704
-
1420
+
2705
1421
  reference_id: "TS",
2706
-
2707
-
2708
-
2709
-
2710
-
2711
- optional_attributes: Hash.new(),
2712
-
2713
-
1422
+
1423
+ optional_attributes: {},
1424
+
2714
1425
  mock: true,
2715
-
2716
-
2717
-
2718
-
1426
+
2719
1427
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
2720
-
2721
-
2722
-
2723
-
2724
- create_date: "2022-07-05T15:17:05Z",
2725
-
2726
-
1428
+
1429
+ create_date: "2022-07-05T15:17:05Z"
2727
1430
  )
2728
1431
  expect(instance.to_s).to eq(instance.to_hash.to_s)
2729
1432
  end
2730
1433
  end
2731
1434
 
2732
1435
  describe 'test method "to_hash"' do
2733
- it 'returns the object in the form of hash' do
1436
+ it "returns the object in the form of hash" do
2734
1437
  instance = Freeclimb::SMSTenDLCBrand.new(
2735
-
2736
1438
  account_id: "TS",
2737
-
2738
-
2739
-
2740
-
1439
+
2741
1440
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
2742
-
2743
-
2744
-
2745
-
1441
+
2746
1442
  csp_id: "TS",
2747
-
2748
-
2749
-
2750
-
1443
+
2751
1444
  brand_id: "TS",
2752
-
2753
-
2754
-
2755
-
1445
+
2756
1446
  first_name: "TS",
2757
-
2758
-
2759
-
2760
-
1447
+
2761
1448
  last_name: "TS",
2762
-
2763
-
2764
-
2765
-
1449
+
2766
1450
  display_name: "TS",
2767
-
2768
-
2769
-
2770
-
1451
+
2771
1452
  company_name: "TS",
2772
-
2773
-
2774
-
2775
-
1453
+
2776
1454
  ein: "TS",
2777
-
2778
-
2779
-
2780
-
1455
+
2781
1456
  ein_issuing_country: "TS",
2782
-
2783
-
2784
-
2785
-
1457
+
2786
1458
  phone: "TS",
2787
-
2788
-
2789
-
2790
-
1459
+
2791
1460
  street: "TS",
2792
-
2793
-
2794
-
2795
-
1461
+
2796
1462
  city: "TS",
2797
-
2798
-
2799
-
2800
-
1463
+
2801
1464
  state: "TS",
2802
-
2803
-
2804
-
2805
-
1465
+
2806
1466
  postal_code: "TS",
2807
-
2808
-
2809
-
2810
-
1467
+
2811
1468
  country: "TS",
2812
-
2813
-
2814
-
2815
-
1469
+
2816
1470
  email: "TS",
2817
-
2818
-
2819
-
2820
-
1471
+
2821
1472
  stock_symbol: "TS",
2822
-
2823
-
2824
-
2825
-
1473
+
2826
1474
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
2827
-
2828
-
2829
-
2830
-
1475
+
2831
1476
  ip_address: "TS",
2832
-
2833
-
2834
-
2835
-
1477
+
2836
1478
  website: "TS",
2837
-
2838
-
2839
-
2840
-
1479
+
2841
1480
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
2842
-
2843
-
2844
-
2845
-
1481
+
2846
1482
  vertical: "TS",
2847
-
2848
-
2849
-
2850
-
1483
+
2851
1484
  alt_business_id: "TS",
2852
-
2853
-
2854
-
2855
-
1485
+
2856
1486
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
2857
-
2858
-
2859
-
2860
-
1487
+
2861
1488
  universal_ein: "TS",
2862
-
2863
-
2864
-
2865
-
1489
+
2866
1490
  reference_id: "TS",
2867
-
2868
-
2869
-
2870
-
2871
-
2872
- optional_attributes: Hash.new(),
2873
-
2874
-
1491
+
1492
+ optional_attributes: {},
1493
+
2875
1494
  mock: true,
2876
-
2877
-
2878
-
2879
-
1495
+
2880
1496
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
2881
-
2882
-
2883
-
2884
-
2885
- create_date: "2022-07-05T15:17:05Z",
2886
-
2887
-
1497
+
1498
+ create_date: "2022-07-05T15:17:05Z"
2888
1499
  )
2889
1500
  expect(instance.to_hash).to be_a_kind_of(Hash)
2890
1501
  end
2891
- it 'creates equal hash for two equal objects' do
2892
-
2893
-
2894
-
2895
-
2896
-
2897
-
2898
-
2899
-
2900
-
2901
-
2902
-
2903
-
2904
-
2905
-
2906
-
2907
-
2908
-
2909
-
2910
-
2911
-
2912
-
2913
-
2914
-
2915
-
2916
-
2917
-
2918
-
2919
-
2920
-
2921
-
2922
-
1502
+ it "creates equal hash for two equal objects" do
2923
1503
  instance_1 = Freeclimb::SMSTenDLCBrand.new(
2924
-
2925
1504
  account_id: "TS",
2926
-
2927
-
2928
-
2929
-
1505
+
2930
1506
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
2931
-
2932
-
2933
-
2934
-
1507
+
2935
1508
  csp_id: "TS",
2936
-
2937
-
2938
-
2939
-
1509
+
2940
1510
  brand_id: "TS",
2941
-
2942
-
2943
-
2944
-
1511
+
2945
1512
  first_name: "TS",
2946
-
2947
-
2948
-
2949
-
1513
+
2950
1514
  last_name: "TS",
2951
-
2952
-
2953
-
2954
-
1515
+
2955
1516
  display_name: "TS",
2956
-
2957
-
2958
-
2959
-
1517
+
2960
1518
  company_name: "TS",
2961
-
2962
-
2963
-
2964
-
1519
+
2965
1520
  ein: "TS",
2966
-
2967
-
2968
-
2969
-
1521
+
2970
1522
  ein_issuing_country: "TS",
2971
-
2972
-
2973
-
2974
-
1523
+
2975
1524
  phone: "TS",
2976
-
2977
-
2978
-
2979
-
1525
+
2980
1526
  street: "TS",
2981
-
2982
-
2983
-
2984
-
1527
+
2985
1528
  city: "TS",
2986
-
2987
-
2988
-
2989
-
1529
+
2990
1530
  state: "TS",
2991
-
2992
-
2993
-
2994
-
1531
+
2995
1532
  postal_code: "TS",
2996
-
2997
-
2998
-
2999
-
1533
+
3000
1534
  country: "TS",
3001
-
3002
-
3003
-
3004
-
1535
+
3005
1536
  email: "TS",
3006
-
3007
-
3008
-
3009
-
1537
+
3010
1538
  stock_symbol: "TS",
3011
-
3012
-
3013
-
3014
-
1539
+
3015
1540
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
3016
-
3017
-
3018
-
3019
-
1541
+
3020
1542
  ip_address: "TS",
3021
-
3022
-
3023
-
3024
-
1543
+
3025
1544
  website: "TS",
3026
-
3027
-
3028
-
3029
-
1545
+
3030
1546
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
3031
-
3032
-
3033
-
3034
-
1547
+
3035
1548
  vertical: "TS",
3036
-
3037
-
3038
-
3039
-
1549
+
3040
1550
  alt_business_id: "TS",
3041
-
3042
-
3043
-
3044
-
1551
+
3045
1552
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
3046
-
3047
-
3048
-
3049
-
1553
+
3050
1554
  universal_ein: "TS",
3051
-
3052
-
3053
-
3054
-
1555
+
3055
1556
  reference_id: "TS",
3056
-
3057
-
3058
-
3059
-
3060
-
3061
- optional_attributes: Hash.new(),
3062
-
3063
-
1557
+
1558
+ optional_attributes: {},
1559
+
3064
1560
  mock: true,
3065
-
3066
-
3067
-
3068
-
1561
+
3069
1562
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
3070
-
3071
-
3072
-
3073
-
3074
- create_date: "2022-07-05T15:17:05Z",
3075
-
3076
-
1563
+
1564
+ create_date: "2022-07-05T15:17:05Z"
3077
1565
  )
3078
1566
  instance_2 = Freeclimb::SMSTenDLCBrand.new(
3079
-
3080
1567
  account_id: "TS",
3081
-
3082
-
3083
-
3084
-
1568
+
3085
1569
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
3086
-
3087
-
3088
-
3089
-
1570
+
3090
1571
  csp_id: "TS",
3091
-
3092
-
3093
-
3094
-
1572
+
3095
1573
  brand_id: "TS",
3096
-
3097
-
3098
-
3099
-
1574
+
3100
1575
  first_name: "TS",
3101
-
3102
-
3103
-
3104
-
1576
+
3105
1577
  last_name: "TS",
3106
-
3107
-
3108
-
3109
-
1578
+
3110
1579
  display_name: "TS",
3111
-
3112
-
3113
-
3114
-
1580
+
3115
1581
  company_name: "TS",
3116
-
3117
-
3118
-
3119
-
1582
+
3120
1583
  ein: "TS",
3121
-
3122
-
3123
-
3124
-
1584
+
3125
1585
  ein_issuing_country: "TS",
3126
-
3127
-
3128
-
3129
-
1586
+
3130
1587
  phone: "TS",
3131
-
3132
-
3133
-
3134
-
1588
+
3135
1589
  street: "TS",
3136
-
3137
-
3138
-
3139
-
1590
+
3140
1591
  city: "TS",
3141
-
3142
-
3143
-
3144
-
1592
+
3145
1593
  state: "TS",
3146
-
3147
-
3148
-
3149
-
1594
+
3150
1595
  postal_code: "TS",
3151
-
3152
-
3153
-
3154
-
1596
+
3155
1597
  country: "TS",
3156
-
3157
-
3158
-
3159
-
1598
+
3160
1599
  email: "TS",
3161
-
3162
-
3163
-
3164
-
1600
+
3165
1601
  stock_symbol: "TS",
3166
-
3167
-
3168
-
3169
-
1602
+
3170
1603
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
3171
-
3172
-
3173
-
3174
-
1604
+
3175
1605
  ip_address: "TS",
3176
-
3177
-
3178
-
3179
-
1606
+
3180
1607
  website: "TS",
3181
-
3182
-
3183
-
3184
-
1608
+
3185
1609
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
3186
-
3187
-
3188
-
3189
-
1610
+
3190
1611
  vertical: "TS",
3191
-
3192
-
3193
-
3194
-
1612
+
3195
1613
  alt_business_id: "TS",
3196
-
3197
-
3198
-
3199
-
1614
+
3200
1615
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
3201
-
3202
-
3203
-
3204
-
1616
+
3205
1617
  universal_ein: "TS",
3206
-
3207
-
3208
-
3209
-
1618
+
3210
1619
  reference_id: "TS",
3211
-
3212
-
3213
-
3214
-
3215
-
3216
- optional_attributes: Hash.new(),
3217
-
3218
-
1620
+
1621
+ optional_attributes: {},
1622
+
3219
1623
  mock: true,
3220
-
3221
-
3222
-
3223
-
1624
+
3224
1625
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
3225
-
3226
-
3227
-
3228
-
3229
- create_date: "2022-07-05T15:17:05Z",
3230
-
3231
-
1626
+
1627
+ create_date: "2022-07-05T15:17:05Z"
3232
1628
  )
3233
1629
  expect(instance_1.to_hash).to eq(instance_2.to_hash)
3234
1630
  end
@@ -3236,220 +1632,160 @@ describe Freeclimb::SMSTenDLCBrand do
3236
1632
 
3237
1633
  describe 'test method "_to_hash"' do
3238
1634
  instance = Freeclimb::SMSTenDLCBrand.new(
3239
-
3240
- account_id: "TS",
3241
-
3242
-
3243
-
3244
- entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
3245
-
3246
-
3247
-
3248
- csp_id: "TS",
3249
-
3250
-
3251
-
3252
- brand_id: "TS",
3253
-
3254
-
3255
-
3256
- first_name: "TS",
3257
-
3258
-
3259
-
3260
- last_name: "TS",
3261
-
3262
-
3263
-
3264
- display_name: "TS",
3265
-
3266
-
3267
-
3268
- company_name: "TS",
3269
-
3270
-
3271
-
3272
- ein: "TS",
3273
-
3274
-
3275
-
3276
- ein_issuing_country: "TS",
3277
-
3278
-
3279
-
3280
- phone: "TS",
3281
-
3282
-
3283
-
3284
- street: "TS",
3285
-
3286
-
3287
-
3288
- city: "TS",
3289
-
3290
-
3291
-
3292
- state: "TS",
3293
-
3294
-
3295
-
3296
- postal_code: "TS",
3297
-
3298
-
3299
-
3300
- country: "TS",
3301
-
3302
-
3303
-
3304
- email: "TS",
3305
-
3306
-
3307
-
3308
- stock_symbol: "TS",
3309
-
3310
-
3311
-
3312
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
3313
-
3314
-
3315
-
3316
- ip_address: "TS",
3317
-
3318
-
3319
-
3320
- website: "TS",
3321
-
3322
-
3323
-
3324
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
3325
-
3326
-
3327
-
3328
- vertical: "TS",
3329
-
3330
-
3331
-
3332
- alt_business_id: "TS",
3333
-
3334
-
3335
-
3336
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
3337
-
3338
-
3339
-
3340
- universal_ein: "TS",
3341
-
3342
-
3343
-
3344
- reference_id: "TS",
3345
-
3346
-
3347
- optional_attributes: Hash.new(),
3348
-
3349
-
3350
- mock: true,
3351
-
3352
-
3353
-
3354
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
3355
-
3356
-
3357
-
3358
- create_date: "2022-07-05T15:17:05Z",
3359
- )
3360
- it 'returns account_id in the form of hash' do
1635
+ account_id: "TS",
1636
+
1637
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1638
+
1639
+ csp_id: "TS",
1640
+
1641
+ brand_id: "TS",
1642
+
1643
+ first_name: "TS",
1644
+
1645
+ last_name: "TS",
1646
+
1647
+ display_name: "TS",
1648
+
1649
+ company_name: "TS",
1650
+
1651
+ ein: "TS",
1652
+
1653
+ ein_issuing_country: "TS",
1654
+
1655
+ phone: "TS",
1656
+
1657
+ street: "TS",
1658
+
1659
+ city: "TS",
1660
+
1661
+ state: "TS",
1662
+
1663
+ postal_code: "TS",
1664
+
1665
+ country: "TS",
1666
+
1667
+ email: "TS",
1668
+
1669
+ stock_symbol: "TS",
1670
+
1671
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1672
+
1673
+ ip_address: "TS",
1674
+
1675
+ website: "TS",
1676
+
1677
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1678
+
1679
+ vertical: "TS",
1680
+
1681
+ alt_business_id: "TS",
1682
+
1683
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1684
+
1685
+ universal_ein: "TS",
1686
+
1687
+ reference_id: "TS",
1688
+
1689
+ optional_attributes: {},
1690
+
1691
+ mock: true,
1692
+
1693
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1694
+
1695
+ create_date: "2022-07-05T15:17:05Z"
1696
+ )
1697
+ it "returns account_id in the form of hash" do
3361
1698
  expect(instance._to_hash(instance.account_id)).to eq(instance.account_id)
3362
1699
  end
3363
- it 'returns entity_type in the form of hash' do
1700
+ it "returns entity_type in the form of hash" do
3364
1701
  expect(instance._to_hash(instance.entity_type)).to eq(instance.entity_type)
3365
1702
  end
3366
- it 'returns csp_id in the form of hash' do
1703
+ it "returns csp_id in the form of hash" do
3367
1704
  expect(instance._to_hash(instance.csp_id)).to eq(instance.csp_id)
3368
1705
  end
3369
- it 'returns brand_id in the form of hash' do
1706
+ it "returns brand_id in the form of hash" do
3370
1707
  expect(instance._to_hash(instance.brand_id)).to eq(instance.brand_id)
3371
1708
  end
3372
- it 'returns first_name in the form of hash' do
1709
+ it "returns first_name in the form of hash" do
3373
1710
  expect(instance._to_hash(instance.first_name)).to eq(instance.first_name)
3374
1711
  end
3375
- it 'returns last_name in the form of hash' do
1712
+ it "returns last_name in the form of hash" do
3376
1713
  expect(instance._to_hash(instance.last_name)).to eq(instance.last_name)
3377
1714
  end
3378
- it 'returns display_name in the form of hash' do
1715
+ it "returns display_name in the form of hash" do
3379
1716
  expect(instance._to_hash(instance.display_name)).to eq(instance.display_name)
3380
1717
  end
3381
- it 'returns company_name in the form of hash' do
1718
+ it "returns company_name in the form of hash" do
3382
1719
  expect(instance._to_hash(instance.company_name)).to eq(instance.company_name)
3383
1720
  end
3384
- it 'returns ein in the form of hash' do
1721
+ it "returns ein in the form of hash" do
3385
1722
  expect(instance._to_hash(instance.ein)).to eq(instance.ein)
3386
1723
  end
3387
- it 'returns ein_issuing_country in the form of hash' do
1724
+ it "returns ein_issuing_country in the form of hash" do
3388
1725
  expect(instance._to_hash(instance.ein_issuing_country)).to eq(instance.ein_issuing_country)
3389
1726
  end
3390
- it 'returns phone in the form of hash' do
1727
+ it "returns phone in the form of hash" do
3391
1728
  expect(instance._to_hash(instance.phone)).to eq(instance.phone)
3392
1729
  end
3393
- it 'returns street in the form of hash' do
1730
+ it "returns street in the form of hash" do
3394
1731
  expect(instance._to_hash(instance.street)).to eq(instance.street)
3395
1732
  end
3396
- it 'returns city in the form of hash' do
1733
+ it "returns city in the form of hash" do
3397
1734
  expect(instance._to_hash(instance.city)).to eq(instance.city)
3398
1735
  end
3399
- it 'returns state in the form of hash' do
1736
+ it "returns state in the form of hash" do
3400
1737
  expect(instance._to_hash(instance.state)).to eq(instance.state)
3401
1738
  end
3402
- it 'returns postal_code in the form of hash' do
1739
+ it "returns postal_code in the form of hash" do
3403
1740
  expect(instance._to_hash(instance.postal_code)).to eq(instance.postal_code)
3404
1741
  end
3405
- it 'returns country in the form of hash' do
1742
+ it "returns country in the form of hash" do
3406
1743
  expect(instance._to_hash(instance.country)).to eq(instance.country)
3407
1744
  end
3408
- it 'returns email in the form of hash' do
1745
+ it "returns email in the form of hash" do
3409
1746
  expect(instance._to_hash(instance.email)).to eq(instance.email)
3410
1747
  end
3411
- it 'returns stock_symbol in the form of hash' do
1748
+ it "returns stock_symbol in the form of hash" do
3412
1749
  expect(instance._to_hash(instance.stock_symbol)).to eq(instance.stock_symbol)
3413
1750
  end
3414
- it 'returns stock_exchange in the form of hash' do
1751
+ it "returns stock_exchange in the form of hash" do
3415
1752
  expect(instance._to_hash(instance.stock_exchange)).to eq(instance.stock_exchange)
3416
1753
  end
3417
- it 'returns ip_address in the form of hash' do
1754
+ it "returns ip_address in the form of hash" do
3418
1755
  expect(instance._to_hash(instance.ip_address)).to eq(instance.ip_address)
3419
1756
  end
3420
- it 'returns website in the form of hash' do
1757
+ it "returns website in the form of hash" do
3421
1758
  expect(instance._to_hash(instance.website)).to eq(instance.website)
3422
1759
  end
3423
- it 'returns brand_relationship in the form of hash' do
1760
+ it "returns brand_relationship in the form of hash" do
3424
1761
  expect(instance._to_hash(instance.brand_relationship)).to eq(instance.brand_relationship)
3425
1762
  end
3426
- it 'returns vertical in the form of hash' do
1763
+ it "returns vertical in the form of hash" do
3427
1764
  expect(instance._to_hash(instance.vertical)).to eq(instance.vertical)
3428
1765
  end
3429
- it 'returns alt_business_id in the form of hash' do
1766
+ it "returns alt_business_id in the form of hash" do
3430
1767
  expect(instance._to_hash(instance.alt_business_id)).to eq(instance.alt_business_id)
3431
1768
  end
3432
- it 'returns alt_business_id_type in the form of hash' do
1769
+ it "returns alt_business_id_type in the form of hash" do
3433
1770
  expect(instance._to_hash(instance.alt_business_id_type)).to eq(instance.alt_business_id_type)
3434
1771
  end
3435
- it 'returns universal_ein in the form of hash' do
1772
+ it "returns universal_ein in the form of hash" do
3436
1773
  expect(instance._to_hash(instance.universal_ein)).to eq(instance.universal_ein)
3437
1774
  end
3438
- it 'returns reference_id in the form of hash' do
1775
+ it "returns reference_id in the form of hash" do
3439
1776
  expect(instance._to_hash(instance.reference_id)).to eq(instance.reference_id)
3440
1777
  end
3441
- it 'returns optional_attributes in the form of hash' do
1778
+ it "returns optional_attributes in the form of hash" do
3442
1779
  expect(instance._to_hash(instance.optional_attributes)).to eq(instance.optional_attributes)
3443
1780
  end
3444
- it 'returns mock in the form of hash' do
1781
+ it "returns mock in the form of hash" do
3445
1782
  expect(instance._to_hash(instance.mock)).to eq(instance.mock)
3446
1783
  end
3447
- it 'returns identity_status in the form of hash' do
1784
+ it "returns identity_status in the form of hash" do
3448
1785
  expect(instance._to_hash(instance.identity_status)).to eq(instance.identity_status)
3449
1786
  end
3450
- it 'returns create_date in the form of hash' do
1787
+ it "returns create_date in the form of hash" do
3451
1788
  expect(instance._to_hash(instance.create_date)).to eq(instance.create_date)
3452
1789
  end
3453
1790
  end
3454
-
3455
1791
  end