freeclimb 4.6.0 → 4.6.1

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 (149) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +6 -5
  5. data/docs/DefaultApi.md +7 -6
  6. data/docs/TranscribeUtterance.md +1 -1
  7. data/docs/TranscribeUtteranceAllOf.md +28 -0
  8. data/docs/TranscribeUtteranceAllOfRecord.md +22 -0
  9. data/lib/freeclimb/api/default_api.rb +11 -7
  10. data/lib/freeclimb/models/account_request.rb +0 -2
  11. data/lib/freeclimb/models/account_result.rb +0 -6
  12. data/lib/freeclimb/models/add_to_conference.rb +0 -16
  13. data/lib/freeclimb/models/add_to_conference_all_of.rb +0 -16
  14. data/lib/freeclimb/models/application_result.rb +0 -6
  15. data/lib/freeclimb/models/buy_incoming_number_request.rb +0 -4
  16. data/lib/freeclimb/models/call_result.rb +0 -6
  17. data/lib/freeclimb/models/conference_participant_result.rb +0 -6
  18. data/lib/freeclimb/models/conference_result.rb +0 -6
  19. data/lib/freeclimb/models/create_conference.rb +0 -8
  20. data/lib/freeclimb/models/create_conference_all_of.rb +0 -8
  21. data/lib/freeclimb/models/create_conference_request.rb +0 -6
  22. data/lib/freeclimb/models/create_web_rtc_token.rb +0 -4
  23. data/lib/freeclimb/models/dequeue.rb +1 -0
  24. data/lib/freeclimb/models/enqueue.rb +0 -6
  25. data/lib/freeclimb/models/enqueue_all_of.rb +0 -6
  26. data/lib/freeclimb/models/get_digits.rb +0 -16
  27. data/lib/freeclimb/models/get_digits_all_of.rb +0 -16
  28. data/lib/freeclimb/models/get_speech.rb +0 -22
  29. data/lib/freeclimb/models/get_speech_all_of.rb +0 -22
  30. data/lib/freeclimb/models/incoming_number_request.rb +0 -2
  31. data/lib/freeclimb/models/incoming_number_result.rb +0 -10
  32. data/lib/freeclimb/models/incoming_number_result_all_of.rb +0 -2
  33. data/lib/freeclimb/models/make_call_request.rb +0 -18
  34. data/lib/freeclimb/models/message_request.rb +0 -16
  35. data/lib/freeclimb/models/message_request_all_of.rb +0 -8
  36. data/lib/freeclimb/models/message_result.rb +0 -8
  37. data/lib/freeclimb/models/message_result_all_of.rb +0 -2
  38. data/lib/freeclimb/models/mutable_resource_model.rb +0 -6
  39. data/lib/freeclimb/models/out_dial.rb +0 -18
  40. data/lib/freeclimb/models/out_dial_all_of.rb +0 -18
  41. data/lib/freeclimb/models/park.rb +0 -4
  42. data/lib/freeclimb/models/park_all_of.rb +0 -4
  43. data/lib/freeclimb/models/play.rb +0 -4
  44. data/lib/freeclimb/models/play_all_of.rb +0 -4
  45. data/lib/freeclimb/models/queue_request.rb +0 -2
  46. data/lib/freeclimb/models/queue_result.rb +0 -6
  47. data/lib/freeclimb/models/record_utterance.rb +0 -12
  48. data/lib/freeclimb/models/record_utterance_all_of.rb +0 -12
  49. data/lib/freeclimb/models/recording_result.rb +0 -6
  50. data/lib/freeclimb/models/remove_from_conference.rb +1 -0
  51. data/lib/freeclimb/models/say.rb +0 -6
  52. data/lib/freeclimb/models/say_all_of.rb +0 -6
  53. data/lib/freeclimb/models/send_digits.rb +0 -4
  54. data/lib/freeclimb/models/send_digits_all_of.rb +0 -4
  55. data/lib/freeclimb/models/sms.rb +0 -6
  56. data/lib/freeclimb/models/sms_all_of.rb +0 -6
  57. data/lib/freeclimb/models/sms_ten_dlc_brand.rb +0 -60
  58. data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +0 -50
  59. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +0 -44
  60. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +0 -20
  61. data/lib/freeclimb/models/sms_toll_free_campaign.rb +0 -12
  62. data/lib/freeclimb/models/start_record_call.rb +1 -0
  63. data/lib/freeclimb/models/terminate_conference.rb +1 -0
  64. data/lib/freeclimb/models/transcribe_utterance.rb +11 -16
  65. data/lib/freeclimb/models/{terminate_conference_all_of.rb → transcribe_utterance_all_of.rb} +67 -14
  66. data/lib/freeclimb/models/{transcribe_utterance_record.rb → transcribe_utterance_all_of_record.rb} +3 -7
  67. data/lib/freeclimb/models/unpark.rb +1 -0
  68. data/lib/freeclimb/models/update_conference_participant_request.rb +0 -2
  69. data/lib/freeclimb/models/update_conference_request.rb +0 -2
  70. data/lib/freeclimb/version.rb +1 -1
  71. data/lib/freeclimb.rb +3 -2
  72. data/openapi.json +142 -318
  73. data/spec/api/default_api_spec.rb +120 -61
  74. data/spec/models/account_request_spec.rb +8 -6
  75. data/spec/models/account_result_spec.rb +28 -9
  76. data/spec/models/add_to_conference_spec.rb +21 -7
  77. data/spec/models/application_list_spec.rb +46 -22
  78. data/spec/models/application_request_spec.rb +13 -6
  79. data/spec/models/application_result_spec.rb +24 -9
  80. data/spec/models/available_number_list_spec.rb +46 -22
  81. data/spec/models/available_number_spec.rb +23 -10
  82. data/spec/models/buy_incoming_number_request_spec.rb +11 -7
  83. data/spec/models/call_list_spec.rb +46 -22
  84. data/spec/models/call_result_spec.rb +49 -15
  85. data/spec/models/capabilities_spec.rb +26 -11
  86. data/spec/models/conference_list_spec.rb +46 -22
  87. data/spec/models/conference_participant_list_spec.rb +46 -22
  88. data/spec/models/conference_participant_result_spec.rb +24 -9
  89. data/spec/models/conference_result_spec.rb +32 -9
  90. data/spec/models/create_conference_request_spec.rb +15 -6
  91. data/spec/models/create_conference_spec.rb +19 -7
  92. data/spec/models/create_web_rtc_token_spec.rb +18 -12
  93. data/spec/models/enqueue_spec.rb +16 -9
  94. data/spec/models/filter_logs_request_spec.rb +9 -7
  95. data/spec/models/get_digits_spec.rb +43 -19
  96. data/spec/models/get_speech_spec.rb +60 -24
  97. data/spec/models/hangup_spec.rb +7 -6
  98. data/spec/models/incoming_number_list_spec.rb +46 -22
  99. data/spec/models/incoming_number_request_spec.rb +9 -6
  100. data/spec/models/incoming_number_result_spec.rb +47 -17
  101. data/spec/models/log_list_spec.rb +46 -22
  102. data/spec/models/log_result_spec.rb +21 -9
  103. data/spec/models/make_call_request_spec.rb +26 -11
  104. data/spec/models/message_request_spec.rb +26 -12
  105. data/spec/models/message_result_spec.rb +34 -11
  106. data/spec/models/messages_list_spec.rb +46 -22
  107. data/spec/models/mutable_resource_model_spec.rb +15 -9
  108. data/spec/models/out_dial_spec.rb +33 -13
  109. data/spec/models/pagination_model_spec.rb +40 -21
  110. data/spec/models/park_spec.rb +13 -8
  111. data/spec/models/pause_spec.rb +14 -10
  112. data/spec/models/percl_command_spec.rb +6 -6
  113. data/spec/models/percl_script_spec.rb +11 -6
  114. data/spec/models/play_early_media_spec.rb +9 -7
  115. data/spec/models/play_spec.rb +17 -10
  116. data/spec/models/queue_list_spec.rb +46 -22
  117. data/spec/models/queue_member_list_spec.rb +46 -22
  118. data/spec/models/queue_member_spec.rb +21 -12
  119. data/spec/models/queue_request_spec.rb +13 -9
  120. data/spec/models/queue_result_spec.rb +37 -18
  121. data/spec/models/record_utterance_spec.rb +28 -13
  122. data/spec/models/recording_list_spec.rb +46 -22
  123. data/spec/models/recording_result_spec.rb +25 -12
  124. data/spec/models/redirect_spec.rb +9 -7
  125. data/spec/models/reject_spec.rb +7 -6
  126. data/spec/models/remove_from_conference_spec.rb +0 -67
  127. data/spec/models/say_spec.rb +18 -10
  128. data/spec/models/send_digits_spec.rb +17 -10
  129. data/spec/models/set_listen_spec.rb +8 -6
  130. data/spec/models/set_talk_spec.rb +8 -6
  131. data/spec/models/sms_spec.rb +16 -9
  132. data/spec/models/sms_ten_dlc_brand_spec.rb +38 -4
  133. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +46 -22
  134. data/spec/models/sms_ten_dlc_campaign_spec.rb +63 -4
  135. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +46 -22
  136. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +25 -7
  137. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +56 -8
  138. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +46 -22
  139. data/spec/models/sms_toll_free_campaign_spec.rb +29 -15
  140. data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +46 -22
  141. data/spec/models/terminate_conference_spec.rb +0 -67
  142. data/spec/models/tfn_spec.rb +9 -7
  143. data/spec/models/{transcribe_utterance_record_spec.rb → transcribe_utterance_all_of_record_spec.rb} +78 -67
  144. data/spec/models/transcribe_utterance_spec.rb +37 -96
  145. data/spec/models/update_call_request_spec.rb +12 -7
  146. data/spec/models/update_conference_participant_request_spec.rb +10 -6
  147. data/spec/models/update_conference_request_spec.rb +15 -6
  148. metadata +88 -87
  149. data/lib/freeclimb/models/remove_from_conference_all_of.rb +0 -228
@@ -30,6 +30,7 @@ describe Freeclimb::Redirect do
30
30
  it 'should work' do
31
31
  instance.action_url = "TEST_STRING"
32
32
  expect(instance.action_url).to eq("TEST_STRING")
33
+
33
34
  end
34
35
  end
35
36
 
@@ -52,7 +53,7 @@ describe Freeclimb::Redirect do
52
53
  )}.to raise_error(ArgumentError)
53
54
  end
54
55
  end
55
-
56
+
56
57
  describe 'test method "valid"' do
57
58
  it 'checks if properties are valid' do
58
59
  instance = Freeclimb::Redirect.new(
@@ -60,16 +61,16 @@ describe Freeclimb::Redirect do
60
61
  )
61
62
  expect(instance.valid?).to eq(true)
62
63
  end
64
+
63
65
  it 'checks if properties are invalid' do
64
66
  instance = Freeclimb::Redirect.new(
65
- action_url: nil,
67
+
68
+ action_url: nil,
69
+
66
70
  )
67
71
  expect(instance.valid?).to eq(false)
68
72
  end
69
- it 'checks if model is empty' do
70
- instance = Freeclimb::Redirect.new()
71
- expect(instance.valid?).to eq(false)
72
- end
73
+
73
74
  end
74
75
 
75
76
  describe 'test method "eql?"' do
@@ -83,6 +84,7 @@ describe Freeclimb::Redirect do
83
84
  )
84
85
  expect(instance_1.eql?(instance_2)).to eq(true)
85
86
  end
87
+
86
88
  it 'checks if objects are not equal' do
87
89
  instance_1 = Freeclimb::Redirect.new(
88
90
  action_url: "TS",
@@ -93,7 +95,7 @@ describe Freeclimb::Redirect do
93
95
  expect(instance_1.eql?(instance_2)).to eq(false)
94
96
  end
95
97
  end
96
-
98
+
97
99
  describe 'test method "hash"' do
98
100
  it 'calculates hash code' do
99
101
  instance = Freeclimb::Redirect.new(
@@ -30,6 +30,7 @@ describe Freeclimb::Reject do
30
30
  it 'should work' do
31
31
  instance.reason = "TEST_STRING"
32
32
  expect(instance.reason).to eq("TEST_STRING")
33
+
33
34
  end
34
35
  end
35
36
 
@@ -52,7 +53,7 @@ describe Freeclimb::Reject do
52
53
  )}.to raise_error(ArgumentError)
53
54
  end
54
55
  end
55
-
56
+
56
57
  describe 'test method "valid"' do
57
58
  it 'checks if properties are valid' do
58
59
  instance = Freeclimb::Reject.new(
@@ -60,15 +61,14 @@ describe Freeclimb::Reject do
60
61
  )
61
62
  expect(instance.valid?).to eq(true)
62
63
  end
64
+
63
65
  it 'checks if properties are invalid' do
64
66
  instance = Freeclimb::Reject.new(
67
+
65
68
  )
66
69
  expect(instance.valid?).to eq(false)
67
70
  end
68
- it 'checks if model is empty' do
69
- instance = Freeclimb::Reject.new()
70
- expect(instance.valid?).to eq(false)
71
- end
71
+
72
72
  end
73
73
 
74
74
  describe 'test method "eql?"' do
@@ -82,6 +82,7 @@ describe Freeclimb::Reject do
82
82
  )
83
83
  expect(instance_1.eql?(instance_2)).to eq(true)
84
84
  end
85
+
85
86
  it 'checks if objects are not equal' do
86
87
  instance_1 = Freeclimb::Reject.new(
87
88
  reason: "TS",
@@ -92,7 +93,7 @@ describe Freeclimb::Reject do
92
93
  expect(instance_1.eql?(instance_2)).to eq(false)
93
94
  end
94
95
  end
95
-
96
+
96
97
  describe 'test method "hash"' do
97
98
  it 'calculates hash code' do
98
99
  instance = Freeclimb::Reject.new(
@@ -26,71 +26,4 @@ describe Freeclimb::RemoveFromConference do
26
26
  end
27
27
  end
28
28
 
29
- describe 'test method "initialize"' do
30
- it 'properly initializes with values' do
31
- expect{instance = Freeclimb::RemoveFromConference.new(
32
- )}.not_to raise_error()
33
- end
34
- it 'fails to initialize with input argument that is not a hash in Freeclimb::RemoveFromConference' do
35
- expect{instance = Freeclimb::RemoveFromConference.new(
36
- invalid_attribute: true
37
- )}.to raise_error(ArgumentError)
38
- end
39
- it 'fails to initialize with invalid attribute' do
40
- expect{instance = Freeclimb::RemoveFromConference.new(
41
- invalid_attribute: true
42
- )}.to raise_error(ArgumentError)
43
- end
44
- end
45
-
46
- describe 'test method "hash"' do
47
- it 'calculates hash code' do
48
- instance = Freeclimb::RemoveFromConference.new(
49
- )
50
- expect(instance.hash).to be_a_kind_of(Integer)
51
- end
52
- end
53
-
54
- describe 'test method "build_from_hash"' do
55
- it 'builds equivalent model from hash code' do
56
- instance_1 = Freeclimb::RemoveFromConference.new(
57
- )
58
- instance_2 = Freeclimb::RemoveFromConference.new
59
- expect(instance_2.build_from_hash(instance_1.hash)).to eq(instance_1.build_from_hash(instance_1.hash))
60
- end
61
- end
62
-
63
- describe 'test method "_deserialize"' do
64
- instance = Freeclimb::RemoveFromConference.new(
65
- )
66
- end
67
-
68
- describe 'test method "to_s"' do
69
- it 'returns the string representation of the object' do
70
- instance = Freeclimb::RemoveFromConference.new(
71
- )
72
- expect(instance.to_s).to eq(instance.to_hash.to_s)
73
- end
74
- end
75
-
76
- describe 'test method "to_hash"' do
77
- it 'returns the object in the form of hash' do
78
- instance = Freeclimb::RemoveFromConference.new(
79
- )
80
- expect(instance.to_hash).to be_a_kind_of(Hash)
81
- end
82
- it 'creates equal hash for two equal objects' do
83
- obj = Object.new()
84
- instance_1 = Freeclimb::RemoveFromConference.new(
85
- )
86
- instance_2 = Freeclimb::RemoveFromConference.new(
87
- )
88
- expect(instance_1.to_hash).to eq(instance_2.to_hash)
89
- end
90
- end
91
-
92
- describe 'test method "_to_hash"' do
93
- instance = Freeclimb::RemoveFromConference.new()
94
- end
95
-
96
29
  end
@@ -30,6 +30,7 @@ describe Freeclimb::Say do
30
30
  it 'should work' do
31
31
  instance.text = "TEST_STRING"
32
32
  expect(instance.text).to eq("TEST_STRING")
33
+
33
34
  end
34
35
  end
35
36
 
@@ -37,13 +38,17 @@ describe Freeclimb::Say do
37
38
  it 'should work' do
38
39
  instance.language = "TEST_STRING"
39
40
  expect(instance.language).to eq("TEST_STRING")
41
+
40
42
  end
41
43
  end
42
44
 
43
45
  describe 'test attribute "loop"' do
44
46
  it 'should work' do
47
+
48
+
45
49
  instance.loop = 1
46
- expect(instance.loop).to eq(1)
50
+ expect(instance.loop).to eq(1)
51
+
47
52
  end
48
53
  end
49
54
 
@@ -51,6 +56,7 @@ describe Freeclimb::Say do
51
56
  it 'should work' do
52
57
  instance.privacy_mode = false
53
58
  expect(instance.privacy_mode).to eq(false)
59
+
54
60
  end
55
61
  end
56
62
 
@@ -82,7 +88,7 @@ describe Freeclimb::Say do
82
88
  )}.to raise_error(ArgumentError)
83
89
  end
84
90
  end
85
-
91
+
86
92
  describe 'test method "valid"' do
87
93
  it 'checks if properties are valid' do
88
94
  instance = Freeclimb::Say.new(
@@ -93,16 +99,17 @@ describe Freeclimb::Say do
93
99
  )
94
100
  expect(instance.valid?).to eq(true)
95
101
  end
102
+
96
103
  it 'checks if properties are invalid' do
97
104
  instance = Freeclimb::Say.new(
98
- text: nil,
105
+
106
+ text: nil,
107
+ privacy_mode: nil,
108
+
99
109
  )
100
110
  expect(instance.valid?).to eq(false)
101
111
  end
102
- it 'checks if model is empty' do
103
- instance = Freeclimb::Say.new()
104
- expect(instance.valid?).to eq(false)
105
- end
112
+
106
113
  end
107
114
 
108
115
  describe 'test method "eql?"' do
@@ -122,23 +129,24 @@ describe Freeclimb::Say do
122
129
  )
123
130
  expect(instance_1.eql?(instance_2)).to eq(true)
124
131
  end
132
+
125
133
  it 'checks if objects are not equal' do
126
134
  instance_1 = Freeclimb::Say.new(
127
135
  text: "TS",
128
136
  language: "TS",
129
- loop: 1,
137
+ loop: 2,
130
138
  privacy_mode: true,
131
139
  )
132
140
  instance_2 = Freeclimb::Say.new(
133
141
  text: "ST",
134
142
  language: "ST",
135
- loop: 0,
143
+ loop: 1,
136
144
  privacy_mode: false,
137
145
  )
138
146
  expect(instance_1.eql?(instance_2)).to eq(false)
139
147
  end
140
148
  end
141
-
149
+
142
150
  describe 'test method "hash"' do
143
151
  it 'calculates hash code' do
144
152
  instance = Freeclimb::Say.new(
@@ -30,13 +30,17 @@ describe Freeclimb::SendDigits do
30
30
  it 'should work' do
31
31
  instance.digits = "TEST_STRING"
32
32
  expect(instance.digits).to eq("TEST_STRING")
33
+
33
34
  end
34
35
  end
35
36
 
36
37
  describe 'test attribute "pause_ms"' do
37
38
  it 'should work' do
39
+
40
+
38
41
  instance.pause_ms = 1
39
- expect(instance.pause_ms).to eq(1)
42
+ expect(instance.pause_ms).to eq(1)
43
+
40
44
  end
41
45
  end
42
46
 
@@ -44,6 +48,7 @@ describe Freeclimb::SendDigits do
44
48
  it 'should work' do
45
49
  instance.privacy_mode = false
46
50
  expect(instance.privacy_mode).to eq(false)
51
+
47
52
  end
48
53
  end
49
54
 
@@ -72,7 +77,7 @@ describe Freeclimb::SendDigits do
72
77
  )}.to raise_error(ArgumentError)
73
78
  end
74
79
  end
75
-
80
+
76
81
  describe 'test method "valid"' do
77
82
  it 'checks if properties are valid' do
78
83
  instance = Freeclimb::SendDigits.new(
@@ -82,16 +87,17 @@ describe Freeclimb::SendDigits do
82
87
  )
83
88
  expect(instance.valid?).to eq(true)
84
89
  end
90
+
85
91
  it 'checks if properties are invalid' do
86
92
  instance = Freeclimb::SendDigits.new(
87
- digits: nil,
93
+
94
+ digits: nil,
95
+ privacy_mode: nil,
96
+
88
97
  )
89
98
  expect(instance.valid?).to eq(false)
90
99
  end
91
- it 'checks if model is empty' do
92
- instance = Freeclimb::SendDigits.new()
93
- expect(instance.valid?).to eq(false)
94
- end
100
+
95
101
  end
96
102
 
97
103
  describe 'test method "eql?"' do
@@ -109,21 +115,22 @@ describe Freeclimb::SendDigits do
109
115
  )
110
116
  expect(instance_1.eql?(instance_2)).to eq(true)
111
117
  end
118
+
112
119
  it 'checks if objects are not equal' do
113
120
  instance_1 = Freeclimb::SendDigits.new(
114
121
  digits: "TS",
115
- pause_ms: 1,
122
+ pause_ms: 2,
116
123
  privacy_mode: true,
117
124
  )
118
125
  instance_2 = Freeclimb::SendDigits.new(
119
126
  digits: "ST",
120
- pause_ms: 0,
127
+ pause_ms: 1,
121
128
  privacy_mode: false,
122
129
  )
123
130
  expect(instance_1.eql?(instance_2)).to eq(false)
124
131
  end
125
132
  end
126
-
133
+
127
134
  describe 'test method "hash"' do
128
135
  it 'calculates hash code' do
129
136
  instance = Freeclimb::SendDigits.new(
@@ -30,6 +30,7 @@ describe Freeclimb::SetListen do
30
30
  it 'should work' do
31
31
  instance.listen = false
32
32
  expect(instance.listen).to eq(false)
33
+
33
34
  end
34
35
  end
35
36
 
@@ -52,7 +53,7 @@ describe Freeclimb::SetListen do
52
53
  )}.to raise_error(ArgumentError)
53
54
  end
54
55
  end
55
-
56
+
56
57
  describe 'test method "valid"' do
57
58
  it 'checks if properties are valid' do
58
59
  instance = Freeclimb::SetListen.new(
@@ -60,15 +61,15 @@ describe Freeclimb::SetListen do
60
61
  )
61
62
  expect(instance.valid?).to eq(true)
62
63
  end
64
+
63
65
  it 'checks if properties are invalid' do
64
66
  instance = Freeclimb::SetListen.new(
67
+ listen: nil,
68
+
65
69
  )
66
70
  expect(instance.valid?).to eq(false)
67
71
  end
68
- it 'checks if model is empty' do
69
- instance = Freeclimb::SetListen.new()
70
- expect(instance.valid?).to eq(false)
71
- end
72
+
72
73
  end
73
74
 
74
75
  describe 'test method "eql?"' do
@@ -82,6 +83,7 @@ describe Freeclimb::SetListen do
82
83
  )
83
84
  expect(instance_1.eql?(instance_2)).to eq(true)
84
85
  end
86
+
85
87
  it 'checks if objects are not equal' do
86
88
  instance_1 = Freeclimb::SetListen.new(
87
89
  listen: true,
@@ -92,7 +94,7 @@ describe Freeclimb::SetListen do
92
94
  expect(instance_1.eql?(instance_2)).to eq(false)
93
95
  end
94
96
  end
95
-
97
+
96
98
  describe 'test method "hash"' do
97
99
  it 'calculates hash code' do
98
100
  instance = Freeclimb::SetListen.new(
@@ -30,6 +30,7 @@ describe Freeclimb::SetTalk do
30
30
  it 'should work' do
31
31
  instance.talk = false
32
32
  expect(instance.talk).to eq(false)
33
+
33
34
  end
34
35
  end
35
36
 
@@ -52,7 +53,7 @@ describe Freeclimb::SetTalk do
52
53
  )}.to raise_error(ArgumentError)
53
54
  end
54
55
  end
55
-
56
+
56
57
  describe 'test method "valid"' do
57
58
  it 'checks if properties are valid' do
58
59
  instance = Freeclimb::SetTalk.new(
@@ -60,15 +61,15 @@ describe Freeclimb::SetTalk do
60
61
  )
61
62
  expect(instance.valid?).to eq(true)
62
63
  end
64
+
63
65
  it 'checks if properties are invalid' do
64
66
  instance = Freeclimb::SetTalk.new(
67
+ talk: nil,
68
+
65
69
  )
66
70
  expect(instance.valid?).to eq(false)
67
71
  end
68
- it 'checks if model is empty' do
69
- instance = Freeclimb::SetTalk.new()
70
- expect(instance.valid?).to eq(false)
71
- end
72
+
72
73
  end
73
74
 
74
75
  describe 'test method "eql?"' do
@@ -82,6 +83,7 @@ describe Freeclimb::SetTalk do
82
83
  )
83
84
  expect(instance_1.eql?(instance_2)).to eq(true)
84
85
  end
86
+
85
87
  it 'checks if objects are not equal' do
86
88
  instance_1 = Freeclimb::SetTalk.new(
87
89
  talk: true,
@@ -92,7 +94,7 @@ describe Freeclimb::SetTalk do
92
94
  expect(instance_1.eql?(instance_2)).to eq(false)
93
95
  end
94
96
  end
95
-
97
+
96
98
  describe 'test method "hash"' do
97
99
  it 'calculates hash code' do
98
100
  instance = Freeclimb::SetTalk.new(
@@ -30,6 +30,7 @@ describe Freeclimb::Sms do
30
30
  it 'should work' do
31
31
  instance.to = "TEST_STRING"
32
32
  expect(instance.to).to eq("TEST_STRING")
33
+
33
34
  end
34
35
  end
35
36
 
@@ -37,6 +38,7 @@ describe Freeclimb::Sms do
37
38
  it 'should work' do
38
39
  instance.from = "TEST_STRING"
39
40
  expect(instance.from).to eq("TEST_STRING")
41
+
40
42
  end
41
43
  end
42
44
 
@@ -44,6 +46,7 @@ describe Freeclimb::Sms do
44
46
  it 'should work' do
45
47
  instance.text = "TEST_STRING"
46
48
  expect(instance.text).to eq("TEST_STRING")
49
+
47
50
  end
48
51
  end
49
52
 
@@ -51,6 +54,7 @@ describe Freeclimb::Sms do
51
54
  it 'should work' do
52
55
  instance.notification_url = "TEST_STRING"
53
56
  expect(instance.notification_url).to eq("TEST_STRING")
57
+
54
58
  end
55
59
  end
56
60
 
@@ -82,7 +86,7 @@ describe Freeclimb::Sms do
82
86
  )}.to raise_error(ArgumentError)
83
87
  end
84
88
  end
85
-
89
+
86
90
  describe 'test method "valid"' do
87
91
  it 'checks if properties are valid' do
88
92
  instance = Freeclimb::Sms.new(
@@ -93,18 +97,20 @@ describe Freeclimb::Sms do
93
97
  )
94
98
  expect(instance.valid?).to eq(true)
95
99
  end
100
+
96
101
  it 'checks if properties are invalid' do
97
102
  instance = Freeclimb::Sms.new(
98
- to: nil,
99
- from: nil,
100
- text: nil,
103
+
104
+ to: nil,
105
+
106
+ from: nil,
107
+
108
+ text: nil,
109
+
101
110
  )
102
111
  expect(instance.valid?).to eq(false)
103
112
  end
104
- it 'checks if model is empty' do
105
- instance = Freeclimb::Sms.new()
106
- expect(instance.valid?).to eq(false)
107
- end
113
+
108
114
  end
109
115
 
110
116
  describe 'test method "eql?"' do
@@ -124,6 +130,7 @@ describe Freeclimb::Sms do
124
130
  )
125
131
  expect(instance_1.eql?(instance_2)).to eq(true)
126
132
  end
133
+
127
134
  it 'checks if objects are not equal' do
128
135
  instance_1 = Freeclimb::Sms.new(
129
136
  to: "TS",
@@ -140,7 +147,7 @@ describe Freeclimb::Sms do
140
147
  expect(instance_1.eql?(instance_2)).to eq(false)
141
148
  end
142
149
  end
143
-
150
+
144
151
  describe 'test method "hash"' do
145
152
  it 'calculates hash code' do
146
153
  instance = Freeclimb::Sms.new(
@@ -30,6 +30,7 @@ describe Freeclimb::SMSTenDLCBrand do
30
30
  it 'should work' do
31
31
  instance.account_id = "TEST_STRING"
32
32
  expect(instance.account_id).to eq("TEST_STRING")
33
+
33
34
  end
34
35
  end
35
36
 
@@ -65,6 +66,7 @@ describe Freeclimb::SMSTenDLCBrand do
65
66
  it 'should work' do
66
67
  instance.csp_id = "TEST_STRING"
67
68
  expect(instance.csp_id).to eq("TEST_STRING")
69
+
68
70
  end
69
71
  end
70
72
 
@@ -72,6 +74,7 @@ describe Freeclimb::SMSTenDLCBrand do
72
74
  it 'should work' do
73
75
  instance.brand_id = "TEST_STRING"
74
76
  expect(instance.brand_id).to eq("TEST_STRING")
77
+
75
78
  end
76
79
  end
77
80
 
@@ -427,6 +430,7 @@ describe Freeclimb::SMSTenDLCBrand do
427
430
  it 'should work' do
428
431
  instance.universal_ein = "TEST_STRING"
429
432
  expect(instance.universal_ein).to eq("TEST_STRING")
433
+
430
434
  end
431
435
  end
432
436
 
@@ -442,6 +446,7 @@ describe Freeclimb::SMSTenDLCBrand do
442
446
 
443
447
  describe 'test attribute "optional_attributes"' do
444
448
  it 'should work' do
449
+
445
450
  testObject = Object.new()
446
451
  instance.optional_attributes = testObject
447
452
  expect(instance.optional_attributes).to eq(testObject)
@@ -452,6 +457,7 @@ describe Freeclimb::SMSTenDLCBrand do
452
457
  it 'should work' do
453
458
  instance.mock = false
454
459
  expect(instance.mock).to eq(false)
460
+
455
461
  end
456
462
  end
457
463
 
@@ -483,6 +489,7 @@ describe Freeclimb::SMSTenDLCBrand do
483
489
  it 'should work' do
484
490
  instance.create_date = "2022-07-05T15:17:05Z"
485
491
  expect(instance.create_date).to eq("2022-07-05T15:17:05Z")
492
+
486
493
  end
487
494
  end
488
495
 
@@ -595,7 +602,7 @@ describe Freeclimb::SMSTenDLCBrand do
595
602
  )}.to raise_error(ArgumentError)
596
603
  end
597
604
  end
598
-
605
+
599
606
  describe 'test method "valid"' do
600
607
  it 'checks if properties are valid' do
601
608
  instance = Freeclimb::SMSTenDLCBrand.new(
@@ -633,10 +640,36 @@ describe Freeclimb::SMSTenDLCBrand do
633
640
  )
634
641
  expect(instance.valid?).to eq(true)
635
642
  end
636
- it 'checks if model is empty' do
637
- instance = Freeclimb::SMSTenDLCBrand.new()
643
+
644
+ it 'checks if properties are invalid' do
645
+ instance = Freeclimb::SMSTenDLCBrand.new(
646
+ first_name: nil,
647
+ last_name: nil,
648
+
649
+ display_name: "T" * 255,company_name: nil,
650
+ ein: nil,
651
+ ein_issuing_country: nil,
652
+
653
+ phone: "T" * 20,street: nil,
654
+ city: nil,
655
+ state: nil,
656
+ postal_code: nil,
657
+
658
+ country: "T" * 2,
659
+ email: "T" * 100,stock_symbol: nil,
660
+ ip_address: nil,
661
+ website: nil,
662
+
663
+ vertical: "T" * 50,alt_business_id: nil,
664
+ reference_id: nil,
665
+ mock: nil,
666
+
667
+ mock: nil,
668
+
669
+ )
638
670
  expect(instance.valid?).to eq(false)
639
671
  end
672
+
640
673
  end
641
674
 
642
675
  describe 'test method "eql?"' do
@@ -706,6 +739,7 @@ describe Freeclimb::SMSTenDLCBrand do
706
739
  )
707
740
  expect(instance_1.eql?(instance_2)).to eq(true)
708
741
  end
742
+
709
743
  it 'checks if objects are not equal' do
710
744
  instance_1 = Freeclimb::SMSTenDLCBrand.new(
711
745
  account_id: "TS",
@@ -772,7 +806,7 @@ describe Freeclimb::SMSTenDLCBrand do
772
806
  expect(instance_1.eql?(instance_2)).to eq(false)
773
807
  end
774
808
  end
775
-
809
+
776
810
  describe 'test method "hash"' do
777
811
  it 'calculates hash code' do
778
812
  instance = Freeclimb::SMSTenDLCBrand.new(