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::SMSTenDLCBrand
18
19
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
@@ -28,9 +29,12 @@ describe Freeclimb::SMSTenDLCBrand 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
 
@@ -59,17 +63,23 @@ describe Freeclimb::SMSTenDLCBrand do
59
63
  end
60
64
  describe 'test attribute "csp_id"' do
61
65
  it 'should work' do
66
+
62
67
  instance.csp_id = "TEST_STRING"
63
68
  expect(instance.csp_id).to eq("TEST_STRING")
64
69
 
70
+
71
+
65
72
  end
66
73
  end
67
74
 
68
75
  describe 'test attribute "brand_id"' do
69
76
  it 'should work' do
77
+
70
78
  instance.brand_id = "TEST_STRING"
71
79
  expect(instance.brand_id).to eq("TEST_STRING")
72
80
 
81
+
82
+
73
83
  end
74
84
  end
75
85
 
@@ -408,9 +418,12 @@ describe Freeclimb::SMSTenDLCBrand do
408
418
  end
409
419
  describe 'test attribute "universal_ein"' do
410
420
  it 'should work' do
421
+
411
422
  instance.universal_ein = "TEST_STRING"
412
423
  expect(instance.universal_ein).to eq("TEST_STRING")
413
424
 
425
+
426
+
414
427
  end
415
428
  end
416
429
 
@@ -430,6 +443,9 @@ describe Freeclimb::SMSTenDLCBrand do
430
443
  testObject = Object.new()
431
444
  instance.optional_attributes = testObject
432
445
  expect(instance.optional_attributes).to eq(testObject)
446
+
447
+
448
+
433
449
  end
434
450
  end
435
451
 
@@ -438,6 +454,8 @@ describe Freeclimb::SMSTenDLCBrand do
438
454
  instance.mock = false
439
455
  expect(instance.mock).to eq(false)
440
456
 
457
+
458
+
441
459
  end
442
460
  end
443
461
 
@@ -465,222 +483,482 @@ describe Freeclimb::SMSTenDLCBrand do
465
483
  instance.create_date = "2022-07-05T15:17:05Z"
466
484
  expect(instance.create_date).to eq("2022-07-05T15:17:05Z")
467
485
 
486
+
487
+
468
488
  end
469
489
  end
470
490
 
471
491
  describe 'test method "initialize"' do
472
492
  it 'properly initializes with values' do
473
493
  expect { instance = Freeclimb::SMSTenDLCBrand.new(
494
+
474
495
  account_id: "TS",
475
496
 
476
497
 
498
+
499
+
477
500
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
478
501
 
502
+
503
+
504
+
479
505
  csp_id: "TS",
480
506
 
507
+
508
+
509
+
481
510
  brand_id: "TS",
482
511
 
512
+
513
+
514
+
483
515
  first_name: "TS",
484
516
 
517
+
518
+
519
+
485
520
  last_name: "TS",
486
521
 
522
+
523
+
524
+
487
525
  display_name: "TS",
488
526
 
527
+
528
+
529
+
489
530
  company_name: "TS",
490
531
 
532
+
533
+
534
+
491
535
  ein: "TS",
492
536
 
537
+
538
+
539
+
493
540
  ein_issuing_country: "TS",
494
541
 
542
+
543
+
544
+
495
545
  phone: "TS",
496
546
 
547
+
548
+
549
+
497
550
  street: "TS",
498
551
 
552
+
553
+
554
+
499
555
  city: "TS",
500
556
 
557
+
558
+
559
+
501
560
  state: "TS",
502
561
 
562
+
563
+
564
+
503
565
  postal_code: "TS",
504
566
 
567
+
568
+
569
+
505
570
  country: "TS",
506
571
 
572
+
573
+
574
+
507
575
  email: "TS",
508
576
 
577
+
578
+
579
+
509
580
  stock_symbol: "TS",
510
581
 
511
582
 
583
+
584
+
512
585
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
513
586
 
587
+
588
+
589
+
514
590
  ip_address: "TS",
515
591
 
592
+
593
+
594
+
516
595
  website: "TS",
517
596
 
518
597
 
598
+
599
+
519
600
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
520
601
 
602
+
603
+
604
+
521
605
  vertical: "TS",
522
606
 
607
+
608
+
609
+
523
610
  alt_business_id: "TS",
524
611
 
525
612
 
613
+
614
+
526
615
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
527
616
 
617
+
618
+
619
+
528
620
  universal_ein: "TS",
529
621
 
622
+
623
+
624
+
530
625
  reference_id: "TS",
531
626
 
627
+
628
+
629
+
630
+
532
631
  optional_attributes: Hash.new(),
533
632
 
633
+
534
634
  mock: true,
535
635
 
536
636
 
637
+
638
+
537
639
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
538
640
 
539
641
 
642
+
643
+
540
644
  create_date: "2022-07-05T15:17:05Z",
645
+
646
+
541
647
  )}.not_to raise_error()
542
648
  end
543
649
  it 'fails to initialize with input argument that is not a hash in Freeclimb::SMSTenDLCBrand' do
544
650
  expect { instance = Freeclimb::SMSTenDLCBrand.new(
651
+
545
652
  account_id: "TS",
546
653
 
547
654
 
655
+
656
+
548
657
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
549
658
 
659
+
660
+
661
+
550
662
  csp_id: "TS",
551
663
 
664
+
665
+
666
+
552
667
  brand_id: "TS",
553
668
 
669
+
670
+
671
+
554
672
  first_name: "TS",
555
673
 
674
+
675
+
676
+
556
677
  last_name: "TS",
557
678
 
679
+
680
+
681
+
558
682
  display_name: "TS",
559
683
 
684
+
685
+
686
+
560
687
  company_name: "TS",
561
688
 
689
+
690
+
691
+
562
692
  ein: "TS",
563
693
 
694
+
695
+
696
+
564
697
  ein_issuing_country: "TS",
565
698
 
699
+
700
+
701
+
566
702
  phone: "TS",
567
703
 
704
+
705
+
706
+
568
707
  street: "TS",
569
708
 
709
+
710
+
711
+
570
712
  city: "TS",
571
713
 
714
+
715
+
716
+
572
717
  state: "TS",
573
718
 
719
+
720
+
721
+
574
722
  postal_code: "TS",
575
723
 
724
+
725
+
726
+
576
727
  country: "TS",
577
728
 
729
+
730
+
731
+
578
732
  email: "TS",
579
733
 
734
+
735
+
736
+
580
737
  stock_symbol: "TS",
581
738
 
582
739
 
740
+
741
+
583
742
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
584
743
 
744
+
745
+
746
+
585
747
  ip_address: "TS",
586
748
 
749
+
750
+
751
+
587
752
  website: "TS",
588
753
 
589
754
 
755
+
756
+
590
757
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
591
758
 
759
+
760
+
761
+
592
762
  vertical: "TS",
593
763
 
764
+
765
+
766
+
594
767
  alt_business_id: "TS",
595
768
 
596
769
 
770
+
771
+
597
772
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
598
773
 
774
+
775
+
776
+
599
777
  universal_ein: "TS",
600
778
 
779
+
780
+
781
+
601
782
  reference_id: "TS",
602
783
 
784
+
785
+
786
+
787
+
603
788
  optional_attributes: Hash.new(),
604
789
 
790
+
605
791
  mock: true,
606
792
 
607
793
 
794
+
795
+
608
796
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
609
797
 
610
798
 
799
+
800
+
611
801
  create_date: "2022-07-05T15:17:05Z",
802
+
803
+
612
804
  invalid_attribute: true
613
805
  )}.to raise_error(ArgumentError)
614
806
  end
615
807
  it 'fails to initialize with invalid attribute' do
616
808
  expect { instance = Freeclimb::SMSTenDLCBrand.new(
809
+
617
810
  account_id: "TS",
618
811
 
619
812
 
813
+
814
+
620
815
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
621
816
 
817
+
818
+
819
+
622
820
  csp_id: "TS",
623
821
 
822
+
823
+
824
+
624
825
  brand_id: "TS",
625
826
 
827
+
828
+
829
+
626
830
  first_name: "TS",
627
831
 
832
+
833
+
834
+
628
835
  last_name: "TS",
629
836
 
837
+
838
+
839
+
630
840
  display_name: "TS",
631
841
 
842
+
843
+
844
+
632
845
  company_name: "TS",
633
846
 
847
+
848
+
849
+
634
850
  ein: "TS",
635
851
 
852
+
853
+
854
+
636
855
  ein_issuing_country: "TS",
637
856
 
857
+
858
+
859
+
638
860
  phone: "TS",
639
861
 
862
+
863
+
864
+
640
865
  street: "TS",
641
866
 
867
+
868
+
869
+
642
870
  city: "TS",
643
871
 
872
+
873
+
874
+
644
875
  state: "TS",
645
876
 
877
+
878
+
879
+
646
880
  postal_code: "TS",
647
881
 
882
+
883
+
884
+
648
885
  country: "TS",
649
886
 
887
+
888
+
889
+
650
890
  email: "TS",
651
891
 
652
- stock_symbol: "TS",
653
892
 
654
893
 
655
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
656
894
 
657
- ip_address: "TS",
895
+ stock_symbol: "TS",
658
896
 
659
- website: "TS",
660
897
 
661
898
 
662
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
663
899
 
664
- vertical: "TS",
900
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
665
901
 
666
- alt_business_id: "TS",
667
902
 
668
903
 
669
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
670
904
 
671
- universal_ein: "TS",
905
+ ip_address: "TS",
672
906
 
673
- reference_id: "TS",
674
907
 
675
- optional_attributes: Hash.new(),
676
908
 
677
- mock: true,
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,
678
955
 
679
956
 
680
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
681
957
 
682
958
 
683
959
  create_date: "2022-07-05T15:17:05Z",
960
+
961
+
684
962
  invalid_attribute: true
685
963
  )}.to raise_error(ArgumentError)
686
964
  end
@@ -689,73 +967,159 @@ describe Freeclimb::SMSTenDLCBrand do
689
967
  describe 'test method "valid"' do
690
968
  it 'checks if properties are valid' do
691
969
  instance = Freeclimb::SMSTenDLCBrand.new(
970
+
692
971
  account_id: "TS",
693
972
 
694
973
 
974
+
975
+
695
976
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
696
977
 
978
+
979
+
980
+
697
981
  csp_id: "TS",
698
982
 
983
+
984
+
985
+
699
986
  brand_id: "TS",
700
987
 
988
+
989
+
990
+
701
991
  first_name: "TS",
702
992
 
993
+
994
+
995
+
703
996
  last_name: "TS",
704
997
 
998
+
999
+
1000
+
705
1001
  display_name: "TS",
706
1002
 
1003
+
1004
+
1005
+
707
1006
  company_name: "TS",
708
1007
 
1008
+
1009
+
1010
+
709
1011
  ein: "TS",
710
1012
 
1013
+
1014
+
1015
+
711
1016
  ein_issuing_country: "TS",
712
1017
 
1018
+
1019
+
1020
+
713
1021
  phone: "TS",
714
1022
 
1023
+
1024
+
1025
+
715
1026
  street: "TS",
716
1027
 
1028
+
1029
+
1030
+
717
1031
  city: "TS",
718
1032
 
1033
+
1034
+
1035
+
719
1036
  state: "TS",
720
1037
 
1038
+
1039
+
1040
+
721
1041
  postal_code: "TS",
722
1042
 
1043
+
1044
+
1045
+
723
1046
  country: "TS",
724
1047
 
1048
+
1049
+
1050
+
725
1051
  email: "TS",
726
1052
 
1053
+
1054
+
1055
+
727
1056
  stock_symbol: "TS",
728
1057
 
729
1058
 
1059
+
1060
+
730
1061
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
731
1062
 
1063
+
1064
+
1065
+
732
1066
  ip_address: "TS",
733
1067
 
1068
+
1069
+
1070
+
734
1071
  website: "TS",
735
1072
 
736
1073
 
1074
+
1075
+
737
1076
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
738
1077
 
1078
+
1079
+
1080
+
739
1081
  vertical: "TS",
740
1082
 
1083
+
1084
+
1085
+
741
1086
  alt_business_id: "TS",
742
1087
 
743
1088
 
1089
+
1090
+
744
1091
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
745
1092
 
1093
+
1094
+
1095
+
746
1096
  universal_ein: "TS",
747
1097
 
1098
+
1099
+
1100
+
748
1101
  reference_id: "TS",
749
1102
 
1103
+
1104
+
1105
+
1106
+
750
1107
  optional_attributes: Hash.new(),
751
1108
 
1109
+
752
1110
  mock: true,
753
1111
 
754
1112
 
1113
+
1114
+
755
1115
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
756
1116
 
757
1117
 
1118
+
1119
+
758
1120
  create_date: "2022-07-05T15:17:05Z",
1121
+
1122
+
759
1123
  )
760
1124
  expect(instance.valid?).to eq(true)
761
1125
  end
@@ -772,940 +1136,2099 @@ describe Freeclimb::SMSTenDLCBrand do
772
1136
 
773
1137
  describe 'test method "eql?"' do
774
1138
  it 'checks if objects are equal' do
775
- obj = Object.new()
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
+
776
1170
  instance_1 = Freeclimb::SMSTenDLCBrand.new(
1171
+
777
1172
  account_id: "TS",
778
1173
 
779
1174
 
1175
+
1176
+
1177
+
1178
+
780
1179
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
781
1180
 
1181
+
782
1182
  csp_id: "TS",
783
1183
 
784
- brand_id: "TS",
785
1184
 
786
- first_name: "TS",
787
1185
 
788
- last_name: "TS",
789
1186
 
790
- display_name: "TS",
1187
+ brand_id: "TS",
791
1188
 
792
- company_name: "TS",
793
1189
 
794
- ein: "TS",
795
1190
 
796
- ein_issuing_country: "TS",
797
1191
 
798
- phone: "TS",
1192
+ first_name: "TS",
799
1193
 
800
- street: "TS",
801
1194
 
802
- city: "TS",
803
1195
 
804
- state: "TS",
805
1196
 
806
- postal_code: "TS",
1197
+ last_name: "TS",
807
1198
 
808
- country: "TS",
809
1199
 
810
- email: "TS",
811
1200
 
812
- stock_symbol: "TS",
813
1201
 
1202
+ display_name: "TS",
814
1203
 
815
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
816
1204
 
817
- ip_address: "TS",
818
1205
 
819
- website: "TS",
820
1206
 
1207
+ company_name: "TS",
821
1208
 
822
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
823
1209
 
824
- vertical: "TS",
825
1210
 
826
- alt_business_id: "TS",
827
1211
 
1212
+ ein: "TS",
828
1213
 
829
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
830
1214
 
831
- universal_ein: "TS",
832
1215
 
833
- reference_id: "TS",
834
1216
 
1217
+ ein_issuing_country: "TS",
835
1218
 
836
- mock: true,
837
1219
 
838
1220
 
839
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
840
1221
 
1222
+ phone: "TS",
841
1223
 
842
- )
843
- instance_2 = Freeclimb::SMSTenDLCBrand.new(
844
- account_id: "TS",
845
1224
 
846
1225
 
847
- entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
848
1226
 
849
- csp_id: "TS",
1227
+ street: "TS",
850
1228
 
851
- brand_id: "TS",
852
1229
 
853
- first_name: "TS",
854
1230
 
855
- last_name: "TS",
856
1231
 
857
- display_name: "TS",
1232
+ city: "TS",
858
1233
 
859
- company_name: "TS",
860
1234
 
861
- ein: "TS",
862
1235
 
863
- ein_issuing_country: "TS",
864
1236
 
865
- phone: "TS",
1237
+ state: "TS",
866
1238
 
867
- street: "TS",
868
1239
 
869
- city: "TS",
870
1240
 
871
- state: "TS",
872
1241
 
873
1242
  postal_code: "TS",
874
1243
 
1244
+
1245
+
1246
+
875
1247
  country: "TS",
876
1248
 
1249
+
1250
+
1251
+
877
1252
  email: "TS",
878
1253
 
1254
+
1255
+
1256
+
879
1257
  stock_symbol: "TS",
880
1258
 
881
1259
 
1260
+
1261
+
1262
+
1263
+
882
1264
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
883
1265
 
1266
+
884
1267
  ip_address: "TS",
885
1268
 
1269
+
1270
+
1271
+
886
1272
  website: "TS",
887
1273
 
888
1274
 
1275
+
1276
+
1277
+
1278
+
889
1279
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
890
1280
 
1281
+
891
1282
  vertical: "TS",
892
1283
 
1284
+
1285
+
1286
+
893
1287
  alt_business_id: "TS",
894
1288
 
895
1289
 
896
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
897
1290
 
898
- universal_ein: "TS",
899
1291
 
900
- reference_id: "TS",
901
1292
 
902
1293
 
903
- mock: true,
1294
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
904
1295
 
905
1296
 
906
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1297
+ universal_ein: "TS",
907
1298
 
908
1299
 
909
- )
910
- expect(instance_1.eql?(instance_2)).to eq(true)
911
- end
912
-
913
- it 'checks if objects are not equal' do
914
- instance_1 = Freeclimb::SMSTenDLCBrand.new(
1300
+
1301
+
1302
+ reference_id: "TS",
1303
+
1304
+
1305
+
1306
+
1307
+ optional_attributes: Hash.new(),
1308
+
1309
+
1310
+
1311
+ mock: true,
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1319
+
1320
+
1321
+
1322
+
1323
+ )
1324
+ instance_2 = Freeclimb::SMSTenDLCBrand.new(
1325
+
915
1326
  account_id: "TS",
916
1327
 
917
1328
 
1329
+
1330
+
1331
+
1332
+
918
1333
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
919
1334
 
1335
+
920
1336
  csp_id: "TS",
921
1337
 
1338
+
1339
+
1340
+
922
1341
  brand_id: "TS",
923
1342
 
1343
+
1344
+
1345
+
924
1346
  first_name: "TS",
925
1347
 
1348
+
1349
+
1350
+
926
1351
  last_name: "TS",
927
1352
 
1353
+
1354
+
1355
+
928
1356
  display_name: "TS",
929
1357
 
1358
+
1359
+
1360
+
930
1361
  company_name: "TS",
931
1362
 
1363
+
1364
+
1365
+
932
1366
  ein: "TS",
933
1367
 
1368
+
1369
+
1370
+
934
1371
  ein_issuing_country: "TS",
935
1372
 
1373
+
1374
+
1375
+
936
1376
  phone: "TS",
937
1377
 
1378
+
1379
+
1380
+
938
1381
  street: "TS",
939
1382
 
1383
+
1384
+
1385
+
940
1386
  city: "TS",
941
1387
 
1388
+
1389
+
1390
+
942
1391
  state: "TS",
943
1392
 
1393
+
1394
+
1395
+
944
1396
  postal_code: "TS",
945
1397
 
1398
+
1399
+
1400
+
946
1401
  country: "TS",
947
1402
 
1403
+
1404
+
1405
+
948
1406
  email: "TS",
949
1407
 
1408
+
1409
+
1410
+
950
1411
  stock_symbol: "TS",
951
1412
 
952
1413
 
1414
+
1415
+
1416
+
1417
+
953
1418
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
954
1419
 
1420
+
955
1421
  ip_address: "TS",
956
1422
 
1423
+
1424
+
1425
+
957
1426
  website: "TS",
958
1427
 
959
1428
 
1429
+
1430
+
1431
+
1432
+
960
1433
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
961
1434
 
1435
+
962
1436
  vertical: "TS",
963
1437
 
1438
+
1439
+
1440
+
964
1441
  alt_business_id: "TS",
965
1442
 
966
1443
 
1444
+
1445
+
1446
+
1447
+
967
1448
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
968
1449
 
1450
+
969
1451
  universal_ein: "TS",
970
1452
 
1453
+
1454
+
1455
+
971
1456
  reference_id: "TS",
972
1457
 
973
1458
 
1459
+
1460
+
1461
+ optional_attributes: Hash.new(),
1462
+
1463
+
1464
+
974
1465
  mock: true,
975
1466
 
976
1467
 
1468
+
1469
+
1470
+
1471
+
977
1472
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
978
1473
 
979
1474
 
1475
+
1476
+
980
1477
  )
981
- instance_2 = Freeclimb::SMSTenDLCBrand.new(
982
- account_id: "ST",
1478
+ expect(instance_1.eql?(instance_2)).to eq(true)
1479
+ end
1480
+
1481
+ it 'checks if objects are not equal' do
1482
+ instance_1 = Freeclimb::SMSTenDLCBrand.new(
983
1483
 
1484
+ account_id: "TS",
984
1485
 
985
- entity_type: nil,
986
1486
 
987
- csp_id: "ST",
988
1487
 
989
- brand_id: "ST",
990
1488
 
991
- first_name: "ST",
992
1489
 
993
- last_name: "ST",
994
1490
 
995
- display_name: "ST",
1491
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
996
1492
 
997
- company_name: "ST",
998
1493
 
999
- ein: "ST",
1494
+ csp_id: "TS",
1000
1495
 
1001
- ein_issuing_country: "ST",
1002
1496
 
1003
- phone: "ST",
1004
1497
 
1005
- street: "ST",
1006
1498
 
1007
- city: "ST",
1499
+ brand_id: "TS",
1008
1500
 
1009
- state: "ST",
1010
1501
 
1011
- postal_code: "ST",
1012
1502
 
1013
- country: "ST",
1014
1503
 
1015
- email: "ST",
1504
+ first_name: "TS",
1016
1505
 
1017
- stock_symbol: "ST",
1018
1506
 
1019
1507
 
1020
- stock_exchange: nil,
1021
1508
 
1022
- ip_address: "ST",
1509
+ last_name: "TS",
1023
1510
 
1024
- website: "ST",
1025
1511
 
1026
1512
 
1027
- brand_relationship: nil,
1028
1513
 
1029
- vertical: "ST",
1514
+ display_name: "TS",
1030
1515
 
1031
- alt_business_id: "ST",
1032
1516
 
1033
1517
 
1034
- alt_business_id_type: nil,
1035
1518
 
1036
- universal_ein: "ST",
1519
+ company_name: "TS",
1037
1520
 
1038
- reference_id: "ST",
1039
1521
 
1040
1522
 
1041
- mock: false,
1042
1523
 
1524
+ ein: "TS",
1043
1525
 
1044
- identity_status: nil,
1045
1526
 
1046
1527
 
1047
- )
1048
- expect(instance_1.eql?(instance_2)).to eq(false)
1049
- end
1050
- end
1051
-
1052
- describe 'test method "hash"' do
1053
- it 'calculates hash code' do
1054
- instance = Freeclimb::SMSTenDLCBrand.new(
1055
- account_id: "TS",
1056
-
1057
-
1058
- entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1059
-
1060
- csp_id: "TS",
1061
-
1062
- brand_id: "TS",
1063
-
1064
- first_name: "TS",
1065
-
1066
- last_name: "TS",
1067
-
1068
- display_name: "TS",
1069
-
1070
- company_name: "TS",
1071
-
1072
- ein: "TS",
1073
-
1074
- ein_issuing_country: "TS",
1075
-
1076
- phone: "TS",
1077
-
1078
- street: "TS",
1079
-
1080
- city: "TS",
1081
-
1082
- state: "TS",
1083
-
1084
- postal_code: "TS",
1085
-
1086
- country: "TS",
1087
-
1088
- email: "TS",
1089
-
1090
- stock_symbol: "TS",
1091
-
1092
-
1093
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1094
-
1095
- ip_address: "TS",
1096
-
1097
- website: "TS",
1098
-
1099
-
1100
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1101
-
1102
- vertical: "TS",
1103
-
1104
- alt_business_id: "TS",
1105
-
1106
-
1107
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1108
-
1109
- universal_ein: "TS",
1110
-
1111
- reference_id: "TS",
1112
-
1113
- optional_attributes: Hash.new(),
1114
-
1115
- mock: true,
1116
-
1117
-
1118
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1119
-
1120
-
1121
- create_date: "2022-07-05T15:17:05Z",
1122
- )
1123
- expect(instance.hash).to be_a_kind_of(Integer)
1124
- end
1125
- end
1126
-
1127
- describe 'test method "build_from_hash"' do
1128
- it 'builds equivalent model from hash code' do
1129
- instance_1 = Freeclimb::SMSTenDLCBrand.new(
1130
- account_id: "TS",
1131
-
1132
-
1133
- entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1134
-
1135
- csp_id: "TS",
1136
-
1137
- brand_id: "TS",
1138
-
1139
- first_name: "TS",
1140
-
1141
- last_name: "TS",
1528
+
1529
+ ein_issuing_country: "TS",
1530
+
1531
+
1532
+
1533
+
1534
+ phone: "TS",
1535
+
1536
+
1537
+
1538
+
1539
+ street: "TS",
1540
+
1541
+
1542
+
1543
+
1544
+ city: "TS",
1545
+
1546
+
1547
+
1548
+
1549
+ state: "TS",
1550
+
1551
+
1552
+
1553
+
1554
+ postal_code: "TS",
1555
+
1556
+
1557
+
1558
+
1559
+ country: "TS",
1560
+
1561
+
1562
+
1563
+
1564
+ email: "TS",
1565
+
1566
+
1567
+
1568
+
1569
+ stock_symbol: "TS",
1570
+
1571
+
1572
+
1573
+
1574
+
1575
+
1576
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1577
+
1578
+
1579
+ ip_address: "TS",
1580
+
1581
+
1582
+
1583
+
1584
+ website: "TS",
1585
+
1586
+
1587
+
1588
+
1589
+
1590
+
1591
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1592
+
1593
+
1594
+ vertical: "TS",
1595
+
1596
+
1597
+
1598
+
1599
+ alt_business_id: "TS",
1600
+
1601
+
1602
+
1603
+
1604
+
1605
+
1606
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1607
+
1608
+
1609
+ universal_ein: "TS",
1610
+
1611
+
1612
+
1613
+
1614
+ reference_id: "TS",
1615
+
1616
+
1617
+
1618
+
1619
+ optional_attributes: Hash.new(),
1620
+
1621
+
1622
+
1623
+ mock: true,
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+ 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)
1791
+ end
1792
+ end
1793
+
1794
+ describe 'test method "hash"' do
1795
+ it 'calculates hash code' do
1796
+ 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)
1952
+ end
1953
+ end
1954
+
1955
+ describe 'test method "build_from_hash"' do
1956
+ it 'builds equivalent model from hash code' do
1957
+ instance_1 = Freeclimb::SMSTenDLCBrand.new(
1958
+
1959
+ account_id: "TS",
1960
+
1961
+
1962
+
1963
+
1964
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1965
+
1966
+
1967
+
1968
+
1969
+ csp_id: "TS",
1970
+
1971
+
1972
+
1973
+
1974
+ brand_id: "TS",
1975
+
1976
+
1977
+
1978
+
1979
+ first_name: "TS",
1980
+
1981
+
1982
+
1983
+
1984
+ last_name: "TS",
1985
+
1986
+
1987
+
1988
+
1989
+ display_name: "TS",
1990
+
1991
+
1992
+
1993
+
1994
+ company_name: "TS",
1995
+
1996
+
1997
+
1998
+
1999
+ ein: "TS",
2000
+
2001
+
2002
+
2003
+
2004
+ ein_issuing_country: "TS",
2005
+
2006
+
2007
+
2008
+
2009
+ phone: "TS",
2010
+
2011
+
2012
+
2013
+
2014
+ street: "TS",
2015
+
2016
+
2017
+
2018
+
2019
+ city: "TS",
2020
+
2021
+
2022
+
2023
+
2024
+ state: "TS",
2025
+
2026
+
2027
+
2028
+
2029
+ postal_code: "TS",
2030
+
2031
+
2032
+
2033
+
2034
+ country: "TS",
2035
+
2036
+
2037
+
2038
+
2039
+ email: "TS",
2040
+
2041
+
2042
+
2043
+
2044
+ stock_symbol: "TS",
2045
+
2046
+
2047
+
2048
+
2049
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
2050
+
2051
+
2052
+
2053
+
2054
+ ip_address: "TS",
2055
+
2056
+
2057
+
2058
+
2059
+ website: "TS",
2060
+
2061
+
2062
+
2063
+
2064
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
2065
+
2066
+
2067
+
2068
+
2069
+ vertical: "TS",
2070
+
2071
+
2072
+
2073
+
2074
+ alt_business_id: "TS",
2075
+
2076
+
2077
+
2078
+
2079
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
2080
+
2081
+
2082
+
2083
+
2084
+ universal_ein: "TS",
2085
+
2086
+
2087
+
2088
+
2089
+ reference_id: "TS",
2090
+
2091
+
2092
+
2093
+
2094
+
2095
+ optional_attributes: Hash.new(),
2096
+
2097
+
2098
+ 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
+
2111
+ )
2112
+ instance_2 = Freeclimb::SMSTenDLCBrand.new(
2113
+
2114
+ account_id: "TS",
2115
+
2116
+
2117
+
2118
+
2119
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
2120
+
2121
+
2122
+
2123
+
2124
+ csp_id: "TS",
2125
+
2126
+
2127
+
2128
+
2129
+ brand_id: "TS",
2130
+
2131
+
2132
+
2133
+
2134
+ first_name: "TS",
2135
+
2136
+
2137
+
2138
+
2139
+ last_name: "TS",
2140
+
2141
+
2142
+
2143
+
2144
+ display_name: "TS",
2145
+
2146
+
2147
+
2148
+
2149
+ company_name: "TS",
2150
+
2151
+
2152
+
2153
+
2154
+ ein: "TS",
2155
+
2156
+
2157
+
2158
+
2159
+ ein_issuing_country: "TS",
2160
+
2161
+
2162
+
2163
+
2164
+ phone: "TS",
2165
+
2166
+
2167
+
2168
+
2169
+ street: "TS",
2170
+
2171
+
2172
+
2173
+
2174
+ city: "TS",
2175
+
2176
+
2177
+
2178
+
2179
+ state: "TS",
2180
+
2181
+
2182
+
2183
+
2184
+ postal_code: "TS",
2185
+
2186
+
2187
+
2188
+
2189
+ country: "TS",
2190
+
2191
+
2192
+
2193
+
2194
+ email: "TS",
2195
+
2196
+
2197
+
2198
+
2199
+ stock_symbol: "TS",
2200
+
2201
+
2202
+
2203
+
2204
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
2205
+
2206
+
2207
+
2208
+
2209
+ ip_address: "TS",
2210
+
2211
+
2212
+
2213
+
2214
+ website: "TS",
2215
+
2216
+
2217
+
2218
+
2219
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
2220
+
2221
+
2222
+
2223
+
2224
+ vertical: "TS",
2225
+
2226
+
2227
+
2228
+
2229
+ alt_business_id: "TS",
2230
+
2231
+
2232
+
2233
+
2234
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
2235
+
2236
+
2237
+
2238
+
2239
+ universal_ein: "TS",
2240
+
2241
+
2242
+
2243
+
2244
+ reference_id: "TS",
2245
+
2246
+
2247
+
2248
+
2249
+
2250
+ optional_attributes: Hash.new(),
2251
+
2252
+
2253
+ 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
+
2266
+ )
2267
+
2268
+ expect(instance_2.build_from_hash(instance_1.hash)).to eq(instance_1.build_from_hash(instance_1.hash))
2269
+ end
2270
+ end
2271
+
2272
+ describe 'test method "_deserialize"' do
2273
+ instance = Freeclimb::SMSTenDLCBrand.new(
2274
+
2275
+ account_id: "TS",
2276
+
2277
+
2278
+
2279
+
2280
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
2281
+
2282
+
2283
+
2284
+
2285
+ csp_id: "TS",
2286
+
2287
+
2288
+
2289
+
2290
+ brand_id: "TS",
2291
+
2292
+
2293
+
2294
+
2295
+ first_name: "TS",
2296
+
2297
+
2298
+
2299
+
2300
+ last_name: "TS",
2301
+
2302
+
2303
+
2304
+
2305
+ display_name: "TS",
2306
+
2307
+
2308
+
2309
+
2310
+ company_name: "TS",
2311
+
2312
+
2313
+
2314
+
2315
+ ein: "TS",
2316
+
2317
+
2318
+
2319
+
2320
+ ein_issuing_country: "TS",
2321
+
2322
+
2323
+
2324
+
2325
+ phone: "TS",
2326
+
2327
+
2328
+
2329
+
2330
+ street: "TS",
2331
+
2332
+
2333
+
2334
+
2335
+ city: "TS",
2336
+
2337
+
2338
+
2339
+
2340
+ state: "TS",
2341
+
2342
+
2343
+
2344
+
2345
+ postal_code: "TS",
2346
+
2347
+
2348
+
2349
+
2350
+ country: "TS",
2351
+
2352
+
2353
+
2354
+
2355
+ email: "TS",
2356
+
2357
+
2358
+
2359
+
2360
+ stock_symbol: "TS",
2361
+
2362
+
2363
+
2364
+
2365
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
2366
+
2367
+
2368
+
2369
+
2370
+ ip_address: "TS",
2371
+
2372
+
2373
+
2374
+
2375
+ website: "TS",
2376
+
2377
+
2378
+
2379
+
2380
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
2381
+
2382
+
2383
+
2384
+
2385
+ vertical: "TS",
2386
+
2387
+
2388
+
2389
+
2390
+ alt_business_id: "TS",
2391
+
2392
+
2393
+
2394
+
2395
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
2396
+
2397
+
2398
+
2399
+
2400
+ universal_ein: "TS",
2401
+
2402
+
2403
+
2404
+
2405
+ reference_id: "TS",
2406
+
2407
+
2408
+
2409
+
2410
+
2411
+ optional_attributes: Hash.new(),
2412
+
2413
+
2414
+ mock: true,
2415
+
2416
+
2417
+
2418
+
2419
+ identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
2420
+
2421
+
2422
+
2423
+
2424
+ create_date: "2022-07-05T15:17:05Z",
2425
+
2426
+
2427
+ )
2428
+ it 'deserializes the data of account_id' do
2429
+ expect(instance._deserialize("String", instance.account_id)).to be_a_kind_of(String)
2430
+ end
2431
+
2432
+
2433
+
2434
+
2435
+ it 'deserializes the data of csp_id' do
2436
+ expect(instance._deserialize("String", instance.csp_id)).to be_a_kind_of(String)
2437
+ end
2438
+
2439
+
2440
+ it 'deserializes the data of brand_id' do
2441
+ expect(instance._deserialize("String", instance.brand_id)).to be_a_kind_of(String)
2442
+ end
2443
+
2444
+
2445
+ it 'deserializes the data of first_name' do
2446
+ expect(instance._deserialize("String", instance.first_name)).to be_a_kind_of(String)
2447
+ end
2448
+
2449
+
2450
+ it 'deserializes the data of last_name' do
2451
+ expect(instance._deserialize("String", instance.last_name)).to be_a_kind_of(String)
2452
+ end
2453
+
2454
+
2455
+ it 'deserializes the data of display_name' do
2456
+ expect(instance._deserialize("String", instance.display_name)).to be_a_kind_of(String)
2457
+ end
2458
+
2459
+
2460
+ it 'deserializes the data of company_name' do
2461
+ expect(instance._deserialize("String", instance.company_name)).to be_a_kind_of(String)
2462
+ end
2463
+
2464
+
2465
+ it 'deserializes the data of ein' do
2466
+ expect(instance._deserialize("String", instance.ein)).to be_a_kind_of(String)
2467
+ end
2468
+
2469
+
2470
+ it 'deserializes the data of ein_issuing_country' do
2471
+ expect(instance._deserialize("String", instance.ein_issuing_country)).to be_a_kind_of(String)
2472
+ end
2473
+
2474
+
2475
+ it 'deserializes the data of phone' do
2476
+ expect(instance._deserialize("String", instance.phone)).to be_a_kind_of(String)
2477
+ end
2478
+
2479
+
2480
+ it 'deserializes the data of street' do
2481
+ expect(instance._deserialize("String", instance.street)).to be_a_kind_of(String)
2482
+ end
2483
+
2484
+
2485
+ it 'deserializes the data of city' do
2486
+ expect(instance._deserialize("String", instance.city)).to be_a_kind_of(String)
2487
+ end
2488
+
2489
+
2490
+ it 'deserializes the data of state' do
2491
+ expect(instance._deserialize("String", instance.state)).to be_a_kind_of(String)
2492
+ end
2493
+
2494
+
2495
+ it 'deserializes the data of postal_code' do
2496
+ expect(instance._deserialize("String", instance.postal_code)).to be_a_kind_of(String)
2497
+ end
2498
+
2499
+
2500
+ it 'deserializes the data of country' do
2501
+ expect(instance._deserialize("String", instance.country)).to be_a_kind_of(String)
2502
+ end
2503
+
2504
+
2505
+ it 'deserializes the data of email' do
2506
+ expect(instance._deserialize("String", instance.email)).to be_a_kind_of(String)
2507
+ end
2508
+
2509
+
2510
+ it 'deserializes the data of stock_symbol' do
2511
+ expect(instance._deserialize("String", instance.stock_symbol)).to be_a_kind_of(String)
2512
+ end
2513
+
2514
+
2515
+
2516
+
2517
+ it 'deserializes the data of ip_address' do
2518
+ expect(instance._deserialize("String", instance.ip_address)).to be_a_kind_of(String)
2519
+ end
2520
+
2521
+
2522
+ it 'deserializes the data of website' do
2523
+ expect(instance._deserialize("String", instance.website)).to be_a_kind_of(String)
2524
+ end
2525
+
2526
+
2527
+
2528
+
2529
+ it 'deserializes the data of vertical' do
2530
+ expect(instance._deserialize("String", instance.vertical)).to be_a_kind_of(String)
2531
+ end
2532
+
2533
+
2534
+ it 'deserializes the data of alt_business_id' do
2535
+ expect(instance._deserialize("String", instance.alt_business_id)).to be_a_kind_of(String)
2536
+ end
2537
+
2538
+
2539
+
2540
+
2541
+ it 'deserializes the data of universal_ein' do
2542
+ expect(instance._deserialize("String", instance.universal_ein)).to be_a_kind_of(String)
2543
+ end
2544
+
2545
+
2546
+ it 'deserializes the data of reference_id' do
2547
+ expect(instance._deserialize("String", instance.reference_id)).to be_a_kind_of(String)
2548
+ end
2549
+
2550
+
2551
+
2552
+ it 'deserializes the data of optional_attributes' do
2553
+ expect(instance._deserialize("Hash<String, Object>", instance.optional_attributes)).to be_a_kind_of(Hash)
2554
+ end
2555
+
2556
+
2557
+
2558
+
2559
+ it 'deserializes the data of mock' do
2560
+ expect(instance._deserialize("Boolean", instance.mock)).to be_a_kind_of(TrueClass)
2561
+ end
2562
+
2563
+
2564
+ it 'deserializes the data of create_date' do
2565
+ expect(instance._deserialize("Time", instance.create_date)).to be_a_kind_of(Time)
2566
+ end
2567
+
2568
+
2569
+ end
2570
+
2571
+ describe 'test method "to_s"' do
2572
+ it 'returns the string representation of the object' do
2573
+ instance = Freeclimb::SMSTenDLCBrand.new(
2574
+
2575
+ account_id: "TS",
2576
+
2577
+
2578
+
2579
+
2580
+ entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
2581
+
2582
+
2583
+
2584
+
2585
+ csp_id: "TS",
2586
+
2587
+
2588
+
2589
+
2590
+ brand_id: "TS",
2591
+
2592
+
2593
+
2594
+
2595
+ first_name: "TS",
2596
+
2597
+
2598
+
2599
+
2600
+ last_name: "TS",
2601
+
2602
+
2603
+
1142
2604
 
1143
2605
  display_name: "TS",
1144
2606
 
2607
+
2608
+
2609
+
1145
2610
  company_name: "TS",
1146
2611
 
2612
+
2613
+
2614
+
1147
2615
  ein: "TS",
1148
2616
 
2617
+
2618
+
2619
+
1149
2620
  ein_issuing_country: "TS",
1150
2621
 
2622
+
2623
+
2624
+
1151
2625
  phone: "TS",
1152
2626
 
2627
+
2628
+
2629
+
1153
2630
  street: "TS",
1154
2631
 
2632
+
2633
+
2634
+
1155
2635
  city: "TS",
1156
2636
 
2637
+
2638
+
2639
+
1157
2640
  state: "TS",
1158
2641
 
2642
+
2643
+
2644
+
1159
2645
  postal_code: "TS",
1160
2646
 
1161
- country: "TS",
1162
2647
 
1163
- email: "TS",
1164
2648
 
1165
- stock_symbol: "TS",
1166
2649
 
2650
+ country: "TS",
1167
2651
 
1168
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1169
2652
 
1170
- ip_address: "TS",
1171
2653
 
1172
- website: "TS",
2654
+
2655
+ email: "TS",
1173
2656
 
1174
2657
 
1175
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1176
2658
 
1177
- vertical: "TS",
1178
2659
 
1179
- alt_business_id: "TS",
2660
+ stock_symbol: "TS",
1180
2661
 
1181
2662
 
1182
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1183
2663
 
1184
- universal_ein: "TS",
1185
2664
 
1186
- reference_id: "TS",
2665
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1187
2666
 
1188
- optional_attributes: Hash.new(),
1189
2667
 
1190
- mock: true,
1191
2668
 
1192
2669
 
1193
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
2670
+ ip_address: "TS",
1194
2671
 
1195
2672
 
1196
- create_date: "2022-07-05T15:17:05Z",
1197
- )
1198
- instance_2 = Freeclimb::SMSTenDLCBrand.new(
1199
- account_id: "TS",
1200
2673
 
1201
2674
 
1202
- entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
2675
+ website: "TS",
1203
2676
 
1204
- csp_id: "TS",
1205
2677
 
1206
- brand_id: "TS",
1207
2678
 
1208
- first_name: "TS",
1209
2679
 
1210
- last_name: "TS",
2680
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1211
2681
 
1212
- display_name: "TS",
1213
2682
 
1214
- company_name: "TS",
1215
2683
 
1216
- ein: "TS",
1217
2684
 
1218
- ein_issuing_country: "TS",
2685
+ vertical: "TS",
1219
2686
 
1220
- phone: "TS",
1221
2687
 
1222
- street: "TS",
1223
2688
 
1224
- city: "TS",
1225
2689
 
1226
- state: "TS",
2690
+ alt_business_id: "TS",
1227
2691
 
1228
- postal_code: "TS",
1229
2692
 
1230
- country: "TS",
1231
2693
 
1232
- email: "TS",
1233
2694
 
1234
- stock_symbol: "TS",
2695
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1235
2696
 
1236
2697
 
1237
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1238
2698
 
1239
- ip_address: "TS",
1240
2699
 
1241
- website: "TS",
2700
+ universal_ein: "TS",
1242
2701
 
1243
2702
 
1244
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1245
2703
 
1246
- vertical: "TS",
1247
2704
 
1248
- alt_business_id: "TS",
2705
+ reference_id: "TS",
1249
2706
 
1250
2707
 
1251
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1252
2708
 
1253
- universal_ein: "TS",
1254
2709
 
1255
- reference_id: "TS",
1256
2710
 
1257
2711
  optional_attributes: Hash.new(),
1258
2712
 
2713
+
1259
2714
  mock: true,
1260
2715
 
1261
2716
 
2717
+
2718
+
1262
2719
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1263
2720
 
1264
2721
 
2722
+
2723
+
1265
2724
  create_date: "2022-07-05T15:17:05Z",
2725
+
2726
+
1266
2727
  )
1267
-
1268
- expect(instance_2.build_from_hash(instance_1.hash)).to eq(instance_1.build_from_hash(instance_1.hash))
2728
+ expect(instance.to_s).to eq(instance.to_hash.to_s)
1269
2729
  end
1270
2730
  end
1271
2731
 
1272
- describe 'test method "_deserialize"' do
1273
- instance = Freeclimb::SMSTenDLCBrand.new(
2732
+ describe 'test method "to_hash"' do
2733
+ it 'returns the object in the form of hash' do
2734
+ instance = Freeclimb::SMSTenDLCBrand.new(
2735
+
1274
2736
  account_id: "TS",
1275
2737
 
1276
2738
 
2739
+
2740
+
1277
2741
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1278
2742
 
2743
+
2744
+
2745
+
1279
2746
  csp_id: "TS",
1280
2747
 
2748
+
2749
+
2750
+
1281
2751
  brand_id: "TS",
1282
2752
 
2753
+
2754
+
2755
+
1283
2756
  first_name: "TS",
1284
2757
 
2758
+
2759
+
2760
+
1285
2761
  last_name: "TS",
1286
2762
 
2763
+
2764
+
2765
+
1287
2766
  display_name: "TS",
1288
2767
 
2768
+
2769
+
2770
+
1289
2771
  company_name: "TS",
1290
2772
 
2773
+
2774
+
2775
+
1291
2776
  ein: "TS",
1292
2777
 
2778
+
2779
+
2780
+
1293
2781
  ein_issuing_country: "TS",
1294
2782
 
2783
+
2784
+
2785
+
1295
2786
  phone: "TS",
1296
2787
 
2788
+
2789
+
2790
+
1297
2791
  street: "TS",
1298
2792
 
2793
+
2794
+
2795
+
1299
2796
  city: "TS",
1300
2797
 
2798
+
2799
+
2800
+
1301
2801
  state: "TS",
1302
2802
 
2803
+
2804
+
2805
+
1303
2806
  postal_code: "TS",
1304
2807
 
2808
+
2809
+
2810
+
1305
2811
  country: "TS",
1306
2812
 
2813
+
2814
+
2815
+
1307
2816
  email: "TS",
1308
2817
 
2818
+
2819
+
2820
+
1309
2821
  stock_symbol: "TS",
1310
2822
 
1311
2823
 
2824
+
2825
+
1312
2826
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1313
2827
 
2828
+
2829
+
2830
+
1314
2831
  ip_address: "TS",
1315
2832
 
2833
+
2834
+
2835
+
1316
2836
  website: "TS",
1317
2837
 
1318
2838
 
2839
+
2840
+
1319
2841
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1320
2842
 
2843
+
2844
+
2845
+
1321
2846
  vertical: "TS",
1322
2847
 
2848
+
2849
+
2850
+
1323
2851
  alt_business_id: "TS",
1324
2852
 
1325
2853
 
2854
+
2855
+
1326
2856
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1327
2857
 
2858
+
2859
+
2860
+
1328
2861
  universal_ein: "TS",
1329
2862
 
2863
+
2864
+
2865
+
1330
2866
  reference_id: "TS",
1331
2867
 
2868
+
2869
+
2870
+
2871
+
1332
2872
  optional_attributes: Hash.new(),
1333
2873
 
2874
+
1334
2875
  mock: true,
1335
2876
 
1336
2877
 
2878
+
2879
+
1337
2880
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1338
2881
 
1339
2882
 
2883
+
2884
+
1340
2885
  create_date: "2022-07-05T15:17:05Z",
1341
- )
1342
- it 'deserializes the data of account_id' do
1343
- expect(instance._deserialize("String", instance.account_id)).to be_a_kind_of(String)
1344
- end
1345
- it 'deserializes the data of csp_id' do
1346
- expect(instance._deserialize("String", instance.csp_id)).to be_a_kind_of(String)
1347
- end
1348
- it 'deserializes the data of brand_id' do
1349
- expect(instance._deserialize("String", instance.brand_id)).to be_a_kind_of(String)
1350
- end
1351
- it 'deserializes the data of first_name' do
1352
- expect(instance._deserialize("String", instance.first_name)).to be_a_kind_of(String)
1353
- end
1354
- it 'deserializes the data of last_name' do
1355
- expect(instance._deserialize("String", instance.last_name)).to be_a_kind_of(String)
1356
- end
1357
- it 'deserializes the data of display_name' do
1358
- expect(instance._deserialize("String", instance.display_name)).to be_a_kind_of(String)
1359
- end
1360
- it 'deserializes the data of company_name' do
1361
- expect(instance._deserialize("String", instance.company_name)).to be_a_kind_of(String)
1362
- end
1363
- it 'deserializes the data of ein' do
1364
- expect(instance._deserialize("String", instance.ein)).to be_a_kind_of(String)
1365
- end
1366
- it 'deserializes the data of ein_issuing_country' do
1367
- expect(instance._deserialize("String", instance.ein_issuing_country)).to be_a_kind_of(String)
1368
- end
1369
- it 'deserializes the data of phone' do
1370
- expect(instance._deserialize("String", instance.phone)).to be_a_kind_of(String)
1371
- end
1372
- it 'deserializes the data of street' do
1373
- expect(instance._deserialize("String", instance.street)).to be_a_kind_of(String)
1374
- end
1375
- it 'deserializes the data of city' do
1376
- expect(instance._deserialize("String", instance.city)).to be_a_kind_of(String)
1377
- end
1378
- it 'deserializes the data of state' do
1379
- expect(instance._deserialize("String", instance.state)).to be_a_kind_of(String)
1380
- end
1381
- it 'deserializes the data of postal_code' do
1382
- expect(instance._deserialize("String", instance.postal_code)).to be_a_kind_of(String)
1383
- end
1384
- it 'deserializes the data of country' do
1385
- expect(instance._deserialize("String", instance.country)).to be_a_kind_of(String)
1386
- end
1387
- it 'deserializes the data of email' do
1388
- expect(instance._deserialize("String", instance.email)).to be_a_kind_of(String)
1389
- end
1390
- it 'deserializes the data of stock_symbol' do
1391
- expect(instance._deserialize("String", instance.stock_symbol)).to be_a_kind_of(String)
1392
- end
1393
- it 'deserializes the data of ip_address' do
1394
- expect(instance._deserialize("String", instance.ip_address)).to be_a_kind_of(String)
1395
- end
1396
- it 'deserializes the data of website' do
1397
- expect(instance._deserialize("String", instance.website)).to be_a_kind_of(String)
1398
- end
1399
- it 'deserializes the data of vertical' do
1400
- expect(instance._deserialize("String", instance.vertical)).to be_a_kind_of(String)
1401
- end
1402
- it 'deserializes the data of alt_business_id' do
1403
- expect(instance._deserialize("String", instance.alt_business_id)).to be_a_kind_of(String)
1404
- end
1405
- it 'deserializes the data of universal_ein' do
1406
- expect(instance._deserialize("String", instance.universal_ein)).to be_a_kind_of(String)
1407
- end
1408
- it 'deserializes the data of reference_id' do
1409
- expect(instance._deserialize("String", instance.reference_id)).to be_a_kind_of(String)
1410
- end
1411
- it 'deserializes the data of optional_attributes' do
1412
- expect(instance._deserialize("Hash<String, Object>", instance.optional_attributes)).to be_a_kind_of(Hash)
1413
- end
1414
- it 'deserializes the data of mock' do
1415
- expect(instance._deserialize("Boolean", instance.mock)).to be_a_kind_of(TrueClass)
1416
- end
1417
- it 'deserializes the data of create_date' do
1418
- expect(instance._deserialize("Time", instance.create_date)).to be_a_kind_of(Time)
2886
+
2887
+
2888
+ )
2889
+ expect(instance.to_hash).to be_a_kind_of(Hash)
1419
2890
  end
1420
- end
1421
-
1422
- describe 'test method "to_s"' do
1423
- it 'returns the string representation of the object' do
1424
- instance = Freeclimb::SMSTenDLCBrand.new(
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
+
2923
+ instance_1 = Freeclimb::SMSTenDLCBrand.new(
2924
+
1425
2925
  account_id: "TS",
1426
2926
 
1427
2927
 
2928
+
2929
+
1428
2930
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1429
2931
 
1430
- csp_id: "TS",
1431
2932
 
1432
- brand_id: "TS",
1433
2933
 
1434
- first_name: "TS",
1435
2934
 
1436
- last_name: "TS",
2935
+ csp_id: "TS",
1437
2936
 
1438
- display_name: "TS",
1439
2937
 
1440
- company_name: "TS",
1441
2938
 
1442
- ein: "TS",
1443
2939
 
1444
- ein_issuing_country: "TS",
2940
+ brand_id: "TS",
1445
2941
 
1446
- phone: "TS",
1447
2942
 
1448
- street: "TS",
1449
2943
 
1450
- city: "TS",
1451
2944
 
1452
- state: "TS",
2945
+ first_name: "TS",
1453
2946
 
1454
- postal_code: "TS",
1455
2947
 
1456
- country: "TS",
1457
2948
 
1458
- email: "TS",
1459
2949
 
1460
- stock_symbol: "TS",
2950
+ last_name: "TS",
1461
2951
 
1462
2952
 
1463
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1464
2953
 
1465
- ip_address: "TS",
1466
2954
 
1467
- website: "TS",
2955
+ display_name: "TS",
1468
2956
 
1469
2957
 
1470
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1471
2958
 
1472
- vertical: "TS",
1473
2959
 
1474
- alt_business_id: "TS",
2960
+ company_name: "TS",
1475
2961
 
1476
2962
 
1477
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1478
2963
 
1479
- universal_ein: "TS",
1480
2964
 
1481
- reference_id: "TS",
2965
+ ein: "TS",
1482
2966
 
1483
- optional_attributes: Hash.new(),
1484
2967
 
1485
- mock: true,
1486
2968
 
1487
2969
 
1488
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
2970
+ ein_issuing_country: "TS",
1489
2971
 
1490
2972
 
1491
- create_date: "2022-07-05T15:17:05Z",
1492
- )
1493
- expect(instance.to_s).to eq(instance.to_hash.to_s)
1494
- end
1495
- end
1496
-
1497
- describe 'test method "to_hash"' do
1498
- it 'returns the object in the form of hash' do
1499
- instance = Freeclimb::SMSTenDLCBrand.new(
1500
- account_id: "TS",
1501
2973
 
1502
2974
 
1503
- entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
2975
+ phone: "TS",
1504
2976
 
1505
- csp_id: "TS",
1506
2977
 
1507
- brand_id: "TS",
1508
2978
 
1509
- first_name: "TS",
1510
2979
 
1511
- last_name: "TS",
2980
+ street: "TS",
1512
2981
 
1513
- display_name: "TS",
1514
2982
 
1515
- company_name: "TS",
1516
2983
 
1517
- ein: "TS",
1518
2984
 
1519
- ein_issuing_country: "TS",
2985
+ city: "TS",
1520
2986
 
1521
- phone: "TS",
1522
2987
 
1523
- street: "TS",
1524
2988
 
1525
- city: "TS",
1526
2989
 
1527
2990
  state: "TS",
1528
2991
 
1529
- postal_code: "TS",
1530
2992
 
1531
- country: "TS",
1532
2993
 
1533
- email: "TS",
1534
2994
 
1535
- stock_symbol: "TS",
2995
+ postal_code: "TS",
1536
2996
 
1537
2997
 
1538
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1539
2998
 
1540
- ip_address: "TS",
1541
2999
 
1542
- website: "TS",
3000
+ country: "TS",
1543
3001
 
1544
3002
 
1545
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1546
3003
 
1547
- vertical: "TS",
1548
3004
 
1549
- alt_business_id: "TS",
3005
+ email: "TS",
1550
3006
 
1551
3007
 
1552
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1553
3008
 
1554
- universal_ein: "TS",
1555
3009
 
1556
- reference_id: "TS",
3010
+ stock_symbol: "TS",
1557
3011
 
1558
- optional_attributes: Hash.new(),
1559
3012
 
1560
- mock: true,
1561
3013
 
1562
3014
 
1563
- identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
3015
+ stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1564
3016
 
1565
3017
 
1566
- create_date: "2022-07-05T15:17:05Z",
1567
- )
1568
- expect(instance.to_hash).to be_a_kind_of(Hash)
1569
- end
1570
- it 'creates equal hash for two equal objects' do
1571
- obj = Object.new()
1572
- instance_1 = Freeclimb::SMSTenDLCBrand.new(
1573
- account_id: "TS",
1574
3018
 
1575
3019
 
1576
- entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
3020
+ ip_address: "TS",
1577
3021
 
1578
- csp_id: "TS",
1579
3022
 
1580
- brand_id: "TS",
1581
3023
 
1582
- first_name: "TS",
1583
3024
 
1584
- last_name: "TS",
3025
+ website: "TS",
1585
3026
 
1586
- display_name: "TS",
1587
3027
 
1588
- company_name: "TS",
1589
3028
 
1590
- ein: "TS",
1591
3029
 
1592
- ein_issuing_country: "TS",
3030
+ brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1593
3031
 
1594
- phone: "TS",
1595
3032
 
1596
- street: "TS",
1597
3033
 
1598
- city: "TS",
1599
3034
 
1600
- state: "TS",
3035
+ vertical: "TS",
1601
3036
 
1602
- postal_code: "TS",
1603
3037
 
1604
- country: "TS",
1605
3038
 
1606
- email: "TS",
1607
3039
 
1608
- stock_symbol: "TS",
3040
+ alt_business_id: "TS",
1609
3041
 
1610
3042
 
1611
- stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1612
3043
 
1613
- ip_address: "TS",
1614
3044
 
1615
- website: "TS",
3045
+ alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1616
3046
 
1617
3047
 
1618
- brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1619
3048
 
1620
- vertical: "TS",
1621
3049
 
1622
- alt_business_id: "TS",
3050
+ universal_ein: "TS",
1623
3051
 
1624
3052
 
1625
- alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1626
3053
 
1627
- universal_ein: "TS",
1628
3054
 
1629
3055
  reference_id: "TS",
1630
3056
 
3057
+
3058
+
3059
+
3060
+
1631
3061
  optional_attributes: Hash.new(),
1632
3062
 
3063
+
1633
3064
  mock: true,
1634
3065
 
1635
3066
 
3067
+
3068
+
1636
3069
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1637
3070
 
1638
3071
 
3072
+
3073
+
1639
3074
  create_date: "2022-07-05T15:17:05Z",
3075
+
3076
+
1640
3077
  )
1641
3078
  instance_2 = Freeclimb::SMSTenDLCBrand.new(
3079
+
1642
3080
  account_id: "TS",
1643
3081
 
1644
3082
 
3083
+
3084
+
1645
3085
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1646
3086
 
3087
+
3088
+
3089
+
1647
3090
  csp_id: "TS",
1648
3091
 
3092
+
3093
+
3094
+
1649
3095
  brand_id: "TS",
1650
3096
 
3097
+
3098
+
3099
+
1651
3100
  first_name: "TS",
1652
3101
 
3102
+
3103
+
3104
+
1653
3105
  last_name: "TS",
1654
3106
 
3107
+
3108
+
3109
+
1655
3110
  display_name: "TS",
1656
3111
 
3112
+
3113
+
3114
+
1657
3115
  company_name: "TS",
1658
3116
 
3117
+
3118
+
3119
+
1659
3120
  ein: "TS",
1660
3121
 
3122
+
3123
+
3124
+
1661
3125
  ein_issuing_country: "TS",
1662
3126
 
3127
+
3128
+
3129
+
1663
3130
  phone: "TS",
1664
3131
 
3132
+
3133
+
3134
+
1665
3135
  street: "TS",
1666
3136
 
3137
+
3138
+
3139
+
1667
3140
  city: "TS",
1668
3141
 
3142
+
3143
+
3144
+
1669
3145
  state: "TS",
1670
3146
 
3147
+
3148
+
3149
+
1671
3150
  postal_code: "TS",
1672
3151
 
3152
+
3153
+
3154
+
1673
3155
  country: "TS",
1674
3156
 
3157
+
3158
+
3159
+
1675
3160
  email: "TS",
1676
3161
 
3162
+
3163
+
3164
+
1677
3165
  stock_symbol: "TS",
1678
3166
 
1679
3167
 
3168
+
3169
+
1680
3170
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1681
3171
 
3172
+
3173
+
3174
+
1682
3175
  ip_address: "TS",
1683
3176
 
3177
+
3178
+
3179
+
1684
3180
  website: "TS",
1685
3181
 
1686
3182
 
3183
+
3184
+
1687
3185
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1688
3186
 
3187
+
3188
+
3189
+
1689
3190
  vertical: "TS",
1690
3191
 
3192
+
3193
+
3194
+
1691
3195
  alt_business_id: "TS",
1692
3196
 
1693
3197
 
3198
+
3199
+
1694
3200
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1695
3201
 
3202
+
3203
+
3204
+
1696
3205
  universal_ein: "TS",
1697
3206
 
3207
+
3208
+
3209
+
1698
3210
  reference_id: "TS",
1699
3211
 
3212
+
3213
+
3214
+
3215
+
1700
3216
  optional_attributes: Hash.new(),
1701
3217
 
3218
+
1702
3219
  mock: true,
1703
3220
 
1704
3221
 
3222
+
3223
+
1705
3224
  identity_status: Freeclimb::SMSTenDLCBrandIdentityStatus::SELF_DECLARED,
1706
3225
 
1707
3226
 
3227
+
3228
+
1708
3229
  create_date: "2022-07-05T15:17:05Z",
3230
+
3231
+
1709
3232
  )
1710
3233
  expect(instance_1.to_hash).to eq(instance_2.to_hash)
1711
3234
  end
@@ -1713,6 +3236,7 @@ describe Freeclimb::SMSTenDLCBrand do
1713
3236
 
1714
3237
  describe 'test method "_to_hash"' do
1715
3238
  instance = Freeclimb::SMSTenDLCBrand.new(
3239
+
1716
3240
  account_id: "TS",
1717
3241
 
1718
3242
 
@@ -1720,51 +3244,67 @@ describe Freeclimb::SMSTenDLCBrand do
1720
3244
  entity_type: Freeclimb::SMSTenDLCBrandEntityType::PRIVATE_PROFIT,
1721
3245
 
1722
3246
 
3247
+
1723
3248
  csp_id: "TS",
1724
3249
 
1725
3250
 
3251
+
1726
3252
  brand_id: "TS",
1727
3253
 
1728
3254
 
3255
+
1729
3256
  first_name: "TS",
1730
3257
 
1731
3258
 
3259
+
1732
3260
  last_name: "TS",
1733
3261
 
1734
3262
 
3263
+
1735
3264
  display_name: "TS",
1736
3265
 
1737
3266
 
3267
+
1738
3268
  company_name: "TS",
1739
3269
 
1740
3270
 
3271
+
1741
3272
  ein: "TS",
1742
3273
 
1743
3274
 
3275
+
1744
3276
  ein_issuing_country: "TS",
1745
3277
 
1746
3278
 
3279
+
1747
3280
  phone: "TS",
1748
3281
 
1749
3282
 
3283
+
1750
3284
  street: "TS",
1751
3285
 
1752
3286
 
3287
+
1753
3288
  city: "TS",
1754
3289
 
1755
3290
 
3291
+
1756
3292
  state: "TS",
1757
3293
 
1758
3294
 
3295
+
1759
3296
  postal_code: "TS",
1760
3297
 
1761
3298
 
3299
+
1762
3300
  country: "TS",
1763
3301
 
1764
3302
 
3303
+
1765
3304
  email: "TS",
1766
3305
 
1767
3306
 
3307
+
1768
3308
  stock_symbol: "TS",
1769
3309
 
1770
3310
 
@@ -1772,9 +3312,11 @@ describe Freeclimb::SMSTenDLCBrand do
1772
3312
  stock_exchange: Freeclimb::SMSTenDLCBrandStockExchange::NONE,
1773
3313
 
1774
3314
 
3315
+
1775
3316
  ip_address: "TS",
1776
3317
 
1777
3318
 
3319
+
1778
3320
  website: "TS",
1779
3321
 
1780
3322
 
@@ -1782,9 +3324,11 @@ describe Freeclimb::SMSTenDLCBrand do
1782
3324
  brand_relationship: Freeclimb::SMSTenDLCBrandRelationship::BASIC_ACCOUNT,
1783
3325
 
1784
3326
 
3327
+
1785
3328
  vertical: "TS",
1786
3329
 
1787
3330
 
3331
+
1788
3332
  alt_business_id: "TS",
1789
3333
 
1790
3334
 
@@ -1792,9 +3336,11 @@ describe Freeclimb::SMSTenDLCBrand do
1792
3336
  alt_business_id_type: Freeclimb::SMSTenDLCBrandAltBusinessIdType::NONE,
1793
3337
 
1794
3338
 
3339
+
1795
3340
  universal_ein: "TS",
1796
3341
 
1797
3342
 
3343
+
1798
3344
  reference_id: "TS",
1799
3345
 
1800
3346