freeclimb 4.5.2 → 4.6.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 +12 -0
- data/Gemfile.lock +1 -1
- data/README.md +13 -6
- data/docs/AddToConference.md +0 -2
- data/docs/AddToConferenceAllOf.md +0 -2
- data/docs/CreateWebRTCToken.md +22 -0
- data/docs/DefaultApi.md +302 -7
- data/docs/GetDigits.md +1 -1
- data/docs/GetDigitsAllOf.md +1 -1
- data/docs/IncomingNumberResult.md +3 -1
- data/docs/IncomingNumberResultAllOf.md +3 -1
- data/docs/MessageRequest.md +2 -2
- data/docs/MessageRequestAllOf.md +2 -2
- data/docs/MessageResult.md +3 -1
- data/docs/MessageResultAllOf.md +3 -1
- data/docs/Play.md +0 -2
- data/docs/PlayAllOf.md +0 -2
- data/docs/RemoveFromConference.md +1 -4
- data/docs/SMSTenDLCCampaign.md +10 -0
- data/docs/SMSTollFreeCampaign.md +30 -0
- data/docs/SMSTollFreeCampaignsListResult.md +32 -0
- data/docs/SMSTollFreeCampaignsListResultAllOf.md +18 -0
- data/docs/Say.md +0 -2
- data/docs/SayAllOf.md +0 -2
- data/docs/SetListen.md +0 -2
- data/docs/SetListenAllOf.md +0 -2
- data/docs/SetTalk.md +0 -2
- data/docs/SetTalkAllOf.md +0 -2
- data/docs/TFN.md +18 -0
- data/docs/TerminateConference.md +1 -4
- data/lib/freeclimb/api/default_api.rb +258 -7
- data/lib/freeclimb/models/add_to_conference.rb +1 -13
- data/lib/freeclimb/models/add_to_conference_all_of.rb +1 -13
- data/lib/freeclimb/models/create_web_rtc_token.rb +278 -0
- data/lib/freeclimb/models/get_digits.rb +1 -1
- data/lib/freeclimb/models/get_digits_all_of.rb +1 -1
- data/lib/freeclimb/models/incoming_number_result.rb +16 -5
- data/lib/freeclimb/models/incoming_number_result_all_of.rb +16 -5
- data/lib/freeclimb/models/message_request.rb +11 -9
- data/lib/freeclimb/models/message_request_all_of.rb +11 -9
- data/lib/freeclimb/models/message_result.rb +19 -5
- data/lib/freeclimb/models/message_result_all_of.rb +19 -5
- data/lib/freeclimb/models/play.rb +1 -13
- data/lib/freeclimb/models/play_all_of.rb +1 -13
- data/lib/freeclimb/models/remove_from_conference.rb +3 -23
- data/lib/freeclimb/models/say.rb +1 -13
- data/lib/freeclimb/models/say_all_of.rb +1 -13
- data/lib/freeclimb/models/set_listen.rb +2 -18
- data/lib/freeclimb/models/set_listen_all_of.rb +2 -18
- data/lib/freeclimb/models/set_talk.rb +2 -18
- data/lib/freeclimb/models/set_talk_all_of.rb +2 -18
- data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +131 -1
- data/lib/freeclimb/models/sms_toll_free_campaign.rb +349 -0
- data/lib/freeclimb/models/sms_toll_free_campaigns_list_result.rb +311 -0
- data/lib/freeclimb/models/sms_toll_free_campaigns_list_result_all_of.rb +226 -0
- data/lib/freeclimb/models/terminate_conference.rb +3 -23
- data/lib/freeclimb/models/tfn.rb +229 -0
- data/lib/freeclimb/version.rb +1 -1
- data/lib/freeclimb.rb +5 -2
- data/openapi.json +605 -110
- data/package.json +8 -0
- data/spec/api/default_api_spec.rb +104 -3
- data/spec/models/add_to_conference_spec.rb +0 -30
- data/spec/models/create_web_rtc_token_spec.rb +225 -0
- data/spec/models/get_digits_spec.rb +19 -19
- data/spec/models/incoming_number_result_spec.rb +25 -0
- data/spec/models/message_request_spec.rb +23 -23
- data/spec/models/message_result_spec.rb +30 -0
- data/spec/models/play_spec.rb +0 -30
- data/spec/models/remove_from_conference_spec.rb +1 -67
- data/spec/models/say_spec.rb +0 -30
- data/spec/models/set_listen_spec.rb +0 -31
- data/spec/models/set_talk_spec.rb +0 -31
- data/spec/models/sms_ten_dlc_campaign_spec.rb +165 -0
- data/spec/models/sms_toll_free_campaign_spec.rb +368 -0
- data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +371 -0
- data/spec/models/terminate_conference_spec.rb +1 -67
- data/spec/models/tfn_spec.rb +162 -0
- data/yarn.lock +1292 -0
- metadata +103 -83
@@ -1763,6 +1763,123 @@ module Freeclimb
|
|
1763
1763
|
return data, status_code, headers
|
1764
1764
|
end
|
1765
1765
|
|
1766
|
+
# Get a TollFree SMS Campaign
|
1767
|
+
# @param campaign_id [String] String that uniquely identifies this TollFree Campaign resource.
|
1768
|
+
# @param [Hash] opts the optional parameters
|
1769
|
+
# @return [SMSTollFreeCampaign]
|
1770
|
+
def get_toll_free_sms_campaign(campaign_id, opts = {})
|
1771
|
+
data, _status_code, _headers = get_toll_free_sms_campaign_with_http_info(campaign_id, opts)
|
1772
|
+
data
|
1773
|
+
end
|
1774
|
+
|
1775
|
+
# Get a TollFree SMS Campaign
|
1776
|
+
# @param campaign_id [String] String that uniquely identifies this TollFree Campaign resource.
|
1777
|
+
# @param [Hash] opts the optional parameters
|
1778
|
+
# @return [Array<(SMSTollFreeCampaign, Integer, Hash)>] SMSTollFreeCampaign data, response status code and response headers
|
1779
|
+
def get_toll_free_sms_campaign_with_http_info(campaign_id, opts = {})
|
1780
|
+
if @api_client.config.debugging
|
1781
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_toll_free_sms_campaign ...'
|
1782
|
+
end
|
1783
|
+
|
1784
|
+
# verify the required parameter 'campaign_id' is set
|
1785
|
+
if @api_client.config.client_side_validation && campaign_id.nil?
|
1786
|
+
fail ArgumentError, "Missing the required parameter 'campaign_id' when calling DefaultApi.get_toll_free_sms_campaign"
|
1787
|
+
end
|
1788
|
+
# resource path
|
1789
|
+
local_var_path = '/Accounts/{accountId}/Messages/TollFree/Campaigns/{campaignId}'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'campaignId' + '}', CGI.escape(campaign_id.to_s))
|
1790
|
+
|
1791
|
+
# query parameters
|
1792
|
+
query_params = opts[:query_params] || {}
|
1793
|
+
|
1794
|
+
# header parameters
|
1795
|
+
header_params = opts[:header_params] || {}
|
1796
|
+
# HTTP header 'Accept' (if needed)
|
1797
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1798
|
+
|
1799
|
+
# form parameters
|
1800
|
+
form_params = opts[:form_params] || {}
|
1801
|
+
|
1802
|
+
# http body (model)
|
1803
|
+
post_body = opts[:debug_body]
|
1804
|
+
|
1805
|
+
# return_type
|
1806
|
+
return_type = opts[:debug_return_type] || 'SMSTollFreeCampaign'
|
1807
|
+
|
1808
|
+
# auth_names
|
1809
|
+
auth_names = opts[:debug_auth_names] || ['fc']
|
1810
|
+
|
1811
|
+
new_options = opts.merge(
|
1812
|
+
:operation => :"DefaultApi.get_toll_free_sms_campaign",
|
1813
|
+
:header_params => header_params,
|
1814
|
+
:query_params => query_params,
|
1815
|
+
:form_params => form_params,
|
1816
|
+
:body => post_body,
|
1817
|
+
:auth_names => auth_names,
|
1818
|
+
:return_type => return_type
|
1819
|
+
)
|
1820
|
+
|
1821
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1822
|
+
if @api_client.config.debugging
|
1823
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_toll_free_sms_campaign\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1824
|
+
end
|
1825
|
+
return data, status_code, headers
|
1826
|
+
end
|
1827
|
+
|
1828
|
+
# Get list of TollFree Campaigns
|
1829
|
+
# @param [Hash] opts the optional parameters
|
1830
|
+
# @return [SMSTollFreeCampaignsListResult]
|
1831
|
+
def get_toll_free_sms_campaigns(opts = {})
|
1832
|
+
data, _status_code, _headers = get_toll_free_sms_campaigns_with_http_info(opts)
|
1833
|
+
data
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
# Get list of TollFree Campaigns
|
1837
|
+
# @param [Hash] opts the optional parameters
|
1838
|
+
# @return [Array<(SMSTollFreeCampaignsListResult, Integer, Hash)>] SMSTollFreeCampaignsListResult data, response status code and response headers
|
1839
|
+
def get_toll_free_sms_campaigns_with_http_info(opts = {})
|
1840
|
+
if @api_client.config.debugging
|
1841
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_toll_free_sms_campaigns ...'
|
1842
|
+
end
|
1843
|
+
# resource path
|
1844
|
+
local_var_path = '/Accounts/{accountId}/Messages/TollFree/Campaigns'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
|
1845
|
+
|
1846
|
+
# query parameters
|
1847
|
+
query_params = opts[:query_params] || {}
|
1848
|
+
|
1849
|
+
# header parameters
|
1850
|
+
header_params = opts[:header_params] || {}
|
1851
|
+
# HTTP header 'Accept' (if needed)
|
1852
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1853
|
+
|
1854
|
+
# form parameters
|
1855
|
+
form_params = opts[:form_params] || {}
|
1856
|
+
|
1857
|
+
# http body (model)
|
1858
|
+
post_body = opts[:debug_body]
|
1859
|
+
|
1860
|
+
# return_type
|
1861
|
+
return_type = opts[:debug_return_type] || 'SMSTollFreeCampaignsListResult'
|
1862
|
+
|
1863
|
+
# auth_names
|
1864
|
+
auth_names = opts[:debug_auth_names] || ['fc']
|
1865
|
+
|
1866
|
+
new_options = opts.merge(
|
1867
|
+
:operation => :"DefaultApi.get_toll_free_sms_campaigns",
|
1868
|
+
:header_params => header_params,
|
1869
|
+
:query_params => query_params,
|
1870
|
+
:form_params => form_params,
|
1871
|
+
:body => post_body,
|
1872
|
+
:auth_names => auth_names,
|
1873
|
+
:return_type => return_type
|
1874
|
+
)
|
1875
|
+
|
1876
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1877
|
+
if @api_client.config.debugging
|
1878
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_toll_free_sms_campaigns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1879
|
+
end
|
1880
|
+
return data, status_code, headers
|
1881
|
+
end
|
1882
|
+
|
1766
1883
|
# List Active Queues
|
1767
1884
|
# @param [Hash] opts the optional parameters
|
1768
1885
|
# @option opts [String] :_alias Return only the Queue resources with aliases that exactly match this name.
|
@@ -2229,6 +2346,70 @@ module Freeclimb
|
|
2229
2346
|
return data, status_code, headers
|
2230
2347
|
end
|
2231
2348
|
|
2349
|
+
# List Conference Recordings
|
2350
|
+
# @param [Hash] opts the optional parameters
|
2351
|
+
# @option opts [String] :call_id Show only Recordings made during the Call with this ID.
|
2352
|
+
# @option opts [String] :conference_id Show only Recordings made during the conference with this ID.
|
2353
|
+
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
|
2354
|
+
# @return [RecordingList]
|
2355
|
+
def list_conference_recordings(opts = {})
|
2356
|
+
data, _status_code, _headers = list_conference_recordings_with_http_info(opts)
|
2357
|
+
data
|
2358
|
+
end
|
2359
|
+
|
2360
|
+
# List Conference Recordings
|
2361
|
+
# @param [Hash] opts the optional parameters
|
2362
|
+
# @option opts [String] :call_id Show only Recordings made during the Call with this ID.
|
2363
|
+
# @option opts [String] :conference_id Show only Recordings made during the conference with this ID.
|
2364
|
+
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
|
2365
|
+
# @return [Array<(RecordingList, Integer, Hash)>] RecordingList data, response status code and response headers
|
2366
|
+
def list_conference_recordings_with_http_info(opts = {})
|
2367
|
+
if @api_client.config.debugging
|
2368
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.list_conference_recordings ...'
|
2369
|
+
end
|
2370
|
+
# resource path
|
2371
|
+
local_var_path = '/Accounts/{accountId}/Conferences/{conferenceId}/Recordings'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
|
2372
|
+
|
2373
|
+
# query parameters
|
2374
|
+
query_params = opts[:query_params] || {}
|
2375
|
+
query_params[:'callId'] = opts[:'call_id'] if !opts[:'call_id'].nil?
|
2376
|
+
query_params[:'conferenceId'] = opts[:'conference_id'] if !opts[:'conference_id'].nil?
|
2377
|
+
query_params[:'dateCreated'] = opts[:'date_created'] if !opts[:'date_created'].nil?
|
2378
|
+
|
2379
|
+
# header parameters
|
2380
|
+
header_params = opts[:header_params] || {}
|
2381
|
+
# HTTP header 'Accept' (if needed)
|
2382
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2383
|
+
|
2384
|
+
# form parameters
|
2385
|
+
form_params = opts[:form_params] || {}
|
2386
|
+
|
2387
|
+
# http body (model)
|
2388
|
+
post_body = opts[:debug_body]
|
2389
|
+
|
2390
|
+
# return_type
|
2391
|
+
return_type = opts[:debug_return_type] || 'RecordingList'
|
2392
|
+
|
2393
|
+
# auth_names
|
2394
|
+
auth_names = opts[:debug_auth_names] || ['fc']
|
2395
|
+
|
2396
|
+
new_options = opts.merge(
|
2397
|
+
:operation => :"DefaultApi.list_conference_recordings",
|
2398
|
+
:header_params => header_params,
|
2399
|
+
:query_params => query_params,
|
2400
|
+
:form_params => form_params,
|
2401
|
+
:body => post_body,
|
2402
|
+
:auth_names => auth_names,
|
2403
|
+
:return_type => return_type
|
2404
|
+
)
|
2405
|
+
|
2406
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2407
|
+
if @api_client.config.debugging
|
2408
|
+
@api_client.config.logger.debug "API called: DefaultApi#list_conference_recordings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2409
|
+
end
|
2410
|
+
return data, status_code, headers
|
2411
|
+
end
|
2412
|
+
|
2232
2413
|
# List Conferences
|
2233
2414
|
# @param [Hash] opts the optional parameters
|
2234
2415
|
# @option opts [String] :status Only show conferences that currently have the specified status. Valid values: `empty`, `populated`, `inProgress`, or `terminated`.
|
@@ -2312,6 +2493,7 @@ module Freeclimb
|
|
2312
2493
|
# @option opts [Boolean] :capabilities_toll_free
|
2313
2494
|
# @option opts [Boolean] :capabilities_ten_dlc
|
2314
2495
|
# @option opts [Boolean] :capabilities_short_code
|
2496
|
+
# @option opts [String] :tfn_campaign_id Only show incoming phone number resources that have been assigned to the provided TFNCampaign ID.
|
2315
2497
|
# @option opts [Boolean] :offnet Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource.
|
2316
2498
|
# @return [IncomingNumberList]
|
2317
2499
|
def list_incoming_numbers(opts = {})
|
@@ -2335,6 +2517,7 @@ module Freeclimb
|
|
2335
2517
|
# @option opts [Boolean] :capabilities_toll_free
|
2336
2518
|
# @option opts [Boolean] :capabilities_ten_dlc
|
2337
2519
|
# @option opts [Boolean] :capabilities_short_code
|
2520
|
+
# @option opts [String] :tfn_campaign_id Only show incoming phone number resources that have been assigned to the provided TFNCampaign ID.
|
2338
2521
|
# @option opts [Boolean] :offnet Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource.
|
2339
2522
|
# @return [Array<(IncomingNumberList, Integer, Hash)>] IncomingNumberList data, response status code and response headers
|
2340
2523
|
def list_incoming_numbers_with_http_info(opts = {})
|
@@ -2360,6 +2543,7 @@ module Freeclimb
|
|
2360
2543
|
query_params[:'capabilities.tollFree'] = opts[:'capabilities_toll_free'] if !opts[:'capabilities_toll_free'].nil?
|
2361
2544
|
query_params[:'capabilities.tenDLC'] = opts[:'capabilities_ten_dlc'] if !opts[:'capabilities_ten_dlc'].nil?
|
2362
2545
|
query_params[:'capabilities.shortCode'] = opts[:'capabilities_short_code'] if !opts[:'capabilities_short_code'].nil?
|
2546
|
+
query_params[:'tfn.campaignId'] = opts[:'tfn_campaign_id'] if !opts[:'tfn_campaign_id'].nil?
|
2363
2547
|
query_params[:'offnet'] = opts[:'offnet'] if !opts[:'offnet'].nil?
|
2364
2548
|
|
2365
2549
|
# header parameters
|
@@ -2731,6 +2915,75 @@ module Freeclimb
|
|
2731
2915
|
return data, status_code, headers
|
2732
2916
|
end
|
2733
2917
|
|
2918
|
+
# Make a JWT for WebRTC calling
|
2919
|
+
# Make a JWT for WebRTC calling
|
2920
|
+
# @param create_web_rtc_token [CreateWebRTCToken] Information needed to craft a JWT compatible with the platforms WebRTC APIs
|
2921
|
+
# @param [Hash] opts the optional parameters
|
2922
|
+
# @return [String]
|
2923
|
+
def make_a_webrtc_jwt(create_web_rtc_token, opts = {})
|
2924
|
+
data, _status_code, _headers = make_a_webrtc_jwt_with_http_info(create_web_rtc_token, opts)
|
2925
|
+
data
|
2926
|
+
end
|
2927
|
+
|
2928
|
+
# Make a JWT for WebRTC calling
|
2929
|
+
# Make a JWT for WebRTC calling
|
2930
|
+
# @param create_web_rtc_token [CreateWebRTCToken] Information needed to craft a JWT compatible with the platforms WebRTC APIs
|
2931
|
+
# @param [Hash] opts the optional parameters
|
2932
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
2933
|
+
def make_a_webrtc_jwt_with_http_info(create_web_rtc_token, opts = {})
|
2934
|
+
if @api_client.config.debugging
|
2935
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.make_a_webrtc_jwt ...'
|
2936
|
+
end
|
2937
|
+
|
2938
|
+
# verify the required parameter 'create_web_rtc_token' is set
|
2939
|
+
if @api_client.config.client_side_validation && create_web_rtc_token.nil?
|
2940
|
+
fail ArgumentError, "Missing the required parameter 'create_web_rtc_token' when calling DefaultApi.make_a_webrtc_jwt"
|
2941
|
+
end
|
2942
|
+
# resource path
|
2943
|
+
local_var_path = '/Accounts/{accountId}/Calls/WebRTC/Token'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
|
2944
|
+
|
2945
|
+
# query parameters
|
2946
|
+
query_params = opts[:query_params] || {}
|
2947
|
+
|
2948
|
+
# header parameters
|
2949
|
+
header_params = opts[:header_params] || {}
|
2950
|
+
# HTTP header 'Accept' (if needed)
|
2951
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
|
2952
|
+
# HTTP header 'Content-Type'
|
2953
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
2954
|
+
if !content_type.nil?
|
2955
|
+
header_params['Content-Type'] = content_type
|
2956
|
+
end
|
2957
|
+
|
2958
|
+
# form parameters
|
2959
|
+
form_params = opts[:form_params] || {}
|
2960
|
+
|
2961
|
+
# http body (model)
|
2962
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_web_rtc_token)
|
2963
|
+
|
2964
|
+
# return_type
|
2965
|
+
return_type = opts[:debug_return_type] || 'String'
|
2966
|
+
|
2967
|
+
# auth_names
|
2968
|
+
auth_names = opts[:debug_auth_names] || ['fc']
|
2969
|
+
|
2970
|
+
new_options = opts.merge(
|
2971
|
+
:operation => :"DefaultApi.make_a_webrtc_jwt",
|
2972
|
+
:header_params => header_params,
|
2973
|
+
:query_params => query_params,
|
2974
|
+
:form_params => form_params,
|
2975
|
+
:body => post_body,
|
2976
|
+
:auth_names => auth_names,
|
2977
|
+
:return_type => return_type
|
2978
|
+
)
|
2979
|
+
|
2980
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
2981
|
+
if @api_client.config.debugging
|
2982
|
+
@api_client.config.logger.debug "API called: DefaultApi#make_a_webrtc_jwt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2983
|
+
end
|
2984
|
+
return data, status_code, headers
|
2985
|
+
end
|
2986
|
+
|
2734
2987
|
# Remove a Participant
|
2735
2988
|
# @param conference_id [String] ID of the conference this participant is in.
|
2736
2989
|
# @param call_id [String] ID of the Call associated with this participant.
|
@@ -2931,17 +3184,17 @@ module Freeclimb
|
|
2931
3184
|
# @param conference_id [String] String that uniquely identifies this conference resource.
|
2932
3185
|
# @param [Hash] opts the optional parameters
|
2933
3186
|
# @option opts [UpdateConferenceRequest] :update_conference_request Conference Details to update
|
2934
|
-
# @return [
|
3187
|
+
# @return [nil]
|
2935
3188
|
def update_a_conference(conference_id, opts = {})
|
2936
|
-
|
2937
|
-
|
3189
|
+
update_a_conference_with_http_info(conference_id, opts)
|
3190
|
+
nil
|
2938
3191
|
end
|
2939
3192
|
|
2940
3193
|
# Update a Conference
|
2941
3194
|
# @param conference_id [String] String that uniquely identifies this conference resource.
|
2942
3195
|
# @param [Hash] opts the optional parameters
|
2943
3196
|
# @option opts [UpdateConferenceRequest] :update_conference_request Conference Details to update
|
2944
|
-
# @return [Array<(
|
3197
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
2945
3198
|
def update_a_conference_with_http_info(conference_id, opts = {})
|
2946
3199
|
if @api_client.config.debugging
|
2947
3200
|
@api_client.config.logger.debug 'Calling API: DefaultApi.update_a_conference ...'
|
@@ -2959,8 +3212,6 @@ module Freeclimb
|
|
2959
3212
|
|
2960
3213
|
# header parameters
|
2961
3214
|
header_params = opts[:header_params] || {}
|
2962
|
-
# HTTP header 'Accept' (if needed)
|
2963
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2964
3215
|
# HTTP header 'Content-Type'
|
2965
3216
|
content_type = @api_client.select_header_content_type(['application/json'])
|
2966
3217
|
if !content_type.nil?
|
@@ -2974,7 +3225,7 @@ module Freeclimb
|
|
2974
3225
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'update_conference_request'])
|
2975
3226
|
|
2976
3227
|
# return_type
|
2977
|
-
return_type = opts[:debug_return_type]
|
3228
|
+
return_type = opts[:debug_return_type]
|
2978
3229
|
|
2979
3230
|
# auth_names
|
2980
3231
|
auth_names = opts[:debug_auth_names] || ['fc']
|
@@ -28,9 +28,6 @@ module Freeclimb
|
|
28
28
|
# ID of the Conference to which to add the Participant (Call leg). Conference must exist or an error will result.
|
29
29
|
attr_accessor :conference_id
|
30
30
|
|
31
|
-
# ID of the Call that will be added to the specified Conference. The Call must be in progress or an error will result. If the Call is part of an existing Conference, it is first removed from that Conference and is then moved to the new one.
|
32
|
-
attr_accessor :call_id
|
33
|
-
|
34
31
|
# URL to be invoked when the Participant leaves the Conference.
|
35
32
|
attr_accessor :leave_conference_url
|
36
33
|
|
@@ -53,7 +50,6 @@ module Freeclimb
|
|
53
50
|
:'call_control_sequence' => :'callControlSequence',
|
54
51
|
:'call_control_url' => :'callControlUrl',
|
55
52
|
:'conference_id' => :'conferenceId',
|
56
|
-
:'call_id' => :'callId',
|
57
53
|
:'leave_conference_url' => :'leaveConferenceUrl',
|
58
54
|
:'listen' => :'listen',
|
59
55
|
:'notification_url' => :'notificationUrl',
|
@@ -74,7 +70,6 @@ module Freeclimb
|
|
74
70
|
:'call_control_sequence' => :'String',
|
75
71
|
:'call_control_url' => :'String',
|
76
72
|
:'conference_id' => :'String',
|
77
|
-
:'call_id' => :'String',
|
78
73
|
:'leave_conference_url' => :'String',
|
79
74
|
:'listen' => :'Boolean',
|
80
75
|
:'notification_url' => :'String',
|
@@ -131,10 +126,6 @@ module Freeclimb
|
|
131
126
|
self.conference_id = attributes[:'conference_id']
|
132
127
|
end
|
133
128
|
|
134
|
-
if attributes.key?(:'call_id')
|
135
|
-
self.call_id = attributes[:'call_id']
|
136
|
-
end
|
137
|
-
|
138
129
|
if attributes.key?(:'leave_conference_url')
|
139
130
|
self.leave_conference_url = attributes[:'leave_conference_url']
|
140
131
|
end
|
@@ -180,8 +171,6 @@ module Freeclimb
|
|
180
171
|
false
|
181
172
|
elsif @conference_id.nil?
|
182
173
|
false
|
183
|
-
elsif @call_id.nil?
|
184
|
-
false
|
185
174
|
elsif @leave_conference_url.nil?
|
186
175
|
false
|
187
176
|
elsif @listen.nil?
|
@@ -206,7 +195,6 @@ module Freeclimb
|
|
206
195
|
call_control_sequence == o.call_control_sequence &&
|
207
196
|
call_control_url == o.call_control_url &&
|
208
197
|
conference_id == o.conference_id &&
|
209
|
-
call_id == o.call_id &&
|
210
198
|
leave_conference_url == o.leave_conference_url &&
|
211
199
|
listen == o.listen &&
|
212
200
|
notification_url == o.notification_url &&
|
@@ -223,7 +211,7 @@ module Freeclimb
|
|
223
211
|
# Calculates hash code according to all attributes.
|
224
212
|
# @return [Integer] Hash code
|
225
213
|
def hash
|
226
|
-
[allow_call_control, call_control_sequence, call_control_url, conference_id,
|
214
|
+
[allow_call_control, call_control_sequence, call_control_url, conference_id, leave_conference_url, listen, notification_url, start_conf_on_enter, talk].hash
|
227
215
|
end
|
228
216
|
|
229
217
|
# Builds the object from hash
|
@@ -27,9 +27,6 @@ module Freeclimb
|
|
27
27
|
# ID of the Conference to which to add the Participant (Call leg). Conference must exist or an error will result.
|
28
28
|
attr_accessor :conference_id
|
29
29
|
|
30
|
-
# ID of the Call that will be added to the specified Conference. The Call must be in progress or an error will result. If the Call is part of an existing Conference, it is first removed from that Conference and is then moved to the new one.
|
31
|
-
attr_accessor :call_id
|
32
|
-
|
33
30
|
# URL to be invoked when the Participant leaves the Conference.
|
34
31
|
attr_accessor :leave_conference_url
|
35
32
|
|
@@ -52,7 +49,6 @@ module Freeclimb
|
|
52
49
|
:'call_control_sequence' => :'callControlSequence',
|
53
50
|
:'call_control_url' => :'callControlUrl',
|
54
51
|
:'conference_id' => :'conferenceId',
|
55
|
-
:'call_id' => :'callId',
|
56
52
|
:'leave_conference_url' => :'leaveConferenceUrl',
|
57
53
|
:'listen' => :'listen',
|
58
54
|
:'notification_url' => :'notificationUrl',
|
@@ -73,7 +69,6 @@ module Freeclimb
|
|
73
69
|
:'call_control_sequence' => :'String',
|
74
70
|
:'call_control_url' => :'String',
|
75
71
|
:'conference_id' => :'String',
|
76
|
-
:'call_id' => :'String',
|
77
72
|
:'leave_conference_url' => :'String',
|
78
73
|
:'listen' => :'Boolean',
|
79
74
|
:'notification_url' => :'String',
|
@@ -119,10 +114,6 @@ module Freeclimb
|
|
119
114
|
self.conference_id = attributes[:'conference_id']
|
120
115
|
end
|
121
116
|
|
122
|
-
if attributes.key?(:'call_id')
|
123
|
-
self.call_id = attributes[:'call_id']
|
124
|
-
end
|
125
|
-
|
126
117
|
if attributes.key?(:'leave_conference_url')
|
127
118
|
self.leave_conference_url = attributes[:'leave_conference_url']
|
128
119
|
end
|
@@ -167,8 +158,6 @@ module Freeclimb
|
|
167
158
|
false
|
168
159
|
elsif @conference_id.nil?
|
169
160
|
false
|
170
|
-
elsif @call_id.nil?
|
171
|
-
false
|
172
161
|
elsif @leave_conference_url.nil?
|
173
162
|
false
|
174
163
|
elsif @listen.nil?
|
@@ -193,7 +182,6 @@ module Freeclimb
|
|
193
182
|
call_control_sequence == o.call_control_sequence &&
|
194
183
|
call_control_url == o.call_control_url &&
|
195
184
|
conference_id == o.conference_id &&
|
196
|
-
call_id == o.call_id &&
|
197
185
|
leave_conference_url == o.leave_conference_url &&
|
198
186
|
listen == o.listen &&
|
199
187
|
notification_url == o.notification_url &&
|
@@ -210,7 +198,7 @@ module Freeclimb
|
|
210
198
|
# Calculates hash code according to all attributes.
|
211
199
|
# @return [Integer] Hash code
|
212
200
|
def hash
|
213
|
-
[allow_call_control, call_control_sequence, call_control_url, conference_id,
|
201
|
+
[allow_call_control, call_control_sequence, call_control_url, conference_id, leave_conference_url, listen, notification_url, start_conf_on_enter, talk].hash
|
214
202
|
end
|
215
203
|
|
216
204
|
# Builds the object from hash
|