freeclimb 5.0.0 → 5.1.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 (160) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -1
  3. data/Gemfile +2 -1
  4. data/Gemfile.lock +21 -15
  5. data/README.md +5 -4
  6. data/docs/MessageResult.md +7 -1
  7. data/docs/TFNCampaign.md +34 -0
  8. data/lib/freeclimb/configuration.rb +1 -2
  9. data/lib/freeclimb/models/dequeue.rb +2 -4
  10. data/lib/freeclimb/models/message_result.rb +36 -5
  11. data/lib/freeclimb/models/remove_from_conference.rb +2 -4
  12. data/lib/freeclimb/models/start_record_call.rb +2 -4
  13. data/lib/freeclimb/models/terminate_conference.rb +2 -4
  14. data/lib/freeclimb/models/tfn_campaign.rb +370 -0
  15. data/lib/freeclimb/models/unpark.rb +2 -4
  16. data/lib/freeclimb/version.rb +1 -1
  17. data/lib/freeclimb.rb +1 -0
  18. data/openapi.json +93 -38
  19. data/spec/api/default_api_spec.rb +39 -117
  20. data/spec/models/account_request_spec.rb +113 -2
  21. data/spec/models/account_result_spec.rb +591 -28
  22. data/spec/models/account_status_spec.rb +1 -0
  23. data/spec/models/account_type_spec.rb +1 -0
  24. data/spec/models/add_to_conference_notification_webhook_spec.rb +654 -5
  25. data/spec/models/add_to_conference_spec.rb +471 -2
  26. data/spec/models/add_to_queue_notification_webhook_spec.rb +465 -2
  27. data/spec/models/answered_by_spec.rb +1 -0
  28. data/spec/models/application_list_spec.rb +323 -2
  29. data/spec/models/application_request_spec.rb +393 -2
  30. data/spec/models/application_result_spec.rb +723 -14
  31. data/spec/models/available_number_list_spec.rb +323 -2
  32. data/spec/models/available_number_spec.rb +380 -21
  33. data/spec/models/barge_in_reason_spec.rb +1 -0
  34. data/spec/models/buy_incoming_number_request_spec.rb +169 -2
  35. data/spec/models/call_control_webhook_spec.rb +281 -2
  36. data/spec/models/call_direction_spec.rb +1 -0
  37. data/spec/models/call_ended_reason_spec.rb +1 -0
  38. data/spec/models/call_list_spec.rb +323 -2
  39. data/spec/models/call_result_spec.rb +1020 -9
  40. data/spec/models/call_status_spec.rb +1 -0
  41. data/spec/models/call_status_webhook_spec.rb +501 -2
  42. data/spec/models/capabilities_spec.rb +191 -2
  43. data/spec/models/completion_request_spec.rb +54 -2
  44. data/spec/models/completion_result_spec.rb +93 -2
  45. data/spec/models/completion_result_status_spec.rb +1 -0
  46. data/spec/models/conference_list_spec.rb +323 -2
  47. data/spec/models/conference_participant_list_spec.rb +323 -2
  48. data/spec/models/conference_participant_result_spec.rb +532 -7
  49. data/spec/models/conference_recording_status_webhook_spec.rb +654 -5
  50. data/spec/models/conference_result_spec.rb +768 -55
  51. data/spec/models/conference_status_spec.rb +1 -0
  52. data/spec/models/conference_status_webhook_spec.rb +654 -5
  53. data/spec/models/create_conference_request_spec.rb +243 -2
  54. data/spec/models/create_conference_spec.rb +281 -2
  55. data/spec/models/create_conference_webhook_spec.rb +654 -5
  56. data/spec/models/create_web_rtc_token_spec.rb +151 -2
  57. data/spec/models/dequeue_spec.rb +1 -0
  58. data/spec/models/dequeue_webhook_spec.rb +565 -8
  59. data/spec/models/enqueue_spec.rb +225 -2
  60. data/spec/models/filter_logs_request_spec.rb +57 -2
  61. data/spec/models/get_digits_reason_spec.rb +1 -0
  62. data/spec/models/get_digits_spec.rb +379 -2
  63. data/spec/models/get_digits_webhook_spec.rb +623 -12
  64. data/spec/models/get_speech_reason_spec.rb +1 -0
  65. data/spec/models/get_speech_spec.rb +556 -11
  66. data/spec/models/get_speech_webhook_spec.rb +870 -15
  67. data/spec/models/grammar_file_built_in_spec.rb +1 -0
  68. data/spec/models/grammar_type_spec.rb +1 -0
  69. data/spec/models/hangup_spec.rb +57 -2
  70. data/spec/models/if_machine_spec.rb +1 -0
  71. data/spec/models/inbound_call_webhook_spec.rb +521 -2
  72. data/spec/models/incoming_number_list_spec.rb +323 -2
  73. data/spec/models/incoming_number_request_spec.rb +169 -2
  74. data/spec/models/incoming_number_result_spec.rb +930 -43
  75. data/spec/models/language_spec.rb +1 -0
  76. data/spec/models/leave_conference_webhook_spec.rb +465 -2
  77. data/spec/models/log_level_spec.rb +1 -0
  78. data/spec/models/log_list_spec.rb +323 -2
  79. data/spec/models/log_result_spec.rb +368 -9
  80. data/spec/models/machine_detected_webhook_spec.rb +565 -10
  81. data/spec/models/machine_type_spec.rb +1 -0
  82. data/spec/models/make_call_request_spec.rb +529 -6
  83. data/spec/models/message_delivery_webhook_spec.rb +565 -6
  84. data/spec/models/message_direction_spec.rb +1 -0
  85. data/spec/models/message_request_spec.rb +469 -2
  86. data/spec/models/message_result_spec.rb +1364 -225
  87. data/spec/models/message_status_spec.rb +1 -0
  88. data/spec/models/message_status_webhook_spec.rb +615 -20
  89. data/spec/models/messages_list_spec.rb +323 -2
  90. data/spec/models/mutable_resource_model_spec.rb +207 -2
  91. data/spec/models/out_dial_api_connect_webhook_spec.rb +521 -2
  92. data/spec/models/out_dial_connect_webhook_spec.rb +521 -2
  93. data/spec/models/out_dial_spec.rb +505 -2
  94. data/spec/models/out_dial_start_webhook_spec.rb +599 -24
  95. data/spec/models/pagination_model_spec.rb +285 -2
  96. data/spec/models/park_spec.rb +169 -2
  97. data/spec/models/pause_spec.rb +39 -2
  98. data/spec/models/percl_command_spec.rb +54 -2
  99. data/spec/models/percl_script_spec.rb +39 -2
  100. data/spec/models/play_beep_spec.rb +1 -0
  101. data/spec/models/play_early_media_spec.rb +57 -2
  102. data/spec/models/play_spec.rb +133 -2
  103. data/spec/models/queue_list_spec.rb +323 -2
  104. data/spec/models/queue_member_list_spec.rb +323 -2
  105. data/spec/models/queue_member_spec.rb +245 -2
  106. data/spec/models/queue_request_spec.rb +95 -2
  107. data/spec/models/queue_result_spec.rb +564 -15
  108. data/spec/models/queue_result_status_spec.rb +1 -0
  109. data/spec/models/queue_wait_webhook_spec.rb +616 -21
  110. data/spec/models/record_utterance_spec.rb +303 -2
  111. data/spec/models/record_utterance_term_reason_spec.rb +1 -0
  112. data/spec/models/record_webhook_spec.rb +868 -13
  113. data/spec/models/recording_list_spec.rb +323 -2
  114. data/spec/models/recording_result_spec.rb +469 -2
  115. data/spec/models/redirect_spec.rb +57 -2
  116. data/spec/models/redirect_webhook_spec.rb +521 -2
  117. data/spec/models/reject_spec.rb +57 -2
  118. data/spec/models/remove_from_conference_spec.rb +1 -0
  119. data/spec/models/remove_from_queue_notification_webhook_spec.rb +546 -9
  120. data/spec/models/request_type_spec.rb +1 -0
  121. data/spec/models/say_spec.rb +189 -2
  122. data/spec/models/send_digits_spec.rb +133 -2
  123. data/spec/models/set_dtmf_pass_through_spec.rb +39 -2
  124. data/spec/models/set_listen_spec.rb +39 -2
  125. data/spec/models/set_talk_spec.rb +39 -2
  126. data/spec/models/sms_spec.rb +225 -2
  127. data/spec/models/sms_ten_dlc_brand_alt_business_id_type_spec.rb +1 -0
  128. data/spec/models/sms_ten_dlc_brand_entity_type_spec.rb +1 -0
  129. data/spec/models/sms_ten_dlc_brand_identity_status_spec.rb +1 -0
  130. data/spec/models/sms_ten_dlc_brand_relationship_spec.rb +1 -0
  131. data/spec/models/sms_ten_dlc_brand_spec.rb +1969 -423
  132. data/spec/models/sms_ten_dlc_brand_stock_exchange_spec.rb +1 -0
  133. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +323 -2
  134. data/spec/models/sms_ten_dlc_campaign_spec.rb +2224 -550
  135. data/spec/models/sms_ten_dlc_campaign_status_spec.rb +1 -0
  136. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +323 -2
  137. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +597 -17
  138. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +1537 -155
  139. data/spec/models/sms_ten_dlc_partner_campaign_status_spec.rb +1 -0
  140. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +323 -2
  141. data/spec/models/sms_toll_free_campaign_registration_status_spec.rb +1 -0
  142. data/spec/models/sms_toll_free_campaign_spec.rb +355 -2
  143. data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +323 -2
  144. data/spec/models/start_record_call_spec.rb +1 -0
  145. data/spec/models/terminate_conference_spec.rb +1 -0
  146. data/spec/models/tfn_campaign_spec.rb +1089 -0
  147. data/spec/models/tfn_spec.rb +57 -2
  148. data/spec/models/transcribe_reason_spec.rb +1 -0
  149. data/spec/models/transcribe_term_reason_spec.rb +1 -0
  150. data/spec/models/transcribe_utterance_record_spec.rb +115 -2
  151. data/spec/models/transcribe_utterance_spec.rb +288 -21
  152. data/spec/models/transcribe_webhook_spec.rb +1049 -4
  153. data/spec/models/unpark_spec.rb +1 -0
  154. data/spec/models/update_call_request_spec.rb +37 -2
  155. data/spec/models/update_call_request_status_spec.rb +1 -0
  156. data/spec/models/update_conference_participant_request_spec.rb +115 -2
  157. data/spec/models/update_conference_request_spec.rb +129 -2
  158. data/spec/models/update_conference_request_status_spec.rb +1 -0
  159. data/spec/models/webhook_spec.rb +54 -2
  160. metadata +129 -125
@@ -13,6 +13,7 @@ OpenAPI Generator version: 7.9.0
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
+ include Freeclimb
16
17
 
17
18
  # Unit tests for Freeclimb::SMSTenDLCPartnerCampaign
18
19
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
@@ -28,17 +29,23 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
28
29
 
29
30
  describe 'test attribute "account_id"' do
30
31
  it 'should work' do
32
+
31
33
  instance.account_id = "TEST_STRING"
32
34
  expect(instance.account_id).to eq("TEST_STRING")
33
35
 
36
+
37
+
34
38
  end
35
39
  end
36
40
 
37
41
  describe 'test attribute "campaign_id"' do
38
42
  it 'should work' do
43
+
39
44
  instance.campaign_id = "TEST_STRING"
40
45
  expect(instance.campaign_id).to eq("TEST_STRING")
41
46
 
47
+
48
+
42
49
  end
43
50
  end
44
51
 
@@ -58,6 +65,8 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
58
65
  instance.create_date = "2022-07-05T15:17:05Z"
59
66
  expect(instance.create_date).to eq("2022-07-05T15:17:05Z")
60
67
 
68
+
69
+
61
70
  end
62
71
  end
63
72
 
@@ -96,6 +105,8 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
96
105
  instance.embedded_link = false
97
106
  expect(instance.embedded_link).to eq(false)
98
107
 
108
+
109
+
99
110
  end
100
111
  end
101
112
 
@@ -104,6 +115,8 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
104
115
  instance.embedded_phone = false
105
116
  expect(instance.embedded_phone).to eq(false)
106
117
 
118
+
119
+
107
120
  end
108
121
  end
109
122
 
@@ -112,6 +125,8 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
112
125
  instance.affiliate_marketing = false
113
126
  expect(instance.affiliate_marketing).to eq(false)
114
127
 
128
+
129
+
115
130
  end
116
131
  end
117
132
 
@@ -120,6 +135,8 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
120
135
  instance.number_pool = false
121
136
  expect(instance.number_pool).to eq(false)
122
137
 
138
+
139
+
123
140
  end
124
141
  end
125
142
 
@@ -128,6 +145,8 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
128
145
  instance.age_gated = false
129
146
  expect(instance.age_gated).to eq(false)
130
147
 
148
+
149
+
131
150
  end
132
151
  end
133
152
 
@@ -136,6 +155,8 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
136
155
  instance.direct_lending = false
137
156
  expect(instance.direct_lending).to eq(false)
138
157
 
158
+
159
+
139
160
  end
140
161
  end
141
162
 
@@ -144,6 +165,8 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
144
165
  instance.subscriber_optin = false
145
166
  expect(instance.subscriber_optin).to eq(false)
146
167
 
168
+
169
+
147
170
  end
148
171
  end
149
172
 
@@ -152,6 +175,8 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
152
175
  instance.subscriber_optout = false
153
176
  expect(instance.subscriber_optout).to eq(false)
154
177
 
178
+
179
+
155
180
  end
156
181
  end
157
182
 
@@ -160,6 +185,8 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
160
185
  instance.subscriber_help = false
161
186
  expect(instance.subscriber_help).to eq(false)
162
187
 
188
+
189
+
163
190
  end
164
191
  end
165
192
 
@@ -286,267 +313,574 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
286
313
  describe 'test attribute "brand"' do
287
314
  it 'should work' do
288
315
 
289
- instance.brand = Freeclimb::SMSTenDLCPartnerCampaignBrand.new
290
- expect(instance.brand).to be_instance_of(Freeclimb::SMSTenDLCPartnerCampaignBrand)
316
+
317
+
318
+ instance.brand = SMSTenDLCPartnerCampaignBrand.new
319
+ expect(instance.brand).to be_instance_of(SMSTenDLCPartnerCampaignBrand)
320
+
291
321
  end
292
322
  end
293
323
 
294
324
  describe 'test method "initialize"' do
295
325
  it 'properly initializes with values' do
296
326
  expect { instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
327
+
297
328
  account_id: "TS",
298
329
 
330
+
331
+
332
+
299
333
  campaign_id: "TS",
300
334
 
301
335
 
336
+
337
+
302
338
  status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
303
339
 
304
340
 
341
+
342
+
305
343
  create_date: "2022-07-05T15:17:05Z",
344
+
345
+
346
+
306
347
  brand_id: "TS",
307
348
 
349
+
350
+
351
+
308
352
  usecase: "TS",
309
353
 
354
+
355
+
356
+
310
357
  description: "TS",
311
358
 
359
+
360
+
312
361
  embedded_link: true,
313
362
 
363
+
364
+
314
365
  embedded_phone: true,
315
366
 
367
+
368
+
316
369
  affiliate_marketing: true,
317
370
 
371
+
372
+
318
373
  number_pool: true,
319
374
 
375
+
376
+
320
377
  age_gated: true,
321
378
 
379
+
380
+
322
381
  direct_lending: true,
323
382
 
383
+
384
+
324
385
  subscriber_optin: true,
325
386
 
387
+
388
+
326
389
  subscriber_optout: true,
327
390
 
391
+
392
+
328
393
  subscriber_help: true,
329
394
 
395
+
396
+
397
+
330
398
  sample1: "TS",
331
399
 
400
+
401
+
402
+
332
403
  sample2: "TS",
333
404
 
405
+
406
+
407
+
334
408
  sample3: "TS",
335
409
 
410
+
411
+
412
+
336
413
  sample4: "TS",
337
414
 
415
+
416
+
417
+
338
418
  sample5: "TS",
339
419
 
420
+
421
+
422
+
340
423
  message_flow: "TS",
341
424
 
425
+
426
+
427
+
342
428
  help_message: "TS",
343
429
 
430
+
431
+
432
+
344
433
  optin_keywords: "TS",
345
434
 
435
+
436
+
437
+
346
438
  optout_keywords: "TS",
347
439
 
440
+
441
+
442
+
348
443
  help_keywords: "TS",
349
444
 
445
+
446
+
447
+
350
448
  optin_message: "TS",
351
449
 
450
+
451
+
452
+
352
453
  optout_message: "TS",
353
454
 
354
455
 
355
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new(),
456
+
457
+
458
+
459
+
460
+ brand: SMSTenDLCPartnerCampaignBrand.new(),
461
+
356
462
  )}.not_to raise_error()
357
463
  end
358
464
  it 'fails to initialize with input argument that is not a hash in Freeclimb::SMSTenDLCPartnerCampaign' do
359
465
  expect { instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
466
+
360
467
  account_id: "TS",
361
468
 
469
+
470
+
471
+
362
472
  campaign_id: "TS",
363
473
 
364
474
 
475
+
476
+
365
477
  status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
366
478
 
367
479
 
480
+
481
+
368
482
  create_date: "2022-07-05T15:17:05Z",
483
+
484
+
485
+
369
486
  brand_id: "TS",
370
487
 
488
+
489
+
490
+
371
491
  usecase: "TS",
372
492
 
493
+
494
+
495
+
373
496
  description: "TS",
374
497
 
498
+
499
+
375
500
  embedded_link: true,
376
501
 
502
+
503
+
377
504
  embedded_phone: true,
378
505
 
506
+
507
+
379
508
  affiliate_marketing: true,
380
509
 
510
+
511
+
381
512
  number_pool: true,
382
513
 
514
+
515
+
383
516
  age_gated: true,
384
517
 
518
+
519
+
385
520
  direct_lending: true,
386
521
 
522
+
523
+
387
524
  subscriber_optin: true,
388
525
 
526
+
527
+
389
528
  subscriber_optout: true,
390
529
 
530
+
531
+
391
532
  subscriber_help: true,
392
533
 
534
+
535
+
536
+
393
537
  sample1: "TS",
394
538
 
539
+
540
+
541
+
395
542
  sample2: "TS",
396
543
 
544
+
545
+
546
+
397
547
  sample3: "TS",
398
548
 
549
+
550
+
551
+
399
552
  sample4: "TS",
400
553
 
554
+
555
+
556
+
401
557
  sample5: "TS",
402
558
 
559
+
560
+
561
+
403
562
  message_flow: "TS",
404
563
 
564
+
565
+
566
+
405
567
  help_message: "TS",
406
568
 
569
+
570
+
571
+
407
572
  optin_keywords: "TS",
408
573
 
574
+
575
+
576
+
409
577
  optout_keywords: "TS",
410
578
 
579
+
580
+
581
+
411
582
  help_keywords: "TS",
412
583
 
584
+
585
+
586
+
413
587
  optin_message: "TS",
414
588
 
589
+
590
+
591
+
415
592
  optout_message: "TS",
416
593
 
417
594
 
418
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new,
595
+
596
+
597
+
598
+
599
+ brand: SMSTenDLCPartnerCampaignBrand.new,
600
+
419
601
  invalid_attribute: true
420
602
  )}.to raise_error(ArgumentError)
421
603
  end
422
604
  it 'fails to initialize with invalid attribute' do
423
605
  expect { instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
606
+
424
607
  account_id: "TS",
425
608
 
609
+
610
+
611
+
426
612
  campaign_id: "TS",
427
613
 
428
614
 
615
+
616
+
429
617
  status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
430
618
 
431
619
 
620
+
621
+
432
622
  create_date: "2022-07-05T15:17:05Z",
623
+
624
+
625
+
433
626
  brand_id: "TS",
434
627
 
628
+
629
+
630
+
435
631
  usecase: "TS",
436
632
 
633
+
634
+
635
+
437
636
  description: "TS",
438
637
 
638
+
639
+
439
640
  embedded_link: true,
440
641
 
642
+
643
+
441
644
  embedded_phone: true,
442
645
 
646
+
647
+
443
648
  affiliate_marketing: true,
444
649
 
650
+
651
+
445
652
  number_pool: true,
446
653
 
654
+
655
+
447
656
  age_gated: true,
448
657
 
658
+
659
+
449
660
  direct_lending: true,
450
661
 
662
+
663
+
451
664
  subscriber_optin: true,
452
665
 
666
+
667
+
453
668
  subscriber_optout: true,
454
669
 
670
+
671
+
455
672
  subscriber_help: true,
456
673
 
674
+
675
+
676
+
457
677
  sample1: "TS",
458
678
 
679
+
680
+
681
+
459
682
  sample2: "TS",
460
683
 
684
+
685
+
686
+
461
687
  sample3: "TS",
462
688
 
689
+
690
+
691
+
463
692
  sample4: "TS",
464
693
 
694
+
695
+
696
+
465
697
  sample5: "TS",
466
698
 
699
+
700
+
701
+
467
702
  message_flow: "TS",
468
703
 
704
+
705
+
706
+
469
707
  help_message: "TS",
470
708
 
709
+
710
+
711
+
471
712
  optin_keywords: "TS",
472
713
 
714
+
715
+
716
+
473
717
  optout_keywords: "TS",
474
718
 
719
+
720
+
721
+
475
722
  help_keywords: "TS",
476
723
 
724
+
725
+
726
+
477
727
  optin_message: "TS",
478
728
 
729
+
730
+
731
+
479
732
  optout_message: "TS",
480
733
 
481
734
 
482
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new,
483
- invalid_attribute: true
484
- )}.to raise_error(ArgumentError)
485
- end
486
- end
735
+
736
+
737
+
738
+
739
+ brand: SMSTenDLCPartnerCampaignBrand.new,
740
+
741
+ invalid_attribute: true
742
+ )}.to raise_error(ArgumentError)
743
+ end
744
+ end
487
745
 
488
746
  describe 'test method "valid"' do
489
747
  it 'checks if properties are valid' do
490
748
  instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
749
+
491
750
  account_id: "TS",
492
751
 
752
+
753
+
754
+
493
755
  campaign_id: "TS",
494
756
 
495
757
 
758
+
759
+
496
760
  status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
497
761
 
498
762
 
763
+
764
+
499
765
  create_date: "2022-07-05T15:17:05Z",
766
+
767
+
768
+
500
769
  brand_id: "TS",
501
770
 
771
+
772
+
773
+
502
774
  usecase: "TS",
503
775
 
776
+
777
+
778
+
504
779
  description: "TS",
505
780
 
781
+
782
+
506
783
  embedded_link: true,
507
784
 
785
+
786
+
508
787
  embedded_phone: true,
509
788
 
789
+
790
+
510
791
  affiliate_marketing: true,
511
792
 
793
+
794
+
512
795
  number_pool: true,
513
796
 
797
+
798
+
514
799
  age_gated: true,
515
800
 
801
+
802
+
516
803
  direct_lending: true,
517
804
 
805
+
806
+
518
807
  subscriber_optin: true,
519
808
 
809
+
810
+
520
811
  subscriber_optout: true,
521
812
 
813
+
814
+
522
815
  subscriber_help: true,
523
816
 
817
+
818
+
819
+
524
820
  sample1: "TS",
525
821
 
822
+
823
+
824
+
526
825
  sample2: "TS",
527
826
 
827
+
828
+
829
+
528
830
  sample3: "TS",
529
831
 
832
+
833
+
834
+
530
835
  sample4: "TS",
531
836
 
837
+
838
+
839
+
532
840
  sample5: "TS",
533
841
 
842
+
843
+
844
+
534
845
  message_flow: "TS",
535
846
 
847
+
848
+
849
+
536
850
  help_message: "TS",
537
851
 
852
+
853
+
854
+
538
855
  optin_keywords: "TS",
539
856
 
857
+
858
+
859
+
540
860
  optout_keywords: "TS",
541
861
 
862
+
863
+
864
+
542
865
  help_keywords: "TS",
543
866
 
867
+
868
+
869
+
544
870
  optin_message: "TS",
545
871
 
872
+
873
+
874
+
546
875
  optout_message: "TS",
547
876
 
548
877
 
549
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new(),
878
+
879
+
880
+
881
+
882
+ brand: SMSTenDLCPartnerCampaignBrand.new(),
883
+
550
884
  )
551
885
  expect(instance.valid?).to eq(true)
552
886
  end
@@ -563,249 +897,583 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
563
897
 
564
898
  describe 'test method "eql?"' do
565
899
  it 'checks if objects are equal' do
566
- obj = Object.new()
900
+
901
+
902
+
903
+
904
+
905
+
906
+
907
+
908
+
909
+
910
+
911
+
912
+
913
+
914
+
915
+
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+ obj_SMSTenDLCPartnerCampaignBrand = SMSTenDLCPartnerCampaignBrand.new()
930
+
567
931
  instance_1 = Freeclimb::SMSTenDLCPartnerCampaign.new(
932
+
568
933
  account_id: "TS",
569
934
 
570
- campaign_id: "TS",
571
935
 
572
936
 
573
- status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
574
937
 
938
+ campaign_id: "TS",
575
939
 
576
- brand_id: "TS",
577
940
 
578
- usecase: "TS",
579
941
 
580
- description: "TS",
581
942
 
582
- embedded_link: true,
583
943
 
584
- embedded_phone: true,
585
944
 
586
- affiliate_marketing: true,
945
+ status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
587
946
 
588
- number_pool: true,
589
947
 
590
- age_gated: true,
591
948
 
592
- direct_lending: true,
593
949
 
594
- subscriber_optin: true,
595
950
 
596
- subscriber_optout: true,
951
+ brand_id: "TS",
597
952
 
598
- subscriber_help: true,
599
953
 
600
- sample1: "TS",
601
954
 
602
- sample2: "TS",
603
955
 
604
- sample3: "TS",
956
+ usecase: "TS",
605
957
 
606
- sample4: "TS",
607
958
 
608
- sample5: "TS",
609
959
 
610
- message_flow: "TS",
611
960
 
612
- help_message: "TS",
961
+ description: "TS",
613
962
 
614
- optin_keywords: "TS",
615
963
 
616
- optout_keywords: "TS",
617
964
 
618
- help_keywords: "TS",
965
+ embedded_link: true,
619
966
 
620
- optin_message: "TS",
621
967
 
622
- optout_message: "TS",
623
968
 
624
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new(),
969
+ embedded_phone: true,
625
970
 
626
- )
627
- instance_2 = Freeclimb::SMSTenDLCPartnerCampaign.new(
628
- account_id: "TS",
629
971
 
630
- campaign_id: "TS",
631
972
 
973
+ affiliate_marketing: true,
632
974
 
633
- status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
634
975
 
635
976
 
636
- brand_id: "TS",
977
+ number_pool: true,
637
978
 
638
- usecase: "TS",
639
979
 
640
- description: "TS",
641
980
 
642
- embedded_link: true,
981
+ age_gated: true,
643
982
 
644
- embedded_phone: true,
645
983
 
646
- affiliate_marketing: true,
647
984
 
648
- number_pool: true,
985
+ direct_lending: true,
649
986
 
650
- age_gated: true,
651
987
 
652
- direct_lending: true,
653
988
 
654
989
  subscriber_optin: true,
655
990
 
991
+
992
+
656
993
  subscriber_optout: true,
657
994
 
995
+
996
+
658
997
  subscriber_help: true,
659
998
 
660
- sample1: "TS",
661
999
 
662
- sample2: "TS",
663
1000
 
664
- sample3: "TS",
665
1001
 
666
- sample4: "TS",
1002
+ sample1: "TS",
667
1003
 
668
- sample5: "TS",
669
1004
 
670
- message_flow: "TS",
671
1005
 
672
- help_message: "TS",
673
1006
 
674
- optin_keywords: "TS",
1007
+ sample2: "TS",
675
1008
 
676
- optout_keywords: "TS",
677
1009
 
678
- help_keywords: "TS",
679
1010
 
680
- optin_message: "TS",
681
1011
 
682
- optout_message: "TS",
1012
+ sample3: "TS",
683
1013
 
684
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new(),
685
1014
 
686
- )
687
- expect(instance_1.eql?(instance_2)).to eq(true)
688
- end
689
-
690
- it 'checks if objects are not equal' do
691
- instance_1 = Freeclimb::SMSTenDLCPartnerCampaign.new(
692
- account_id: "TS",
693
1015
 
694
- campaign_id: "TS",
695
1016
 
1017
+ sample4: "TS",
696
1018
 
697
- status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
698
1019
 
699
1020
 
700
- brand_id: "TS",
701
1021
 
702
- usecase: "TS",
1022
+ sample5: "TS",
703
1023
 
704
- description: "TS",
705
1024
 
706
- embedded_link: true,
707
1025
 
708
- embedded_phone: true,
709
1026
 
710
- affiliate_marketing: true,
1027
+ message_flow: "TS",
711
1028
 
712
- number_pool: true,
713
1029
 
714
- age_gated: true,
715
1030
 
716
- direct_lending: true,
717
1031
 
718
- subscriber_optin: true,
1032
+ help_message: "TS",
719
1033
 
720
- subscriber_optout: true,
721
1034
 
722
- subscriber_help: true,
723
1035
 
724
- sample1: "TS",
725
1036
 
726
- sample2: "TS",
1037
+ optin_keywords: "TS",
727
1038
 
728
- sample3: "TS",
729
1039
 
730
- sample4: "TS",
731
1040
 
732
- sample5: "TS",
733
1041
 
734
- message_flow: "TS",
1042
+ optout_keywords: "TS",
735
1043
 
736
- help_message: "TS",
737
1044
 
738
- optin_keywords: "TS",
739
1045
 
740
- optout_keywords: "TS",
741
1046
 
742
1047
  help_keywords: "TS",
743
1048
 
744
- optin_message: "TS",
745
1049
 
746
- optout_message: "TS",
747
1050
 
748
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new(),
749
1051
 
750
- )
751
- instance_2 = Freeclimb::SMSTenDLCPartnerCampaign.new(
752
- account_id: "ST",
1052
+ optin_message: "TS",
753
1053
 
754
- campaign_id: "ST",
755
1054
 
756
1055
 
757
- status: nil,
758
1056
 
1057
+ optout_message: "TS",
759
1058
 
760
- brand_id: "ST",
761
1059
 
762
- usecase: "ST",
763
1060
 
764
- description: "ST",
765
1061
 
766
- embedded_link: false,
767
1062
 
768
- embedded_phone: false,
1063
+ brand: obj_SMSTenDLCPartnerCampaignBrand,
769
1064
 
770
- affiliate_marketing: false,
771
1065
 
772
- number_pool: false,
1066
+ )
1067
+ instance_2 = Freeclimb::SMSTenDLCPartnerCampaign.new(
773
1068
 
774
- age_gated: false,
1069
+ account_id: "TS",
775
1070
 
776
- direct_lending: false,
777
1071
 
778
- subscriber_optin: false,
779
1072
 
780
- subscriber_optout: false,
781
1073
 
782
- subscriber_help: false,
1074
+ campaign_id: "TS",
783
1075
 
784
- sample1: "ST",
785
1076
 
786
- sample2: "ST",
787
1077
 
788
- sample3: "ST",
789
1078
 
790
- sample4: "ST",
791
1079
 
792
- sample5: "ST",
793
1080
 
794
- message_flow: "ST",
1081
+ status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+ brand_id: "TS",
1088
+
1089
+
1090
+
1091
+
1092
+ usecase: "TS",
1093
+
1094
+
1095
+
1096
+
1097
+ description: "TS",
1098
+
1099
+
1100
+
1101
+ embedded_link: true,
1102
+
1103
+
1104
+
1105
+ embedded_phone: true,
1106
+
1107
+
1108
+
1109
+ affiliate_marketing: true,
1110
+
1111
+
1112
+
1113
+ number_pool: true,
1114
+
1115
+
1116
+
1117
+ age_gated: true,
1118
+
1119
+
1120
+
1121
+ direct_lending: true,
1122
+
1123
+
1124
+
1125
+ subscriber_optin: true,
1126
+
1127
+
1128
+
1129
+ subscriber_optout: true,
1130
+
1131
+
1132
+
1133
+ subscriber_help: true,
1134
+
1135
+
1136
+
1137
+
1138
+ sample1: "TS",
1139
+
1140
+
1141
+
1142
+
1143
+ sample2: "TS",
1144
+
1145
+
1146
+
1147
+
1148
+ sample3: "TS",
1149
+
1150
+
1151
+
1152
+
1153
+ sample4: "TS",
1154
+
1155
+
1156
+
1157
+
1158
+ sample5: "TS",
1159
+
1160
+
1161
+
1162
+
1163
+ message_flow: "TS",
1164
+
1165
+
1166
+
1167
+
1168
+ help_message: "TS",
1169
+
1170
+
1171
+
1172
+
1173
+ optin_keywords: "TS",
1174
+
1175
+
1176
+
1177
+
1178
+ optout_keywords: "TS",
1179
+
1180
+
1181
+
1182
+
1183
+ help_keywords: "TS",
1184
+
1185
+
1186
+
1187
+
1188
+ optin_message: "TS",
1189
+
1190
+
1191
+
1192
+
1193
+ optout_message: "TS",
1194
+
1195
+
1196
+
1197
+
1198
+
1199
+ brand: obj_SMSTenDLCPartnerCampaignBrand,
1200
+
1201
+
1202
+ )
1203
+ expect(instance_1.eql?(instance_2)).to eq(true)
1204
+ end
1205
+
1206
+ it 'checks if objects are not equal' do
1207
+ instance_1 = Freeclimb::SMSTenDLCPartnerCampaign.new(
1208
+
1209
+ account_id: "TS",
1210
+
1211
+
1212
+
1213
+
1214
+ campaign_id: "TS",
1215
+
1216
+
1217
+
1218
+
1219
+
1220
+
1221
+ status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+ brand_id: "TS",
1228
+
1229
+
1230
+
1231
+
1232
+ usecase: "TS",
1233
+
1234
+
1235
+
1236
+
1237
+ description: "TS",
1238
+
1239
+
1240
+
1241
+ embedded_link: true,
1242
+
1243
+
1244
+
1245
+ embedded_phone: true,
1246
+
1247
+
1248
+
1249
+ affiliate_marketing: true,
1250
+
1251
+
1252
+
1253
+ number_pool: true,
1254
+
1255
+
1256
+
1257
+ age_gated: true,
1258
+
1259
+
1260
+
1261
+ direct_lending: true,
1262
+
1263
+
1264
+
1265
+ subscriber_optin: true,
1266
+
1267
+
1268
+
1269
+ subscriber_optout: true,
1270
+
1271
+
1272
+
1273
+ subscriber_help: true,
1274
+
1275
+
1276
+
1277
+
1278
+ sample1: "TS",
1279
+
1280
+
1281
+
1282
+
1283
+ sample2: "TS",
1284
+
1285
+
1286
+
1287
+
1288
+ sample3: "TS",
1289
+
1290
+
1291
+
1292
+
1293
+ sample4: "TS",
1294
+
1295
+
1296
+
1297
+
1298
+ sample5: "TS",
1299
+
1300
+
1301
+
1302
+
1303
+ message_flow: "TS",
1304
+
1305
+
1306
+
1307
+
1308
+ help_message: "TS",
1309
+
1310
+
1311
+
1312
+
1313
+ optin_keywords: "TS",
1314
+
1315
+
1316
+
1317
+
1318
+ optout_keywords: "TS",
1319
+
1320
+
1321
+
1322
+
1323
+ help_keywords: "TS",
1324
+
1325
+
1326
+
1327
+
1328
+ optin_message: "TS",
1329
+
1330
+
1331
+
1332
+
1333
+ optout_message: "TS",
1334
+
1335
+
1336
+
1337
+
1338
+
1339
+ brand: SMSTenDLCPartnerCampaignBrand.new(),
1340
+
1341
+
1342
+ )
1343
+ instance_2 = Freeclimb::SMSTenDLCPartnerCampaign.new(
1344
+
1345
+ account_id: "ST",
1346
+
1347
+
1348
+
1349
+
1350
+ campaign_id: "ST",
1351
+
1352
+
1353
+
1354
+
1355
+
1356
+
1357
+ status: nil,
1358
+
1359
+
1360
+
1361
+
1362
+
1363
+ brand_id: "ST",
1364
+
1365
+
1366
+
1367
+
1368
+ usecase: "ST",
1369
+
1370
+
1371
+
1372
+
1373
+ description: "ST",
1374
+
1375
+
1376
+
1377
+ embedded_link: false,
1378
+
1379
+
1380
+
1381
+ embedded_phone: false,
1382
+
1383
+
1384
+
1385
+ affiliate_marketing: false,
1386
+
1387
+
1388
+
1389
+ number_pool: false,
1390
+
1391
+
1392
+
1393
+ age_gated: false,
1394
+
1395
+
1396
+
1397
+ direct_lending: false,
1398
+
1399
+
1400
+
1401
+ subscriber_optin: false,
1402
+
1403
+
1404
+
1405
+ subscriber_optout: false,
1406
+
1407
+
1408
+
1409
+ subscriber_help: false,
1410
+
1411
+
1412
+
1413
+
1414
+ sample1: "ST",
1415
+
1416
+
1417
+
1418
+
1419
+ sample2: "ST",
1420
+
1421
+
1422
+
1423
+
1424
+ sample3: "ST",
1425
+
1426
+
1427
+
1428
+
1429
+ sample4: "ST",
1430
+
1431
+
1432
+
1433
+
1434
+ sample5: "ST",
1435
+
1436
+
1437
+
1438
+
1439
+ message_flow: "ST",
1440
+
1441
+
1442
+
1443
+
1444
+ help_message: "ST",
1445
+
1446
+
1447
+
1448
+
1449
+ optin_keywords: "ST",
1450
+
795
1451
 
796
- help_message: "ST",
797
1452
 
798
- optin_keywords: "ST",
799
1453
 
800
1454
  optout_keywords: "ST",
801
1455
 
1456
+
1457
+
1458
+
802
1459
  help_keywords: "ST",
803
1460
 
1461
+
1462
+
1463
+
804
1464
  optin_message: "ST",
805
1465
 
1466
+
1467
+
1468
+
806
1469
  optout_message: "ST",
807
1470
 
808
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new(),
1471
+
1472
+
1473
+
1474
+
1475
+ brand: SMSTenDLCPartnerCampaignBrand.new(),
1476
+
809
1477
 
810
1478
  )
811
1479
  expect(instance_1.eql?(instance_2)).to eq(false)
@@ -815,65 +1483,141 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
815
1483
  describe 'test method "hash"' do
816
1484
  it 'calculates hash code' do
817
1485
  instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
1486
+
818
1487
  account_id: "TS",
819
1488
 
1489
+
1490
+
1491
+
820
1492
  campaign_id: "TS",
821
1493
 
822
1494
 
1495
+
1496
+
823
1497
  status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
824
1498
 
825
1499
 
1500
+
1501
+
826
1502
  create_date: "2022-07-05T15:17:05Z",
1503
+
1504
+
1505
+
827
1506
  brand_id: "TS",
828
1507
 
1508
+
1509
+
1510
+
829
1511
  usecase: "TS",
830
1512
 
1513
+
1514
+
1515
+
831
1516
  description: "TS",
832
1517
 
1518
+
1519
+
833
1520
  embedded_link: true,
834
1521
 
1522
+
1523
+
835
1524
  embedded_phone: true,
836
1525
 
1526
+
1527
+
837
1528
  affiliate_marketing: true,
838
1529
 
1530
+
1531
+
839
1532
  number_pool: true,
840
1533
 
1534
+
1535
+
841
1536
  age_gated: true,
842
1537
 
1538
+
1539
+
843
1540
  direct_lending: true,
844
1541
 
1542
+
1543
+
845
1544
  subscriber_optin: true,
846
1545
 
1546
+
1547
+
847
1548
  subscriber_optout: true,
848
1549
 
1550
+
1551
+
849
1552
  subscriber_help: true,
850
1553
 
1554
+
1555
+
1556
+
851
1557
  sample1: "TS",
852
1558
 
1559
+
1560
+
1561
+
853
1562
  sample2: "TS",
854
1563
 
1564
+
1565
+
1566
+
855
1567
  sample3: "TS",
856
1568
 
1569
+
1570
+
1571
+
857
1572
  sample4: "TS",
858
1573
 
1574
+
1575
+
1576
+
859
1577
  sample5: "TS",
860
1578
 
1579
+
1580
+
1581
+
861
1582
  message_flow: "TS",
862
1583
 
1584
+
1585
+
1586
+
863
1587
  help_message: "TS",
864
1588
 
1589
+
1590
+
1591
+
865
1592
  optin_keywords: "TS",
866
1593
 
1594
+
1595
+
1596
+
867
1597
  optout_keywords: "TS",
868
1598
 
1599
+
1600
+
1601
+
869
1602
  help_keywords: "TS",
870
1603
 
1604
+
1605
+
1606
+
871
1607
  optin_message: "TS",
872
1608
 
1609
+
1610
+
1611
+
873
1612
  optout_message: "TS",
874
1613
 
875
1614
 
876
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new(),
1615
+
1616
+
1617
+
1618
+
1619
+ brand: SMSTenDLCPartnerCampaignBrand.new(),
1620
+
877
1621
  )
878
1622
  expect(instance.hash).to be_a_kind_of(Integer)
879
1623
  end
@@ -882,126 +1626,278 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
882
1626
  describe 'test method "build_from_hash"' do
883
1627
  it 'builds equivalent model from hash code' do
884
1628
  instance_1 = Freeclimb::SMSTenDLCPartnerCampaign.new(
1629
+
885
1630
  account_id: "TS",
886
1631
 
1632
+
1633
+
1634
+
887
1635
  campaign_id: "TS",
888
1636
 
889
1637
 
1638
+
1639
+
890
1640
  status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
891
1641
 
892
1642
 
1643
+
1644
+
893
1645
  create_date: "2022-07-05T15:17:05Z",
1646
+
1647
+
1648
+
894
1649
  brand_id: "TS",
895
1650
 
1651
+
1652
+
1653
+
896
1654
  usecase: "TS",
897
1655
 
1656
+
1657
+
1658
+
898
1659
  description: "TS",
899
1660
 
1661
+
1662
+
900
1663
  embedded_link: true,
901
1664
 
1665
+
1666
+
902
1667
  embedded_phone: true,
903
1668
 
1669
+
1670
+
904
1671
  affiliate_marketing: true,
905
1672
 
1673
+
1674
+
906
1675
  number_pool: true,
907
1676
 
1677
+
1678
+
908
1679
  age_gated: true,
909
1680
 
1681
+
1682
+
910
1683
  direct_lending: true,
911
1684
 
1685
+
1686
+
912
1687
  subscriber_optin: true,
913
1688
 
1689
+
1690
+
914
1691
  subscriber_optout: true,
915
1692
 
1693
+
1694
+
916
1695
  subscriber_help: true,
917
1696
 
1697
+
1698
+
1699
+
918
1700
  sample1: "TS",
919
1701
 
1702
+
1703
+
1704
+
920
1705
  sample2: "TS",
921
1706
 
1707
+
1708
+
1709
+
922
1710
  sample3: "TS",
923
1711
 
1712
+
1713
+
1714
+
924
1715
  sample4: "TS",
925
1716
 
1717
+
1718
+
1719
+
926
1720
  sample5: "TS",
927
1721
 
1722
+
1723
+
1724
+
928
1725
  message_flow: "TS",
929
1726
 
1727
+
1728
+
1729
+
930
1730
  help_message: "TS",
931
1731
 
1732
+
1733
+
1734
+
932
1735
  optin_keywords: "TS",
933
1736
 
1737
+
1738
+
1739
+
934
1740
  optout_keywords: "TS",
935
1741
 
1742
+
1743
+
1744
+
936
1745
  help_keywords: "TS",
937
1746
 
1747
+
1748
+
1749
+
938
1750
  optin_message: "TS",
939
1751
 
1752
+
1753
+
1754
+
940
1755
  optout_message: "TS",
941
1756
 
942
1757
 
943
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new(),
1758
+
1759
+
1760
+
1761
+
1762
+ brand: SMSTenDLCPartnerCampaignBrand.new(),
1763
+
944
1764
  )
945
1765
  instance_2 = Freeclimb::SMSTenDLCPartnerCampaign.new(
1766
+
946
1767
  account_id: "TS",
947
1768
 
1769
+
1770
+
1771
+
948
1772
  campaign_id: "TS",
949
1773
 
950
1774
 
1775
+
1776
+
951
1777
  status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
952
1778
 
953
1779
 
1780
+
1781
+
954
1782
  create_date: "2022-07-05T15:17:05Z",
1783
+
1784
+
1785
+
955
1786
  brand_id: "TS",
956
1787
 
1788
+
1789
+
1790
+
957
1791
  usecase: "TS",
958
1792
 
1793
+
1794
+
1795
+
959
1796
  description: "TS",
960
1797
 
961
- embedded_link: true,
962
1798
 
963
- embedded_phone: true,
964
1799
 
965
- affiliate_marketing: true,
1800
+ embedded_link: true,
1801
+
1802
+
1803
+
1804
+ embedded_phone: true,
1805
+
1806
+
1807
+
1808
+ affiliate_marketing: true,
1809
+
1810
+
1811
+
1812
+ number_pool: true,
1813
+
1814
+
1815
+
1816
+ age_gated: true,
1817
+
1818
+
1819
+
1820
+ direct_lending: true,
1821
+
1822
+
1823
+
1824
+ subscriber_optin: true,
1825
+
1826
+
1827
+
1828
+ subscriber_optout: true,
1829
+
1830
+
1831
+
1832
+ subscriber_help: true,
1833
+
1834
+
1835
+
1836
+
1837
+ sample1: "TS",
1838
+
1839
+
1840
+
1841
+
1842
+ sample2: "TS",
1843
+
1844
+
1845
+
1846
+
1847
+ sample3: "TS",
1848
+
1849
+
1850
+
1851
+
1852
+ sample4: "TS",
1853
+
1854
+
1855
+
1856
+
1857
+ sample5: "TS",
1858
+
1859
+
1860
+
1861
+
1862
+ message_flow: "TS",
1863
+
1864
+
1865
+
1866
+
1867
+ help_message: "TS",
1868
+
1869
+
1870
+
1871
+
1872
+ optin_keywords: "TS",
1873
+
1874
+
1875
+
966
1876
 
967
- number_pool: true,
1877
+ optout_keywords: "TS",
968
1878
 
969
- age_gated: true,
970
1879
 
971
- direct_lending: true,
972
1880
 
973
- subscriber_optin: true,
974
1881
 
975
- subscriber_optout: true,
1882
+ help_keywords: "TS",
976
1883
 
977
- subscriber_help: true,
978
1884
 
979
- sample1: "TS",
980
1885
 
981
- sample2: "TS",
982
1886
 
983
- sample3: "TS",
1887
+ optin_message: "TS",
984
1888
 
985
- sample4: "TS",
986
1889
 
987
- sample5: "TS",
988
1890
 
989
- message_flow: "TS",
990
1891
 
991
- help_message: "TS",
1892
+ optout_message: "TS",
992
1893
 
993
- optin_keywords: "TS",
994
1894
 
995
- optout_keywords: "TS",
996
1895
 
997
- help_keywords: "TS",
998
1896
 
999
- optin_message: "TS",
1000
1897
 
1001
- optout_message: "TS",
1002
1898
 
1899
+ brand: SMSTenDLCPartnerCampaignBrand.new(),
1003
1900
 
1004
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new(),
1005
1901
  )
1006
1902
 
1007
1903
  expect(instance_2.build_from_hash(instance_1.hash)).to eq(instance_1.build_from_hash(instance_1.hash))
@@ -1010,214 +1906,425 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
1010
1906
 
1011
1907
  describe 'test method "_deserialize"' do
1012
1908
  instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
1909
+
1013
1910
  account_id: "TS",
1014
1911
 
1912
+
1913
+
1914
+
1015
1915
  campaign_id: "TS",
1016
1916
 
1017
1917
 
1918
+
1919
+
1018
1920
  status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
1019
1921
 
1020
1922
 
1923
+
1924
+
1021
1925
  create_date: "2022-07-05T15:17:05Z",
1926
+
1927
+
1928
+
1022
1929
  brand_id: "TS",
1023
1930
 
1931
+
1932
+
1933
+
1024
1934
  usecase: "TS",
1025
1935
 
1936
+
1937
+
1938
+
1026
1939
  description: "TS",
1027
1940
 
1941
+
1942
+
1028
1943
  embedded_link: true,
1029
1944
 
1945
+
1946
+
1030
1947
  embedded_phone: true,
1031
1948
 
1949
+
1950
+
1032
1951
  affiliate_marketing: true,
1033
1952
 
1953
+
1954
+
1034
1955
  number_pool: true,
1035
1956
 
1957
+
1958
+
1036
1959
  age_gated: true,
1037
1960
 
1961
+
1962
+
1038
1963
  direct_lending: true,
1039
1964
 
1965
+
1966
+
1040
1967
  subscriber_optin: true,
1041
1968
 
1969
+
1970
+
1042
1971
  subscriber_optout: true,
1043
1972
 
1973
+
1974
+
1044
1975
  subscriber_help: true,
1045
1976
 
1977
+
1978
+
1979
+
1046
1980
  sample1: "TS",
1047
1981
 
1982
+
1983
+
1984
+
1048
1985
  sample2: "TS",
1049
1986
 
1987
+
1988
+
1989
+
1050
1990
  sample3: "TS",
1051
1991
 
1992
+
1993
+
1994
+
1052
1995
  sample4: "TS",
1053
1996
 
1997
+
1998
+
1999
+
1054
2000
  sample5: "TS",
1055
2001
 
2002
+
2003
+
2004
+
1056
2005
  message_flow: "TS",
1057
2006
 
2007
+
2008
+
2009
+
1058
2010
  help_message: "TS",
1059
2011
 
2012
+
2013
+
2014
+
1060
2015
  optin_keywords: "TS",
1061
2016
 
2017
+
2018
+
2019
+
1062
2020
  optout_keywords: "TS",
1063
2021
 
2022
+
2023
+
2024
+
1064
2025
  help_keywords: "TS",
1065
2026
 
2027
+
2028
+
2029
+
1066
2030
  optin_message: "TS",
1067
2031
 
2032
+
2033
+
2034
+
1068
2035
  optout_message: "TS",
1069
2036
 
1070
2037
 
1071
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new,
2038
+
2039
+
2040
+
2041
+
2042
+ brand: SMSTenDLCPartnerCampaignBrand.new(),
2043
+
1072
2044
  )
1073
2045
  it 'deserializes the data of account_id' do
1074
2046
  expect(instance._deserialize("String", instance.account_id)).to be_a_kind_of(String)
1075
2047
  end
2048
+
2049
+
1076
2050
  it 'deserializes the data of campaign_id' do
1077
2051
  expect(instance._deserialize("String", instance.campaign_id)).to be_a_kind_of(String)
1078
2052
  end
2053
+
2054
+
2055
+
2056
+
1079
2057
  it 'deserializes the data of create_date' do
1080
2058
  expect(instance._deserialize("Time", instance.create_date)).to be_a_kind_of(Time)
1081
2059
  end
2060
+
2061
+
1082
2062
  it 'deserializes the data of brand_id' do
1083
2063
  expect(instance._deserialize("String", instance.brand_id)).to be_a_kind_of(String)
1084
2064
  end
2065
+
2066
+
1085
2067
  it 'deserializes the data of usecase' do
1086
2068
  expect(instance._deserialize("String", instance.usecase)).to be_a_kind_of(String)
1087
2069
  end
2070
+
2071
+
1088
2072
  it 'deserializes the data of description' do
1089
2073
  expect(instance._deserialize("String", instance.description)).to be_a_kind_of(String)
1090
2074
  end
2075
+
2076
+
2077
+
2078
+
1091
2079
  it 'deserializes the data of embedded_link' do
1092
2080
  expect(instance._deserialize("Boolean", instance.embedded_link)).to be_a_kind_of(TrueClass)
1093
2081
  end
2082
+
2083
+
1094
2084
  it 'deserializes the data of embedded_phone' do
1095
2085
  expect(instance._deserialize("Boolean", instance.embedded_phone)).to be_a_kind_of(TrueClass)
1096
2086
  end
2087
+
2088
+
1097
2089
  it 'deserializes the data of affiliate_marketing' do
1098
2090
  expect(instance._deserialize("Boolean", instance.affiliate_marketing)).to be_a_kind_of(TrueClass)
1099
2091
  end
2092
+
2093
+
1100
2094
  it 'deserializes the data of number_pool' do
1101
2095
  expect(instance._deserialize("Boolean", instance.number_pool)).to be_a_kind_of(TrueClass)
1102
2096
  end
2097
+
2098
+
1103
2099
  it 'deserializes the data of age_gated' do
1104
2100
  expect(instance._deserialize("Boolean", instance.age_gated)).to be_a_kind_of(TrueClass)
1105
2101
  end
2102
+
2103
+
1106
2104
  it 'deserializes the data of direct_lending' do
1107
2105
  expect(instance._deserialize("Boolean", instance.direct_lending)).to be_a_kind_of(TrueClass)
1108
2106
  end
2107
+
2108
+
1109
2109
  it 'deserializes the data of subscriber_optin' do
1110
2110
  expect(instance._deserialize("Boolean", instance.subscriber_optin)).to be_a_kind_of(TrueClass)
1111
2111
  end
2112
+
2113
+
1112
2114
  it 'deserializes the data of subscriber_optout' do
1113
2115
  expect(instance._deserialize("Boolean", instance.subscriber_optout)).to be_a_kind_of(TrueClass)
1114
2116
  end
2117
+
2118
+
1115
2119
  it 'deserializes the data of subscriber_help' do
1116
2120
  expect(instance._deserialize("Boolean", instance.subscriber_help)).to be_a_kind_of(TrueClass)
1117
2121
  end
1118
2122
  it 'deserializes the data of sample1' do
1119
2123
  expect(instance._deserialize("String", instance.sample1)).to be_a_kind_of(String)
1120
2124
  end
2125
+
2126
+
1121
2127
  it 'deserializes the data of sample2' do
1122
2128
  expect(instance._deserialize("String", instance.sample2)).to be_a_kind_of(String)
1123
2129
  end
2130
+
2131
+
1124
2132
  it 'deserializes the data of sample3' do
1125
2133
  expect(instance._deserialize("String", instance.sample3)).to be_a_kind_of(String)
1126
2134
  end
2135
+
2136
+
1127
2137
  it 'deserializes the data of sample4' do
1128
2138
  expect(instance._deserialize("String", instance.sample4)).to be_a_kind_of(String)
1129
2139
  end
2140
+
2141
+
1130
2142
  it 'deserializes the data of sample5' do
1131
2143
  expect(instance._deserialize("String", instance.sample5)).to be_a_kind_of(String)
1132
2144
  end
2145
+
2146
+
1133
2147
  it 'deserializes the data of message_flow' do
1134
2148
  expect(instance._deserialize("String", instance.message_flow)).to be_a_kind_of(String)
1135
2149
  end
2150
+
2151
+
1136
2152
  it 'deserializes the data of help_message' do
1137
2153
  expect(instance._deserialize("String", instance.help_message)).to be_a_kind_of(String)
1138
2154
  end
2155
+
2156
+
1139
2157
  it 'deserializes the data of optin_keywords' do
1140
2158
  expect(instance._deserialize("String", instance.optin_keywords)).to be_a_kind_of(String)
1141
2159
  end
2160
+
2161
+
1142
2162
  it 'deserializes the data of optout_keywords' do
1143
2163
  expect(instance._deserialize("String", instance.optout_keywords)).to be_a_kind_of(String)
1144
2164
  end
2165
+
2166
+
1145
2167
  it 'deserializes the data of help_keywords' do
1146
2168
  expect(instance._deserialize("String", instance.help_keywords)).to be_a_kind_of(String)
1147
2169
  end
2170
+
2171
+
1148
2172
  it 'deserializes the data of optin_message' do
1149
2173
  expect(instance._deserialize("String", instance.optin_message)).to be_a_kind_of(String)
1150
2174
  end
2175
+
2176
+
1151
2177
  it 'deserializes the data of optout_message' do
1152
2178
  expect(instance._deserialize("String", instance.optout_message)).to be_a_kind_of(String)
1153
2179
  end
2180
+
2181
+
2182
+
2183
+
1154
2184
  it 'deserializes the data of brand' do
1155
- expect(instance._deserialize("Object", instance.brand)).to be_a_kind_of(Freeclimb::SMSTenDLCPartnerCampaignBrand)
2185
+ expect(instance._deserialize("Object", instance.brand)).to be_a_kind_of(SMSTenDLCPartnerCampaignBrand)
1156
2186
  end
2187
+
1157
2188
  end
1158
2189
 
1159
2190
  describe 'test method "to_s"' do
1160
2191
  it 'returns the string representation of the object' do
1161
2192
  instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
2193
+
1162
2194
  account_id: "TS",
1163
2195
 
2196
+
2197
+
2198
+
1164
2199
  campaign_id: "TS",
1165
2200
 
1166
2201
 
2202
+
2203
+
1167
2204
  status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
1168
2205
 
1169
2206
 
2207
+
2208
+
1170
2209
  create_date: "2022-07-05T15:17:05Z",
2210
+
2211
+
2212
+
1171
2213
  brand_id: "TS",
1172
2214
 
2215
+
2216
+
2217
+
1173
2218
  usecase: "TS",
1174
2219
 
2220
+
2221
+
2222
+
1175
2223
  description: "TS",
1176
2224
 
2225
+
2226
+
1177
2227
  embedded_link: true,
1178
2228
 
2229
+
2230
+
1179
2231
  embedded_phone: true,
1180
2232
 
2233
+
2234
+
1181
2235
  affiliate_marketing: true,
1182
2236
 
2237
+
2238
+
1183
2239
  number_pool: true,
1184
2240
 
2241
+
2242
+
1185
2243
  age_gated: true,
1186
2244
 
2245
+
2246
+
1187
2247
  direct_lending: true,
1188
2248
 
2249
+
2250
+
1189
2251
  subscriber_optin: true,
1190
2252
 
2253
+
2254
+
1191
2255
  subscriber_optout: true,
1192
2256
 
2257
+
2258
+
1193
2259
  subscriber_help: true,
1194
2260
 
2261
+
2262
+
2263
+
1195
2264
  sample1: "TS",
1196
2265
 
2266
+
2267
+
2268
+
1197
2269
  sample2: "TS",
1198
2270
 
2271
+
2272
+
2273
+
1199
2274
  sample3: "TS",
1200
2275
 
2276
+
2277
+
2278
+
1201
2279
  sample4: "TS",
1202
2280
 
2281
+
2282
+
2283
+
1203
2284
  sample5: "TS",
1204
2285
 
2286
+
2287
+
2288
+
1205
2289
  message_flow: "TS",
1206
2290
 
2291
+
2292
+
2293
+
1207
2294
  help_message: "TS",
1208
2295
 
2296
+
2297
+
2298
+
1209
2299
  optin_keywords: "TS",
1210
2300
 
2301
+
2302
+
2303
+
1211
2304
  optout_keywords: "TS",
1212
2305
 
2306
+
2307
+
2308
+
1213
2309
  help_keywords: "TS",
1214
2310
 
2311
+
2312
+
2313
+
1215
2314
  optin_message: "TS",
1216
2315
 
2316
+
2317
+
2318
+
1217
2319
  optout_message: "TS",
1218
2320
 
1219
2321
 
1220
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new,
2322
+
2323
+
2324
+
2325
+
2326
+ brand: SMSTenDLCPartnerCampaignBrand.new,
2327
+
1221
2328
  )
1222
2329
  expect(instance.to_s).to eq(instance.to_hash.to_s)
1223
2330
  end
@@ -1226,191 +2333,449 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
1226
2333
  describe 'test method "to_hash"' do
1227
2334
  it 'returns the object in the form of hash' do
1228
2335
  instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
2336
+
1229
2337
  account_id: "TS",
1230
2338
 
2339
+
2340
+
2341
+
1231
2342
  campaign_id: "TS",
1232
2343
 
1233
2344
 
2345
+
2346
+
1234
2347
  status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
1235
2348
 
1236
2349
 
2350
+
2351
+
1237
2352
  create_date: "2022-07-05T15:17:05Z",
2353
+
2354
+
2355
+
1238
2356
  brand_id: "TS",
1239
2357
 
2358
+
2359
+
2360
+
1240
2361
  usecase: "TS",
1241
2362
 
2363
+
2364
+
2365
+
1242
2366
  description: "TS",
1243
2367
 
2368
+
2369
+
1244
2370
  embedded_link: true,
1245
2371
 
2372
+
2373
+
1246
2374
  embedded_phone: true,
1247
2375
 
2376
+
2377
+
1248
2378
  affiliate_marketing: true,
1249
2379
 
2380
+
2381
+
1250
2382
  number_pool: true,
1251
2383
 
2384
+
2385
+
1252
2386
  age_gated: true,
1253
2387
 
2388
+
2389
+
1254
2390
  direct_lending: true,
1255
2391
 
2392
+
2393
+
1256
2394
  subscriber_optin: true,
1257
2395
 
2396
+
2397
+
1258
2398
  subscriber_optout: true,
1259
2399
 
2400
+
2401
+
1260
2402
  subscriber_help: true,
1261
2403
 
2404
+
2405
+
2406
+
1262
2407
  sample1: "TS",
1263
2408
 
2409
+
2410
+
2411
+
1264
2412
  sample2: "TS",
1265
2413
 
2414
+
2415
+
2416
+
1266
2417
  sample3: "TS",
1267
2418
 
2419
+
2420
+
2421
+
1268
2422
  sample4: "TS",
1269
2423
 
2424
+
2425
+
2426
+
1270
2427
  sample5: "TS",
1271
2428
 
2429
+
2430
+
2431
+
1272
2432
  message_flow: "TS",
1273
2433
 
2434
+
2435
+
2436
+
1274
2437
  help_message: "TS",
1275
2438
 
2439
+
2440
+
2441
+
1276
2442
  optin_keywords: "TS",
1277
2443
 
2444
+
2445
+
2446
+
1278
2447
  optout_keywords: "TS",
1279
2448
 
2449
+
2450
+
2451
+
1280
2452
  help_keywords: "TS",
1281
2453
 
2454
+
2455
+
2456
+
1282
2457
  optin_message: "TS",
1283
2458
 
2459
+
2460
+
2461
+
1284
2462
  optout_message: "TS",
1285
2463
 
1286
2464
 
1287
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new,
2465
+
2466
+
2467
+
2468
+
2469
+ brand: SMSTenDLCPartnerCampaignBrand.new,
2470
+
1288
2471
  )
1289
2472
  expect(instance.to_hash).to be_a_kind_of(Hash)
1290
2473
  end
1291
2474
  it 'creates equal hash for two equal objects' do
1292
- obj = Object.new()
2475
+
2476
+
2477
+
2478
+
2479
+
2480
+
2481
+
2482
+
2483
+
2484
+
2485
+
2486
+
2487
+
2488
+
2489
+
2490
+
2491
+
2492
+
2493
+
2494
+
2495
+
2496
+
2497
+
2498
+
2499
+
2500
+
2501
+
2502
+
2503
+
2504
+ obj = SMSTenDLCPartnerCampaignBrand.new()
2505
+
1293
2506
  instance_1 = Freeclimb::SMSTenDLCPartnerCampaign.new(
2507
+
1294
2508
  account_id: "TS",
1295
2509
 
2510
+
2511
+
2512
+
1296
2513
  campaign_id: "TS",
1297
2514
 
1298
2515
 
2516
+
2517
+
1299
2518
  status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
1300
2519
 
1301
2520
 
2521
+
2522
+
1302
2523
  create_date: "2022-07-05T15:17:05Z",
2524
+
2525
+
2526
+
1303
2527
  brand_id: "TS",
1304
2528
 
2529
+
2530
+
2531
+
1305
2532
  usecase: "TS",
1306
2533
 
2534
+
2535
+
2536
+
1307
2537
  description: "TS",
1308
2538
 
2539
+
2540
+
1309
2541
  embedded_link: true,
1310
2542
 
2543
+
2544
+
1311
2545
  embedded_phone: true,
1312
2546
 
2547
+
2548
+
1313
2549
  affiliate_marketing: true,
1314
2550
 
2551
+
2552
+
1315
2553
  number_pool: true,
1316
2554
 
2555
+
2556
+
1317
2557
  age_gated: true,
1318
2558
 
2559
+
2560
+
1319
2561
  direct_lending: true,
1320
2562
 
2563
+
2564
+
1321
2565
  subscriber_optin: true,
1322
2566
 
2567
+
2568
+
1323
2569
  subscriber_optout: true,
1324
2570
 
2571
+
2572
+
1325
2573
  subscriber_help: true,
1326
2574
 
2575
+
2576
+
2577
+
1327
2578
  sample1: "TS",
1328
2579
 
2580
+
2581
+
2582
+
1329
2583
  sample2: "TS",
1330
2584
 
2585
+
2586
+
2587
+
1331
2588
  sample3: "TS",
1332
2589
 
2590
+
2591
+
2592
+
1333
2593
  sample4: "TS",
1334
2594
 
2595
+
2596
+
2597
+
1335
2598
  sample5: "TS",
1336
2599
 
2600
+
2601
+
2602
+
1337
2603
  message_flow: "TS",
1338
2604
 
2605
+
2606
+
2607
+
1339
2608
  help_message: "TS",
1340
2609
 
2610
+
2611
+
2612
+
1341
2613
  optin_keywords: "TS",
1342
2614
 
2615
+
2616
+
2617
+
1343
2618
  optout_keywords: "TS",
1344
2619
 
2620
+
2621
+
2622
+
1345
2623
  help_keywords: "TS",
1346
2624
 
2625
+
2626
+
2627
+
1347
2628
  optin_message: "TS",
1348
2629
 
2630
+
2631
+
2632
+
1349
2633
  optout_message: "TS",
1350
2634
 
1351
2635
 
1352
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new,
2636
+
2637
+
2638
+
2639
+
2640
+ brand: obj,
2641
+
1353
2642
  )
1354
2643
  instance_2 = Freeclimb::SMSTenDLCPartnerCampaign.new(
2644
+
1355
2645
  account_id: "TS",
1356
2646
 
2647
+
2648
+
2649
+
1357
2650
  campaign_id: "TS",
1358
2651
 
1359
2652
 
2653
+
2654
+
1360
2655
  status: Freeclimb::SMSTenDLCPartnerCampaignStatus::ACTIVE,
1361
2656
 
1362
2657
 
2658
+
2659
+
1363
2660
  create_date: "2022-07-05T15:17:05Z",
2661
+
2662
+
2663
+
1364
2664
  brand_id: "TS",
1365
2665
 
2666
+
2667
+
2668
+
1366
2669
  usecase: "TS",
1367
2670
 
2671
+
2672
+
2673
+
1368
2674
  description: "TS",
1369
2675
 
2676
+
2677
+
1370
2678
  embedded_link: true,
1371
2679
 
2680
+
2681
+
1372
2682
  embedded_phone: true,
1373
2683
 
2684
+
2685
+
1374
2686
  affiliate_marketing: true,
1375
2687
 
2688
+
2689
+
1376
2690
  number_pool: true,
1377
2691
 
2692
+
2693
+
1378
2694
  age_gated: true,
1379
2695
 
2696
+
2697
+
1380
2698
  direct_lending: true,
1381
2699
 
2700
+
2701
+
1382
2702
  subscriber_optin: true,
1383
2703
 
2704
+
2705
+
1384
2706
  subscriber_optout: true,
1385
2707
 
2708
+
2709
+
1386
2710
  subscriber_help: true,
1387
2711
 
2712
+
2713
+
2714
+
1388
2715
  sample1: "TS",
1389
2716
 
2717
+
2718
+
2719
+
1390
2720
  sample2: "TS",
1391
2721
 
2722
+
2723
+
2724
+
1392
2725
  sample3: "TS",
1393
2726
 
2727
+
2728
+
2729
+
1394
2730
  sample4: "TS",
1395
2731
 
2732
+
2733
+
2734
+
1396
2735
  sample5: "TS",
1397
2736
 
2737
+
2738
+
2739
+
1398
2740
  message_flow: "TS",
1399
2741
 
2742
+
2743
+
2744
+
1400
2745
  help_message: "TS",
1401
2746
 
2747
+
2748
+
2749
+
1402
2750
  optin_keywords: "TS",
1403
2751
 
2752
+
2753
+
2754
+
1404
2755
  optout_keywords: "TS",
1405
2756
 
2757
+
2758
+
2759
+
1406
2760
  help_keywords: "TS",
1407
2761
 
2762
+
2763
+
2764
+
1408
2765
  optin_message: "TS",
1409
2766
 
2767
+
2768
+
2769
+
1410
2770
  optout_message: "TS",
1411
2771
 
1412
2772
 
1413
- brand: Freeclimb::SMSTenDLCPartnerCampaignBrand.new,
2773
+
2774
+
2775
+
2776
+
2777
+ brand: obj,
2778
+
1414
2779
  )
1415
2780
  expect(instance_1.to_hash).to eq(instance_2.to_hash)
1416
2781
  end
@@ -1418,9 +2783,11 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
1418
2783
 
1419
2784
  describe 'test method "_to_hash"' do
1420
2785
  instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
2786
+
1421
2787
  account_id: "TS",
1422
2788
 
1423
2789
 
2790
+
1424
2791
  campaign_id: "TS",
1425
2792
 
1426
2793
 
@@ -1431,12 +2798,15 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
1431
2798
 
1432
2799
  create_date: "2022-07-05T15:17:05Z",
1433
2800
 
2801
+
1434
2802
  brand_id: "TS",
1435
2803
 
1436
2804
 
2805
+
1437
2806
  usecase: "TS",
1438
2807
 
1439
2808
 
2809
+
1440
2810
  description: "TS",
1441
2811
 
1442
2812
 
@@ -1467,39 +2837,51 @@ describe Freeclimb::SMSTenDLCPartnerCampaign do
1467
2837
  subscriber_help: true,
1468
2838
 
1469
2839
 
2840
+
1470
2841
  sample1: "TS",
1471
2842
 
1472
2843
 
2844
+
1473
2845
  sample2: "TS",
1474
2846
 
1475
2847
 
2848
+
1476
2849
  sample3: "TS",
1477
2850
 
1478
2851
 
2852
+
1479
2853
  sample4: "TS",
1480
2854
 
1481
2855
 
2856
+
1482
2857
  sample5: "TS",
1483
2858
 
1484
2859
 
2860
+
1485
2861
  message_flow: "TS",
1486
2862
 
1487
2863
 
2864
+
1488
2865
  help_message: "TS",
1489
2866
 
1490
2867
 
2868
+
1491
2869
  optin_keywords: "TS",
1492
2870
 
1493
2871
 
2872
+
1494
2873
  optout_keywords: "TS",
1495
2874
 
1496
2875
 
2876
+
1497
2877
  help_keywords: "TS",
1498
2878
 
1499
2879
 
2880
+
1500
2881
  optin_message: "TS",
1501
2882
 
1502
2883
 
2884
+
1503
2885
  optout_message: "TS",
1504
2886
 
1505
2887