freeclimb 4.4.1 → 4.4.3

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