dialmycalls_client 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
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
data/docs/GroupsApi.md ADDED
@@ -0,0 +1,277 @@
1
+ # DialMyCalls::GroupsApi
2
+
3
+ All URIs are relative to *https://api.dialmycalls.com/2.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_group**](GroupsApi.md#create_group) | **POST** /group | Add Group
8
+ [**delete_group_by_id**](GroupsApi.md#delete_group_by_id) | **DELETE** /group/{GroupId} | Delete Group
9
+ [**get_group_by_id**](GroupsApi.md#get_group_by_id) | **GET** /group/{GroupId} | Get Group
10
+ [**get_groups**](GroupsApi.md#get_groups) | **GET** /groups | List Groups
11
+ [**update_group_by_id**](GroupsApi.md#update_group_by_id) | **PUT** /group/{GroupId} | Update Group
12
+
13
+
14
+ # **create_group**
15
+ > Object create_group(create_group_parameters)
16
+
17
+ Add Group
18
+
19
+ Add a contact group. <br><br> Returns a group object on success, and returns an error otherwise. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X POST -d \"{\\\"name\\\": \\\"Test Group\\\"}\" https://$API_KEY@api.dialmycalls.com/2.0/group ```
20
+
21
+ ### Example
22
+ ```ruby
23
+ # load the gem
24
+ require 'dialmycalls_client'
25
+ # setup authorization
26
+ DialMyCalls.configure do |config|
27
+ # Configure API key authorization: api_key
28
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
29
+ end
30
+
31
+ api_instance = DialMyCalls::GroupsApi.new
32
+
33
+ create_group_parameters = DialMyCalls::CreateGroupParameters.new # CreateGroupParameters | Request body
34
+
35
+
36
+ begin
37
+ #Add Group
38
+ result = api_instance.create_group(create_group_parameters)
39
+ p result
40
+ rescue DialMyCalls::ApiError => e
41
+ puts "Exception when calling GroupsApi->create_group: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+ Name | Type | Description | Notes
48
+ ------------- | ------------- | ------------- | -------------
49
+ **create_group_parameters** | [**CreateGroupParameters**](CreateGroupParameters.md)| Request body |
50
+
51
+ ### Return type
52
+
53
+ **Object**
54
+
55
+ ### Authorization
56
+
57
+ [api_key](../README.md#api_key)
58
+
59
+ ### HTTP request headers
60
+
61
+ - **Content-Type**: application/json, application/xml
62
+ - **Accept**: application/json, application/xml
63
+
64
+
65
+
66
+ # **delete_group_by_id**
67
+ > Object delete_group_by_id(group_id)
68
+
69
+ Delete Group
70
+
71
+ Delete a contact group. <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/group/$GROUP_ID ```
72
+
73
+ ### Example
74
+ ```ruby
75
+ # load the gem
76
+ require 'dialmycalls_client'
77
+ # setup authorization
78
+ DialMyCalls.configure do |config|
79
+ # Configure API key authorization: api_key
80
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
81
+ end
82
+
83
+ api_instance = DialMyCalls::GroupsApi.new
84
+
85
+ group_id = "group_id_example" # String | GroupId
86
+
87
+
88
+ begin
89
+ #Delete Group
90
+ result = api_instance.delete_group_by_id(group_id)
91
+ p result
92
+ rescue DialMyCalls::ApiError => e
93
+ puts "Exception when calling GroupsApi->delete_group_by_id: #{e}"
94
+ end
95
+ ```
96
+
97
+ ### Parameters
98
+
99
+ Name | Type | Description | Notes
100
+ ------------- | ------------- | ------------- | -------------
101
+ **group_id** | **String**| GroupId |
102
+
103
+ ### Return type
104
+
105
+ **Object**
106
+
107
+ ### Authorization
108
+
109
+ [api_key](../README.md#api_key)
110
+
111
+ ### HTTP request headers
112
+
113
+ - **Content-Type**: application/json, application/xml
114
+ - **Accept**: application/json, application/xml
115
+
116
+
117
+
118
+ # **get_group_by_id**
119
+ > Object get_group_by_id(group_id)
120
+
121
+ Get Group
122
+
123
+ Retrieve a contact group. <br><br> Returns a group 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/group/$GROUP_ID ```
124
+
125
+ ### Example
126
+ ```ruby
127
+ # load the gem
128
+ require 'dialmycalls_client'
129
+ # setup authorization
130
+ DialMyCalls.configure do |config|
131
+ # Configure API key authorization: api_key
132
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
133
+ end
134
+
135
+ api_instance = DialMyCalls::GroupsApi.new
136
+
137
+ group_id = "group_id_example" # String | GroupId
138
+
139
+
140
+ begin
141
+ #Get Group
142
+ result = api_instance.get_group_by_id(group_id)
143
+ p result
144
+ rescue DialMyCalls::ApiError => e
145
+ puts "Exception when calling GroupsApi->get_group_by_id: #{e}"
146
+ end
147
+ ```
148
+
149
+ ### Parameters
150
+
151
+ Name | Type | Description | Notes
152
+ ------------- | ------------- | ------------- | -------------
153
+ **group_id** | **String**| GroupId |
154
+
155
+ ### Return type
156
+
157
+ **Object**
158
+
159
+ ### Authorization
160
+
161
+ [api_key](../README.md#api_key)
162
+
163
+ ### HTTP request headers
164
+
165
+ - **Content-Type**: application/json, application/xml
166
+ - **Accept**: application/json, application/xml
167
+
168
+
169
+
170
+ # **get_groups**
171
+ > Object get_groups(opts)
172
+
173
+ List Groups
174
+
175
+ Retrieve a list of contact groups. <br><br> Returns a list of group objects. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X GET https://$API_KEY@api.dialmycalls.com/2.0/groups ```
176
+
177
+ ### Example
178
+ ```ruby
179
+ # load the gem
180
+ require 'dialmycalls_client'
181
+ # setup authorization
182
+ DialMyCalls.configure do |config|
183
+ # Configure API key authorization: api_key
184
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
185
+ end
186
+
187
+ api_instance = DialMyCalls::GroupsApi.new
188
+
189
+ opts = {
190
+ range: "range_example" # String | Range (ie \"records=201-300\") of groups requested
191
+ }
192
+
193
+ begin
194
+ #List Groups
195
+ result = api_instance.get_groups(opts)
196
+ p result
197
+ rescue DialMyCalls::ApiError => e
198
+ puts "Exception when calling GroupsApi->get_groups: #{e}"
199
+ end
200
+ ```
201
+
202
+ ### Parameters
203
+
204
+ Name | Type | Description | Notes
205
+ ------------- | ------------- | ------------- | -------------
206
+ **range** | **String**| Range (ie \&quot;records&#x3D;201-300\&quot;) of groups requested | [optional]
207
+
208
+ ### Return type
209
+
210
+ **Object**
211
+
212
+ ### Authorization
213
+
214
+ [api_key](../README.md#api_key)
215
+
216
+ ### HTTP request headers
217
+
218
+ - **Content-Type**: application/json, application/xml
219
+ - **Accept**: application/json, application/xml
220
+
221
+
222
+
223
+ # **update_group_by_id**
224
+ > Object update_group_by_id(update_group_by_id_parameters, group_id)
225
+
226
+ Update Group
227
+
228
+ Update an existing contact group. <br><br> Returns a group 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 Group Updated\\\"}\" https://$API_KEY@api.dialmycalls.com/2.0/group/$GROUP_ID ```
229
+
230
+ ### Example
231
+ ```ruby
232
+ # load the gem
233
+ require 'dialmycalls_client'
234
+ # setup authorization
235
+ DialMyCalls.configure do |config|
236
+ # Configure API key authorization: api_key
237
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
238
+ end
239
+
240
+ api_instance = DialMyCalls::GroupsApi.new
241
+
242
+ update_group_by_id_parameters = DialMyCalls::UpdateGroupByIdParameters.new # UpdateGroupByIdParameters | Request body
243
+
244
+ group_id = "group_id_example" # String | GroupId
245
+
246
+
247
+ begin
248
+ #Update Group
249
+ result = api_instance.update_group_by_id(update_group_by_id_parameters, group_id)
250
+ p result
251
+ rescue DialMyCalls::ApiError => e
252
+ puts "Exception when calling GroupsApi->update_group_by_id: #{e}"
253
+ end
254
+ ```
255
+
256
+ ### Parameters
257
+
258
+ Name | Type | Description | Notes
259
+ ------------- | ------------- | ------------- | -------------
260
+ **update_group_by_id_parameters** | [**UpdateGroupByIdParameters**](UpdateGroupByIdParameters.md)| Request body |
261
+ **group_id** | **String**| GroupId |
262
+
263
+ ### Return type
264
+
265
+ **Object**
266
+
267
+ ### Authorization
268
+
269
+ [api_key](../README.md#api_key)
270
+
271
+ ### HTTP request headers
272
+
273
+ - **Content-Type**: application/json, application/xml
274
+ - **Accept**: application/json, application/xml
275
+
276
+
277
+
@@ -0,0 +1,8 @@
1
+ # DialMyCalls::Identifier
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Unique identifier for this access account. | [optional]
7
+
8
+
@@ -0,0 +1,13 @@
1
+ # DialMyCalls::Incomingtext
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Unique identifier for this text. | [optional]
7
+ **from_number** | **String** | The phone number the text message was sent from. | [optional]
8
+ **to_number** | **String** | The phone number the text message was sent to. | [optional]
9
+ **message** | **String** | The text message that was sent. This data is URL encoded. | [optional]
10
+ **created_at** | **String** | When the text message was created. | [optional]
11
+ **updated_at** | **String** | When the text message was last updated. | [optional]
12
+
13
+
data/docs/Keyword.md ADDED
@@ -0,0 +1,12 @@
1
+ # DialMyCalls::Keyword
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Unique identifier for this keyword. | [optional]
7
+ **keyword** | **String** | The keyword. | [optional]
8
+ **status** | **String** | The status of the keyword. Options: active, pendingdelete, onhold, billingdecline | [optional]
9
+ **created_at** | **String** | When the keyword was created. | [optional]
10
+ **updated_at** | **String** | When the keyword was last updated. | [optional]
11
+
12
+
@@ -0,0 +1,168 @@
1
+ # DialMyCalls::KeywordsApi
2
+
3
+ All URIs are relative to *https://api.dialmycalls.com/2.0*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete_keyword_by_id**](KeywordsApi.md#delete_keyword_by_id) | **DELETE** /keyword/{KeywordId} | Delete Keyword
8
+ [**get_keyword_by_id**](KeywordsApi.md#get_keyword_by_id) | **GET** /keyword/{KeywordId} | Get Keyword
9
+ [**get_keywords**](KeywordsApi.md#get_keywords) | **GET** /keywords | List Keywords
10
+
11
+
12
+ # **delete_keyword_by_id**
13
+ > Object delete_keyword_by_id(keyword_id)
14
+
15
+ Delete Keyword
16
+
17
+ Delete a keyword. <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/keyword/$KEYWORD_ID ```
18
+
19
+ ### Example
20
+ ```ruby
21
+ # load the gem
22
+ require 'dialmycalls_client'
23
+ # setup authorization
24
+ DialMyCalls.configure do |config|
25
+ # Configure API key authorization: api_key
26
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
27
+ end
28
+
29
+ api_instance = DialMyCalls::KeywordsApi.new
30
+
31
+ keyword_id = "keyword_id_example" # String | KeywordId
32
+
33
+
34
+ begin
35
+ #Delete Keyword
36
+ result = api_instance.delete_keyword_by_id(keyword_id)
37
+ p result
38
+ rescue DialMyCalls::ApiError => e
39
+ puts "Exception when calling KeywordsApi->delete_keyword_by_id: #{e}"
40
+ end
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+ Name | Type | Description | Notes
46
+ ------------- | ------------- | ------------- | -------------
47
+ **keyword_id** | **String**| KeywordId |
48
+
49
+ ### Return type
50
+
51
+ **Object**
52
+
53
+ ### Authorization
54
+
55
+ [api_key](../README.md#api_key)
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: application/json, application/xml
60
+ - **Accept**: application/json, application/xml
61
+
62
+
63
+
64
+ # **get_keyword_by_id**
65
+ > Object get_keyword_by_id(keyword_id)
66
+
67
+ Get Keyword
68
+
69
+ Retrieve a keyword. <br><br> Returns a keyword 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/keyword/$KEYWORD_ID ```
70
+
71
+ ### Example
72
+ ```ruby
73
+ # load the gem
74
+ require 'dialmycalls_client'
75
+ # setup authorization
76
+ DialMyCalls.configure do |config|
77
+ # Configure API key authorization: api_key
78
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
79
+ end
80
+
81
+ api_instance = DialMyCalls::KeywordsApi.new
82
+
83
+ keyword_id = "keyword_id_example" # String | KeywordId
84
+
85
+
86
+ begin
87
+ #Get Keyword
88
+ result = api_instance.get_keyword_by_id(keyword_id)
89
+ p result
90
+ rescue DialMyCalls::ApiError => e
91
+ puts "Exception when calling KeywordsApi->get_keyword_by_id: #{e}"
92
+ end
93
+ ```
94
+
95
+ ### Parameters
96
+
97
+ Name | Type | Description | Notes
98
+ ------------- | ------------- | ------------- | -------------
99
+ **keyword_id** | **String**| KeywordId |
100
+
101
+ ### Return type
102
+
103
+ **Object**
104
+
105
+ ### Authorization
106
+
107
+ [api_key](../README.md#api_key)
108
+
109
+ ### HTTP request headers
110
+
111
+ - **Content-Type**: application/json, application/xml
112
+ - **Accept**: application/json, application/xml
113
+
114
+
115
+
116
+ # **get_keywords**
117
+ > Object get_keywords(opts)
118
+
119
+ List Keywords
120
+
121
+ Retrieve a list of keywords. <br><br> Returns a list of keyword objects. <br><br> ``` curl -i -H \"Content-Type: application/json\" -X GET https://$API_KEY@api.dialmycalls.com/2.0/keywords ```
122
+
123
+ ### Example
124
+ ```ruby
125
+ # load the gem
126
+ require 'dialmycalls_client'
127
+ # setup authorization
128
+ DialMyCalls.configure do |config|
129
+ # Configure API key authorization: api_key
130
+ config.api_key['X-Auth-ApiKey'] = 'YOUR API KEY'
131
+ end
132
+
133
+ api_instance = DialMyCalls::KeywordsApi.new
134
+
135
+ opts = {
136
+ range: "range_example" # String | Range (ie \"records=201-300\") of keywords requested
137
+ }
138
+
139
+ begin
140
+ #List Keywords
141
+ result = api_instance.get_keywords(opts)
142
+ p result
143
+ rescue DialMyCalls::ApiError => e
144
+ puts "Exception when calling KeywordsApi->get_keywords: #{e}"
145
+ end
146
+ ```
147
+
148
+ ### Parameters
149
+
150
+ Name | Type | Description | Notes
151
+ ------------- | ------------- | ------------- | -------------
152
+ **range** | **String**| Range (ie \&quot;records&#x3D;201-300\&quot;) of keywords requested | [optional]
153
+
154
+ ### Return type
155
+
156
+ **Object**
157
+
158
+ ### Authorization
159
+
160
+ [api_key](../README.md#api_key)
161
+
162
+ ### HTTP request headers
163
+
164
+ - **Content-Type**: application/json, application/xml
165
+ - **Accept**: application/json, application/xml
166
+
167
+
168
+
data/docs/Polling.md ADDED
@@ -0,0 +1,10 @@
1
+ # DialMyCalls::Polling
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **type** | **String** | The add-on type. Option: polling | [optional]
7
+ **options** | **String** | A list of polling options. | [optional]
8
+ **add_message** | **Object** | Add a generic add-on message. | [optional]
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # DialMyCalls::PushToListenAgain
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **type** | **String** | The add-on type. Option: listen | [optional]
7
+ **add_message** | **Object** | Add a generic add-on message. | [optional]
8
+
9
+
@@ -0,0 +1,9 @@
1
+ # DialMyCalls::PushToOptOut
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **type** | **String** | The add-on type. Option: optout | [optional]
7
+ **add_message** | **Object** | Add a generic add-on message. | [optional]
8
+
9
+
@@ -0,0 +1,9 @@
1
+ # DialMyCalls::PushToRecord
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **type** | **String** | The add-on type. Option: record | [optional]
7
+ **add_message** | **Object** | Add a generic add-on message. | [optional]
8
+
9
+
@@ -0,0 +1,12 @@
1
+ # DialMyCalls::PushToTalk
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **type** | **String** | The add-on type. Option: ptt | [optional]
7
+ **callerid_id** | **String** | Phone number to connect the caller to. | [optional]
8
+ **ringtone** | **String** | The ringtone to play to the user when connecting. Options: elevator_music, caribbean_music, classical_music, digital_ringing, old_phone_ringing, goofy_music | [optional]
9
+ **cpm** | **Integer** | Calls per minute throttling. | [optional]
10
+ **add_message** | **Object** | Add a generic add-on message. | [optional]
11
+
12
+
data/docs/Recording.md ADDED
@@ -0,0 +1,15 @@
1
+ # DialMyCalls::Recording
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Unique identifier for this recording. | [optional]
7
+ **name** | **String** | The recording name. | [optional]
8
+ **type** | **String** | The recording type. Options: text or sound | [optional]
9
+ **seconds** | **Integer** | The length of the recording. | [optional]
10
+ **url** | **String** | The URL of the recording file. | [optional]
11
+ **processed** | **BOOLEAN** | Whether the recording is ready for use. | [optional]
12
+ **created_at** | **String** | When the recording was created. | [optional]
13
+ **updated_at** | **String** | When the recording was last updated. | [optional]
14
+
15
+