freeclimb 4.8.0 → 4.9.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +1 -1
- data/README.md +6 -4
- data/docs/AddToConference.md +3 -1
- data/docs/AddToConferenceAllOf.md +3 -1
- data/docs/CallResult.md +3 -1
- data/docs/CallResultAllOf.md +3 -1
- data/docs/ConferenceParticipantResult.md +2 -0
- data/docs/ConferenceParticipantResultAllOf.md +2 -0
- data/docs/DefaultApi.md +3 -1
- data/docs/SetDTMFPassThrough.md +18 -0
- data/docs/SetDTMFPassThroughAllOf.md +18 -0
- data/docs/UpdateConferenceParticipantRequest.md +3 -1
- data/lib/freeclimb/api/default_api.rb +3 -0
- data/lib/freeclimb/models/add_to_conference.rb +14 -4
- data/lib/freeclimb/models/add_to_conference_all_of.rb +14 -4
- data/lib/freeclimb/models/call_result.rb +16 -5
- data/lib/freeclimb/models/call_result_all_of.rb +16 -5
- data/lib/freeclimb/models/conference_participant_result.rb +12 -1
- data/lib/freeclimb/models/conference_participant_result_all_of.rb +12 -1
- data/lib/freeclimb/models/message_request.rb +1 -0
- data/lib/freeclimb/models/message_request_all_of.rb +1 -0
- data/lib/freeclimb/models/message_result.rb +1 -0
- data/lib/freeclimb/models/message_result_all_of.rb +1 -0
- data/lib/freeclimb/models/set_dtmf_pass_through.rb +238 -0
- data/lib/freeclimb/models/set_dtmf_pass_through_all_of.rb +224 -0
- data/lib/freeclimb/models/set_listen.rb +1 -1
- data/lib/freeclimb/models/set_talk.rb +1 -1
- data/lib/freeclimb/models/update_conference_participant_request.rb +14 -4
- data/lib/freeclimb/version.rb +1 -1
- data/lib/freeclimb.rb +2 -0
- data/openapi.json +54 -4
- data/spec/models/set_dtmf_pass_through_spec.rb +163 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab5355064b8d4d3309319100785c04778f540343e48256068e9c7b47b1927865
|
4
|
+
data.tar.gz: 454959fb949b435bd189d280347c2e898100c8b0efa2b4c4c5cdb2f5b0f55f46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b00fe3b725aefa869e8c1137d9e4810c7b94b88e992df67f32147d5c1c6f6244e986237ebd4dc279c7c51365a9fd1a4c3c28bc244eb33680575e9254159f4cc
|
7
|
+
data.tar.gz: 396a18c44f3489ef8af164b5469390d6c914ab929a8226bfaf8f9dd09d213612ee437251780e67f271e725099072cb971b6bd0de012d7b33c063bd9970d0e0e2
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,16 @@ 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.9.0"></a>
|
13
|
+
|
14
|
+
## [4.9.0] - 2024-12-17
|
15
|
+
|
16
|
+
### Added
|
17
|
+
|
18
|
+
- Use latest spec updates
|
19
|
+
- mediaUrls are nullable
|
20
|
+
- Add SetDTMFPassThrough command
|
21
|
+
|
12
22
|
<a name="4.8.0"></a>
|
13
23
|
|
14
24
|
## [4.8.0] - 2024-10-08
|
data/Gemfile.lock
CHANGED
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.
|
10
|
+
- Package version: 4.9.0
|
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.
|
18
|
+
gem 'freeclimb', '~> 4.9.0'
|
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.
|
47
|
+
gem install ./freeclimb-4.9.0.gem
|
48
48
|
```
|
49
|
-
(for development, run `gem install --dev ./freeclimb-4.
|
49
|
+
(for development, run `gem install --dev ./freeclimb-4.9.0.gem` to install the development dependencies)
|
50
50
|
|
51
51
|
## Getting Started
|
52
52
|
|
@@ -287,6 +287,8 @@ Class | Method | HTTP request | Description
|
|
287
287
|
- [Freeclimb::SayAllOf](docs/SayAllOf.md)
|
288
288
|
- [Freeclimb::SendDigits](docs/SendDigits.md)
|
289
289
|
- [Freeclimb::SendDigitsAllOf](docs/SendDigitsAllOf.md)
|
290
|
+
- [Freeclimb::SetDTMFPassThrough](docs/SetDTMFPassThrough.md)
|
291
|
+
- [Freeclimb::SetDTMFPassThroughAllOf](docs/SetDTMFPassThroughAllOf.md)
|
290
292
|
- [Freeclimb::SetListen](docs/SetListen.md)
|
291
293
|
- [Freeclimb::SetListenAllOf](docs/SetListenAllOf.md)
|
292
294
|
- [Freeclimb::SetTalk](docs/SetTalk.md)
|
data/docs/AddToConference.md
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
| **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] |
|
14
14
|
| **start_conf_on_enter** | **Boolean** | Flag that indicates whether a Conference starts upon entry of this particular Participant. This is usually set to `true` for moderators and `false` for all other Participants. | [optional] |
|
15
15
|
| **talk** | **Boolean** | If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command. | [optional] |
|
16
|
+
| **dtmf_pass_through** | **Boolean** | If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. | [optional] |
|
16
17
|
|
17
18
|
## Example
|
18
19
|
|
@@ -28,7 +29,8 @@ instance = Freeclimb::AddToConference.new(
|
|
28
29
|
listen: null,
|
29
30
|
notification_url: null,
|
30
31
|
start_conf_on_enter: null,
|
31
|
-
talk: null
|
32
|
+
talk: null,
|
33
|
+
dtmf_pass_through: null
|
32
34
|
)
|
33
35
|
```
|
34
36
|
|
@@ -13,6 +13,7 @@
|
|
13
13
|
| **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] |
|
14
14
|
| **start_conf_on_enter** | **Boolean** | Flag that indicates whether a Conference starts upon entry of this particular Participant. This is usually set to `true` for moderators and `false` for all other Participants. | [optional] |
|
15
15
|
| **talk** | **Boolean** | If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command. | [optional] |
|
16
|
+
| **dtmf_pass_through** | **Boolean** | If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command. | [optional] |
|
16
17
|
|
17
18
|
## Example
|
18
19
|
|
@@ -28,7 +29,8 @@ instance = Freeclimb::AddToConferenceAllOf.new(
|
|
28
29
|
listen: null,
|
29
30
|
notification_url: null,
|
30
31
|
start_conf_on_enter: null,
|
31
|
-
talk: null
|
32
|
+
talk: null,
|
33
|
+
dtmf_pass_through: null
|
32
34
|
)
|
33
35
|
```
|
34
36
|
|
data/docs/CallResult.md
CHANGED
@@ -23,6 +23,7 @@
|
|
23
23
|
| **direction** | [**CallDirection**](CallDirection.md) | | [optional] |
|
24
24
|
| **answered_by** | [**AnsweredBy**](AnsweredBy.md) | | [optional] |
|
25
25
|
| **subresource_uris** | **Object** | The list of subresources for this Call. These include things like logs and recordings associated with the Call. | [optional] |
|
26
|
+
| **application_id** | **String** | ApplicationId associated with the Call. | [optional] |
|
26
27
|
|
27
28
|
## Example
|
28
29
|
|
@@ -48,7 +49,8 @@ instance = Freeclimb::CallResult.new(
|
|
48
49
|
connect_duration: null,
|
49
50
|
direction: null,
|
50
51
|
answered_by: null,
|
51
|
-
subresource_uris: null
|
52
|
+
subresource_uris: null,
|
53
|
+
application_id: null
|
52
54
|
)
|
53
55
|
```
|
54
56
|
|
data/docs/CallResultAllOf.md
CHANGED
@@ -19,6 +19,7 @@
|
|
19
19
|
| **direction** | [**CallDirection**](CallDirection.md) | | [optional] |
|
20
20
|
| **answered_by** | [**AnsweredBy**](AnsweredBy.md) | | [optional] |
|
21
21
|
| **subresource_uris** | **Object** | The list of subresources for this Call. These include things like logs and recordings associated with the Call. | [optional] |
|
22
|
+
| **application_id** | **String** | ApplicationId associated with the Call. | [optional] |
|
22
23
|
|
23
24
|
## Example
|
24
25
|
|
@@ -40,7 +41,8 @@ instance = Freeclimb::CallResultAllOf.new(
|
|
40
41
|
connect_duration: null,
|
41
42
|
direction: null,
|
42
43
|
answered_by: null,
|
43
|
-
subresource_uris: null
|
44
|
+
subresource_uris: null,
|
45
|
+
application_id: null
|
44
46
|
)
|
45
47
|
```
|
46
48
|
|
@@ -13,6 +13,7 @@
|
|
13
13
|
| **call_id** | **String** | ID of the Call associated with this Participant. | [optional] |
|
14
14
|
| **talk** | **Boolean** | True if this Participant has talk privileges in the Conference. False otherwise. | [optional] |
|
15
15
|
| **listen** | **Boolean** | True if this Participant has listen privileges in the Conference. False otherwise. | [optional] |
|
16
|
+
| **dtmf_pass_through** | **Boolean** | True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise. | [optional] |
|
16
17
|
| **start_conf_on_enter** | **Boolean** | True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise. | [optional] |
|
17
18
|
|
18
19
|
## Example
|
@@ -30,6 +31,7 @@ instance = Freeclimb::ConferenceParticipantResult.new(
|
|
30
31
|
call_id: null,
|
31
32
|
talk: null,
|
32
33
|
listen: null,
|
34
|
+
dtmf_pass_through: null,
|
33
35
|
start_conf_on_enter: null
|
34
36
|
)
|
35
37
|
```
|
@@ -9,6 +9,7 @@
|
|
9
9
|
| **call_id** | **String** | ID of the Call associated with this Participant. | [optional] |
|
10
10
|
| **talk** | **Boolean** | True if this Participant has talk privileges in the Conference. False otherwise. | [optional] |
|
11
11
|
| **listen** | **Boolean** | True if this Participant has listen privileges in the Conference. False otherwise. | [optional] |
|
12
|
+
| **dtmf_pass_through** | **Boolean** | True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise. | [optional] |
|
12
13
|
| **start_conf_on_enter** | **Boolean** | True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise. | [optional] |
|
13
14
|
|
14
15
|
## Example
|
@@ -22,6 +23,7 @@ instance = Freeclimb::ConferenceParticipantResultAllOf.new(
|
|
22
23
|
call_id: null,
|
23
24
|
talk: null,
|
24
25
|
listen: null,
|
26
|
+
dtmf_pass_through: null,
|
25
27
|
start_conf_on_enter: null
|
26
28
|
)
|
27
29
|
```
|
data/docs/DefaultApi.md
CHANGED
@@ -3169,7 +3169,8 @@ conference_id = 'conference_id_example' # String | ID of the conference this par
|
|
3169
3169
|
|
3170
3170
|
opts = {
|
3171
3171
|
talk: true, # Boolean | Only show Participants with the talk privilege.
|
3172
|
-
listen: true # Boolean | Only show Participants with the listen privilege.
|
3172
|
+
listen: true, # Boolean | Only show Participants with the listen privilege.
|
3173
|
+
dtmf_pass_through: true # Boolean | Only show Participants with the dtmfPassThrough privilege.
|
3173
3174
|
}
|
3174
3175
|
|
3175
3176
|
begin
|
@@ -3207,6 +3208,7 @@ end
|
|
3207
3208
|
| **conference_id** | **String** | ID of the conference this participant is in. | |
|
3208
3209
|
| **talk** | **Boolean** | Only show Participants with the talk privilege. | [optional] |
|
3209
3210
|
| **listen** | **Boolean** | Only show Participants with the listen privilege. | [optional] |
|
3211
|
+
| **dtmf_pass_through** | **Boolean** | Only show Participants with the dtmfPassThrough privilege. | [optional] |
|
3210
3212
|
|
3211
3213
|
|
3212
3214
|
### Return type
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Freeclimb::SetDTMFPassThrough
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **dtmf_pass_through** | **Boolean** | Specifying `false` mutes the Participant's dtmf audio. | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::SetDTMFPassThrough.new(
|
15
|
+
dtmf_pass_through: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Freeclimb::SetDTMFPassThroughAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **dtmf_pass_through** | **Boolean** | Specifying `false` mutes the Participant's dtmf audio. | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::SetDTMFPassThroughAllOf.new(
|
15
|
+
dtmf_pass_through: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **talk** | **Boolean** | (Optional) Default is `true`. Setting to `false` mutes the Participant. FreeClimb returns an error and ignores any other value. | [optional] |
|
8
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
|
+
| **dtmf_pass_through** | **Boolean** | (Optional) Default is `true`. Setting to `false` mutes dtmf audio for this Participant. FreeClimb returns an error and ignores any other value. | [optional] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'freeclimb'
|
|
14
15
|
|
15
16
|
instance = Freeclimb::UpdateConferenceParticipantRequest.new(
|
16
17
|
talk: null,
|
17
|
-
listen: null
|
18
|
+
listen: null,
|
19
|
+
dtmf_pass_through: null
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
@@ -2720,6 +2720,7 @@ module Freeclimb
|
|
2720
2720
|
# @param [Hash] opts the optional parameters
|
2721
2721
|
# @option opts [Boolean] :talk Only show Participants with the talk privilege.
|
2722
2722
|
# @option opts [Boolean] :listen Only show Participants with the listen privilege.
|
2723
|
+
# @option opts [Boolean] :dtmf_pass_through Only show Participants with the dtmfPassThrough privilege.
|
2723
2724
|
# @return [ConferenceParticipantList]
|
2724
2725
|
def list_participants(conference_id, opts = {})
|
2725
2726
|
data, _status_code, _headers = list_participants_with_http_info(conference_id, opts)
|
@@ -2731,6 +2732,7 @@ module Freeclimb
|
|
2731
2732
|
# @param [Hash] opts the optional parameters
|
2732
2733
|
# @option opts [Boolean] :talk Only show Participants with the talk privilege.
|
2733
2734
|
# @option opts [Boolean] :listen Only show Participants with the listen privilege.
|
2735
|
+
# @option opts [Boolean] :dtmf_pass_through Only show Participants with the dtmfPassThrough privilege.
|
2734
2736
|
# @return [Array<(ConferenceParticipantList, Integer, Hash)>] ConferenceParticipantList data, response status code and response headers
|
2735
2737
|
def list_participants_with_http_info(conference_id, opts = {})
|
2736
2738
|
if @api_client.config.debugging
|
@@ -2748,6 +2750,7 @@ module Freeclimb
|
|
2748
2750
|
query_params = opts[:query_params] || {}
|
2749
2751
|
query_params[:'talk'] = opts[:'talk'] if !opts[:'talk'].nil?
|
2750
2752
|
query_params[:'listen'] = opts[:'listen'] if !opts[:'listen'].nil?
|
2753
|
+
query_params[:'dtmfPassThrough'] = opts[:'dtmf_pass_through'] if !opts[:'dtmf_pass_through'].nil?
|
2751
2754
|
|
2752
2755
|
# header parameters
|
2753
2756
|
header_params = opts[:header_params] || {}
|
@@ -43,6 +43,9 @@ module Freeclimb
|
|
43
43
|
# If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command.
|
44
44
|
attr_accessor :talk
|
45
45
|
|
46
|
+
# If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command.
|
47
|
+
attr_accessor :dtmf_pass_through
|
48
|
+
|
46
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
50
|
def self.attribute_map
|
48
51
|
{
|
@@ -54,7 +57,8 @@ module Freeclimb
|
|
54
57
|
:'listen' => :'listen',
|
55
58
|
:'notification_url' => :'notificationUrl',
|
56
59
|
:'start_conf_on_enter' => :'startConfOnEnter',
|
57
|
-
:'talk' => :'talk'
|
60
|
+
:'talk' => :'talk',
|
61
|
+
:'dtmf_pass_through' => :'dtmfPassThrough'
|
58
62
|
}
|
59
63
|
end
|
60
64
|
|
@@ -74,7 +78,8 @@ module Freeclimb
|
|
74
78
|
:'listen' => :'Boolean',
|
75
79
|
:'notification_url' => :'String',
|
76
80
|
:'start_conf_on_enter' => :'Boolean',
|
77
|
-
:'talk' => :'Boolean'
|
81
|
+
:'talk' => :'Boolean',
|
82
|
+
:'dtmf_pass_through' => :'Boolean'
|
78
83
|
}
|
79
84
|
end
|
80
85
|
|
@@ -145,6 +150,10 @@ module Freeclimb
|
|
145
150
|
if attributes.key?(:'talk')
|
146
151
|
self.talk = attributes[:'talk']
|
147
152
|
end
|
153
|
+
|
154
|
+
if attributes.key?(:'dtmf_pass_through')
|
155
|
+
self.dtmf_pass_through = attributes[:'dtmf_pass_through']
|
156
|
+
end
|
148
157
|
self.command = "AddToConference"
|
149
158
|
end
|
150
159
|
|
@@ -183,7 +192,8 @@ module Freeclimb
|
|
183
192
|
listen == o.listen &&
|
184
193
|
notification_url == o.notification_url &&
|
185
194
|
start_conf_on_enter == o.start_conf_on_enter &&
|
186
|
-
talk == o.talk &&
|
195
|
+
talk == o.talk &&
|
196
|
+
dtmf_pass_through == o.dtmf_pass_through && super(o)
|
187
197
|
end
|
188
198
|
|
189
199
|
# @see the `==` method
|
@@ -195,7 +205,7 @@ module Freeclimb
|
|
195
205
|
# Calculates hash code according to all attributes.
|
196
206
|
# @return [Integer] Hash code
|
197
207
|
def hash
|
198
|
-
[allow_call_control, call_control_sequence, call_control_url, conference_id, leave_conference_url, listen, notification_url, start_conf_on_enter, talk].hash
|
208
|
+
[allow_call_control, call_control_sequence, call_control_url, conference_id, leave_conference_url, listen, notification_url, start_conf_on_enter, talk, dtmf_pass_through].hash
|
199
209
|
end
|
200
210
|
|
201
211
|
# Builds the object from hash
|
@@ -42,6 +42,9 @@ module Freeclimb
|
|
42
42
|
# If `true`, the Participant joins the Conference with talk privileges. This may be modified later via the REST API or `SetTalk` PerCL command.
|
43
43
|
attr_accessor :talk
|
44
44
|
|
45
|
+
# If `true`, the Participant joins the Conference with dtmfPassThrough privileges. This may be modified later via the REST API or `SetDTMFPassThrough` PerCL command.
|
46
|
+
attr_accessor :dtmf_pass_through
|
47
|
+
|
45
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
46
49
|
def self.attribute_map
|
47
50
|
{
|
@@ -53,7 +56,8 @@ module Freeclimb
|
|
53
56
|
:'listen' => :'listen',
|
54
57
|
:'notification_url' => :'notificationUrl',
|
55
58
|
:'start_conf_on_enter' => :'startConfOnEnter',
|
56
|
-
:'talk' => :'talk'
|
59
|
+
:'talk' => :'talk',
|
60
|
+
:'dtmf_pass_through' => :'dtmfPassThrough'
|
57
61
|
}
|
58
62
|
end
|
59
63
|
|
@@ -73,7 +77,8 @@ module Freeclimb
|
|
73
77
|
:'listen' => :'Boolean',
|
74
78
|
:'notification_url' => :'String',
|
75
79
|
:'start_conf_on_enter' => :'Boolean',
|
76
|
-
:'talk' => :'Boolean'
|
80
|
+
:'talk' => :'Boolean',
|
81
|
+
:'dtmf_pass_through' => :'Boolean'
|
77
82
|
}
|
78
83
|
end
|
79
84
|
|
@@ -133,6 +138,10 @@ module Freeclimb
|
|
133
138
|
if attributes.key?(:'talk')
|
134
139
|
self.talk = attributes[:'talk']
|
135
140
|
end
|
141
|
+
|
142
|
+
if attributes.key?(:'dtmf_pass_through')
|
143
|
+
self.dtmf_pass_through = attributes[:'dtmf_pass_through']
|
144
|
+
end
|
136
145
|
end
|
137
146
|
|
138
147
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -170,7 +179,8 @@ module Freeclimb
|
|
170
179
|
listen == o.listen &&
|
171
180
|
notification_url == o.notification_url &&
|
172
181
|
start_conf_on_enter == o.start_conf_on_enter &&
|
173
|
-
talk == o.talk
|
182
|
+
talk == o.talk &&
|
183
|
+
dtmf_pass_through == o.dtmf_pass_through
|
174
184
|
end
|
175
185
|
|
176
186
|
# @see the `==` method
|
@@ -182,7 +192,7 @@ module Freeclimb
|
|
182
192
|
# Calculates hash code according to all attributes.
|
183
193
|
# @return [Integer] Hash code
|
184
194
|
def hash
|
185
|
-
[allow_call_control, call_control_sequence, call_control_url, conference_id, leave_conference_url, listen, notification_url, start_conf_on_enter, talk].hash
|
195
|
+
[allow_call_control, call_control_sequence, call_control_url, conference_id, leave_conference_url, listen, notification_url, start_conf_on_enter, talk, dtmf_pass_through].hash
|
186
196
|
end
|
187
197
|
|
188
198
|
# Builds the object from hash
|
@@ -69,6 +69,9 @@ module Freeclimb
|
|
69
69
|
# The list of subresources for this Call. These include things like logs and recordings associated with the Call.
|
70
70
|
attr_accessor :subresource_uris
|
71
71
|
|
72
|
+
# ApplicationId associated with the Call.
|
73
|
+
attr_accessor :application_id
|
74
|
+
|
72
75
|
# Attribute mapping from ruby-style variable name to JSON key.
|
73
76
|
def self.attribute_map
|
74
77
|
{
|
@@ -90,7 +93,8 @@ module Freeclimb
|
|
90
93
|
:'connect_duration' => :'connectDuration',
|
91
94
|
:'direction' => :'direction',
|
92
95
|
:'answered_by' => :'answeredBy',
|
93
|
-
:'subresource_uris' => :'subresourceUris'
|
96
|
+
:'subresource_uris' => :'subresourceUris',
|
97
|
+
:'application_id' => :'applicationId'
|
94
98
|
}
|
95
99
|
end
|
96
100
|
|
@@ -120,7 +124,8 @@ module Freeclimb
|
|
120
124
|
:'connect_duration' => :'Integer',
|
121
125
|
:'direction' => :'CallDirection',
|
122
126
|
:'answered_by' => :'AnsweredBy',
|
123
|
-
:'subresource_uris' => :'Object'
|
127
|
+
:'subresource_uris' => :'Object',
|
128
|
+
:'application_id' => :'String'
|
124
129
|
}
|
125
130
|
end
|
126
131
|
|
@@ -141,7 +146,8 @@ module Freeclimb
|
|
141
146
|
:'connect_duration',
|
142
147
|
:'direction',
|
143
148
|
:'answered_by',
|
144
|
-
:'subresource_uris'
|
149
|
+
:'subresource_uris',
|
150
|
+
:'application_id'
|
145
151
|
])
|
146
152
|
end
|
147
153
|
|
@@ -243,6 +249,10 @@ module Freeclimb
|
|
243
249
|
if attributes.key?(:'subresource_uris')
|
244
250
|
self.subresource_uris = attributes[:'subresource_uris']
|
245
251
|
end
|
252
|
+
|
253
|
+
if attributes.key?(:'application_id')
|
254
|
+
self.application_id = attributes[:'application_id']
|
255
|
+
end
|
246
256
|
end
|
247
257
|
|
248
258
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -286,7 +296,8 @@ module Freeclimb
|
|
286
296
|
connect_duration == o.connect_duration &&
|
287
297
|
direction == o.direction &&
|
288
298
|
answered_by == o.answered_by &&
|
289
|
-
subresource_uris == o.subresource_uris
|
299
|
+
subresource_uris == o.subresource_uris &&
|
300
|
+
application_id == o.application_id
|
290
301
|
end
|
291
302
|
|
292
303
|
# @see the `==` method
|
@@ -298,7 +309,7 @@ module Freeclimb
|
|
298
309
|
# Calculates hash code according to all attributes.
|
299
310
|
# @return [Integer] Hash code
|
300
311
|
def hash
|
301
|
-
[uri, date_created, date_updated, revision, call_id, parent_call_id, account_id, from, to, phone_number_id, call_status, start_time, connect_time, end_time, duration, connect_duration, direction, answered_by, subresource_uris].hash
|
312
|
+
[uri, date_created, date_updated, revision, call_id, parent_call_id, account_id, from, to, phone_number_id, call_status, start_time, connect_time, end_time, duration, connect_duration, direction, answered_by, subresource_uris, application_id].hash
|
302
313
|
end
|
303
314
|
|
304
315
|
# Builds the object from hash
|
@@ -57,6 +57,9 @@ module Freeclimb
|
|
57
57
|
# The list of subresources for this Call. These include things like logs and recordings associated with the Call.
|
58
58
|
attr_accessor :subresource_uris
|
59
59
|
|
60
|
+
# ApplicationId associated with the Call.
|
61
|
+
attr_accessor :application_id
|
62
|
+
|
60
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
61
64
|
def self.attribute_map
|
62
65
|
{
|
@@ -74,7 +77,8 @@ module Freeclimb
|
|
74
77
|
:'connect_duration' => :'connectDuration',
|
75
78
|
:'direction' => :'direction',
|
76
79
|
:'answered_by' => :'answeredBy',
|
77
|
-
:'subresource_uris' => :'subresourceUris'
|
80
|
+
:'subresource_uris' => :'subresourceUris',
|
81
|
+
:'application_id' => :'applicationId'
|
78
82
|
}
|
79
83
|
end
|
80
84
|
|
@@ -100,7 +104,8 @@ module Freeclimb
|
|
100
104
|
:'connect_duration' => :'Integer',
|
101
105
|
:'direction' => :'CallDirection',
|
102
106
|
:'answered_by' => :'AnsweredBy',
|
103
|
-
:'subresource_uris' => :'Object'
|
107
|
+
:'subresource_uris' => :'Object',
|
108
|
+
:'application_id' => :'String'
|
104
109
|
}
|
105
110
|
end
|
106
111
|
|
@@ -121,7 +126,8 @@ module Freeclimb
|
|
121
126
|
:'connect_duration',
|
122
127
|
:'direction',
|
123
128
|
:'answered_by',
|
124
|
-
:'subresource_uris'
|
129
|
+
:'subresource_uris',
|
130
|
+
:'application_id'
|
125
131
|
])
|
126
132
|
end
|
127
133
|
|
@@ -199,6 +205,10 @@ module Freeclimb
|
|
199
205
|
if attributes.key?(:'subresource_uris')
|
200
206
|
self.subresource_uris = attributes[:'subresource_uris']
|
201
207
|
end
|
208
|
+
|
209
|
+
if attributes.key?(:'application_id')
|
210
|
+
self.application_id = attributes[:'application_id']
|
211
|
+
end
|
202
212
|
end
|
203
213
|
|
204
214
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -238,7 +248,8 @@ module Freeclimb
|
|
238
248
|
connect_duration == o.connect_duration &&
|
239
249
|
direction == o.direction &&
|
240
250
|
answered_by == o.answered_by &&
|
241
|
-
subresource_uris == o.subresource_uris
|
251
|
+
subresource_uris == o.subresource_uris &&
|
252
|
+
application_id == o.application_id
|
242
253
|
end
|
243
254
|
|
244
255
|
# @see the `==` method
|
@@ -250,7 +261,7 @@ module Freeclimb
|
|
250
261
|
# Calculates hash code according to all attributes.
|
251
262
|
# @return [Integer] Hash code
|
252
263
|
def hash
|
253
|
-
[call_id, parent_call_id, account_id, from, to, phone_number_id, call_status, start_time, connect_time, end_time, duration, connect_duration, direction, answered_by, subresource_uris].hash
|
264
|
+
[call_id, parent_call_id, account_id, from, to, phone_number_id, call_status, start_time, connect_time, end_time, duration, connect_duration, direction, answered_by, subresource_uris, application_id].hash
|
254
265
|
end
|
255
266
|
|
256
267
|
# Builds the object from hash
|
@@ -42,6 +42,9 @@ module Freeclimb
|
|
42
42
|
# True if this Participant has listen privileges in the Conference. False otherwise.
|
43
43
|
attr_accessor :listen
|
44
44
|
|
45
|
+
# True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise.
|
46
|
+
attr_accessor :dtmf_pass_through
|
47
|
+
|
45
48
|
# True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise.
|
46
49
|
attr_accessor :start_conf_on_enter
|
47
50
|
|
@@ -57,6 +60,7 @@ module Freeclimb
|
|
57
60
|
:'call_id' => :'callId',
|
58
61
|
:'talk' => :'talk',
|
59
62
|
:'listen' => :'listen',
|
63
|
+
:'dtmf_pass_through' => :'dtmfPassThrough',
|
60
64
|
:'start_conf_on_enter' => :'startConfOnEnter'
|
61
65
|
}
|
62
66
|
end
|
@@ -78,6 +82,7 @@ module Freeclimb
|
|
78
82
|
:'call_id' => :'String',
|
79
83
|
:'talk' => :'Boolean',
|
80
84
|
:'listen' => :'Boolean',
|
85
|
+
:'dtmf_pass_through' => :'Boolean',
|
81
86
|
:'start_conf_on_enter' => :'Boolean'
|
82
87
|
}
|
83
88
|
end
|
@@ -90,6 +95,7 @@ module Freeclimb
|
|
90
95
|
:'call_id',
|
91
96
|
:'talk',
|
92
97
|
:'listen',
|
98
|
+
:'dtmf_pass_through',
|
93
99
|
:'start_conf_on_enter'
|
94
100
|
])
|
95
101
|
end
|
@@ -153,6 +159,10 @@ module Freeclimb
|
|
153
159
|
self.listen = attributes[:'listen']
|
154
160
|
end
|
155
161
|
|
162
|
+
if attributes.key?(:'dtmf_pass_through')
|
163
|
+
self.dtmf_pass_through = attributes[:'dtmf_pass_through']
|
164
|
+
end
|
165
|
+
|
156
166
|
if attributes.key?(:'start_conf_on_enter')
|
157
167
|
self.start_conf_on_enter = attributes[:'start_conf_on_enter']
|
158
168
|
end
|
@@ -190,6 +200,7 @@ module Freeclimb
|
|
190
200
|
call_id == o.call_id &&
|
191
201
|
talk == o.talk &&
|
192
202
|
listen == o.listen &&
|
203
|
+
dtmf_pass_through == o.dtmf_pass_through &&
|
193
204
|
start_conf_on_enter == o.start_conf_on_enter
|
194
205
|
end
|
195
206
|
|
@@ -202,7 +213,7 @@ module Freeclimb
|
|
202
213
|
# Calculates hash code according to all attributes.
|
203
214
|
# @return [Integer] Hash code
|
204
215
|
def hash
|
205
|
-
[uri, date_created, date_updated, revision, account_id, conference_id, call_id, talk, listen, start_conf_on_enter].hash
|
216
|
+
[uri, date_created, date_updated, revision, account_id, conference_id, call_id, talk, listen, dtmf_pass_through, start_conf_on_enter].hash
|
206
217
|
end
|
207
218
|
|
208
219
|
# Builds the object from hash
|
@@ -30,6 +30,9 @@ module Freeclimb
|
|
30
30
|
# True if this Participant has listen privileges in the Conference. False otherwise.
|
31
31
|
attr_accessor :listen
|
32
32
|
|
33
|
+
# True if this Participant had dtmfPassThrough privileges in the Conference. False otherwise.
|
34
|
+
attr_accessor :dtmf_pass_through
|
35
|
+
|
33
36
|
# True if this Participant joining the Conference caused the Conference to start (status = inProgress). False otherwise.
|
34
37
|
attr_accessor :start_conf_on_enter
|
35
38
|
|
@@ -41,6 +44,7 @@ module Freeclimb
|
|
41
44
|
:'call_id' => :'callId',
|
42
45
|
:'talk' => :'talk',
|
43
46
|
:'listen' => :'listen',
|
47
|
+
:'dtmf_pass_through' => :'dtmfPassThrough',
|
44
48
|
:'start_conf_on_enter' => :'startConfOnEnter'
|
45
49
|
}
|
46
50
|
end
|
@@ -58,6 +62,7 @@ module Freeclimb
|
|
58
62
|
:'call_id' => :'String',
|
59
63
|
:'talk' => :'Boolean',
|
60
64
|
:'listen' => :'Boolean',
|
65
|
+
:'dtmf_pass_through' => :'Boolean',
|
61
66
|
:'start_conf_on_enter' => :'Boolean'
|
62
67
|
}
|
63
68
|
end
|
@@ -70,6 +75,7 @@ module Freeclimb
|
|
70
75
|
:'call_id',
|
71
76
|
:'talk',
|
72
77
|
:'listen',
|
78
|
+
:'dtmf_pass_through',
|
73
79
|
:'start_conf_on_enter'
|
74
80
|
])
|
75
81
|
end
|
@@ -109,6 +115,10 @@ module Freeclimb
|
|
109
115
|
self.listen = attributes[:'listen']
|
110
116
|
end
|
111
117
|
|
118
|
+
if attributes.key?(:'dtmf_pass_through')
|
119
|
+
self.dtmf_pass_through = attributes[:'dtmf_pass_through']
|
120
|
+
end
|
121
|
+
|
112
122
|
if attributes.key?(:'start_conf_on_enter')
|
113
123
|
self.start_conf_on_enter = attributes[:'start_conf_on_enter']
|
114
124
|
end
|
@@ -142,6 +152,7 @@ module Freeclimb
|
|
142
152
|
call_id == o.call_id &&
|
143
153
|
talk == o.talk &&
|
144
154
|
listen == o.listen &&
|
155
|
+
dtmf_pass_through == o.dtmf_pass_through &&
|
145
156
|
start_conf_on_enter == o.start_conf_on_enter
|
146
157
|
end
|
147
158
|
|
@@ -154,7 +165,7 @@ module Freeclimb
|
|
154
165
|
# Calculates hash code according to all attributes.
|
155
166
|
# @return [Integer] Hash code
|
156
167
|
def hash
|
157
|
-
[account_id, conference_id, call_id, talk, listen, start_conf_on_enter].hash
|
168
|
+
[account_id, conference_id, call_id, talk, listen, dtmf_pass_through, start_conf_on_enter].hash
|
158
169
|
end
|
159
170
|
|
160
171
|
# Builds the object from hash
|