freeclimb 4.4.1 → 4.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/docs/AddToConference.md +1 -1
- data/docs/AddToConferenceAllOf.md +1 -1
- data/docs/DefaultApi.md +10 -1
- data/docs/MessageResult.md +7 -1
- data/docs/MessageResultAllOf.md +7 -1
- data/lib/freeclimb/api/default_api.rb +9 -0
- data/lib/freeclimb/models/account_request.rb +8 -1
- data/lib/freeclimb/models/account_result.rb +12 -1
- data/lib/freeclimb/models/account_result_all_of.rb +6 -1
- data/lib/freeclimb/models/add_to_conference.rb +25 -3
- data/lib/freeclimb/models/add_to_conference_all_of.rb +25 -3
- data/lib/freeclimb/models/application_list.rb +6 -1
- data/lib/freeclimb/models/application_list_all_of.rb +6 -1
- data/lib/freeclimb/models/application_request.rb +6 -1
- data/lib/freeclimb/models/application_result.rb +12 -1
- data/lib/freeclimb/models/application_result_all_of.rb +6 -1
- data/lib/freeclimb/models/available_number.rb +6 -1
- data/lib/freeclimb/models/available_number_list.rb +6 -1
- data/lib/freeclimb/models/available_number_list_all_of.rb +6 -1
- data/lib/freeclimb/models/buy_incoming_number_request.rb +10 -2
- data/lib/freeclimb/models/call_list.rb +6 -1
- data/lib/freeclimb/models/call_list_all_of.rb +6 -1
- data/lib/freeclimb/models/call_result.rb +12 -1
- data/lib/freeclimb/models/call_result_all_of.rb +6 -1
- data/lib/freeclimb/models/capabilities.rb +6 -1
- data/lib/freeclimb/models/conference_list.rb +6 -1
- data/lib/freeclimb/models/conference_list_all_of.rb +6 -1
- data/lib/freeclimb/models/conference_participant_list.rb +6 -1
- data/lib/freeclimb/models/conference_participant_list_all_of.rb +6 -1
- data/lib/freeclimb/models/conference_participant_result.rb +12 -1
- data/lib/freeclimb/models/conference_participant_result_all_of.rb +6 -1
- data/lib/freeclimb/models/conference_result.rb +12 -1
- data/lib/freeclimb/models/conference_result_all_of.rb +6 -1
- data/lib/freeclimb/models/create_conference.rb +14 -2
- data/lib/freeclimb/models/create_conference_all_of.rb +14 -2
- data/lib/freeclimb/models/create_conference_request.rb +12 -1
- data/lib/freeclimb/models/dequeue.rb +1 -1
- data/lib/freeclimb/models/enqueue.rb +12 -4
- data/lib/freeclimb/models/enqueue_all_of.rb +12 -4
- data/lib/freeclimb/models/filter_logs_request.rb +6 -2
- data/lib/freeclimb/models/get_digits.rb +22 -2
- data/lib/freeclimb/models/get_digits_all_of.rb +22 -2
- data/lib/freeclimb/models/get_speech.rb +28 -3
- data/lib/freeclimb/models/get_speech_all_of.rb +28 -3
- data/lib/freeclimb/models/hangup.rb +6 -1
- data/lib/freeclimb/models/hangup_all_of.rb +6 -1
- data/lib/freeclimb/models/incoming_number_list.rb +6 -1
- data/lib/freeclimb/models/incoming_number_list_all_of.rb +6 -1
- data/lib/freeclimb/models/incoming_number_request.rb +8 -1
- data/lib/freeclimb/models/incoming_number_result.rb +14 -1
- data/lib/freeclimb/models/incoming_number_result_all_of.rb +6 -1
- data/lib/freeclimb/models/log_list.rb +6 -1
- data/lib/freeclimb/models/log_list_all_of.rb +6 -1
- data/lib/freeclimb/models/log_result.rb +6 -1
- data/lib/freeclimb/models/make_call_request.rb +24 -3
- data/lib/freeclimb/models/message_request.rb +22 -4
- data/lib/freeclimb/models/message_request_all_of.rb +14 -4
- data/lib/freeclimb/models/message_result.rb +50 -6
- data/lib/freeclimb/models/message_result_all_of.rb +44 -6
- data/lib/freeclimb/models/messages_list.rb +6 -1
- data/lib/freeclimb/models/messages_list_all_of.rb +6 -1
- data/lib/freeclimb/models/mutable_resource_model.rb +12 -1
- data/lib/freeclimb/models/out_dial.rb +24 -5
- data/lib/freeclimb/models/out_dial_all_of.rb +24 -5
- data/lib/freeclimb/models/pagination_model.rb +6 -1
- data/lib/freeclimb/models/park.rb +10 -3
- data/lib/freeclimb/models/park_all_of.rb +10 -3
- data/lib/freeclimb/models/pause.rb +6 -2
- data/lib/freeclimb/models/pause_all_of.rb +6 -2
- data/lib/freeclimb/models/percl_command.rb +6 -1
- data/lib/freeclimb/models/percl_script.rb +6 -1
- data/lib/freeclimb/models/play.rb +12 -2
- data/lib/freeclimb/models/play_all_of.rb +12 -2
- data/lib/freeclimb/models/play_early_media.rb +6 -2
- data/lib/freeclimb/models/play_early_media_all_of.rb +6 -2
- data/lib/freeclimb/models/queue_list.rb +6 -1
- data/lib/freeclimb/models/queue_list_all_of.rb +6 -1
- data/lib/freeclimb/models/queue_member.rb +6 -1
- data/lib/freeclimb/models/queue_member_list.rb +6 -1
- data/lib/freeclimb/models/queue_member_list_all_of.rb +6 -1
- data/lib/freeclimb/models/queue_request.rb +8 -1
- data/lib/freeclimb/models/queue_result.rb +12 -1
- data/lib/freeclimb/models/queue_result_all_of.rb +6 -1
- data/lib/freeclimb/models/record_utterance.rb +18 -2
- data/lib/freeclimb/models/record_utterance_all_of.rb +18 -2
- data/lib/freeclimb/models/recording_list.rb +6 -1
- data/lib/freeclimb/models/recording_list_all_of.rb +6 -1
- data/lib/freeclimb/models/recording_result.rb +12 -1
- data/lib/freeclimb/models/recording_result_all_of.rb +6 -1
- data/lib/freeclimb/models/redirect.rb +6 -2
- data/lib/freeclimb/models/redirect_all_of.rb +6 -2
- data/lib/freeclimb/models/reject.rb +6 -1
- data/lib/freeclimb/models/reject_all_of.rb +6 -1
- data/lib/freeclimb/models/remove_from_conference.rb +6 -2
- data/lib/freeclimb/models/remove_from_conference_all_of.rb +6 -2
- data/lib/freeclimb/models/say.rb +14 -2
- data/lib/freeclimb/models/say_all_of.rb +14 -2
- data/lib/freeclimb/models/send_digits.rb +10 -2
- data/lib/freeclimb/models/send_digits_all_of.rb +10 -2
- data/lib/freeclimb/models/set_listen.rb +8 -2
- data/lib/freeclimb/models/set_listen_all_of.rb +8 -2
- data/lib/freeclimb/models/set_talk.rb +8 -2
- data/lib/freeclimb/models/set_talk_all_of.rb +8 -2
- data/lib/freeclimb/models/sms.rb +12 -4
- data/lib/freeclimb/models/sms_all_of.rb +12 -4
- data/lib/freeclimb/models/sms_ten_dlc_brand.rb +66 -40
- data/lib/freeclimb/models/sms_ten_dlc_brands_list_result.rb +6 -1
- data/lib/freeclimb/models/sms_ten_dlc_brands_list_result_all_of.rb +6 -1
- data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +46 -22
- data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result.rb +6 -1
- data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result_all_of.rb +6 -1
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +50 -22
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +26 -10
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result.rb +6 -1
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result_all_of.rb +6 -1
- data/lib/freeclimb/models/start_record_call.rb +1 -1
- data/lib/freeclimb/models/terminate_conference.rb +6 -2
- data/lib/freeclimb/models/terminate_conference_all_of.rb +6 -2
- data/lib/freeclimb/models/unpark.rb +1 -1
- data/lib/freeclimb/models/update_call_request.rb +6 -2
- data/lib/freeclimb/models/update_conference_participant_request.rb +8 -1
- data/lib/freeclimb/models/update_conference_request.rb +8 -1
- data/lib/freeclimb/version.rb +1 -1
- data/openapi.json +128 -73
- data/spec/models/account_request_spec.rb +9 -0
- data/spec/models/account_result_spec.rb +9 -0
- data/spec/models/add_to_conference_spec.rb +29 -19
- data/spec/models/application_list_spec.rb +9 -0
- data/spec/models/application_request_spec.rb +9 -0
- data/spec/models/application_result_spec.rb +9 -0
- data/spec/models/available_number_list_spec.rb +9 -0
- data/spec/models/available_number_spec.rb +9 -0
- data/spec/models/buy_incoming_number_request_spec.rb +10 -0
- data/spec/models/call_list_spec.rb +9 -0
- data/spec/models/call_result_spec.rb +9 -0
- data/spec/models/capabilities_spec.rb +14 -0
- data/spec/models/conference_list_spec.rb +9 -0
- data/spec/models/conference_participant_list_spec.rb +9 -0
- data/spec/models/conference_participant_result_spec.rb +9 -0
- data/spec/models/conference_result_spec.rb +9 -0
- data/spec/models/create_conference_request_spec.rb +9 -0
- data/spec/models/create_conference_spec.rb +10 -0
- data/spec/models/enqueue_spec.rb +12 -0
- data/spec/models/filter_logs_request_spec.rb +10 -0
- data/spec/models/get_digits_spec.rb +10 -0
- data/spec/models/get_speech_spec.rb +13 -0
- data/spec/models/hangup_spec.rb +9 -0
- data/spec/models/incoming_number_list_spec.rb +9 -0
- data/spec/models/incoming_number_request_spec.rb +9 -0
- data/spec/models/incoming_number_result_spec.rb +9 -0
- data/spec/models/log_list_spec.rb +9 -0
- data/spec/models/log_result_spec.rb +9 -0
- data/spec/models/make_call_request_spec.rb +11 -0
- data/spec/models/message_request_spec.rb +12 -0
- data/spec/models/message_result_spec.rb +84 -0
- data/spec/models/messages_list_spec.rb +9 -0
- data/spec/models/mutable_resource_model_spec.rb +9 -0
- data/spec/models/out_dial_spec.rb +13 -0
- data/spec/models/pagination_model_spec.rb +9 -0
- data/spec/models/park_spec.rb +11 -0
- data/spec/models/pause_spec.rb +10 -0
- data/spec/models/percl_command_spec.rb +9 -0
- data/spec/models/percl_script_spec.rb +9 -0
- data/spec/models/play_early_media_spec.rb +10 -0
- data/spec/models/play_spec.rb +10 -0
- data/spec/models/queue_list_spec.rb +9 -0
- data/spec/models/queue_member_list_spec.rb +9 -0
- data/spec/models/queue_member_spec.rb +9 -0
- data/spec/models/queue_request_spec.rb +9 -0
- data/spec/models/queue_result_spec.rb +9 -0
- data/spec/models/record_utterance_spec.rb +10 -0
- data/spec/models/recording_list_spec.rb +9 -0
- data/spec/models/recording_result_spec.rb +9 -0
- data/spec/models/redirect_spec.rb +10 -0
- data/spec/models/reject_spec.rb +9 -0
- data/spec/models/remove_from_conference_spec.rb +10 -0
- data/spec/models/say_spec.rb +10 -0
- data/spec/models/send_digits_spec.rb +10 -0
- data/spec/models/set_listen_spec.rb +10 -0
- data/spec/models/set_talk_spec.rb +10 -0
- data/spec/models/sms_spec.rb +12 -0
- data/spec/models/sms_ten_dlc_brand_spec.rb +4 -0
- data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +9 -0
- data/spec/models/sms_ten_dlc_campaign_spec.rb +4 -0
- data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +9 -0
- data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +4 -0
- data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +4 -0
- data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +9 -0
- data/spec/models/terminate_conference_spec.rb +10 -0
- data/spec/models/update_call_request_spec.rb +10 -0
- data/spec/models/update_conference_participant_request_spec.rb +9 -0
- data/spec/models/update_conference_request_spec.rb +9 -0
- metadata +79 -79
@@ -208,7 +208,18 @@ module Freeclimb
|
|
208
208
|
# Check to see if the all the properties in the model are valid
|
209
209
|
# @return true if the model is valid
|
210
210
|
def valid?
|
211
|
-
|
211
|
+
|
212
|
+
if @uri.nil?
|
213
|
+
false
|
214
|
+
elsif @date_created.nil?
|
215
|
+
false
|
216
|
+
elsif @date_updated.nil?
|
217
|
+
false
|
218
|
+
elsif @revision.nil?
|
219
|
+
false
|
220
|
+
else
|
221
|
+
list_invalid_properties.length() == 0
|
222
|
+
end
|
212
223
|
end
|
213
224
|
|
214
225
|
# Checks equality by comparing each attribute.
|
@@ -164,7 +164,12 @@ module Freeclimb
|
|
164
164
|
# Check to see if the all the properties in the model are valid
|
165
165
|
# @return true if the model is valid
|
166
166
|
def valid?
|
167
|
-
|
167
|
+
|
168
|
+
if @conference_id.nil?
|
169
|
+
false
|
170
|
+
else
|
171
|
+
list_invalid_properties.length() == 0
|
172
|
+
end
|
168
173
|
end
|
169
174
|
|
170
175
|
# Checks equality by comparing each attribute.
|
@@ -137,8 +137,20 @@ module Freeclimb
|
|
137
137
|
# Check to see if the all the properties in the model are valid
|
138
138
|
# @return true if the model is valid
|
139
139
|
def valid?
|
140
|
-
|
141
|
-
|
140
|
+
|
141
|
+
if @action_url.nil?
|
142
|
+
false
|
143
|
+
elsif @_alias.nil?
|
144
|
+
false
|
145
|
+
elsif @record.nil?
|
146
|
+
false
|
147
|
+
elsif @status_callback_url.nil?
|
148
|
+
false
|
149
|
+
elsif @wait_url.nil?
|
150
|
+
false
|
151
|
+
else
|
152
|
+
list_invalid_properties.length() == 0
|
153
|
+
end
|
142
154
|
end
|
143
155
|
|
144
156
|
# Checks equality by comparing each attribute.
|
@@ -124,8 +124,20 @@ module Freeclimb
|
|
124
124
|
# Check to see if the all the properties in the model are valid
|
125
125
|
# @return true if the model is valid
|
126
126
|
def valid?
|
127
|
-
|
128
|
-
|
127
|
+
|
128
|
+
if @action_url.nil?
|
129
|
+
false
|
130
|
+
elsif @_alias.nil?
|
131
|
+
false
|
132
|
+
elsif @record.nil?
|
133
|
+
false
|
134
|
+
elsif @status_callback_url.nil?
|
135
|
+
false
|
136
|
+
elsif @wait_url.nil?
|
137
|
+
false
|
138
|
+
else
|
139
|
+
list_invalid_properties.length() == 0
|
140
|
+
end
|
129
141
|
end
|
130
142
|
|
131
143
|
# Checks equality by comparing each attribute.
|
@@ -111,7 +111,18 @@ module Freeclimb
|
|
111
111
|
# Check to see if the all the properties in the model are valid
|
112
112
|
# @return true if the model is valid
|
113
113
|
def valid?
|
114
|
-
|
114
|
+
|
115
|
+
if @_alias.nil?
|
116
|
+
false
|
117
|
+
elsif @record.nil?
|
118
|
+
false
|
119
|
+
elsif @wait_url.nil?
|
120
|
+
false
|
121
|
+
elsif @status_callback_url.nil?
|
122
|
+
false
|
123
|
+
else
|
124
|
+
list_invalid_properties.length() == 0
|
125
|
+
end
|
115
126
|
end
|
116
127
|
|
117
128
|
# Checks equality by comparing each attribute.
|
@@ -125,10 +125,18 @@ module Freeclimb
|
|
125
125
|
# Check to see if the all the properties in the model are valid
|
126
126
|
# @return true if the model is valid
|
127
127
|
def valid?
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
128
|
+
|
129
|
+
if @action_url.nil?
|
130
|
+
false
|
131
|
+
elsif @notification_url.nil?
|
132
|
+
false
|
133
|
+
elsif @queue_id.nil?
|
134
|
+
false
|
135
|
+
elsif @wait_url.nil?
|
136
|
+
false
|
137
|
+
else
|
138
|
+
list_invalid_properties.length() == 0
|
139
|
+
end
|
132
140
|
end
|
133
141
|
|
134
142
|
# Checks equality by comparing each attribute.
|
@@ -112,10 +112,18 @@ module Freeclimb
|
|
112
112
|
# Check to see if the all the properties in the model are valid
|
113
113
|
# @return true if the model is valid
|
114
114
|
def valid?
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
115
|
+
|
116
|
+
if @action_url.nil?
|
117
|
+
false
|
118
|
+
elsif @notification_url.nil?
|
119
|
+
false
|
120
|
+
elsif @queue_id.nil?
|
121
|
+
false
|
122
|
+
elsif @wait_url.nil?
|
123
|
+
false
|
124
|
+
else
|
125
|
+
list_invalid_properties.length() == 0
|
126
|
+
end
|
119
127
|
end
|
120
128
|
|
121
129
|
# Checks equality by comparing each attribute.
|
@@ -77,8 +77,12 @@ module Freeclimb
|
|
77
77
|
# Check to see if the all the properties in the model are valid
|
78
78
|
# @return true if the model is valid
|
79
79
|
def valid?
|
80
|
-
|
81
|
-
|
80
|
+
|
81
|
+
if @pql.nil?
|
82
|
+
false
|
83
|
+
else
|
84
|
+
list_invalid_properties.length() == 0
|
85
|
+
end
|
82
86
|
end
|
83
87
|
|
84
88
|
# Checks equality by comparing each attribute.
|
@@ -164,8 +164,28 @@ module Freeclimb
|
|
164
164
|
# Check to see if the all the properties in the model are valid
|
165
165
|
# @return true if the model is valid
|
166
166
|
def valid?
|
167
|
-
|
168
|
-
|
167
|
+
|
168
|
+
if @action_url.nil?
|
169
|
+
false
|
170
|
+
elsif @digit_timeout_ms.nil?
|
171
|
+
false
|
172
|
+
elsif @finish_on_key.nil?
|
173
|
+
false
|
174
|
+
elsif @flush_buffer.nil?
|
175
|
+
false
|
176
|
+
elsif @initial_timeout_ms.nil?
|
177
|
+
false
|
178
|
+
elsif @max_digits.nil?
|
179
|
+
false
|
180
|
+
elsif @min_digits.nil?
|
181
|
+
false
|
182
|
+
elsif @prompts.nil?
|
183
|
+
false
|
184
|
+
elsif @privacy_mode.nil?
|
185
|
+
false
|
186
|
+
else
|
187
|
+
list_invalid_properties.length() == 0
|
188
|
+
end
|
169
189
|
end
|
170
190
|
|
171
191
|
# Checks equality by comparing each attribute.
|
@@ -151,8 +151,28 @@ module Freeclimb
|
|
151
151
|
# Check to see if the all the properties in the model are valid
|
152
152
|
# @return true if the model is valid
|
153
153
|
def valid?
|
154
|
-
|
155
|
-
|
154
|
+
|
155
|
+
if @action_url.nil?
|
156
|
+
false
|
157
|
+
elsif @digit_timeout_ms.nil?
|
158
|
+
false
|
159
|
+
elsif @finish_on_key.nil?
|
160
|
+
false
|
161
|
+
elsif @flush_buffer.nil?
|
162
|
+
false
|
163
|
+
elsif @initial_timeout_ms.nil?
|
164
|
+
false
|
165
|
+
elsif @max_digits.nil?
|
166
|
+
false
|
167
|
+
elsif @min_digits.nil?
|
168
|
+
false
|
169
|
+
elsif @prompts.nil?
|
170
|
+
false
|
171
|
+
elsif @privacy_mode.nil?
|
172
|
+
false
|
173
|
+
else
|
174
|
+
list_invalid_properties.length() == 0
|
175
|
+
end
|
156
176
|
end
|
157
177
|
|
158
178
|
# Checks equality by comparing each attribute.
|
@@ -204,9 +204,34 @@ module Freeclimb
|
|
204
204
|
# Check to see if the all the properties in the model are valid
|
205
205
|
# @return true if the model is valid
|
206
206
|
def valid?
|
207
|
-
|
208
|
-
|
209
|
-
|
207
|
+
|
208
|
+
if @action_url.nil?
|
209
|
+
false
|
210
|
+
elsif @grammar_file.nil?
|
211
|
+
false
|
212
|
+
elsif @grammar_rule.nil?
|
213
|
+
false
|
214
|
+
elsif @play_beep.nil?
|
215
|
+
false
|
216
|
+
elsif @prompts.nil?
|
217
|
+
false
|
218
|
+
elsif @no_input_timeout_ms.nil?
|
219
|
+
false
|
220
|
+
elsif @recognition_timeout_ms.nil?
|
221
|
+
false
|
222
|
+
elsif @confidence_threshold.nil?
|
223
|
+
false
|
224
|
+
elsif @sensitivity_level.nil?
|
225
|
+
false
|
226
|
+
elsif @speech_complete_timeout_ms.nil?
|
227
|
+
false
|
228
|
+
elsif @speech_incomplete_timeout_ms.nil?
|
229
|
+
false
|
230
|
+
elsif @privacy_mode.nil?
|
231
|
+
false
|
232
|
+
else
|
233
|
+
list_invalid_properties.length() == 0
|
234
|
+
end
|
210
235
|
end
|
211
236
|
|
212
237
|
# Checks equality by comparing each attribute.
|
@@ -191,9 +191,34 @@ module Freeclimb
|
|
191
191
|
# Check to see if the all the properties in the model are valid
|
192
192
|
# @return true if the model is valid
|
193
193
|
def valid?
|
194
|
-
|
195
|
-
|
196
|
-
|
194
|
+
|
195
|
+
if @action_url.nil?
|
196
|
+
false
|
197
|
+
elsif @grammar_file.nil?
|
198
|
+
false
|
199
|
+
elsif @grammar_rule.nil?
|
200
|
+
false
|
201
|
+
elsif @play_beep.nil?
|
202
|
+
false
|
203
|
+
elsif @prompts.nil?
|
204
|
+
false
|
205
|
+
elsif @no_input_timeout_ms.nil?
|
206
|
+
false
|
207
|
+
elsif @recognition_timeout_ms.nil?
|
208
|
+
false
|
209
|
+
elsif @confidence_threshold.nil?
|
210
|
+
false
|
211
|
+
elsif @sensitivity_level.nil?
|
212
|
+
false
|
213
|
+
elsif @speech_complete_timeout_ms.nil?
|
214
|
+
false
|
215
|
+
elsif @speech_incomplete_timeout_ms.nil?
|
216
|
+
false
|
217
|
+
elsif @privacy_mode.nil?
|
218
|
+
false
|
219
|
+
else
|
220
|
+
list_invalid_properties.length() == 0
|
221
|
+
end
|
197
222
|
end
|
198
223
|
|
199
224
|
# Checks equality by comparing each attribute.
|
@@ -86,7 +86,12 @@ module Freeclimb
|
|
86
86
|
# Check to see if the all the properties in the model are valid
|
87
87
|
# @return true if the model is valid
|
88
88
|
def valid?
|
89
|
-
|
89
|
+
|
90
|
+
if @reason.nil?
|
91
|
+
false
|
92
|
+
else
|
93
|
+
list_invalid_properties.length() == 0
|
94
|
+
end
|
90
95
|
end
|
91
96
|
|
92
97
|
# Checks equality by comparing each attribute.
|
@@ -73,7 +73,12 @@ module Freeclimb
|
|
73
73
|
# Check to see if the all the properties in the model are valid
|
74
74
|
# @return true if the model is valid
|
75
75
|
def valid?
|
76
|
-
|
76
|
+
|
77
|
+
if @reason.nil?
|
78
|
+
false
|
79
|
+
else
|
80
|
+
list_invalid_properties.length() == 0
|
81
|
+
end
|
77
82
|
end
|
78
83
|
|
79
84
|
# Checks equality by comparing each attribute.
|
@@ -153,7 +153,12 @@ module Freeclimb
|
|
153
153
|
# Check to see if the all the properties in the model are valid
|
154
154
|
# @return true if the model is valid
|
155
155
|
def valid?
|
156
|
-
|
156
|
+
|
157
|
+
if @total.nil?
|
158
|
+
false
|
159
|
+
else
|
160
|
+
list_invalid_properties.length() == 0
|
161
|
+
end
|
157
162
|
end
|
158
163
|
|
159
164
|
# Checks equality by comparing each attribute.
|
@@ -75,7 +75,12 @@ module Freeclimb
|
|
75
75
|
# Check to see if the all the properties in the model are valid
|
76
76
|
# @return true if the model is valid
|
77
77
|
def valid?
|
78
|
-
|
78
|
+
|
79
|
+
if @incoming_phone_numbers.nil?
|
80
|
+
false
|
81
|
+
else
|
82
|
+
list_invalid_properties.length() == 0
|
83
|
+
end
|
79
84
|
end
|
80
85
|
|
81
86
|
# Checks equality by comparing each attribute.
|
@@ -92,7 +92,14 @@ module Freeclimb
|
|
92
92
|
# Check to see if the all the properties in the model are valid
|
93
93
|
# @return true if the model is valid
|
94
94
|
def valid?
|
95
|
-
|
95
|
+
|
96
|
+
if @application_id.nil?
|
97
|
+
false
|
98
|
+
elsif @_alias.nil?
|
99
|
+
false
|
100
|
+
else
|
101
|
+
list_invalid_properties.length() == 0
|
102
|
+
end
|
96
103
|
end
|
97
104
|
|
98
105
|
# Checks equality by comparing each attribute.
|
@@ -226,7 +226,20 @@ module Freeclimb
|
|
226
226
|
# Check to see if the all the properties in the model are valid
|
227
227
|
# @return true if the model is valid
|
228
228
|
def valid?
|
229
|
-
|
229
|
+
|
230
|
+
if @uri.nil?
|
231
|
+
false
|
232
|
+
elsif @date_created.nil?
|
233
|
+
false
|
234
|
+
elsif @date_updated.nil?
|
235
|
+
false
|
236
|
+
elsif @revision.nil?
|
237
|
+
false
|
238
|
+
elsif @capabilities.nil?
|
239
|
+
false
|
240
|
+
else
|
241
|
+
list_invalid_properties.length() == 0
|
242
|
+
end
|
230
243
|
end
|
231
244
|
|
232
245
|
# Checks equality by comparing each attribute.
|
@@ -182,7 +182,12 @@ module Freeclimb
|
|
182
182
|
# Check to see if the all the properties in the model are valid
|
183
183
|
# @return true if the model is valid
|
184
184
|
def valid?
|
185
|
-
|
185
|
+
|
186
|
+
if @capabilities.nil?
|
187
|
+
false
|
188
|
+
else
|
189
|
+
list_invalid_properties.length() == 0
|
190
|
+
end
|
186
191
|
end
|
187
192
|
|
188
193
|
# Checks equality by comparing each attribute.
|
@@ -153,7 +153,12 @@ module Freeclimb
|
|
153
153
|
# Check to see if the all the properties in the model are valid
|
154
154
|
# @return true if the model is valid
|
155
155
|
def valid?
|
156
|
-
|
156
|
+
|
157
|
+
if @total.nil?
|
158
|
+
false
|
159
|
+
else
|
160
|
+
list_invalid_properties.length() == 0
|
161
|
+
end
|
157
162
|
end
|
158
163
|
|
159
164
|
# Checks equality by comparing each attribute.
|
@@ -75,7 +75,12 @@ module Freeclimb
|
|
75
75
|
# Check to see if the all the properties in the model are valid
|
76
76
|
# @return true if the model is valid
|
77
77
|
def valid?
|
78
|
-
|
78
|
+
|
79
|
+
if @logs.nil?
|
80
|
+
false
|
81
|
+
else
|
82
|
+
list_invalid_properties.length() == 0
|
83
|
+
end
|
79
84
|
end
|
80
85
|
|
81
86
|
# Checks equality by comparing each attribute.
|
@@ -133,7 +133,12 @@ module Freeclimb
|
|
133
133
|
# Check to see if the all the properties in the model are valid
|
134
134
|
# @return true if the model is valid
|
135
135
|
def valid?
|
136
|
-
|
136
|
+
|
137
|
+
if @timestamp.nil?
|
138
|
+
false
|
139
|
+
else
|
140
|
+
list_invalid_properties.length() == 0
|
141
|
+
end
|
137
142
|
end
|
138
143
|
|
139
144
|
# Checks equality by comparing each attribute.
|
@@ -164,9 +164,30 @@ module Freeclimb
|
|
164
164
|
# Check to see if the all the properties in the model are valid
|
165
165
|
# @return true if the model is valid
|
166
166
|
def valid?
|
167
|
-
|
168
|
-
|
169
|
-
|
167
|
+
|
168
|
+
if @from.nil?
|
169
|
+
false
|
170
|
+
elsif @to.nil?
|
171
|
+
false
|
172
|
+
elsif @application_id.nil?
|
173
|
+
false
|
174
|
+
elsif @send_digits.nil?
|
175
|
+
false
|
176
|
+
elsif @if_machine.nil?
|
177
|
+
false
|
178
|
+
elsif @if_machine_url.nil?
|
179
|
+
false
|
180
|
+
elsif @timeout.nil?
|
181
|
+
false
|
182
|
+
elsif @parent_call_id.nil?
|
183
|
+
false
|
184
|
+
elsif @privacy_mode.nil?
|
185
|
+
false
|
186
|
+
elsif @call_connect_url.nil?
|
187
|
+
false
|
188
|
+
else
|
189
|
+
list_invalid_properties.length() == 0
|
190
|
+
end
|
170
191
|
end
|
171
192
|
|
172
193
|
# Checks equality by comparing each attribute.
|
@@ -165,10 +165,28 @@ module Freeclimb
|
|
165
165
|
# Check to see if the all the properties in the model are valid
|
166
166
|
# @return true if the model is valid
|
167
167
|
def valid?
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
168
|
+
|
169
|
+
if @uri.nil?
|
170
|
+
false
|
171
|
+
elsif @date_created.nil?
|
172
|
+
false
|
173
|
+
elsif @date_updated.nil?
|
174
|
+
false
|
175
|
+
elsif @revision.nil?
|
176
|
+
false
|
177
|
+
elsif @from.nil?
|
178
|
+
false
|
179
|
+
elsif @to.nil?
|
180
|
+
false
|
181
|
+
elsif @text.nil?
|
182
|
+
false
|
183
|
+
elsif @notification_url.nil?
|
184
|
+
false
|
185
|
+
elsif @account_id.nil?
|
186
|
+
false
|
187
|
+
else
|
188
|
+
list_invalid_properties.length() == 0
|
189
|
+
end
|
172
190
|
end
|
173
191
|
|
174
192
|
# Checks equality by comparing each attribute.
|
@@ -121,10 +121,20 @@ module Freeclimb
|
|
121
121
|
# Check to see if the all the properties in the model are valid
|
122
122
|
# @return true if the model is valid
|
123
123
|
def valid?
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
124
|
+
|
125
|
+
if @from.nil?
|
126
|
+
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
|
+
else
|
136
|
+
list_invalid_properties.length() == 0
|
137
|
+
end
|
128
138
|
end
|
129
139
|
|
130
140
|
# Checks equality by comparing each attribute.
|
@@ -50,6 +50,15 @@ module Freeclimb
|
|
50
50
|
# URL invoked when message sent
|
51
51
|
attr_accessor :notification_url
|
52
52
|
|
53
|
+
# The unique identifier for the brand associated with the message
|
54
|
+
attr_accessor :brand_id
|
55
|
+
|
56
|
+
# The unique identifier for the campaign associated with the message
|
57
|
+
attr_accessor :campaign_id
|
58
|
+
|
59
|
+
# The number of segments into which the message was split
|
60
|
+
attr_accessor :segment_count
|
61
|
+
|
53
62
|
# Attribute mapping from ruby-style variable name to JSON key.
|
54
63
|
def self.attribute_map
|
55
64
|
{
|
@@ -64,7 +73,10 @@ module Freeclimb
|
|
64
73
|
:'to' => :'to',
|
65
74
|
:'text' => :'text',
|
66
75
|
:'direction' => :'direction',
|
67
|
-
:'notification_url' => :'notificationUrl'
|
76
|
+
:'notification_url' => :'notificationUrl',
|
77
|
+
:'brand_id' => :'brandId',
|
78
|
+
:'campaign_id' => :'campaignId',
|
79
|
+
:'segment_count' => :'segmentCount'
|
68
80
|
}
|
69
81
|
end
|
70
82
|
|
@@ -87,7 +99,10 @@ module Freeclimb
|
|
87
99
|
:'to' => :'String',
|
88
100
|
:'text' => :'String',
|
89
101
|
:'direction' => :'String',
|
90
|
-
:'notification_url' => :'String'
|
102
|
+
:'notification_url' => :'String',
|
103
|
+
:'brand_id' => :'String',
|
104
|
+
:'campaign_id' => :'String',
|
105
|
+
:'segment_count' => :'Float'
|
91
106
|
}
|
92
107
|
end
|
93
108
|
|
@@ -101,7 +116,10 @@ module Freeclimb
|
|
101
116
|
:'to',
|
102
117
|
:'text',
|
103
118
|
:'direction',
|
104
|
-
:'notification_url'
|
119
|
+
:'notification_url',
|
120
|
+
:'brand_id',
|
121
|
+
:'campaign_id',
|
122
|
+
:'segment_count'
|
105
123
|
])
|
106
124
|
end
|
107
125
|
|
@@ -175,6 +193,18 @@ module Freeclimb
|
|
175
193
|
if attributes.key?(:'notification_url')
|
176
194
|
self.notification_url = attributes[:'notification_url']
|
177
195
|
end
|
196
|
+
|
197
|
+
if attributes.key?(:'brand_id')
|
198
|
+
self.brand_id = attributes[:'brand_id']
|
199
|
+
end
|
200
|
+
|
201
|
+
if attributes.key?(:'campaign_id')
|
202
|
+
self.campaign_id = attributes[:'campaign_id']
|
203
|
+
end
|
204
|
+
|
205
|
+
if attributes.key?(:'segment_count')
|
206
|
+
self.segment_count = attributes[:'segment_count']
|
207
|
+
end
|
178
208
|
end
|
179
209
|
|
180
210
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -187,7 +217,18 @@ module Freeclimb
|
|
187
217
|
# Check to see if the all the properties in the model are valid
|
188
218
|
# @return true if the model is valid
|
189
219
|
def valid?
|
190
|
-
|
220
|
+
|
221
|
+
if @uri.nil?
|
222
|
+
false
|
223
|
+
elsif @date_created.nil?
|
224
|
+
false
|
225
|
+
elsif @date_updated.nil?
|
226
|
+
false
|
227
|
+
elsif @revision.nil?
|
228
|
+
false
|
229
|
+
else
|
230
|
+
list_invalid_properties.length() == 0
|
231
|
+
end
|
191
232
|
end
|
192
233
|
|
193
234
|
# Checks equality by comparing each attribute.
|
@@ -206,7 +247,10 @@ module Freeclimb
|
|
206
247
|
to == o.to &&
|
207
248
|
text == o.text &&
|
208
249
|
direction == o.direction &&
|
209
|
-
notification_url == o.notification_url
|
250
|
+
notification_url == o.notification_url &&
|
251
|
+
brand_id == o.brand_id &&
|
252
|
+
campaign_id == o.campaign_id &&
|
253
|
+
segment_count == o.segment_count
|
210
254
|
end
|
211
255
|
|
212
256
|
# @see the `==` method
|
@@ -218,7 +262,7 @@ module Freeclimb
|
|
218
262
|
# Calculates hash code according to all attributes.
|
219
263
|
# @return [Integer] Hash code
|
220
264
|
def hash
|
221
|
-
[uri, date_created, date_updated, revision, account_id, message_id, status, from, to, text, direction, notification_url].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
|
222
266
|
end
|
223
267
|
|
224
268
|
# Builds the object from hash
|