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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db9320429d36b3f663d298ae587eead1e91973547e6e3c5d7e417f12486b6bef
4
- data.tar.gz: ae733cdfe86044191a60de4c7d6146d0ccb987cb337147681614c4b94a97fc8b
3
+ metadata.gz: b4ed6b496a8f6b2f6474e555b198a30607ccd85014dd6ec76811513766ac2829
4
+ data.tar.gz: 4be7110497029544ca9791b9f4b47a9d49a570f1fa030082b8aaece746799af5
5
5
  SHA512:
6
- metadata.gz: 49aa55f8327fa56a2e3ee0d28d47cb08c221e08358efda1d480b53f3ec524af69f4248c9164104e882df21cbf033aac8c80b28e9492487e5df76908463fc8752
7
- data.tar.gz: 7fa2a51a646414c9949a6b3d3a25bbc748e7add32bb81562fc8469f3dbea845d1fd1c8a69dff31a768a0318cb4e85ba4dc0ac2da65d2324eb2c2b281e6bc6277
6
+ metadata.gz: b8e449b93c64df07b8540acee0e365ccae5261579607c2c93742ba3e3fce58965b5fdf936f8648c1a0ceed8a334aa951d775cdaa18a1286d5099800b5a07f0ba
7
+ data.tar.gz: bb6436ce140aca5e27dd3b430702b228898c1116cd3d343ef770a88443f5888346e86d342175a5d95f028c6aa23a523eab709c4d99d82db65ef9e7dc0f5b4ec6
data/CHANGELOG.md CHANGED
@@ -9,6 +9,23 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
9
9
 
10
10
  None
11
11
 
12
+ <a name="4.4.3"></a>
13
+
14
+ ## [4.4.3] - 2023-08-15
15
+
16
+ ### Changed
17
+
18
+ - `valid?` method implementation now utilizes `list_invalid_properties`
19
+ - Testing for `valid?` method
20
+
21
+ <a name="4.4.2"></a>
22
+
23
+ ## [4.4.2] - 2023-07-26
24
+
25
+ ### Changed
26
+
27
+ - Changed AddToConference CallId property type from boolean to string
28
+
12
29
  <a name="4.4.1"></a>
13
30
 
14
31
  ## [4.4.1] - 2023-07-19
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- freeclimb (4.4.1)
4
+ freeclimb (4.4.3)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -7,7 +7,7 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0.0
10
- - Package version: 4.4.1
10
+ - Package version: 4.4.3
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/)
13
13
 
@@ -15,7 +15,7 @@ For more information, please visit [https://www.freeclimb.com/support/](https://
15
15
 
16
16
  Add this to the Gemfile:
17
17
 
18
- gem 'freeclimb', '~> 4.4.1'
18
+ gem 'freeclimb', '~> 4.4.3'
19
19
 
20
20
  and run from your terminal
21
21
 
@@ -44,9 +44,9 @@ gem build freeclimb.gemspec
44
44
  Then either install the gem locally:
45
45
 
46
46
  ```shell
47
- gem install ./freeclimb-4.4.1.gem
47
+ gem install ./freeclimb-4.4.3.gem
48
48
  ```
49
- (for development, run `gem install --dev ./freeclimb-4.4.1.gem` to install the development dependencies)
49
+ (for development, run `gem install --dev ./freeclimb-4.4.3.gem` to install the development dependencies)
50
50
 
51
51
  ## Getting Started
52
52
 
@@ -8,7 +8,7 @@
8
8
  | **call_control_sequence** | **String** | Defines a sequence of digits that, when entered by this caller, invokes the &#x60;callControlUrl&#x60;. Only digits plus &#39;*&#39;, and &#39;#&#39; may be used. | [optional] |
9
9
  | **call_control_url** | **String** | URL to be invoked when this Participant enters the digit sequence defined in the &#x60;callControlSequence&#x60; attribute. | [optional] |
10
10
  | **conference_id** | **String** | ID of the Conference to which to add the Participant (Call leg). Conference must exist or an error will result. | |
11
- | **call_id** | **Boolean** | ID of the Call that will be added to the specified Conference. The Call must be in progress or an error will result. If the Call is part of an existing Conference, it is first removed from that Conference and is then moved to the new one. | [optional] |
11
+ | **call_id** | **String** | ID of the Call that will be added to the specified Conference. The Call must be in progress or an error will result. If the Call is part of an existing Conference, it is first removed from that Conference and is then moved to the new one. | [optional] |
12
12
  | **leave_conference_url** | **String** | URL to be invoked when the Participant leaves the Conference. | [optional] |
13
13
  | **listen** | **Boolean** | If &#x60;true&#x60;, the Participant joins the Conference with listen privileges. This may be modified later via the REST API or &#x60;SetListen&#x60; PerCL command. | [optional] |
14
14
  | **notification_url** | **String** | When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters. | [optional] |
@@ -8,7 +8,7 @@
8
8
  | **call_control_sequence** | **String** | Defines a sequence of digits that, when entered by this caller, invokes the &#x60;callControlUrl&#x60;. Only digits plus &#39;*&#39;, and &#39;#&#39; may be used. | [optional] |
9
9
  | **call_control_url** | **String** | URL to be invoked when this Participant enters the digit sequence defined in the &#x60;callControlSequence&#x60; attribute. | [optional] |
10
10
  | **conference_id** | **String** | ID of the Conference to which to add the Participant (Call leg). Conference must exist or an error will result. | |
11
- | **call_id** | **Boolean** | ID of the Call that will be added to the specified Conference. The Call must be in progress or an error will result. If the Call is part of an existing Conference, it is first removed from that Conference and is then moved to the new one. | [optional] |
11
+ | **call_id** | **String** | ID of the Call that will be added to the specified Conference. The Call must be in progress or an error will result. If the Call is part of an existing Conference, it is first removed from that Conference and is then moved to the new one. | [optional] |
12
12
  | **leave_conference_url** | **String** | URL to be invoked when the Participant leaves the Conference. | [optional] |
13
13
  | **listen** | **Boolean** | If &#x60;true&#x60;, the Participant joins the Conference with listen privileges. This may be modified later via the REST API or &#x60;SetListen&#x60; PerCL command. | [optional] |
14
14
  | **notification_url** | **String** | When the Participant enters the Conference, this URL will be invoked using an HTTP POST request with the standard request parameters. | [optional] |
data/docs/DefaultApi.md CHANGED
@@ -3048,7 +3048,10 @@ opts = {
3048
3048
  from: 'from_example', # String | Only show Messages from this phone number.
3049
3049
  begin_time: 'begin_time_example', # String | Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*.
3050
3050
  end_time: 'end_time_example', # String | Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*..
3051
- direction: Freeclimb::MessageDirection::INBOUND # MessageDirection | Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb.
3051
+ direction: Freeclimb::MessageDirection::INBOUND, # MessageDirection | Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb.
3052
+ campaign_id: 'campaign_id_example', # String | Only show messages associated with this campaign ID.
3053
+ brand_id: 'brand_id_example', # String | Only show messages associated with this brand ID
3054
+ is10_dlc: true # Boolean | Only show messages that were sent as part of a 10DLC campaign.
3052
3055
  }
3053
3056
 
3054
3057
  begin
@@ -3094,6 +3097,12 @@ end
3094
3097
 
3095
3098
  | **direction** | [**MessageDirection**](.md) | Either &#x60;inbound&#x60; or &#x60;outbound&#x60;. Only show Messages that were either *sent from* or *received by* FreeClimb. | [optional] |
3096
3099
 
3100
+ | **campaign_id** | **String** | Only show messages associated with this campaign ID. | [optional] |
3101
+
3102
+ | **brand_id** | **String** | Only show messages associated with this brand ID | [optional] |
3103
+
3104
+ | **is10_dlc** | **Boolean** | Only show messages that were sent as part of a 10DLC campaign. | [optional] |
3105
+
3097
3106
 
3098
3107
  ### Return type
3099
3108
 
@@ -16,6 +16,9 @@
16
16
  | **text** | **String** | Message contents | [optional] |
17
17
  | **direction** | **String** | Noting whether the message was inbound or outbound | [optional] |
18
18
  | **notification_url** | **String** | URL invoked when message sent | [optional] |
19
+ | **brand_id** | **String** | The unique identifier for the brand associated with the message | [optional] |
20
+ | **campaign_id** | **String** | The unique identifier for the campaign associated with the message | [optional] |
21
+ | **segment_count** | **Float** | The number of segments into which the message was split | [optional] |
19
22
 
20
23
  ## Example
21
24
 
@@ -34,7 +37,10 @@ instance = Freeclimb::MessageResult.new(
34
37
  to: null,
35
38
  text: null,
36
39
  direction: null,
37
- notification_url: null
40
+ notification_url: null,
41
+ brand_id: null,
42
+ campaign_id: null,
43
+ segment_count: null
38
44
  )
39
45
  ```
40
46
 
@@ -12,6 +12,9 @@
12
12
  | **text** | **String** | Message contents | [optional] |
13
13
  | **direction** | **String** | Noting whether the message was inbound or outbound | [optional] |
14
14
  | **notification_url** | **String** | URL invoked when message sent | [optional] |
15
+ | **brand_id** | **String** | The unique identifier for the brand associated with the message | [optional] |
16
+ | **campaign_id** | **String** | The unique identifier for the campaign associated with the message | [optional] |
17
+ | **segment_count** | **Float** | The number of segments into which the message was split | [optional] |
15
18
 
16
19
  ## Example
17
20
 
@@ -26,7 +29,10 @@ instance = Freeclimb::MessageResultAllOf.new(
26
29
  to: null,
27
30
  text: null,
28
31
  direction: null,
29
- notification_url: null
32
+ notification_url: null,
33
+ brand_id: null,
34
+ campaign_id: null,
35
+ segment_count: null
30
36
  )
31
37
  ```
32
38
 
@@ -2597,6 +2597,9 @@ module Freeclimb
2597
2597
  # @option opts [String] :begin_time Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*.
2598
2598
  # @option opts [String] :end_time Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*..
2599
2599
  # @option opts [MessageDirection] :direction Either &#x60;inbound&#x60; or &#x60;outbound&#x60;. Only show Messages that were either *sent from* or *received by* FreeClimb.
2600
+ # @option opts [String] :campaign_id Only show messages associated with this campaign ID.
2601
+ # @option opts [String] :brand_id Only show messages associated with this brand ID
2602
+ # @option opts [Boolean] :is10_dlc Only show messages that were sent as part of a 10DLC campaign.
2600
2603
  # @return [MessagesList]
2601
2604
  def list_sms_messages(opts = {})
2602
2605
  data, _status_code, _headers = list_sms_messages_with_http_info(opts)
@@ -2610,6 +2613,9 @@ module Freeclimb
2610
2613
  # @option opts [String] :begin_time Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*.
2611
2614
  # @option opts [String] :end_time Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*..
2612
2615
  # @option opts [MessageDirection] :direction Either &#x60;inbound&#x60; or &#x60;outbound&#x60;. Only show Messages that were either *sent from* or *received by* FreeClimb.
2616
+ # @option opts [String] :campaign_id Only show messages associated with this campaign ID.
2617
+ # @option opts [String] :brand_id Only show messages associated with this brand ID
2618
+ # @option opts [Boolean] :is10_dlc Only show messages that were sent as part of a 10DLC campaign.
2613
2619
  # @return [Array<(MessagesList, Integer, Hash)>] MessagesList data, response status code and response headers
2614
2620
  def list_sms_messages_with_http_info(opts = {})
2615
2621
  if @api_client.config.debugging
@@ -2625,6 +2631,9 @@ module Freeclimb
2625
2631
  query_params[:'beginTime'] = opts[:'begin_time'] if !opts[:'begin_time'].nil?
2626
2632
  query_params[:'endTime'] = opts[:'end_time'] if !opts[:'end_time'].nil?
2627
2633
  query_params[:'direction'] = opts[:'direction'] if !opts[:'direction'].nil?
2634
+ query_params[:'campaignId'] = opts[:'campaign_id'] if !opts[:'campaign_id'].nil?
2635
+ query_params[:'brandId'] = opts[:'brand_id'] if !opts[:'brand_id'].nil?
2636
+ query_params[:'is10DLC'] = opts[:'is10_dlc'] if !opts[:'is10_dlc'].nil?
2628
2637
 
2629
2638
  # header parameters
2630
2639
  header_params = opts[:header_params] || {}
@@ -82,7 +82,14 @@ module Freeclimb
82
82
  # Check to see if the all the properties in the model are valid
83
83
  # @return true if the model is valid
84
84
  def valid?
85
- true
85
+
86
+ if @_alias.nil?
87
+ false
88
+ elsif @label.nil?
89
+ false
90
+ else
91
+ list_invalid_properties.length() == 0
92
+ end
86
93
  end
87
94
 
88
95
  # Checks equality by comparing each attribute.
@@ -176,7 +176,18 @@ module Freeclimb
176
176
  # Check to see if the all the properties in the model are valid
177
177
  # @return true if the model is valid
178
178
  def valid?
179
- true
179
+
180
+ if @uri.nil?
181
+ false
182
+ elsif @date_created.nil?
183
+ false
184
+ elsif @date_updated.nil?
185
+ false
186
+ elsif @revision.nil?
187
+ false
188
+ else
189
+ list_invalid_properties.length() == 0
190
+ end
180
191
  end
181
192
 
182
193
  # Checks equality by comparing each attribute.
@@ -132,7 +132,12 @@ module Freeclimb
132
132
  # Check to see if the all the properties in the model are valid
133
133
  # @return true if the model is valid
134
134
  def valid?
135
- true
135
+
136
+ if @account_id.nil?
137
+ false
138
+ else
139
+ list_invalid_properties.length() == 0
140
+ end
136
141
  end
137
142
 
138
143
  # Checks equality by comparing each attribute.
@@ -74,7 +74,7 @@ module Freeclimb
74
74
  :'call_control_sequence' => :'String',
75
75
  :'call_control_url' => :'String',
76
76
  :'conference_id' => :'String',
77
- :'call_id' => :'Boolean',
77
+ :'call_id' => :'String',
78
78
  :'leave_conference_url' => :'String',
79
79
  :'listen' => :'Boolean',
80
80
  :'notification_url' => :'String',
@@ -171,8 +171,30 @@ module Freeclimb
171
171
  # Check to see if the all the properties in the model are valid
172
172
  # @return true if the model is valid
173
173
  def valid?
174
- return false if @conference_id.nil?
175
- true && super
174
+
175
+ if @allow_call_control.nil?
176
+ false
177
+ elsif @call_control_sequence.nil?
178
+ false
179
+ elsif @call_control_url.nil?
180
+ false
181
+ elsif @conference_id.nil?
182
+ false
183
+ elsif @call_id.nil?
184
+ false
185
+ elsif @leave_conference_url.nil?
186
+ false
187
+ elsif @listen.nil?
188
+ false
189
+ elsif @notification_url.nil?
190
+ false
191
+ elsif @start_conf_on_enter.nil?
192
+ false
193
+ elsif @talk.nil?
194
+ false
195
+ else
196
+ list_invalid_properties.length() == 0
197
+ end
176
198
  end
177
199
 
178
200
  # Checks equality by comparing each attribute.
@@ -73,7 +73,7 @@ module Freeclimb
73
73
  :'call_control_sequence' => :'String',
74
74
  :'call_control_url' => :'String',
75
75
  :'conference_id' => :'String',
76
- :'call_id' => :'Boolean',
76
+ :'call_id' => :'String',
77
77
  :'leave_conference_url' => :'String',
78
78
  :'listen' => :'Boolean',
79
79
  :'notification_url' => :'String',
@@ -158,8 +158,30 @@ 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
- return false if @conference_id.nil?
162
- true
161
+
162
+ if @allow_call_control.nil?
163
+ false
164
+ elsif @call_control_sequence.nil?
165
+ false
166
+ elsif @call_control_url.nil?
167
+ false
168
+ elsif @conference_id.nil?
169
+ false
170
+ elsif @call_id.nil?
171
+ false
172
+ elsif @leave_conference_url.nil?
173
+ false
174
+ elsif @listen.nil?
175
+ false
176
+ elsif @notification_url.nil?
177
+ false
178
+ elsif @start_conf_on_enter.nil?
179
+ false
180
+ elsif @talk.nil?
181
+ false
182
+ else
183
+ list_invalid_properties.length() == 0
184
+ end
163
185
  end
164
186
 
165
187
  # 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 @applications.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
- true
136
+
137
+ if @_alias.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.
@@ -198,7 +198,18 @@ module Freeclimb
198
198
  # Check to see if the all the properties in the model are valid
199
199
  # @return true if the model is valid
200
200
  def valid?
201
- true
201
+
202
+ if @uri.nil?
203
+ false
204
+ elsif @date_created.nil?
205
+ false
206
+ elsif @date_updated.nil?
207
+ false
208
+ elsif @revision.nil?
209
+ false
210
+ else
211
+ list_invalid_properties.length() == 0
212
+ end
202
213
  end
203
214
 
204
215
  # Checks equality by comparing each attribute.
@@ -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 @account_id.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.
@@ -132,7 +132,12 @@ module Freeclimb
132
132
  # Check to see if the all the properties in the model are valid
133
133
  # @return true if the model is valid
134
134
  def valid?
135
- true
135
+
136
+ if @capabilities.nil?
137
+ false
138
+ else
139
+ list_invalid_properties.length() == 0
140
+ end
136
141
  end
137
142
 
138
143
  # 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 @available_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.
@@ -95,8 +95,16 @@ module Freeclimb
95
95
  # Check to see if the all the properties in the model are valid
96
96
  # @return true if the model is valid
97
97
  def valid?
98
- return false if @phone_number.nil?
99
- true
98
+
99
+ if @phone_number.nil?
100
+ false
101
+ elsif @_alias.nil?
102
+ false
103
+ elsif @application_id.nil?
104
+ false
105
+ else
106
+ list_invalid_properties.length() == 0
107
+ end
100
108
  end
101
109
 
102
110
  # 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 @calls.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.
@@ -255,7 +255,18 @@ module Freeclimb
255
255
  # Check to see if the all the properties in the model are valid
256
256
  # @return true if the model is valid
257
257
  def valid?
258
- true
258
+
259
+ if @uri.nil?
260
+ false
261
+ elsif @date_created.nil?
262
+ false
263
+ elsif @date_updated.nil?
264
+ false
265
+ elsif @revision.nil?
266
+ false
267
+ else
268
+ list_invalid_properties.length() == 0
269
+ end
259
270
  end
260
271
 
261
272
  # Checks equality by comparing each attribute.
@@ -211,7 +211,12 @@ module Freeclimb
211
211
  # Check to see if the all the properties in the model are valid
212
212
  # @return true if the model is valid
213
213
  def valid?
214
- true
214
+
215
+ if @call_id.nil?
216
+ false
217
+ else
218
+ list_invalid_properties.length() == 0
219
+ end
215
220
  end
216
221
 
217
222
  # Checks equality by comparing each attribute.
@@ -115,7 +115,12 @@ module Freeclimb
115
115
  # Check to see if the all the properties in the model are valid
116
116
  # @return true if the model is valid
117
117
  def valid?
118
- true
118
+
119
+ if @voice.nil?
120
+ false
121
+ else
122
+ list_invalid_properties.length() == 0
123
+ end
119
124
  end
120
125
 
121
126
  # 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 @conferences.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.
@@ -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 @participants.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.
@@ -168,7 +168,18 @@ module Freeclimb
168
168
  # Check to see if the all the properties in the model are valid
169
169
  # @return true if the model is valid
170
170
  def valid?
171
- true
171
+
172
+ if @uri.nil?
173
+ false
174
+ elsif @date_created.nil?
175
+ false
176
+ elsif @date_updated.nil?
177
+ false
178
+ elsif @revision.nil?
179
+ false
180
+ else
181
+ list_invalid_properties.length() == 0
182
+ end
172
183
  end
173
184
 
174
185
  # Checks equality by comparing each attribute.
@@ -124,7 +124,12 @@ 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
- true
127
+
128
+ if @account_id.nil?
129
+ false
130
+ else
131
+ list_invalid_properties.length() == 0
132
+ end
128
133
  end
129
134
 
130
135
  # Checks equality by comparing each attribute.