dialmycalls_client 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +201 -0
  3. data/README.md +186 -0
  4. data/dialmycalls_client-1.0.0.gem +0 -0
  5. data/dialmycalls_client.gemspec +55 -0
  6. data/docs/Accessaccount.md +12 -0
  7. data/docs/Account.md +9 -0
  8. data/docs/AccountsApi.md +324 -0
  9. data/docs/CallRecipient.md +19 -0
  10. data/docs/CallerIdsApi.md +386 -0
  11. data/docs/Callerid.md +13 -0
  12. data/docs/CallsApi.md +278 -0
  13. data/docs/Callservice.md +17 -0
  14. data/docs/Contact.md +18 -0
  15. data/docs/ContactAttributes.md +11 -0
  16. data/docs/ContactsApi.md +330 -0
  17. data/docs/CreateAccessAccountParameters.md +10 -0
  18. data/docs/CreateCallParameters.md +18 -0
  19. data/docs/CreateCallerIdParameters.md +9 -0
  20. data/docs/CreateContactParameters.md +14 -0
  21. data/docs/CreateGroupParameters.md +8 -0
  22. data/docs/CreateRecordingByPhoneParameters.md +12 -0
  23. data/docs/CreateRecordingByUrlParameters.md +9 -0
  24. data/docs/CreateRecordingParameters.md +11 -0
  25. data/docs/CreateTextParameters.md +17 -0
  26. data/docs/CreateUnverifiedCallerIdParameters.md +9 -0
  27. data/docs/DoNotContactsApi.md +62 -0
  28. data/docs/Donotcontact.md +12 -0
  29. data/docs/Group.md +12 -0
  30. data/docs/GroupsApi.md +277 -0
  31. data/docs/Identifier.md +8 -0
  32. data/docs/Incomingtext.md +13 -0
  33. data/docs/Keyword.md +12 -0
  34. data/docs/KeywordsApi.md +168 -0
  35. data/docs/Polling.md +10 -0
  36. data/docs/PushToListenAgain.md +9 -0
  37. data/docs/PushToOptOut.md +9 -0
  38. data/docs/PushToRecord.md +9 -0
  39. data/docs/PushToTalk.md +12 -0
  40. data/docs/Recording.md +15 -0
  41. data/docs/RecordingsApi.md +383 -0
  42. data/docs/Service.md +16 -0
  43. data/docs/Shortcode.md +11 -0
  44. data/docs/TextRecipient.md +13 -0
  45. data/docs/TextsApi.md +492 -0
  46. data/docs/UpdateAccessAccountByIdParameters.md +10 -0
  47. data/docs/UpdateCallerIdByIdParameters.md +8 -0
  48. data/docs/UpdateContactByIdParameters.md +14 -0
  49. data/docs/UpdateGroupByIdParameters.md +8 -0
  50. data/docs/UpdateRecordingByIdParameters.md +8 -0
  51. data/docs/UpdateVanityNumberByIdParameters.md +12 -0
  52. data/docs/VanityNumbersApi.md +224 -0
  53. data/docs/Vanitynumber.md +16 -0
  54. data/docs/VerifyCallerIdByIdParameters.md +8 -0
  55. data/git_push.sh +67 -0
  56. data/lib/dialmycalls_client/api/accounts_api.rb +375 -0
  57. data/lib/dialmycalls_client/api/caller_ids_api.rb +440 -0
  58. data/lib/dialmycalls_client/api/calls_api.rb +321 -0
  59. data/lib/dialmycalls_client/api/contacts_api.rb +379 -0
  60. data/lib/dialmycalls_client/api/do_not_contacts_api.rb +90 -0
  61. data/lib/dialmycalls_client/api/groups_api.rb +322 -0
  62. data/lib/dialmycalls_client/api/keywords_api.rb +204 -0
  63. data/lib/dialmycalls_client/api/recordings_api.rb +436 -0
  64. data/lib/dialmycalls_client/api/texts_api.rb +547 -0
  65. data/lib/dialmycalls_client/api/vanity_numbers_api.rb +265 -0
  66. data/lib/dialmycalls_client/api_client.rb +379 -0
  67. data/lib/dialmycalls_client/api_error.rb +47 -0
  68. data/lib/dialmycalls_client/configuration.rb +214 -0
  69. data/lib/dialmycalls_client/models/accessaccount.rb +240 -0
  70. data/lib/dialmycalls_client/models/account.rb +210 -0
  71. data/lib/dialmycalls_client/models/call_recipient.rb +310 -0
  72. data/lib/dialmycalls_client/models/callerid.rb +250 -0
  73. data/lib/dialmycalls_client/models/callservice.rb +290 -0
  74. data/lib/dialmycalls_client/models/contact.rb +300 -0
  75. data/lib/dialmycalls_client/models/contact_attributes.rb +230 -0
  76. data/lib/dialmycalls_client/models/create_access_account_parameters.rb +220 -0
  77. data/lib/dialmycalls_client/models/create_call_parameters.rb +304 -0
  78. data/lib/dialmycalls_client/models/create_caller_id_parameters.rb +210 -0
  79. data/lib/dialmycalls_client/models/create_contact_parameters.rb +262 -0
  80. data/lib/dialmycalls_client/models/create_group_parameters.rb +200 -0
  81. data/lib/dialmycalls_client/models/create_recording_by_phone_parameters.rb +240 -0
  82. data/lib/dialmycalls_client/models/create_recording_by_url_parameters.rb +210 -0
  83. data/lib/dialmycalls_client/models/create_recording_parameters.rb +230 -0
  84. data/lib/dialmycalls_client/models/create_text_parameters.rb +294 -0
  85. data/lib/dialmycalls_client/models/create_unverified_caller_id_parameters.rb +210 -0
  86. data/lib/dialmycalls_client/models/donotcontact.rb +240 -0
  87. data/lib/dialmycalls_client/models/group.rb +240 -0
  88. data/lib/dialmycalls_client/models/identifier.rb +200 -0
  89. data/lib/dialmycalls_client/models/incomingtext.rb +250 -0
  90. data/lib/dialmycalls_client/models/keyword.rb +240 -0
  91. data/lib/dialmycalls_client/models/polling.rb +220 -0
  92. data/lib/dialmycalls_client/models/push_to_listen_again.rb +210 -0
  93. data/lib/dialmycalls_client/models/push_to_opt_out.rb +210 -0
  94. data/lib/dialmycalls_client/models/push_to_record.rb +210 -0
  95. data/lib/dialmycalls_client/models/push_to_talk.rb +240 -0
  96. data/lib/dialmycalls_client/models/recording.rb +270 -0
  97. data/lib/dialmycalls_client/models/service.rb +280 -0
  98. data/lib/dialmycalls_client/models/shortcode.rb +230 -0
  99. data/lib/dialmycalls_client/models/text_recipient.rb +250 -0
  100. data/lib/dialmycalls_client/models/update_access_account_by_id_parameters.rb +220 -0
  101. data/lib/dialmycalls_client/models/update_caller_id_by_id_parameters.rb +200 -0
  102. data/lib/dialmycalls_client/models/update_contact_by_id_parameters.rb +262 -0
  103. data/lib/dialmycalls_client/models/update_group_by_id_parameters.rb +200 -0
  104. data/lib/dialmycalls_client/models/update_recording_by_id_parameters.rb +200 -0
  105. data/lib/dialmycalls_client/models/update_vanity_number_by_id_parameters.rb +242 -0
  106. data/lib/dialmycalls_client/models/vanitynumber.rb +280 -0
  107. data/lib/dialmycalls_client/models/verify_caller_id_by_id_parameters.rb +200 -0
  108. data/lib/dialmycalls_client/version.rb +26 -0
  109. data/lib/dialmycalls_client.rb +99 -0
  110. data/spec/api/accounts_api_spec.rb +118 -0
  111. data/spec/api/caller_ids_api_spec.rb +132 -0
  112. data/spec/api/calls_api_spec.rb +107 -0
  113. data/spec/api/contacts_api_spec.rb +119 -0
  114. data/spec/api/do_not_contacts_api_spec.rb +58 -0
  115. data/spec/api/groups_api_spec.rb +107 -0
  116. data/spec/api/keywords_api_spec.rb +82 -0
  117. data/spec/api/recordings_api_spec.rb +131 -0
  118. data/spec/api/texts_api_spec.rb +155 -0
  119. data/spec/api/vanity_numbers_api_spec.rb +95 -0
  120. data/spec/api_client_spec.rb +237 -0
  121. data/spec/configuration_spec.rb +53 -0
  122. data/spec/models/accessaccount_spec.rb +77 -0
  123. data/spec/models/account_spec.rb +59 -0
  124. data/spec/models/call_recipient_spec.rb +119 -0
  125. data/spec/models/callerid_spec.rb +83 -0
  126. data/spec/models/callservice_spec.rb +107 -0
  127. data/spec/models/contact_attributes_spec.rb +71 -0
  128. data/spec/models/contact_spec.rb +113 -0
  129. data/spec/models/create_access_account_parameters_spec.rb +65 -0
  130. data/spec/models/create_call_parameters_spec.rb +113 -0
  131. data/spec/models/create_caller_id_parameters_spec.rb +59 -0
  132. data/spec/models/create_contact_parameters_spec.rb +89 -0
  133. data/spec/models/create_group_parameters_spec.rb +53 -0
  134. data/spec/models/create_recording_by_phone_parameters_spec.rb +77 -0
  135. data/spec/models/create_recording_by_url_parameters_spec.rb +59 -0
  136. data/spec/models/create_recording_parameters_spec.rb +71 -0
  137. data/spec/models/create_text_parameters_spec.rb +107 -0
  138. data/spec/models/create_unverified_caller_id_parameters_spec.rb +59 -0
  139. data/spec/models/donotcontact_spec.rb +77 -0
  140. data/spec/models/group_spec.rb +77 -0
  141. data/spec/models/identifier_spec.rb +53 -0
  142. data/spec/models/incomingtext_spec.rb +83 -0
  143. data/spec/models/keyword_spec.rb +77 -0
  144. data/spec/models/polling_spec.rb +65 -0
  145. data/spec/models/push_to_listen_again_spec.rb +59 -0
  146. data/spec/models/push_to_opt_out_spec.rb +59 -0
  147. data/spec/models/push_to_record_spec.rb +59 -0
  148. data/spec/models/push_to_talk_spec.rb +77 -0
  149. data/spec/models/recording_spec.rb +95 -0
  150. data/spec/models/service_spec.rb +101 -0
  151. data/spec/models/shortcode_spec.rb +71 -0
  152. data/spec/models/text_recipient_spec.rb +83 -0
  153. data/spec/models/update_access_account_by_id_parameters_spec.rb +65 -0
  154. data/spec/models/update_caller_id_by_id_parameters_spec.rb +53 -0
  155. data/spec/models/update_contact_by_id_parameters_spec.rb +89 -0
  156. data/spec/models/update_group_by_id_parameters_spec.rb +53 -0
  157. data/spec/models/update_recording_by_id_parameters_spec.rb +53 -0
  158. data/spec/models/update_vanity_number_by_id_parameters_spec.rb +77 -0
  159. data/spec/models/vanitynumber_spec.rb +101 -0
  160. data/spec/models/verify_caller_id_by_id_parameters_spec.rb +53 -0
  161. data/spec/spec_helper.rb +122 -0
  162. metadata +436 -0
@@ -0,0 +1,383 @@
1
+ # DialMyCalls::RecordingsApi
2
+
3
+ All URIs are relative to *https://api.dialmycalls.com/2.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_recording**](RecordingsApi.md#create_recording) | **POST** /recording/tts | Create Recording (Text-to-Speech)
8
+ [**create_recording_by_phone**](RecordingsApi.md#create_recording_by_phone) | **POST** /recording/phone | Create Recording (Phone)
9
+ [**create_recording_by_url**](RecordingsApi.md#create_recording_by_url) | **POST** /recording/url | Create Recording (URL)
10
+ [**delete_recording_by_id**](RecordingsApi.md#delete_recording_by_id) | **DELETE** /recording/{RecordingId} | Delete Recording
11
+ [**get_recording_by_id**](RecordingsApi.md#get_recording_by_id) | **GET** /recording/{RecordingId} | Get Recording
12
+ [**get_recordings**](RecordingsApi.md#get_recordings) | **GET** /recordings | List Recordings
13
+ [**update_recording_by_id**](RecordingsApi.md#update_recording_by_id) | **PUT** /recording/{RecordingId} | Update Recording
14
+
15
+
16
+ # **create_recording**
17
+ > Object create_recording(create_recording_parameters)
18
+
19
+ Create Recording (Text-to-Speech)
20
+
21
+ Create a new recording using text-to-speech. <br><br> Returns a recording object on success, and returns an error otherwise. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X POST -d \"{\\\"name\\\": \\\"Test Recording\\\", \\\"gender\\\": \\\"M\\\", \\\"language\\\": \\\"en\\\", \\\"text\\\": \\\"This is just a test.\\\"}\" https://$API_KEY@api.dialmycalls.com/2.0/recording/tts ```
22
+
23
+ ### Example
24
+ ```ruby
25
+ # load the gem
26
+ require 'dialmycalls_client'
27
+ # setup authorization
28
+ DialMyCalls.configure do |config|
29
+ # Configure API key authorization: api_key
30
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
31
+ end
32
+
33
+ api_instance = DialMyCalls::RecordingsApi.new
34
+
35
+ create_recording_parameters = DialMyCalls::CreateRecordingParameters.new # CreateRecordingParameters | Request body
36
+
37
+
38
+ begin
39
+ #Create Recording (Text-to-Speech)
40
+ result = api_instance.create_recording(create_recording_parameters)
41
+ p result
42
+ rescue DialMyCalls::ApiError => e
43
+ puts "Exception when calling RecordingsApi->create_recording: #{e}"
44
+ end
45
+ ```
46
+
47
+ ### Parameters
48
+
49
+ Name | Type | Description | Notes
50
+ ------------- | ------------- | ------------- | -------------
51
+ **create_recording_parameters** | [**CreateRecordingParameters**](CreateRecordingParameters.md)| Request body |
52
+
53
+ ### Return type
54
+
55
+ **Object**
56
+
57
+ ### Authorization
58
+
59
+ [api_key](../README.md#api_key)
60
+
61
+ ### HTTP request headers
62
+
63
+ - **Content-Type**: application/json, application/xml
64
+ - **Accept**: application/json, application/xml
65
+
66
+
67
+
68
+ # **create_recording_by_phone**
69
+ > Object create_recording_by_phone(create_recording_by_phone_parameters)
70
+
71
+ Create Recording (Phone)
72
+
73
+ Create a new recording by phone. <br><br> Returns a recording object on success, and returns an error otherwise. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X POST -d \"{\\\"name\\\": \\\"Test Recording\\\", \\\"phone\\\": \\\"5551234567\\\", \\\"callerid_id\\\": \\\"$CALLERID_ID\\\"}\" https://$API_KEY@api.dialmycalls.com/2.0/recording/phone ```
74
+
75
+ ### Example
76
+ ```ruby
77
+ # load the gem
78
+ require 'dialmycalls_client'
79
+ # setup authorization
80
+ DialMyCalls.configure do |config|
81
+ # Configure API key authorization: api_key
82
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
83
+ end
84
+
85
+ api_instance = DialMyCalls::RecordingsApi.new
86
+
87
+ create_recording_by_phone_parameters = DialMyCalls::CreateRecordingByPhoneParameters.new # CreateRecordingByPhoneParameters | Request body
88
+
89
+
90
+ begin
91
+ #Create Recording (Phone)
92
+ result = api_instance.create_recording_by_phone(create_recording_by_phone_parameters)
93
+ p result
94
+ rescue DialMyCalls::ApiError => e
95
+ puts "Exception when calling RecordingsApi->create_recording_by_phone: #{e}"
96
+ end
97
+ ```
98
+
99
+ ### Parameters
100
+
101
+ Name | Type | Description | Notes
102
+ ------------- | ------------- | ------------- | -------------
103
+ **create_recording_by_phone_parameters** | [**CreateRecordingByPhoneParameters**](CreateRecordingByPhoneParameters.md)| Request body |
104
+
105
+ ### Return type
106
+
107
+ **Object**
108
+
109
+ ### Authorization
110
+
111
+ [api_key](../README.md#api_key)
112
+
113
+ ### HTTP request headers
114
+
115
+ - **Content-Type**: application/json, application/xml
116
+ - **Accept**: application/json, application/xml
117
+
118
+
119
+
120
+ # **create_recording_by_url**
121
+ > Object create_recording_by_url(create_recording_by_url_parameters)
122
+
123
+ Create Recording (URL)
124
+
125
+ Create a new recording from a URL. <br><br> Returns a recording object on success, and returns an error otherwise. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X POST -d \"{\\\"name\\\": \\\"Test Recording\\\", \\\"url\\\": \\\"https://ia700200.us.archive.org/1/items/testmp3testfile/mpthreetest.mp3\\\"}\" https://$API_KEY@api.dialmycalls.com/2.0/recording/url ```
126
+
127
+ ### Example
128
+ ```ruby
129
+ # load the gem
130
+ require 'dialmycalls_client'
131
+ # setup authorization
132
+ DialMyCalls.configure do |config|
133
+ # Configure API key authorization: api_key
134
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
135
+ end
136
+
137
+ api_instance = DialMyCalls::RecordingsApi.new
138
+
139
+ create_recording_by_url_parameters = DialMyCalls::CreateRecordingByUrlParameters.new # CreateRecordingByUrlParameters | Request body
140
+
141
+
142
+ begin
143
+ #Create Recording (URL)
144
+ result = api_instance.create_recording_by_url(create_recording_by_url_parameters)
145
+ p result
146
+ rescue DialMyCalls::ApiError => e
147
+ puts "Exception when calling RecordingsApi->create_recording_by_url: #{e}"
148
+ end
149
+ ```
150
+
151
+ ### Parameters
152
+
153
+ Name | Type | Description | Notes
154
+ ------------- | ------------- | ------------- | -------------
155
+ **create_recording_by_url_parameters** | [**CreateRecordingByUrlParameters**](CreateRecordingByUrlParameters.md)| Request body |
156
+
157
+ ### Return type
158
+
159
+ **Object**
160
+
161
+ ### Authorization
162
+
163
+ [api_key](../README.md#api_key)
164
+
165
+ ### HTTP request headers
166
+
167
+ - **Content-Type**: application/json, application/xml
168
+ - **Accept**: application/json, application/xml
169
+
170
+
171
+
172
+ # **delete_recording_by_id**
173
+ > Object delete_recording_by_id(recording_id)
174
+
175
+ Delete Recording
176
+
177
+ Delete a recording. <br><br> Returns the following if a valid identifier was provided, and returns an error otherwise. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X DELETE https://$API_KEY@api.dialmycalls.com/2.0/recording/$RECORDING_ID ```
178
+
179
+ ### Example
180
+ ```ruby
181
+ # load the gem
182
+ require 'dialmycalls_client'
183
+ # setup authorization
184
+ DialMyCalls.configure do |config|
185
+ # Configure API key authorization: api_key
186
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
187
+ end
188
+
189
+ api_instance = DialMyCalls::RecordingsApi.new
190
+
191
+ recording_id = "recording_id_example" # String | RecordingId
192
+
193
+
194
+ begin
195
+ #Delete Recording
196
+ result = api_instance.delete_recording_by_id(recording_id)
197
+ p result
198
+ rescue DialMyCalls::ApiError => e
199
+ puts "Exception when calling RecordingsApi->delete_recording_by_id: #{e}"
200
+ end
201
+ ```
202
+
203
+ ### Parameters
204
+
205
+ Name | Type | Description | Notes
206
+ ------------- | ------------- | ------------- | -------------
207
+ **recording_id** | **String**| RecordingId |
208
+
209
+ ### Return type
210
+
211
+ **Object**
212
+
213
+ ### Authorization
214
+
215
+ [api_key](../README.md#api_key)
216
+
217
+ ### HTTP request headers
218
+
219
+ - **Content-Type**: application/json, application/xml
220
+ - **Accept**: application/json, application/xml
221
+
222
+
223
+
224
+ # **get_recording_by_id**
225
+ > Object get_recording_by_id(recording_id)
226
+
227
+ Get Recording
228
+
229
+ Retrieve a recording. <br><br> Returns a recording object if a valid identifier was provided, and returns an error otherwise. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X GET https://$API_KEY@api.dialmycalls.com/2.0/recording/$RECORDING_ID ```
230
+
231
+ ### Example
232
+ ```ruby
233
+ # load the gem
234
+ require 'dialmycalls_client'
235
+ # setup authorization
236
+ DialMyCalls.configure do |config|
237
+ # Configure API key authorization: api_key
238
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
239
+ end
240
+
241
+ api_instance = DialMyCalls::RecordingsApi.new
242
+
243
+ recording_id = "recording_id_example" # String | RecordingId
244
+
245
+
246
+ begin
247
+ #Get Recording
248
+ result = api_instance.get_recording_by_id(recording_id)
249
+ p result
250
+ rescue DialMyCalls::ApiError => e
251
+ puts "Exception when calling RecordingsApi->get_recording_by_id: #{e}"
252
+ end
253
+ ```
254
+
255
+ ### Parameters
256
+
257
+ Name | Type | Description | Notes
258
+ ------------- | ------------- | ------------- | -------------
259
+ **recording_id** | **String**| RecordingId |
260
+
261
+ ### Return type
262
+
263
+ **Object**
264
+
265
+ ### Authorization
266
+
267
+ [api_key](../README.md#api_key)
268
+
269
+ ### HTTP request headers
270
+
271
+ - **Content-Type**: application/json, application/xml
272
+ - **Accept**: application/json, application/xml
273
+
274
+
275
+
276
+ # **get_recordings**
277
+ > Object get_recordings(opts)
278
+
279
+ List Recordings
280
+
281
+ Retrieve a list of recordings. <br><br> Returns a list of recording objects. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X GET https://$API_KEY@api.dialmycalls.com/2.0/recordings ```
282
+
283
+ ### Example
284
+ ```ruby
285
+ # load the gem
286
+ require 'dialmycalls_client'
287
+ # setup authorization
288
+ DialMyCalls.configure do |config|
289
+ # Configure API key authorization: api_key
290
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
291
+ end
292
+
293
+ api_instance = DialMyCalls::RecordingsApi.new
294
+
295
+ opts = {
296
+ range: "range_example" # String | Range (ie \"records=201-300\") of recordings requested
297
+ }
298
+
299
+ begin
300
+ #List Recordings
301
+ result = api_instance.get_recordings(opts)
302
+ p result
303
+ rescue DialMyCalls::ApiError => e
304
+ puts "Exception when calling RecordingsApi->get_recordings: #{e}"
305
+ end
306
+ ```
307
+
308
+ ### Parameters
309
+
310
+ Name | Type | Description | Notes
311
+ ------------- | ------------- | ------------- | -------------
312
+ **range** | **String**| Range (ie \&quot;records&#x3D;201-300\&quot;) of recordings requested | [optional]
313
+
314
+ ### Return type
315
+
316
+ **Object**
317
+
318
+ ### Authorization
319
+
320
+ [api_key](../README.md#api_key)
321
+
322
+ ### HTTP request headers
323
+
324
+ - **Content-Type**: application/json, application/xml
325
+ - **Accept**: application/json, application/xml
326
+
327
+
328
+
329
+ # **update_recording_by_id**
330
+ > Object update_recording_by_id(update_recording_by_id_parameters, recording_id)
331
+
332
+ Update Recording
333
+
334
+ Update an existing recording. <br><br> Returns a recording object if a valid identifier was provided and input validation passed, and returns an error otherwise. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X PUT -d \"{\\\"name\\\": \\\"Test Recording Updated\\\"}\" https://$API_KEY@api.dialmycalls.com/2.0/recording/$RECORDING_ID ```
335
+
336
+ ### Example
337
+ ```ruby
338
+ # load the gem
339
+ require 'dialmycalls_client'
340
+ # setup authorization
341
+ DialMyCalls.configure do |config|
342
+ # Configure API key authorization: api_key
343
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
344
+ end
345
+
346
+ api_instance = DialMyCalls::RecordingsApi.new
347
+
348
+ update_recording_by_id_parameters = DialMyCalls::UpdateRecordingByIdParameters.new # UpdateRecordingByIdParameters | Request body
349
+
350
+ recording_id = "recording_id_example" # String | RecordingId
351
+
352
+
353
+ begin
354
+ #Update Recording
355
+ result = api_instance.update_recording_by_id(update_recording_by_id_parameters, recording_id)
356
+ p result
357
+ rescue DialMyCalls::ApiError => e
358
+ puts "Exception when calling RecordingsApi->update_recording_by_id: #{e}"
359
+ end
360
+ ```
361
+
362
+ ### Parameters
363
+
364
+ Name | Type | Description | Notes
365
+ ------------- | ------------- | ------------- | -------------
366
+ **update_recording_by_id_parameters** | [**UpdateRecordingByIdParameters**](UpdateRecordingByIdParameters.md)| Request body |
367
+ **recording_id** | **String**| RecordingId |
368
+
369
+ ### Return type
370
+
371
+ **Object**
372
+
373
+ ### Authorization
374
+
375
+ [api_key](../README.md#api_key)
376
+
377
+ ### HTTP request headers
378
+
379
+ - **Content-Type**: application/json, application/xml
380
+ - **Accept**: application/json, application/xml
381
+
382
+
383
+
data/docs/Service.md ADDED
@@ -0,0 +1,16 @@
1
+ # DialMyCalls::Service
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Unique identifier for this service. | [optional]
7
+ **accessaccount_id** | **String** | Unique identifier for the access account which initiated this if available. | [optional]
8
+ **name** | **String** | The name of the service. | [optional]
9
+ **pending_cancel** | **BOOLEAN** | Whether the service has been flagged to be cancelled. | [optional]
10
+ **credit_cost** | **Float** | The amount of credits required to schedule this service. | [optional]
11
+ **total_recipients** | **Float** | The amount of recipients for this service. | [optional]
12
+ **send_at** | **String** | When the service will be sent. | [optional]
13
+ **created_at** | **String** | When the service was created. | [optional]
14
+ **updated_at** | **String** | When the service was last updated. | [optional]
15
+
16
+
data/docs/Shortcode.md ADDED
@@ -0,0 +1,11 @@
1
+ # DialMyCalls::Shortcode
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Unique identifier for this shortcode. | [optional]
7
+ **shortcode** | **String** | The shortcode. | [optional]
8
+ **created_at** | **String** | When the keyword was created. | [optional]
9
+ **updated_at** | **String** | When the keyword was last updated. | [optional]
10
+
11
+
@@ -0,0 +1,13 @@
1
+ # DialMyCalls::TextRecipient
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **firstname** | **String** | The recipient&#39;s first name. | [optional]
7
+ **lastname** | **String** | The recipient&#39;s last name. | [optional]
8
+ **email** | **String** | The recipient&#39;s email address. | [optional]
9
+ **phone** | **String** | The recipient&#39;s phone number. | [optional]
10
+ **status** | **String** | Status of the text. Options: delivered, undeliverable, enroute, unknown, non_mobile, queued | [optional]
11
+ **successful** | **BOOLEAN** | Whether the text was successful or not. | [optional]
12
+
13
+