freeclimb 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +10 -0
  3. data/Gemfile.lock +82 -0
  4. data/README.md +238 -0
  5. data/Rakefile +10 -0
  6. data/docs/AccountRequest.md +21 -0
  7. data/docs/AccountResult.md +37 -0
  8. data/docs/AccountResultAllOf.md +29 -0
  9. data/docs/ApplicationList.md +31 -0
  10. data/docs/ApplicationListAllOf.md +17 -0
  11. data/docs/ApplicationRequest.md +31 -0
  12. data/docs/ApplicationResult.md +41 -0
  13. data/docs/ApplicationResultAllOf.md +33 -0
  14. data/docs/AvailableNumber.md +27 -0
  15. data/docs/AvailableNumberList.md +31 -0
  16. data/docs/AvailableNumberListAllOf.md +17 -0
  17. data/docs/BuyIncomingNumberRequest.md +23 -0
  18. data/docs/CallList.md +31 -0
  19. data/docs/CallListAllOf.md +17 -0
  20. data/docs/CallResult.md +53 -0
  21. data/docs/CallResultAllOf.md +45 -0
  22. data/docs/ConferenceList.md +31 -0
  23. data/docs/ConferenceListAllOf.md +17 -0
  24. data/docs/ConferenceParticipantList.md +31 -0
  25. data/docs/ConferenceParticipantListAllOf.md +17 -0
  26. data/docs/ConferenceParticipantResult.md +35 -0
  27. data/docs/ConferenceParticipantResultAllOf.md +27 -0
  28. data/docs/ConferenceResult.md +43 -0
  29. data/docs/ConferenceResultAllOf.md +35 -0
  30. data/docs/CreateConferenceRequest.md +27 -0
  31. data/docs/DefaultApi.md +2504 -0
  32. data/docs/DequeueMemberRequest.md +17 -0
  33. data/docs/FilterLogsRequest.md +19 -0
  34. data/docs/IncomingNumberList.md +31 -0
  35. data/docs/IncomingNumberListAllOf.md +17 -0
  36. data/docs/IncomingNumberRequest.md +21 -0
  37. data/docs/IncomingNumberResult.md +41 -0
  38. data/docs/IncomingNumberResultAllOf.md +33 -0
  39. data/docs/LogList.md +31 -0
  40. data/docs/LogListAllOf.md +17 -0
  41. data/docs/LogResult.md +29 -0
  42. data/docs/MakeCallRequest.md +33 -0
  43. data/docs/MessageRequest.md +35 -0
  44. data/docs/MessageRequestAllOf.md +27 -0
  45. data/docs/MessageResult.md +39 -0
  46. data/docs/MessageResultAllOf.md +31 -0
  47. data/docs/MessagesList.md +31 -0
  48. data/docs/MessagesListAllOf.md +17 -0
  49. data/docs/MutableResourceModel.md +23 -0
  50. data/docs/PaginationModel.md +29 -0
  51. data/docs/Percl.md +697 -0
  52. data/docs/QueueList.md +31 -0
  53. data/docs/QueueListAllOf.md +17 -0
  54. data/docs/QueueMember.md +25 -0
  55. data/docs/QueueMemberList.md +31 -0
  56. data/docs/QueueMemberListAllOf.md +17 -0
  57. data/docs/QueueRequest.md +21 -0
  58. data/docs/QueueResult.md +37 -0
  59. data/docs/QueueResultAllOf.md +29 -0
  60. data/docs/RecordingList.md +31 -0
  61. data/docs/RecordingListAllOf.md +17 -0
  62. data/docs/RecordingResult.md +33 -0
  63. data/docs/RecordingResultAllOf.md +25 -0
  64. data/docs/UpdateCallRequest.md +19 -0
  65. data/docs/UpdateConferenceParticipantRequest.md +21 -0
  66. data/docs/UpdateConferenceRequest.md +23 -0
  67. data/freeclimb.gemspec +39 -0
  68. data/git_push.sh +58 -0
  69. data/lib/freeclimb.rb +99 -0
  70. data/lib/freeclimb/api/default_api.rb +2845 -0
  71. data/lib/freeclimb/api_client.rb +386 -0
  72. data/lib/freeclimb/api_error.rb +57 -0
  73. data/lib/freeclimb/configuration.rb +248 -0
  74. data/lib/freeclimb/models/account_request.rb +227 -0
  75. data/lib/freeclimb/models/account_result.rb +349 -0
  76. data/lib/freeclimb/models/account_result_all_of.rb +301 -0
  77. data/lib/freeclimb/models/application_list.rb +286 -0
  78. data/lib/freeclimb/models/application_list_all_of.rb +208 -0
  79. data/lib/freeclimb/models/application_request.rb +277 -0
  80. data/lib/freeclimb/models/application_result.rb +335 -0
  81. data/lib/freeclimb/models/application_result_all_of.rb +287 -0
  82. data/lib/freeclimb/models/available_number.rb +257 -0
  83. data/lib/freeclimb/models/available_number_list.rb +286 -0
  84. data/lib/freeclimb/models/available_number_list_all_of.rb +208 -0
  85. data/lib/freeclimb/models/buy_incoming_number_request.rb +242 -0
  86. data/lib/freeclimb/models/call_list.rb +286 -0
  87. data/lib/freeclimb/models/call_list_all_of.rb +208 -0
  88. data/lib/freeclimb/models/call_result.rb +429 -0
  89. data/lib/freeclimb/models/call_result_all_of.rb +381 -0
  90. data/lib/freeclimb/models/conference_list.rb +286 -0
  91. data/lib/freeclimb/models/conference_list_all_of.rb +208 -0
  92. data/lib/freeclimb/models/conference_participant_list.rb +286 -0
  93. data/lib/freeclimb/models/conference_participant_list_all_of.rb +208 -0
  94. data/lib/freeclimb/models/conference_participant_result.rb +305 -0
  95. data/lib/freeclimb/models/conference_participant_result_all_of.rb +257 -0
  96. data/lib/freeclimb/models/conference_result.rb +391 -0
  97. data/lib/freeclimb/models/conference_result_all_of.rb +343 -0
  98. data/lib/freeclimb/models/create_conference_request.rb +293 -0
  99. data/lib/freeclimb/models/dequeue_member_request.rb +207 -0
  100. data/lib/freeclimb/models/filter_logs_request.rb +222 -0
  101. data/lib/freeclimb/models/incoming_number_list.rb +286 -0
  102. data/lib/freeclimb/models/incoming_number_list_all_of.rb +208 -0
  103. data/lib/freeclimb/models/incoming_number_request.rb +227 -0
  104. data/lib/freeclimb/models/incoming_number_result.rb +335 -0
  105. data/lib/freeclimb/models/incoming_number_result_all_of.rb +287 -0
  106. data/lib/freeclimb/models/log_list.rb +286 -0
  107. data/lib/freeclimb/models/log_list_all_of.rb +208 -0
  108. data/lib/freeclimb/models/log_result.rb +301 -0
  109. data/lib/freeclimb/models/make_call_request.rb +302 -0
  110. data/lib/freeclimb/models/message_request.rb +320 -0
  111. data/lib/freeclimb/models/message_request_all_of.rb +272 -0
  112. data/lib/freeclimb/models/message_result.rb +359 -0
  113. data/lib/freeclimb/models/message_result_all_of.rb +311 -0
  114. data/lib/freeclimb/models/messages_list.rb +287 -0
  115. data/lib/freeclimb/models/messages_list_all_of.rb +209 -0
  116. data/lib/freeclimb/models/mutable_resource_model.rb +237 -0
  117. data/lib/freeclimb/models/pagination_model.rb +267 -0
  118. data/lib/freeclimb/models/queue_list.rb +286 -0
  119. data/lib/freeclimb/models/queue_list_all_of.rb +208 -0
  120. data/lib/freeclimb/models/queue_member.rb +247 -0
  121. data/lib/freeclimb/models/queue_member_list.rb +286 -0
  122. data/lib/freeclimb/models/queue_member_list_all_of.rb +208 -0
  123. data/lib/freeclimb/models/queue_request.rb +227 -0
  124. data/lib/freeclimb/models/queue_result.rb +315 -0
  125. data/lib/freeclimb/models/queue_result_all_of.rb +267 -0
  126. data/lib/freeclimb/models/recording_list.rb +286 -0
  127. data/lib/freeclimb/models/recording_list_all_of.rb +208 -0
  128. data/lib/freeclimb/models/recording_result.rb +295 -0
  129. data/lib/freeclimb/models/recording_result_all_of.rb +247 -0
  130. data/lib/freeclimb/models/update_call_request.rb +256 -0
  131. data/lib/freeclimb/models/update_conference_participant_request.rb +227 -0
  132. data/lib/freeclimb/models/update_conference_request.rb +273 -0
  133. data/lib/freeclimb/version.rb +15 -0
  134. data/lib/percl/calls.rb +43 -0
  135. data/lib/percl/conference_participants.rb +40 -0
  136. data/lib/percl/conferences.rb +21 -0
  137. data/lib/percl/ivr.rb +63 -0
  138. data/lib/percl/jsonable.rb +23 -0
  139. data/lib/percl/percl.rb +29 -0
  140. data/lib/percl/queue_members.rb +15 -0
  141. data/lib/percl/recordings.rb +15 -0
  142. data/lib/percl/sms.rb +11 -0
  143. data/spec/api/default_api_spec.rb +1151 -0
  144. data/spec/api/web_mocks.rb +473 -0
  145. data/spec/api_client_spec.rb +226 -0
  146. data/spec/configuration_spec.rb +34 -0
  147. data/spec/models/account_request_spec.rb +33 -0
  148. data/spec/models/account_result_spec.rb +33 -0
  149. data/spec/models/application_list_spec.rb +33 -0
  150. data/spec/models/application_request_spec.rb +33 -0
  151. data/spec/models/application_result_spec.rb +33 -0
  152. data/spec/models/available_number_list_spec.rb +34 -0
  153. data/spec/models/available_number_spec.rb +33 -0
  154. data/spec/models/buy_incoming_number_request_spec.rb +33 -0
  155. data/spec/models/call_list_spec.rb +34 -0
  156. data/spec/models/call_result_spec.rb +34 -0
  157. data/spec/models/conference_list_spec.rb +33 -0
  158. data/spec/models/conference_participant_list_spec.rb +33 -0
  159. data/spec/models/conference_participant_result_spec.rb +33 -0
  160. data/spec/models/conference_result_spec.rb +34 -0
  161. data/spec/models/create_conference_request_spec.rb +34 -0
  162. data/spec/models/dequeue_member_request_spec.rb +34 -0
  163. data/spec/models/filter_logs_request_spec.rb +33 -0
  164. data/spec/models/incoming_number_list_spec.rb +34 -0
  165. data/spec/models/incoming_number_request_spec.rb +33 -0
  166. data/spec/models/incoming_number_result_spec.rb +34 -0
  167. data/spec/models/log_list_spec.rb +33 -0
  168. data/spec/models/log_result_spec.rb +33 -0
  169. data/spec/models/make_call_request_spec.rb +33 -0
  170. data/spec/models/message_request_spec.rb +34 -0
  171. data/spec/models/message_result_spec.rb +33 -0
  172. data/spec/models/messages_list_spec.rb +33 -0
  173. data/spec/models/mutable_resource_model_spec.rb +34 -0
  174. data/spec/models/pagination_model_spec.rb +33 -0
  175. data/spec/models/queue_list_spec.rb +34 -0
  176. data/spec/models/queue_member_list_spec.rb +33 -0
  177. data/spec/models/queue_member_spec.rb +34 -0
  178. data/spec/models/queue_request_spec.rb +34 -0
  179. data/spec/models/queue_result_spec.rb +33 -0
  180. data/spec/models/recording_list_spec.rb +33 -0
  181. data/spec/models/recording_result_spec.rb +33 -0
  182. data/spec/models/update_call_request_spec.rb +33 -0
  183. data/spec/models/update_conference_participant_request_spec.rb +33 -0
  184. data/spec/models/update_conference_request_spec.rb +33 -0
  185. data/spec/percl/calls_spec.rb +111 -0
  186. data/spec/percl/conference_participant_spec.rb +96 -0
  187. data/spec/percl/conference_spec.rb +46 -0
  188. data/spec/percl/ivr_spec.rb +155 -0
  189. data/spec/percl/jsonable_spec.rb +28 -0
  190. data/spec/percl/percl_spec.rb +31 -0
  191. data/spec/percl/queue_members_spec.rb +35 -0
  192. data/spec/percl/recordings_spec.rb +32 -0
  193. data/spec/percl/sms_spec.rb +29 -0
  194. data/spec/spec_helper.rb +114 -0
  195. metadata +355 -0
data/docs/QueueList.md ADDED
@@ -0,0 +1,31 @@
1
+ # Freeclimb::QueueList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **total** | **Integer** | Total amount of requested resource. | [optional]
8
+ **start** | **Integer** | Resource index at start of current page | [optional]
9
+ **_end** | **Integer** | Resource index at end of current page | [optional]
10
+ **page** | **Integer** | Current page | [optional]
11
+ **num_pages** | **Integer** | Total number of pages | [optional]
12
+ **page_size** | **Integer** | Number of items per page | [optional]
13
+ **next_page_uri** | **String** | Uri to retrieve the next page of items | [optional]
14
+ **queues** | [**Array<QueueResult>**](QueueResult.md) | | [optional]
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'Freeclimb'
20
+
21
+ instance = Freeclimb::QueueList.new(total: null,
22
+ start: null,
23
+ _end: null,
24
+ page: null,
25
+ num_pages: null,
26
+ page_size: null,
27
+ next_page_uri: null,
28
+ queues: null)
29
+ ```
30
+
31
+
@@ -0,0 +1,17 @@
1
+ # Freeclimb::QueueListAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **queues** | [**Array<QueueResult>**](QueueResult.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'Freeclimb'
13
+
14
+ instance = Freeclimb::QueueListAllOf.new(queues: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,25 @@
1
+ # Freeclimb::QueueMember
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **uri** | **String** | URI for this Queue Member resource, relative to the API base URL. | [optional]
8
+ **call_id** | **String** | ID of the Call associated with this Queue Member. | [optional]
9
+ **wait_time** | **Integer** | Number of seconds the Member has been in the queue. | [optional]
10
+ **position** | **Integer** | Member's current position in the Queue, 1 indexed. | [optional]
11
+ **date_enqueued** | **String** | Date that the Member was enqueued (GMT), given in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'Freeclimb'
17
+
18
+ instance = Freeclimb::QueueMember.new(uri: null,
19
+ call_id: null,
20
+ wait_time: null,
21
+ position: null,
22
+ date_enqueued: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,31 @@
1
+ # Freeclimb::QueueMemberList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **total** | **Integer** | Total amount of requested resource. | [optional]
8
+ **start** | **Integer** | Resource index at start of current page | [optional]
9
+ **_end** | **Integer** | Resource index at end of current page | [optional]
10
+ **page** | **Integer** | Current page | [optional]
11
+ **num_pages** | **Integer** | Total number of pages | [optional]
12
+ **page_size** | **Integer** | Number of items per page | [optional]
13
+ **next_page_uri** | **String** | Uri to retrieve the next page of items | [optional]
14
+ **queue_members** | [**Array<QueueMember>**](QueueMember.md) | | [optional]
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'Freeclimb'
20
+
21
+ instance = Freeclimb::QueueMemberList.new(total: null,
22
+ start: null,
23
+ _end: null,
24
+ page: null,
25
+ num_pages: null,
26
+ page_size: null,
27
+ next_page_uri: null,
28
+ queue_members: null)
29
+ ```
30
+
31
+
@@ -0,0 +1,17 @@
1
+ # Freeclimb::QueueMemberListAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **queue_members** | [**Array<QueueMember>**](QueueMember.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'Freeclimb'
13
+
14
+ instance = Freeclimb::QueueMemberListAllOf.new(queue_members: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,21 @@
1
+ # Freeclimb::QueueRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **_alias** | **String** | Description for this Queue. Max length is 64 characters. | [optional]
8
+ **max_size** | **Integer** | Maximum number of calls this queue can hold. Default is 100. Maximum is 1000. **Note:** Reducing the maxSize of a Queue causes the Queue to reject incoming requests until it shrinks below the new value of maxSize. | [optional]
9
+ **request_id** | **String** | RequestId for this request, starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request include this requestId. If this parameter is not provided, FreeClimb generates a requestId and returns it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>). | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'Freeclimb'
15
+
16
+ instance = Freeclimb::QueueRequest.new(_alias: null,
17
+ max_size: null,
18
+ request_id: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,37 @@
1
+ # Freeclimb::QueueResult
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **uri** | **String** | The URI for this resource, relative to /apiserver. | [optional]
8
+ **date_created** | **String** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional]
9
+ **date_updated** | **String** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional]
10
+ **revision** | **Integer** | Revision count for the resource. This count is set to 1 on creation and is incremented every time it is updated. | [optional]
11
+ **account_id** | **String** | ID of the account that created this Queue. | [optional]
12
+ **queue_id** | **String** | A string that uniquely identifies this Queue resource. | [optional]
13
+ **_alias** | **String** | A description for this Queue. | [optional]
14
+ **max_size** | **Integer** | The maximum number of Calls permitted in the Queue. Default is 100. Maximum is 1000. | [optional]
15
+ **current_size** | **String** | Count of Calls currently in the Queue. | [optional]
16
+ **average_wait_time** | **String** | Average wait time (in seconds) of all Calls in the Queue. | [optional]
17
+ **subresource_uris** | [**Object**](.md) | List of subresources for this Queue (which includes Queue members). | [optional]
18
+
19
+ ## Code Sample
20
+
21
+ ```ruby
22
+ require 'Freeclimb'
23
+
24
+ instance = Freeclimb::QueueResult.new(uri: null,
25
+ date_created: null,
26
+ date_updated: null,
27
+ revision: null,
28
+ account_id: null,
29
+ queue_id: null,
30
+ _alias: null,
31
+ max_size: null,
32
+ current_size: null,
33
+ average_wait_time: null,
34
+ subresource_uris: null)
35
+ ```
36
+
37
+
@@ -0,0 +1,29 @@
1
+ # Freeclimb::QueueResultAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **account_id** | **String** | ID of the account that created this Queue. | [optional]
8
+ **queue_id** | **String** | A string that uniquely identifies this Queue resource. | [optional]
9
+ **_alias** | **String** | A description for this Queue. | [optional]
10
+ **max_size** | **Integer** | The maximum number of Calls permitted in the Queue. Default is 100. Maximum is 1000. | [optional]
11
+ **current_size** | **String** | Count of Calls currently in the Queue. | [optional]
12
+ **average_wait_time** | **String** | Average wait time (in seconds) of all Calls in the Queue. | [optional]
13
+ **subresource_uris** | [**Object**](.md) | List of subresources for this Queue (which includes Queue members). | [optional]
14
+
15
+ ## Code Sample
16
+
17
+ ```ruby
18
+ require 'Freeclimb'
19
+
20
+ instance = Freeclimb::QueueResultAllOf.new(account_id: null,
21
+ queue_id: null,
22
+ _alias: null,
23
+ max_size: null,
24
+ current_size: null,
25
+ average_wait_time: null,
26
+ subresource_uris: null)
27
+ ```
28
+
29
+
@@ -0,0 +1,31 @@
1
+ # Freeclimb::RecordingList
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **total** | **Integer** | Total amount of requested resource. | [optional]
8
+ **start** | **Integer** | Resource index at start of current page | [optional]
9
+ **_end** | **Integer** | Resource index at end of current page | [optional]
10
+ **page** | **Integer** | Current page | [optional]
11
+ **num_pages** | **Integer** | Total number of pages | [optional]
12
+ **page_size** | **Integer** | Number of items per page | [optional]
13
+ **next_page_uri** | **String** | Uri to retrieve the next page of items | [optional]
14
+ **recordings** | [**Array<RecordingResult>**](RecordingResult.md) | | [optional]
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'Freeclimb'
20
+
21
+ instance = Freeclimb::RecordingList.new(total: null,
22
+ start: null,
23
+ _end: null,
24
+ page: null,
25
+ num_pages: null,
26
+ page_size: null,
27
+ next_page_uri: null,
28
+ recordings: null)
29
+ ```
30
+
31
+
@@ -0,0 +1,17 @@
1
+ # Freeclimb::RecordingListAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **recordings** | [**Array<RecordingResult>**](RecordingResult.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'Freeclimb'
13
+
14
+ instance = Freeclimb::RecordingListAllOf.new(recordings: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,33 @@
1
+ # Freeclimb::RecordingResult
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **uri** | **String** | The URI for this resource, relative to /apiserver. | [optional]
8
+ **date_created** | **String** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional]
9
+ **date_updated** | **String** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional]
10
+ **revision** | **Integer** | Revision count for the resource. This count is set to 1 on creation and is incremented every time it is updated. | [optional]
11
+ **recording_id** | **String** | String that uniquely identifies this recording resource. | [optional]
12
+ **account_id** | **String** | ID of the account that created this recording. | [optional]
13
+ **call_id** | **String** | ID of the Call that was recorded. If a Conference was recorded, this value is empty and the conferenceId property is populated. | [optional]
14
+ **duration_sec** | **Integer** | Length of the recording in seconds. | [optional]
15
+ **conference_id** | **String** | ID of the Conference that was recorded. If a Call was recorded, this value is empty and the callId property is populated. | [optional]
16
+
17
+ ## Code Sample
18
+
19
+ ```ruby
20
+ require 'Freeclimb'
21
+
22
+ instance = Freeclimb::RecordingResult.new(uri: null,
23
+ date_created: null,
24
+ date_updated: null,
25
+ revision: null,
26
+ recording_id: null,
27
+ account_id: null,
28
+ call_id: null,
29
+ duration_sec: null,
30
+ conference_id: null)
31
+ ```
32
+
33
+
@@ -0,0 +1,25 @@
1
+ # Freeclimb::RecordingResultAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **recording_id** | **String** | String that uniquely identifies this recording resource. | [optional]
8
+ **account_id** | **String** | ID of the account that created this recording. | [optional]
9
+ **call_id** | **String** | ID of the Call that was recorded. If a Conference was recorded, this value is empty and the conferenceId property is populated. | [optional]
10
+ **duration_sec** | **Integer** | Length of the recording in seconds. | [optional]
11
+ **conference_id** | **String** | ID of the Conference that was recorded. If a Call was recorded, this value is empty and the callId property is populated. | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'Freeclimb'
17
+
18
+ instance = Freeclimb::RecordingResultAllOf.new(recording_id: null,
19
+ account_id: null,
20
+ call_id: null,
21
+ duration_sec: null,
22
+ conference_id: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,19 @@
1
+ # Freeclimb::UpdateCallRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **status** | **String** | Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress. |
8
+ **request_id** | **String** | RequestId for this request starting with prefix `RQ` followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g. `X-Pulse-Request-Id: <requestId>`). | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'Freeclimb'
14
+
15
+ instance = Freeclimb::UpdateCallRequest.new(status: null,
16
+ request_id: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,21 @@
1
+ # Freeclimb::UpdateConferenceParticipantRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **talk** | **Boolean** | (Optional) Default is `true`. Setting to `false` mutes the Participant. FreeClimb returns an error and ignores any other value. | [optional]
8
+ **listen** | **Boolean** | (Optional) Default is `true`. Setting to `false` silences the Conference for this Participant. FreeClimb returns an error and ignores any other value. | [optional]
9
+ **request_id** | **String** | ID of this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request include this requestId. If this value is not provided, FreeClimb generates a requestId and returns it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>). | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'Freeclimb'
15
+
16
+ instance = Freeclimb::UpdateConferenceParticipantRequest.new(talk: null,
17
+ listen: null,
18
+ request_id: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,23 @@
1
+ # Freeclimb::UpdateConferenceRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **_alias** | **String** | Description for this conference. Maximum 64 characters. | [optional]
8
+ **play_beep** | **String** | Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. | [optional] [default to 'always']
9
+ **status** | **String** | New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** | [optional]
10
+ **request_id** | **String** | ID for this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g. X-Pulse-Request-Id: <requestId>). | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'Freeclimb'
16
+
17
+ instance = Freeclimb::UpdateConferenceRequest.new(_alias: null,
18
+ play_beep: null,
19
+ status: null,
20
+ request_id: null)
21
+ ```
22
+
23
+
data/freeclimb.gemspec ADDED
@@ -0,0 +1,39 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #FreeClimb API
5
+
6
+ #FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+
10
+ Generated by: https://openapi-generator.tech
11
+ OpenAPI Generator version: 4.3.0-SNAPSHOT
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "freeclimb/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "freeclimb"
20
+ s.version = Freeclimb::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["OpenAPI-Generator"]
23
+ s.email = ["support@freeclimb.com"]
24
+ s.homepage = "https://freeclimb.com"
25
+ s.summary = "FreeClimb API Ruby Gem"
26
+ s.description = "FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request."
27
+ s.license = "Unlicense"
28
+ s.required_ruby_version = ">= 1.9"
29
+
30
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
+ s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
+
33
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
+
35
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
36
+ s.test_files = `find spec/*`.split("\n")
37
+ s.executables = []
38
+ s.require_paths = ["lib"]
39
+ end