freeclimb 4.5.2 → 4.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +15 -7
  5. data/docs/AddToConference.md +0 -2
  6. data/docs/AddToConferenceAllOf.md +0 -2
  7. data/docs/CreateWebRTCToken.md +22 -0
  8. data/docs/DefaultApi.md +303 -7
  9. data/docs/GetDigits.md +1 -1
  10. data/docs/GetDigitsAllOf.md +1 -1
  11. data/docs/IncomingNumberResult.md +3 -1
  12. data/docs/IncomingNumberResultAllOf.md +3 -1
  13. data/docs/MessageRequest.md +2 -2
  14. data/docs/MessageRequestAllOf.md +2 -2
  15. data/docs/MessageResult.md +3 -1
  16. data/docs/MessageResultAllOf.md +3 -1
  17. data/docs/Play.md +0 -2
  18. data/docs/PlayAllOf.md +0 -2
  19. data/docs/RemoveFromConference.md +1 -4
  20. data/docs/SMSTenDLCCampaign.md +10 -0
  21. data/docs/SMSTollFreeCampaign.md +30 -0
  22. data/docs/SMSTollFreeCampaignsListResult.md +32 -0
  23. data/docs/SMSTollFreeCampaignsListResultAllOf.md +18 -0
  24. data/docs/Say.md +0 -2
  25. data/docs/SayAllOf.md +0 -2
  26. data/docs/SetListen.md +0 -2
  27. data/docs/SetListenAllOf.md +0 -2
  28. data/docs/SetTalk.md +0 -2
  29. data/docs/SetTalkAllOf.md +0 -2
  30. data/docs/TFN.md +18 -0
  31. data/docs/TerminateConference.md +1 -4
  32. data/docs/TranscribeUtterance.md +1 -1
  33. data/docs/TranscribeUtteranceAllOf.md +28 -0
  34. data/docs/TranscribeUtteranceAllOfRecord.md +22 -0
  35. data/lib/freeclimb/api/default_api.rb +262 -7
  36. data/lib/freeclimb/models/account_request.rb +0 -2
  37. data/lib/freeclimb/models/account_result.rb +0 -6
  38. data/lib/freeclimb/models/add_to_conference.rb +1 -29
  39. data/lib/freeclimb/models/add_to_conference_all_of.rb +1 -29
  40. data/lib/freeclimb/models/application_result.rb +0 -6
  41. data/lib/freeclimb/models/buy_incoming_number_request.rb +0 -4
  42. data/lib/freeclimb/models/call_result.rb +0 -6
  43. data/lib/freeclimb/models/conference_participant_result.rb +0 -6
  44. data/lib/freeclimb/models/conference_result.rb +0 -6
  45. data/lib/freeclimb/models/create_conference.rb +0 -8
  46. data/lib/freeclimb/models/create_conference_all_of.rb +0 -8
  47. data/lib/freeclimb/models/create_conference_request.rb +0 -6
  48. data/lib/freeclimb/models/create_web_rtc_token.rb +274 -0
  49. data/lib/freeclimb/models/dequeue.rb +1 -0
  50. data/lib/freeclimb/models/enqueue.rb +0 -6
  51. data/lib/freeclimb/models/enqueue_all_of.rb +0 -6
  52. data/lib/freeclimb/models/get_digits.rb +1 -17
  53. data/lib/freeclimb/models/get_digits_all_of.rb +1 -17
  54. data/lib/freeclimb/models/get_speech.rb +0 -22
  55. data/lib/freeclimb/models/get_speech_all_of.rb +0 -22
  56. data/lib/freeclimb/models/incoming_number_request.rb +0 -2
  57. data/lib/freeclimb/models/incoming_number_result.rb +14 -13
  58. data/lib/freeclimb/models/incoming_number_result_all_of.rb +14 -5
  59. data/lib/freeclimb/models/make_call_request.rb +0 -18
  60. data/lib/freeclimb/models/message_request.rb +10 -24
  61. data/lib/freeclimb/models/message_request_all_of.rb +10 -16
  62. data/lib/freeclimb/models/message_result.rb +17 -11
  63. data/lib/freeclimb/models/message_result_all_of.rb +17 -5
  64. data/lib/freeclimb/models/mutable_resource_model.rb +0 -6
  65. data/lib/freeclimb/models/out_dial.rb +0 -18
  66. data/lib/freeclimb/models/out_dial_all_of.rb +0 -18
  67. data/lib/freeclimb/models/park.rb +0 -4
  68. data/lib/freeclimb/models/park_all_of.rb +0 -4
  69. data/lib/freeclimb/models/play.rb +1 -17
  70. data/lib/freeclimb/models/play_all_of.rb +1 -17
  71. data/lib/freeclimb/models/queue_request.rb +0 -2
  72. data/lib/freeclimb/models/queue_result.rb +0 -6
  73. data/lib/freeclimb/models/record_utterance.rb +0 -12
  74. data/lib/freeclimb/models/record_utterance_all_of.rb +0 -12
  75. data/lib/freeclimb/models/recording_result.rb +0 -6
  76. data/lib/freeclimb/models/remove_from_conference.rb +4 -23
  77. data/lib/freeclimb/models/say.rb +1 -19
  78. data/lib/freeclimb/models/say_all_of.rb +1 -19
  79. data/lib/freeclimb/models/send_digits.rb +0 -4
  80. data/lib/freeclimb/models/send_digits_all_of.rb +0 -4
  81. data/lib/freeclimb/models/set_listen.rb +2 -18
  82. data/lib/freeclimb/models/set_listen_all_of.rb +2 -18
  83. data/lib/freeclimb/models/set_talk.rb +2 -18
  84. data/lib/freeclimb/models/set_talk_all_of.rb +2 -18
  85. data/lib/freeclimb/models/sms.rb +0 -6
  86. data/lib/freeclimb/models/sms_all_of.rb +0 -6
  87. data/lib/freeclimb/models/sms_ten_dlc_brand.rb +0 -60
  88. data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +121 -41
  89. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +0 -44
  90. data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +0 -20
  91. data/lib/freeclimb/models/sms_toll_free_campaign.rb +337 -0
  92. data/lib/freeclimb/models/sms_toll_free_campaigns_list_result.rb +311 -0
  93. data/lib/freeclimb/models/{remove_from_conference_all_of.rb → sms_toll_free_campaigns_list_result_all_of.rb} +14 -16
  94. data/lib/freeclimb/models/start_record_call.rb +1 -0
  95. data/lib/freeclimb/models/terminate_conference.rb +4 -23
  96. data/lib/freeclimb/models/{terminate_conference_all_of.rb → tfn.rb} +15 -14
  97. data/lib/freeclimb/models/transcribe_utterance.rb +11 -16
  98. data/lib/freeclimb/models/transcribe_utterance_all_of.rb +281 -0
  99. data/lib/freeclimb/models/{transcribe_utterance_record.rb → transcribe_utterance_all_of_record.rb} +3 -7
  100. data/lib/freeclimb/models/unpark.rb +1 -0
  101. data/lib/freeclimb/models/update_conference_participant_request.rb +0 -2
  102. data/lib/freeclimb/models/update_conference_request.rb +0 -2
  103. data/lib/freeclimb/version.rb +1 -1
  104. data/lib/freeclimb.rb +8 -4
  105. data/openapi.json +407 -88
  106. data/package.json +8 -0
  107. data/spec/api/default_api_spec.rb +215 -55
  108. data/spec/models/account_request_spec.rb +8 -6
  109. data/spec/models/account_result_spec.rb +28 -9
  110. data/spec/models/add_to_conference_spec.rb +21 -37
  111. data/spec/models/application_list_spec.rb +46 -22
  112. data/spec/models/application_request_spec.rb +13 -6
  113. data/spec/models/application_result_spec.rb +24 -9
  114. data/spec/models/available_number_list_spec.rb +46 -22
  115. data/spec/models/available_number_spec.rb +23 -10
  116. data/spec/models/buy_incoming_number_request_spec.rb +11 -7
  117. data/spec/models/call_list_spec.rb +46 -22
  118. data/spec/models/call_result_spec.rb +49 -15
  119. data/spec/models/capabilities_spec.rb +26 -11
  120. data/spec/models/conference_list_spec.rb +46 -22
  121. data/spec/models/conference_participant_list_spec.rb +46 -22
  122. data/spec/models/conference_participant_result_spec.rb +24 -9
  123. data/spec/models/conference_result_spec.rb +32 -9
  124. data/spec/models/create_conference_request_spec.rb +15 -6
  125. data/spec/models/create_conference_spec.rb +19 -7
  126. data/spec/models/create_web_rtc_token_spec.rb +231 -0
  127. data/spec/models/enqueue_spec.rb +16 -9
  128. data/spec/models/filter_logs_request_spec.rb +9 -7
  129. data/spec/models/get_digits_spec.rb +59 -35
  130. data/spec/models/get_speech_spec.rb +60 -24
  131. data/spec/models/hangup_spec.rb +7 -6
  132. data/spec/models/incoming_number_list_spec.rb +46 -22
  133. data/spec/models/incoming_number_request_spec.rb +9 -6
  134. data/spec/models/incoming_number_result_spec.rb +68 -13
  135. data/spec/models/log_list_spec.rb +46 -22
  136. data/spec/models/log_result_spec.rb +21 -9
  137. data/spec/models/make_call_request_spec.rb +26 -11
  138. data/spec/models/message_request_spec.rb +49 -35
  139. data/spec/models/message_result_spec.rb +64 -11
  140. data/spec/models/messages_list_spec.rb +46 -22
  141. data/spec/models/mutable_resource_model_spec.rb +15 -9
  142. data/spec/models/out_dial_spec.rb +33 -13
  143. data/spec/models/pagination_model_spec.rb +40 -21
  144. data/spec/models/park_spec.rb +13 -8
  145. data/spec/models/pause_spec.rb +14 -10
  146. data/spec/models/percl_command_spec.rb +6 -6
  147. data/spec/models/percl_script_spec.rb +11 -6
  148. data/spec/models/play_early_media_spec.rb +9 -7
  149. data/spec/models/play_spec.rb +17 -40
  150. data/spec/models/queue_list_spec.rb +46 -22
  151. data/spec/models/queue_member_list_spec.rb +46 -22
  152. data/spec/models/queue_member_spec.rb +21 -12
  153. data/spec/models/queue_request_spec.rb +13 -9
  154. data/spec/models/queue_result_spec.rb +37 -18
  155. data/spec/models/record_utterance_spec.rb +28 -13
  156. data/spec/models/recording_list_spec.rb +46 -22
  157. data/spec/models/recording_result_spec.rb +25 -12
  158. data/spec/models/redirect_spec.rb +9 -7
  159. data/spec/models/reject_spec.rb +7 -6
  160. data/spec/models/remove_from_conference_spec.rb +0 -133
  161. data/spec/models/say_spec.rb +18 -40
  162. data/spec/models/send_digits_spec.rb +17 -10
  163. data/spec/models/set_listen_spec.rb +8 -37
  164. data/spec/models/set_talk_spec.rb +8 -37
  165. data/spec/models/sms_spec.rb +16 -9
  166. data/spec/models/sms_ten_dlc_brand_spec.rb +38 -4
  167. data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +46 -22
  168. data/spec/models/sms_ten_dlc_campaign_spec.rb +228 -4
  169. data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +46 -22
  170. data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +25 -7
  171. data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +56 -8
  172. data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +46 -22
  173. data/spec/models/sms_toll_free_campaign_spec.rb +382 -0
  174. data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +395 -0
  175. data/spec/models/terminate_conference_spec.rb +0 -133
  176. data/spec/models/tfn_spec.rb +164 -0
  177. data/spec/models/{transcribe_utterance_record_spec.rb → transcribe_utterance_all_of_record_spec.rb} +78 -67
  178. data/spec/models/transcribe_utterance_spec.rb +37 -96
  179. data/spec/models/update_call_request_spec.rb +12 -7
  180. data/spec/models/update_conference_participant_request_spec.rb +10 -6
  181. data/spec/models/update_conference_request_spec.rb +15 -6
  182. data/yarn.lock +1292 -0
  183. metadata +105 -84
@@ -27,8 +27,8 @@ module Freeclimb
27
27
  # When the Message changes status, this URL is invoked using HTTP POST with the messageStatus parameters. **Note:** This is a notification only; any PerCL returned is ignored.
28
28
  attr_accessor :notification_url
29
29
 
30
- # String that uniquely identifies this account resource.
31
- attr_accessor :account_id
30
+ # an array of HTTP URLs which are to be used as attachments to the message. This will force the message into being an MMS message and must be done using a from number which is MMS capabile.
31
+ attr_accessor :media_urls
32
32
 
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
@@ -37,7 +37,7 @@ module Freeclimb
37
37
  :'to' => :'to',
38
38
  :'text' => :'text',
39
39
  :'notification_url' => :'notificationUrl',
40
- :'account_id' => :'accountId'
40
+ :'media_urls' => :'mediaUrls'
41
41
  }
42
42
  end
43
43
 
@@ -53,7 +53,7 @@ module Freeclimb
53
53
  :'to' => :'String',
54
54
  :'text' => :'String',
55
55
  :'notification_url' => :'String',
56
- :'account_id' => :'String'
56
+ :'media_urls' => :'Array<String>'
57
57
  }
58
58
  end
59
59
 
@@ -94,8 +94,10 @@ module Freeclimb
94
94
  self.notification_url = attributes[:'notification_url']
95
95
  end
96
96
 
97
- if attributes.key?(:'account_id')
98
- self.account_id = attributes[:'account_id']
97
+ if attributes.key?(:'media_urls')
98
+ if (value = attributes[:'media_urls']).is_a?(Array)
99
+ self.media_urls = value
100
+ end
99
101
  end
100
102
  end
101
103
 
@@ -124,14 +126,6 @@ module Freeclimb
124
126
 
125
127
  if @from.nil?
126
128
  false
127
- elsif @to.nil?
128
- false
129
- elsif @text.nil?
130
- false
131
- elsif @notification_url.nil?
132
- false
133
- elsif @account_id.nil?
134
- false
135
129
  else
136
130
  list_invalid_properties.length() == 0
137
131
  end
@@ -146,7 +140,7 @@ module Freeclimb
146
140
  to == o.to &&
147
141
  text == o.text &&
148
142
  notification_url == o.notification_url &&
149
- account_id == o.account_id
143
+ media_urls == o.media_urls
150
144
  end
151
145
 
152
146
  # @see the `==` method
@@ -158,7 +152,7 @@ module Freeclimb
158
152
  # Calculates hash code according to all attributes.
159
153
  # @return [Integer] Hash code
160
154
  def hash
161
- [from, to, text, notification_url, account_id].hash
155
+ [from, to, text, notification_url, media_urls].hash
162
156
  end
163
157
 
164
158
  # Builds the object from hash
@@ -59,6 +59,9 @@ module Freeclimb
59
59
  # The number of segments into which the message was split
60
60
  attr_accessor :segment_count
61
61
 
62
+ # an array of HTTP URLs which were attached this this message
63
+ attr_accessor :media_urls
64
+
62
65
  # Attribute mapping from ruby-style variable name to JSON key.
63
66
  def self.attribute_map
64
67
  {
@@ -76,7 +79,8 @@ module Freeclimb
76
79
  :'notification_url' => :'notificationUrl',
77
80
  :'brand_id' => :'brandId',
78
81
  :'campaign_id' => :'campaignId',
79
- :'segment_count' => :'segmentCount'
82
+ :'segment_count' => :'segmentCount',
83
+ :'media_urls' => :'mediaUrls'
80
84
  }
81
85
  end
82
86
 
@@ -102,7 +106,8 @@ module Freeclimb
102
106
  :'notification_url' => :'String',
103
107
  :'brand_id' => :'String',
104
108
  :'campaign_id' => :'String',
105
- :'segment_count' => :'Float'
109
+ :'segment_count' => :'Float',
110
+ :'media_urls' => :'Array<String>'
106
111
  }
107
112
  end
108
113
 
@@ -119,7 +124,7 @@ module Freeclimb
119
124
  :'notification_url',
120
125
  :'brand_id',
121
126
  :'campaign_id',
122
- :'segment_count'
127
+ :'segment_count',
123
128
  ])
124
129
  end
125
130
 
@@ -205,6 +210,12 @@ module Freeclimb
205
210
  if attributes.key?(:'segment_count')
206
211
  self.segment_count = attributes[:'segment_count']
207
212
  end
213
+
214
+ if attributes.key?(:'media_urls')
215
+ if (value = attributes[:'media_urls']).is_a?(Array)
216
+ self.media_urls = value
217
+ end
218
+ end
208
219
  end
209
220
 
210
221
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -220,12 +231,6 @@ module Freeclimb
220
231
 
221
232
  if @uri.nil?
222
233
  false
223
- elsif @date_created.nil?
224
- false
225
- elsif @date_updated.nil?
226
- false
227
- elsif @revision.nil?
228
- false
229
234
  else
230
235
  list_invalid_properties.length() == 0
231
236
  end
@@ -250,7 +255,8 @@ module Freeclimb
250
255
  notification_url == o.notification_url &&
251
256
  brand_id == o.brand_id &&
252
257
  campaign_id == o.campaign_id &&
253
- segment_count == o.segment_count
258
+ segment_count == o.segment_count &&
259
+ media_urls == o.media_urls
254
260
  end
255
261
 
256
262
  # @see the `==` method
@@ -262,7 +268,7 @@ module Freeclimb
262
268
  # Calculates hash code according to all attributes.
263
269
  # @return [Integer] Hash code
264
270
  def hash
265
- [uri, date_created, date_updated, revision, account_id, message_id, status, from, to, text, direction, notification_url, brand_id, campaign_id, segment_count].hash
271
+ [uri, date_created, date_updated, revision, account_id, message_id, status, from, to, text, direction, notification_url, brand_id, campaign_id, segment_count, media_urls].hash
266
272
  end
267
273
 
268
274
  # Builds the object from hash
@@ -47,6 +47,9 @@ module Freeclimb
47
47
  # The number of segments into which the message was split
48
48
  attr_accessor :segment_count
49
49
 
50
+ # an array of HTTP URLs which were attached this this message
51
+ attr_accessor :media_urls
52
+
50
53
  # Attribute mapping from ruby-style variable name to JSON key.
51
54
  def self.attribute_map
52
55
  {
@@ -60,7 +63,8 @@ module Freeclimb
60
63
  :'notification_url' => :'notificationUrl',
61
64
  :'brand_id' => :'brandId',
62
65
  :'campaign_id' => :'campaignId',
63
- :'segment_count' => :'segmentCount'
66
+ :'segment_count' => :'segmentCount',
67
+ :'media_urls' => :'mediaUrls'
64
68
  }
65
69
  end
66
70
 
@@ -82,7 +86,8 @@ module Freeclimb
82
86
  :'notification_url' => :'String',
83
87
  :'brand_id' => :'String',
84
88
  :'campaign_id' => :'String',
85
- :'segment_count' => :'Float'
89
+ :'segment_count' => :'Float',
90
+ :'media_urls' => :'Array<String>'
86
91
  }
87
92
  end
88
93
 
@@ -99,7 +104,7 @@ module Freeclimb
99
104
  :'notification_url',
100
105
  :'brand_id',
101
106
  :'campaign_id',
102
- :'segment_count'
107
+ :'segment_count',
103
108
  ])
104
109
  end
105
110
 
@@ -161,6 +166,12 @@ module Freeclimb
161
166
  if attributes.key?(:'segment_count')
162
167
  self.segment_count = attributes[:'segment_count']
163
168
  end
169
+
170
+ if attributes.key?(:'media_urls')
171
+ if (value = attributes[:'media_urls']).is_a?(Array)
172
+ self.media_urls = value
173
+ end
174
+ end
164
175
  end
165
176
 
166
177
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -196,7 +207,8 @@ module Freeclimb
196
207
  notification_url == o.notification_url &&
197
208
  brand_id == o.brand_id &&
198
209
  campaign_id == o.campaign_id &&
199
- segment_count == o.segment_count
210
+ segment_count == o.segment_count &&
211
+ media_urls == o.media_urls
200
212
  end
201
213
 
202
214
  # @see the `==` method
@@ -208,7 +220,7 @@ module Freeclimb
208
220
  # Calculates hash code according to all attributes.
209
221
  # @return [Integer] Hash code
210
222
  def hash
211
- [account_id, message_id, status, from, to, text, direction, notification_url, brand_id, campaign_id, segment_count].hash
223
+ [account_id, message_id, status, from, to, text, direction, notification_url, brand_id, campaign_id, segment_count, media_urls].hash
212
224
  end
213
225
 
214
226
  # Builds the object from hash
@@ -103,12 +103,6 @@ module Freeclimb
103
103
 
104
104
  if @uri.nil?
105
105
  false
106
- elsif @date_created.nil?
107
- false
108
- elsif @date_updated.nil?
109
- false
110
- elsif @revision.nil?
111
- false
112
106
  else
113
107
  list_invalid_properties.length() == 0
114
108
  end
@@ -185,24 +185,6 @@ module Freeclimb
185
185
 
186
186
  if @action_url.nil?
187
187
  false
188
- elsif @call_connect_url.nil?
189
- false
190
- elsif @calling_number.nil?
191
- false
192
- elsif @destination.nil?
193
- false
194
- elsif @if_machine.nil?
195
- false
196
- elsif @if_machine_url.nil?
197
- false
198
- elsif @send_digits.nil?
199
- false
200
- elsif @status_callback_url.nil?
201
- false
202
- elsif @timeout.nil?
203
- false
204
- elsif @privacy_mode.nil?
205
- false
206
188
  else
207
189
  list_invalid_properties.length() == 0
208
190
  end
@@ -172,24 +172,6 @@ module Freeclimb
172
172
 
173
173
  if @action_url.nil?
174
174
  false
175
- elsif @call_connect_url.nil?
176
- false
177
- elsif @calling_number.nil?
178
- false
179
- elsif @destination.nil?
180
- false
181
- elsif @if_machine.nil?
182
- false
183
- elsif @if_machine_url.nil?
184
- false
185
- elsif @send_digits.nil?
186
- false
187
- elsif @status_callback_url.nil?
188
- false
189
- elsif @timeout.nil?
190
- false
191
- elsif @privacy_mode.nil?
192
- false
193
175
  else
194
176
  list_invalid_properties.length() == 0
195
177
  end
@@ -115,10 +115,6 @@ module Freeclimb
115
115
 
116
116
  if @wait_url.nil?
117
117
  false
118
- elsif @action_url.nil?
119
- false
120
- elsif @notification_url.nil?
121
- false
122
118
  else
123
119
  list_invalid_properties.length() == 0
124
120
  end
@@ -102,10 +102,6 @@ module Freeclimb
102
102
 
103
103
  if @wait_url.nil?
104
104
  false
105
- elsif @action_url.nil?
106
- false
107
- elsif @notification_url.nil?
108
- false
109
105
  else
110
106
  list_invalid_properties.length() == 0
111
107
  end
@@ -22,9 +22,6 @@ module Freeclimb
22
22
  # Number of times the audio file is played. Specifying '0' causes the Play action to loop until the Call is hung up.
23
23
  attr_accessor :loop
24
24
 
25
- # ID of the Conference the audio should be rendered to. If this is not specified, the audio is by default rendered to the caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error.
26
- attr_accessor :conference_id
27
-
28
25
  # Parameter `privacyMode` will not log the `text` as required by PCI compliance.
29
26
  attr_accessor :privacy_mode
30
27
 
@@ -33,7 +30,6 @@ module Freeclimb
33
30
  {
34
31
  :'file' => :'file',
35
32
  :'loop' => :'loop',
36
- :'conference_id' => :'conferenceId',
37
33
  :'privacy_mode' => :'privacyMode'
38
34
  }
39
35
  end
@@ -48,7 +44,6 @@ module Freeclimb
48
44
  {
49
45
  :'file' => :'String',
50
46
  :'loop' => :'Integer',
51
- :'conference_id' => :'String',
52
47
  :'privacy_mode' => :'Boolean'
53
48
  }
54
49
  end
@@ -93,10 +88,6 @@ module Freeclimb
93
88
  self.loop = attributes[:'loop']
94
89
  end
95
90
 
96
- if attributes.key?(:'conference_id')
97
- self.conference_id = attributes[:'conference_id']
98
- end
99
-
100
91
  if attributes.key?(:'privacy_mode')
101
92
  self.privacy_mode = attributes[:'privacy_mode']
102
93
  end
@@ -120,12 +111,6 @@ module Freeclimb
120
111
 
121
112
  if @file.nil?
122
113
  false
123
- elsif @loop.nil?
124
- false
125
- elsif @conference_id.nil?
126
- false
127
- elsif @privacy_mode.nil?
128
- false
129
114
  else
130
115
  list_invalid_properties.length() == 0
131
116
  end
@@ -138,7 +123,6 @@ module Freeclimb
138
123
  self.class == o.class &&
139
124
  file == o.file &&
140
125
  loop == o.loop &&
141
- conference_id == o.conference_id &&
142
126
  privacy_mode == o.privacy_mode && super(o)
143
127
  end
144
128
 
@@ -151,7 +135,7 @@ module Freeclimb
151
135
  # Calculates hash code according to all attributes.
152
136
  # @return [Integer] Hash code
153
137
  def hash
154
- [file, loop, conference_id, privacy_mode].hash
138
+ [file, loop, privacy_mode].hash
155
139
  end
156
140
 
157
141
  # Builds the object from hash
@@ -21,9 +21,6 @@ module Freeclimb
21
21
  # Number of times the audio file is played. Specifying '0' causes the Play action to loop until the Call is hung up.
22
22
  attr_accessor :loop
23
23
 
24
- # ID of the Conference the audio should be rendered to. If this is not specified, the audio is by default rendered to the caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error.
25
- attr_accessor :conference_id
26
-
27
24
  # Parameter `privacyMode` will not log the `text` as required by PCI compliance.
28
25
  attr_accessor :privacy_mode
29
26
 
@@ -32,7 +29,6 @@ module Freeclimb
32
29
  {
33
30
  :'file' => :'file',
34
31
  :'loop' => :'loop',
35
- :'conference_id' => :'conferenceId',
36
32
  :'privacy_mode' => :'privacyMode'
37
33
  }
38
34
  end
@@ -47,7 +43,6 @@ module Freeclimb
47
43
  {
48
44
  :'file' => :'String',
49
45
  :'loop' => :'Integer',
50
- :'conference_id' => :'String',
51
46
  :'privacy_mode' => :'Boolean'
52
47
  }
53
48
  end
@@ -81,10 +76,6 @@ module Freeclimb
81
76
  self.loop = attributes[:'loop']
82
77
  end
83
78
 
84
- if attributes.key?(:'conference_id')
85
- self.conference_id = attributes[:'conference_id']
86
- end
87
-
88
79
  if attributes.key?(:'privacy_mode')
89
80
  self.privacy_mode = attributes[:'privacy_mode']
90
81
  end
@@ -107,12 +98,6 @@ module Freeclimb
107
98
 
108
99
  if @file.nil?
109
100
  false
110
- elsif @loop.nil?
111
- false
112
- elsif @conference_id.nil?
113
- false
114
- elsif @privacy_mode.nil?
115
- false
116
101
  else
117
102
  list_invalid_properties.length() == 0
118
103
  end
@@ -125,7 +110,6 @@ module Freeclimb
125
110
  self.class == o.class &&
126
111
  file == o.file &&
127
112
  loop == o.loop &&
128
- conference_id == o.conference_id &&
129
113
  privacy_mode == o.privacy_mode
130
114
  end
131
115
 
@@ -138,7 +122,7 @@ module Freeclimb
138
122
  # Calculates hash code according to all attributes.
139
123
  # @return [Integer] Hash code
140
124
  def hash
141
- [file, loop, conference_id, privacy_mode].hash
125
+ [file, loop, privacy_mode].hash
142
126
  end
143
127
 
144
128
  # Builds the object from hash
@@ -87,8 +87,6 @@ module Freeclimb
87
87
 
88
88
  if @_alias.nil?
89
89
  false
90
- elsif @max_size.nil?
91
- false
92
90
  else
93
91
  list_invalid_properties.length() == 0
94
92
  end
@@ -181,12 +181,6 @@ module Freeclimb
181
181
 
182
182
  if @uri.nil?
183
183
  false
184
- elsif @date_created.nil?
185
- false
186
- elsif @date_updated.nil?
187
- false
188
- elsif @revision.nil?
189
- false
190
184
  else
191
185
  list_invalid_properties.length() == 0
192
186
  end
@@ -147,18 +147,6 @@ module Freeclimb
147
147
 
148
148
  if @action_url.nil?
149
149
  false
150
- elsif @silence_timeout_ms.nil?
151
- false
152
- elsif @finish_on_key.nil?
153
- false
154
- elsif @max_length_sec.nil?
155
- false
156
- elsif @play_beep.nil?
157
- false
158
- elsif @auto_start.nil?
159
- false
160
- elsif @privacy_mode.nil?
161
- false
162
150
  else
163
151
  list_invalid_properties.length() == 0
164
152
  end
@@ -134,18 +134,6 @@ module Freeclimb
134
134
 
135
135
  if @action_url.nil?
136
136
  false
137
- elsif @silence_timeout_ms.nil?
138
- false
139
- elsif @finish_on_key.nil?
140
- false
141
- elsif @max_length_sec.nil?
142
- false
143
- elsif @play_beep.nil?
144
- false
145
- elsif @auto_start.nil?
146
- false
147
- elsif @privacy_mode.nil?
148
- false
149
137
  else
150
138
  list_invalid_properties.length() == 0
151
139
  end
@@ -161,12 +161,6 @@ module Freeclimb
161
161
 
162
162
  if @uri.nil?
163
163
  false
164
- elsif @date_created.nil?
165
- false
166
- elsif @date_updated.nil?
167
- false
168
- elsif @revision.nil?
169
- false
170
164
  else
171
165
  list_invalid_properties.length() == 0
172
166
  end
@@ -16,13 +16,9 @@ require 'time'
16
16
  module Freeclimb
17
17
  # The `RemoveFromConference` command removes a Participant from a Conference but does not hang up. Instead, the Call is simply unbridged and what happens next with the Call is determined by the PerCL returned in response to the `leaveConferenceUrl` attribute.
18
18
  class RemoveFromConference < PerclCommand
19
- # ID of the Call leg to be removed from the Conference. The Call must be in a Conference or an error will be triggered.
20
- attr_accessor :call_id
21
-
22
19
  # Attribute mapping from ruby-style variable name to JSON key.
23
20
  def self.attribute_map
24
21
  {
25
- :'call_id' => :'callId'
26
22
  }
27
23
  end
28
24
 
@@ -34,7 +30,6 @@ module Freeclimb
34
30
  # Attribute type mapping.
35
31
  def self.openapi_types
36
32
  {
37
- :'call_id' => :'String'
38
33
  }
39
34
  end
40
35
 
@@ -47,8 +42,7 @@ module Freeclimb
47
42
  # List of class defined in allOf (OpenAPI v3)
48
43
  def self.openapi_all_of
49
44
  [
50
- :'PerclCommand',
51
- :'RemoveFromConferenceAllOf'
45
+ :'PerclCommand'
52
46
  ]
53
47
  end
54
48
 
@@ -69,10 +63,6 @@ module Freeclimb
69
63
 
70
64
  # call parent's initialize
71
65
  super(attributes)
72
-
73
- if attributes.key?(:'call_id')
74
- self.call_id = attributes[:'call_id']
75
- end
76
66
  self.command = "RemoveFromConference"
77
67
  end
78
68
 
@@ -80,10 +70,6 @@ module Freeclimb
80
70
  # @return Array for valid properties with the reasons
81
71
  def list_invalid_properties
82
72
  invalid_properties = super
83
- if @call_id.nil?
84
- invalid_properties.push('invalid value for "call_id", call_id cannot be nil.')
85
- end
86
-
87
73
  invalid_properties
88
74
  end
89
75
 
@@ -91,19 +77,14 @@ module Freeclimb
91
77
  # @return true if the model is valid
92
78
  def valid?
93
79
 
94
- if @call_id.nil?
95
- false
96
- else
97
- list_invalid_properties.length() == 0
98
- end
80
+ true
99
81
  end
100
82
 
101
83
  # Checks equality by comparing each attribute.
102
84
  # @param [Object] Object to be compared
103
85
  def ==(o)
104
86
  return true if self.equal?(o)
105
- self.class == o.class &&
106
- call_id == o.call_id && super(o)
87
+ self.class == o.class && super(o)
107
88
  end
108
89
 
109
90
  # @see the `==` method
@@ -115,7 +96,7 @@ module Freeclimb
115
96
  # Calculates hash code according to all attributes.
116
97
  # @return [Integer] Hash code
117
98
  def hash
118
- [call_id].hash
99
+ [].hash
119
100
  end
120
101
 
121
102
  # Builds the object from hash
@@ -25,9 +25,6 @@ module Freeclimb
25
25
  # Number of times the text is said. Specifying '0' causes the `Say` action to loop until the Call is hung up.
26
26
  attr_accessor :loop
27
27
 
28
- # D of the Conference the speech should be rendered to. If this is not specified, the speech is by default rendered to the Caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error.
29
- attr_accessor :conference_id
30
-
31
28
  # Parameter `privacyMode` will not log the `text` as required by PCI compliance.
32
29
  attr_accessor :privacy_mode
33
30
 
@@ -37,7 +34,6 @@ module Freeclimb
37
34
  :'text' => :'text',
38
35
  :'language' => :'language',
39
36
  :'loop' => :'loop',
40
- :'conference_id' => :'conferenceId',
41
37
  :'privacy_mode' => :'privacyMode'
42
38
  }
43
39
  end
@@ -53,7 +49,6 @@ module Freeclimb
53
49
  :'text' => :'String',
54
50
  :'language' => :'String',
55
51
  :'loop' => :'Integer',
56
- :'conference_id' => :'String',
57
52
  :'privacy_mode' => :'Boolean'
58
53
  }
59
54
  end
@@ -104,10 +99,6 @@ module Freeclimb
104
99
  self.loop = 1
105
100
  end
106
101
 
107
- if attributes.key?(:'conference_id')
108
- self.conference_id = attributes[:'conference_id']
109
- end
110
-
111
102
  if attributes.key?(:'privacy_mode')
112
103
  self.privacy_mode = attributes[:'privacy_mode']
113
104
  end
@@ -131,14 +122,6 @@ module Freeclimb
131
122
 
132
123
  if @text.nil?
133
124
  false
134
- elsif @language.nil?
135
- false
136
- elsif @loop.nil?
137
- false
138
- elsif @conference_id.nil?
139
- false
140
- elsif @privacy_mode.nil?
141
- false
142
125
  else
143
126
  list_invalid_properties.length() == 0
144
127
  end
@@ -152,7 +135,6 @@ module Freeclimb
152
135
  text == o.text &&
153
136
  language == o.language &&
154
137
  loop == o.loop &&
155
- conference_id == o.conference_id &&
156
138
  privacy_mode == o.privacy_mode && super(o)
157
139
  end
158
140
 
@@ -165,7 +147,7 @@ module Freeclimb
165
147
  # Calculates hash code according to all attributes.
166
148
  # @return [Integer] Hash code
167
149
  def hash
168
- [text, language, loop, conference_id, privacy_mode].hash
150
+ [text, language, loop, privacy_mode].hash
169
151
  end
170
152
 
171
153
  # Builds the object from hash