Class: TencentCloud::Ccc::V20200210::Client
- Inherits:
-
TencentCloud::Common::AbstractClient
- Object
- TencentCloud::Common::AbstractClient
- TencentCloud::Ccc::V20200210::Client
- Defined in:
- lib/v20200210/client.rb
Instance Method Summary collapse
-
#AbortAgentCruiseDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::AbortAgentCruiseDialingCampaignResponse`.
-
#AbortPredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::AbortPredictiveDialingCampaignResponse`.
-
#BindNumberCallInInterface(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::BindNumberCallInInterfaceResponse`.
-
#BindNumberCallOutSkillGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::BindNumberCallOutSkillGroupResponse`.
-
#BindStaffSkillGroupList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::BindStaffSkillGroupListResponse`.
-
#ControlAIConversation(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ControlAIConversationResponse`.
-
#CreateAdminURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateAdminURLResponse`.
-
#CreateAgentCruiseDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateAgentCruiseDialingCampaignResponse`.
-
#CreateAIAgentCall(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateAIAgentCallResponse`.
-
#CreateAICall(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateAICallResponse`.
-
#CreateAutoCalloutTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateAutoCalloutTaskResponse`.
-
#CreateCallOutSession(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateCallOutSessionResponse`.
-
#CreateCarrierPrivilegeNumberApplicant(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateCarrierPrivilegeNumberApplicantResponse`.
-
#CreateCCCSkillGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateCCCSkillGroupResponse`.
-
#CreateCompanyApply(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateCompanyApplyResponse`.
-
#CreateExtension(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateExtensionResponse`.
-
#CreateIVRSession(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateIVRSessionResponse`.
-
#CreateOwnNumberApply(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateOwnNumberApplyResponse`.
-
#CreatePredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreatePredictiveDialingCampaignResponse`.
-
#CreateSDKLoginToken(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateSDKLoginTokenResponse`.
-
#CreateStaff(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateStaffResponse`.
-
#CreateUserSig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateUserSigResponse`.
-
#DeleteCCCSkillGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DeleteCCCSkillGroupResponse`.
-
#DeleteExtension(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DeleteExtensionResponse`.
-
#DeletePredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DeletePredictiveDialingCampaignResponse`.
-
#DeleteStaff(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DeleteStaffResponse`.
-
#DescribeActiveCarrierPrivilegeNumber(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeActiveCarrierPrivilegeNumberResponse`.
-
#DescribeAgentCruiseDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAgentCruiseDialingCampaignResponse`.
-
#DescribeAIAgentInfoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAIAgentInfoListResponse`.
-
#DescribeAIAnalysisResult(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAIAnalysisResultResponse`.
-
#DescribeAICallExtractResult(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAICallExtractResultResponse`.
-
#DescribeAILatency(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAILatencyResponse`.
-
#DescribeAutoCalloutTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAutoCalloutTaskResponse`.
-
#DescribeAutoCalloutTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAutoCalloutTasksResponse`.
-
#DescribeCallInMetrics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeCallInMetricsResponse`.
-
#DescribeCarrierPrivilegeNumberApplicants(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeCarrierPrivilegeNumberApplicantsResponse`.
-
#DescribeCCCBuyInfoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeCCCBuyInfoListResponse`.
-
#DescribeChatMessages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeChatMessagesResponse`.
-
#DescribeCompanyList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeCompanyListResponse`.
-
#DescribeExtension(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeExtensionResponse`.
-
#DescribeExtensions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeExtensionsResponse`.
-
#DescribeIMCdrList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeIMCdrListResponse`.
-
#DescribeIMCdrs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeIMCdrsResponse`.
-
#DescribeIvrAudioList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeIvrAudioListResponse`.
-
#DescribeNumbers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeNumbersResponse`.
-
#DescribePredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribePredictiveDialingCampaignResponse`.
-
#DescribePredictiveDialingCampaigns(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribePredictiveDialingCampaignsResponse`.
-
#DescribePredictiveDialingSessions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribePredictiveDialingSessionsResponse`.
-
#DescribeProtectedTelCdr(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeProtectedTelCdrResponse`.
-
#DescribePSTNActiveSessionList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribePSTNActiveSessionListResponse`.
-
#DescribeSessionDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeSessionDetailResponse`.
-
#DescribeSkillGroupInfoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeSkillGroupInfoListResponse`.
-
#DescribeStaffInfoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeStaffInfoListResponse`.
-
#DescribeStaffStatusHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeStaffStatusHistoryResponse`.
-
#DescribeStaffStatusMetrics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeStaffStatusMetricsResponse`.
-
#DescribeTelCallInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeTelCallInfoResponse`.
-
#DescribeTelCdr(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeTelCdrResponse`.
-
#DescribeTelRecordAsr(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeTelRecordAsrResponse`.
-
#DescribeTelSession(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeTelSessionResponse`.
-
#DisableCCCPhoneNumber(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DisableCCCPhoneNumberResponse`.
-
#ForceMemberOffline(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ForceMemberOfflineResponse`.
-
#HangUpCall(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::HangUpCallResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#ModifyCompanyApply(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ModifyCompanyApplyResponse`.
-
#ModifyExtension(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ModifyExtensionResponse`.
-
#ModifyOwnNumberApply(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ModifyOwnNumberApplyResponse`.
-
#ModifyStaff(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ModifyStaffResponse`.
-
#ModifyStaffPassword(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ModifyStaffPasswordResponse`.
-
#PauseAutoCalloutTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::PauseAutoCalloutTaskResponse`.
-
#PausePredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::PausePredictiveDialingCampaignResponse`.
-
#ResetExtensionPassword(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ResetExtensionPasswordResponse`.
-
#RestoreMemberOnline(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::RestoreMemberOnlineResponse`.
-
#ResumeAutoCalloutTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ResumeAutoCalloutTaskResponse`.
-
#ResumePredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ResumePredictiveDialingCampaignResponse`.
-
#SetStaffStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::SetStaffStatusResponse`.
-
#StopAutoCalloutTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::StopAutoCalloutTaskResponse`.
-
#TransferToManual(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::TransferToManualResponse`.
-
#UnbindNumberCallOutSkillGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::UnbindNumberCallOutSkillGroupResponse`.
-
#UnbindStaffSkillGroupList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::UnbindStaffSkillGroupListResponse`.
-
#UpdateCCCSkillGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::UpdateCCCSkillGroupResponse`.
-
#UpdatePredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::UpdatePredictiveDialingCampaignResponse`.
-
#UploadIvrAudio(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::UploadIvrAudioResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20200210/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2020-02-10' api_endpoint = 'ccc.tencentcloudapi.com' sdk_version = 'CCC_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#AbortAgentCruiseDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::AbortAgentCruiseDialingCampaignResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20200210/client.rb', line 37 def AbortAgentCruiseDialingCampaign(request) body = send_request('AbortAgentCruiseDialingCampaign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AbortAgentCruiseDialingCampaignResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AbortPredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::AbortPredictiveDialingCampaignResponse`
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20200210/client.rb', line 61 def AbortPredictiveDialingCampaign(request) body = send_request('AbortPredictiveDialingCampaign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AbortPredictiveDialingCampaignResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BindNumberCallInInterface(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::BindNumberCallInInterfaceResponse`
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20200210/client.rb', line 85 def BindNumberCallInInterface(request) body = send_request('BindNumberCallInInterface', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindNumberCallInInterfaceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BindNumberCallOutSkillGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::BindNumberCallOutSkillGroupResponse`
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/v20200210/client.rb', line 109 def BindNumberCallOutSkillGroup(request) body = send_request('BindNumberCallOutSkillGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindNumberCallOutSkillGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BindStaffSkillGroupList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::BindStaffSkillGroupListResponse`
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/v20200210/client.rb', line 133 def BindStaffSkillGroupList(request) body = send_request('BindStaffSkillGroupList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindStaffSkillGroupListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ControlAIConversation(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ControlAIConversationResponse`
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/v20200210/client.rb', line 157 def ControlAIConversation(request) body = send_request('ControlAIConversation', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlAIConversationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAdminURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateAdminURLResponse`
235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 |
# File 'lib/v20200210/client.rb', line 235 def CreateAdminURL(request) body = send_request('CreateAdminURL', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAdminURLResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAgentCruiseDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateAgentCruiseDialingCampaignResponse`
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 |
# File 'lib/v20200210/client.rb', line 259 def CreateAgentCruiseDialingCampaign(request) body = send_request('CreateAgentCruiseDialingCampaign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAgentCruiseDialingCampaignResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAIAgentCall(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateAIAgentCallResponse`
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'lib/v20200210/client.rb', line 185 def CreateAIAgentCall(request) body = send_request('CreateAIAgentCall', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAIAgentCallResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAICall(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateAICallResponse`
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 |
# File 'lib/v20200210/client.rb', line 211 def CreateAICall(request) body = send_request('CreateAICall', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAICallResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAutoCalloutTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateAutoCalloutTaskResponse`
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 |
# File 'lib/v20200210/client.rb', line 283 def CreateAutoCalloutTask(request) body = send_request('CreateAutoCalloutTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAutoCalloutTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCallOutSession(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateCallOutSessionResponse`
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 |
# File 'lib/v20200210/client.rb', line 335 def CreateCallOutSession(request) body = send_request('CreateCallOutSession', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCallOutSessionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCarrierPrivilegeNumberApplicant(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateCarrierPrivilegeNumberApplicantResponse`
359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 |
# File 'lib/v20200210/client.rb', line 359 def CreateCarrierPrivilegeNumberApplicant(request) body = send_request('CreateCarrierPrivilegeNumberApplicant', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCarrierPrivilegeNumberApplicantResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCCCSkillGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateCCCSkillGroupResponse`
307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 |
# File 'lib/v20200210/client.rb', line 307 def CreateCCCSkillGroup(request) body = send_request('CreateCCCSkillGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCCCSkillGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCompanyApply(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateCompanyApplyResponse`
383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 |
# File 'lib/v20200210/client.rb', line 383 def CreateCompanyApply(request) body = send_request('CreateCompanyApply', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCompanyApplyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateExtension(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateExtensionResponse`
407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 |
# File 'lib/v20200210/client.rb', line 407 def CreateExtension(request) body = send_request('CreateExtension', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateExtensionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateIVRSession(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateIVRSessionResponse`
431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'lib/v20200210/client.rb', line 431 def CreateIVRSession(request) body = send_request('CreateIVRSession', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateIVRSessionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateOwnNumberApply(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateOwnNumberApplyResponse`
455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 |
# File 'lib/v20200210/client.rb', line 455 def CreateOwnNumberApply(request) body = send_request('CreateOwnNumberApply', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateOwnNumberApplyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreatePredictiveDialingCampaignResponse`
479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 |
# File 'lib/v20200210/client.rb', line 479 def CreatePredictiveDialingCampaign(request) body = send_request('CreatePredictiveDialingCampaign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePredictiveDialingCampaignResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSDKLoginToken(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateSDKLoginTokenResponse`
503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 |
# File 'lib/v20200210/client.rb', line 503 def CreateSDKLoginToken(request) body = send_request('CreateSDKLoginToken', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSDKLoginTokenResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateStaff(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateStaffResponse`
527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 |
# File 'lib/v20200210/client.rb', line 527 def CreateStaff(request) body = send_request('CreateStaff', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateStaffResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateUserSig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::CreateUserSigResponse`
551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 |
# File 'lib/v20200210/client.rb', line 551 def CreateUserSig(request) body = send_request('CreateUserSig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateUserSigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCCCSkillGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DeleteCCCSkillGroupResponse`
575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 |
# File 'lib/v20200210/client.rb', line 575 def DeleteCCCSkillGroup(request) body = send_request('DeleteCCCSkillGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCCCSkillGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteExtension(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DeleteExtensionResponse`
599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 |
# File 'lib/v20200210/client.rb', line 599 def DeleteExtension(request) body = send_request('DeleteExtension', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteExtensionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DeletePredictiveDialingCampaignResponse`
623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 |
# File 'lib/v20200210/client.rb', line 623 def DeletePredictiveDialingCampaign(request) body = send_request('DeletePredictiveDialingCampaign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePredictiveDialingCampaignResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteStaff(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DeleteStaffResponse`
647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 |
# File 'lib/v20200210/client.rb', line 647 def DeleteStaff(request) body = send_request('DeleteStaff', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteStaffResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeActiveCarrierPrivilegeNumber(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeActiveCarrierPrivilegeNumberResponse`
767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 |
# File 'lib/v20200210/client.rb', line 767 def DescribeActiveCarrierPrivilegeNumber(request) body = send_request('DescribeActiveCarrierPrivilegeNumber', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeActiveCarrierPrivilegeNumberResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAgentCruiseDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAgentCruiseDialingCampaignResponse`
791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 |
# File 'lib/v20200210/client.rb', line 791 def DescribeAgentCruiseDialingCampaign(request) body = send_request('DescribeAgentCruiseDialingCampaign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAgentCruiseDialingCampaignResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAIAgentInfoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAIAgentInfoListResponse`
671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 |
# File 'lib/v20200210/client.rb', line 671 def DescribeAIAgentInfoList(request) body = send_request('DescribeAIAgentInfoList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAIAgentInfoListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAIAnalysisResult(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAIAnalysisResultResponse`
695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 |
# File 'lib/v20200210/client.rb', line 695 def DescribeAIAnalysisResult(request) body = send_request('DescribeAIAnalysisResult', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAIAnalysisResultResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAICallExtractResult(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAICallExtractResultResponse`
719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 |
# File 'lib/v20200210/client.rb', line 719 def DescribeAICallExtractResult(request) body = send_request('DescribeAICallExtractResult', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAICallExtractResultResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAILatency(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAILatencyResponse`
743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 |
# File 'lib/v20200210/client.rb', line 743 def DescribeAILatency(request) body = send_request('DescribeAILatency', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAILatencyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAutoCalloutTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAutoCalloutTaskResponse`
815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 |
# File 'lib/v20200210/client.rb', line 815 def DescribeAutoCalloutTask(request) body = send_request('DescribeAutoCalloutTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAutoCalloutTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAutoCalloutTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeAutoCalloutTasksResponse`
839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 |
# File 'lib/v20200210/client.rb', line 839 def DescribeAutoCalloutTasks(request) body = send_request('DescribeAutoCalloutTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAutoCalloutTasksResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCallInMetrics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeCallInMetricsResponse`
887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 |
# File 'lib/v20200210/client.rb', line 887 def DescribeCallInMetrics(request) body = send_request('DescribeCallInMetrics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCallInMetricsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCarrierPrivilegeNumberApplicants(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeCarrierPrivilegeNumberApplicantsResponse`
911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 |
# File 'lib/v20200210/client.rb', line 911 def DescribeCarrierPrivilegeNumberApplicants(request) body = send_request('DescribeCarrierPrivilegeNumberApplicants', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCarrierPrivilegeNumberApplicantsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCCCBuyInfoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeCCCBuyInfoListResponse`
863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 |
# File 'lib/v20200210/client.rb', line 863 def DescribeCCCBuyInfoList(request) body = send_request('DescribeCCCBuyInfoList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCCCBuyInfoListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeChatMessages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeChatMessagesResponse`
937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 |
# File 'lib/v20200210/client.rb', line 937 def DescribeChatMessages(request) body = send_request('DescribeChatMessages', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeChatMessagesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCompanyList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeCompanyListResponse`
961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 |
# File 'lib/v20200210/client.rb', line 961 def DescribeCompanyList(request) body = send_request('DescribeCompanyList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCompanyListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeExtension(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeExtensionResponse`
985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 |
# File 'lib/v20200210/client.rb', line 985 def DescribeExtension(request) body = send_request('DescribeExtension', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeExtensionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeExtensions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeExtensionsResponse`
1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 |
# File 'lib/v20200210/client.rb', line 1009 def DescribeExtensions(request) body = send_request('DescribeExtensions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeExtensionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeIMCdrList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeIMCdrListResponse`
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 |
# File 'lib/v20200210/client.rb', line 1033 def DescribeIMCdrList(request) body = send_request('DescribeIMCdrList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIMCdrListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeIMCdrs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeIMCdrsResponse`
1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 |
# File 'lib/v20200210/client.rb', line 1057 def DescribeIMCdrs(request) body = send_request('DescribeIMCdrs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIMCdrsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeIvrAudioList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeIvrAudioListResponse`
1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 |
# File 'lib/v20200210/client.rb', line 1081 def DescribeIvrAudioList(request) body = send_request('DescribeIvrAudioList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIvrAudioListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeNumbers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeNumbersResponse`
1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 |
# File 'lib/v20200210/client.rb', line 1105 def DescribeNumbers(request) body = send_request('DescribeNumbers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeNumbersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribePredictiveDialingCampaignResponse`
1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 |
# File 'lib/v20200210/client.rb', line 1153 def DescribePredictiveDialingCampaign(request) body = send_request('DescribePredictiveDialingCampaign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePredictiveDialingCampaignResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePredictiveDialingCampaigns(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribePredictiveDialingCampaignsResponse`
1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 |
# File 'lib/v20200210/client.rb', line 1177 def DescribePredictiveDialingCampaigns(request) body = send_request('DescribePredictiveDialingCampaigns', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePredictiveDialingCampaignsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePredictiveDialingSessions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribePredictiveDialingSessionsResponse`
1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 |
# File 'lib/v20200210/client.rb', line 1201 def DescribePredictiveDialingSessions(request) body = send_request('DescribePredictiveDialingSessions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePredictiveDialingSessionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeProtectedTelCdr(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeProtectedTelCdrResponse`
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 |
# File 'lib/v20200210/client.rb', line 1225 def DescribeProtectedTelCdr(request) body = send_request('DescribeProtectedTelCdr', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProtectedTelCdrResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePSTNActiveSessionList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribePSTNActiveSessionListResponse`
1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 |
# File 'lib/v20200210/client.rb', line 1129 def DescribePSTNActiveSessionList(request) body = send_request('DescribePSTNActiveSessionList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePSTNActiveSessionListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSessionDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeSessionDetailResponse`
1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 |
# File 'lib/v20200210/client.rb', line 1249 def DescribeSessionDetail(request) body = send_request('DescribeSessionDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSessionDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSkillGroupInfoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeSkillGroupInfoListResponse`
1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 |
# File 'lib/v20200210/client.rb', line 1273 def DescribeSkillGroupInfoList(request) body = send_request('DescribeSkillGroupInfoList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSkillGroupInfoListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStaffInfoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeStaffInfoListResponse`
1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 |
# File 'lib/v20200210/client.rb', line 1297 def DescribeStaffInfoList(request) body = send_request('DescribeStaffInfoList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStaffInfoListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStaffStatusHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeStaffStatusHistoryResponse`
1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 |
# File 'lib/v20200210/client.rb', line 1321 def DescribeStaffStatusHistory(request) body = send_request('DescribeStaffStatusHistory', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStaffStatusHistoryResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStaffStatusMetrics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeStaffStatusMetricsResponse`
1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 |
# File 'lib/v20200210/client.rb', line 1345 def DescribeStaffStatusMetrics(request) body = send_request('DescribeStaffStatusMetrics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStaffStatusMetricsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTelCallInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeTelCallInfoResponse`
1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 |
# File 'lib/v20200210/client.rb', line 1369 def DescribeTelCallInfo(request) body = send_request('DescribeTelCallInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTelCallInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTelCdr(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeTelCdrResponse`
1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 |
# File 'lib/v20200210/client.rb', line 1393 def DescribeTelCdr(request) body = send_request('DescribeTelCdr', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTelCdrResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTelRecordAsr(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeTelRecordAsrResponse`
1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 |
# File 'lib/v20200210/client.rb', line 1417 def DescribeTelRecordAsr(request) body = send_request('DescribeTelRecordAsr', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTelRecordAsrResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTelSession(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DescribeTelSessionResponse`
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 |
# File 'lib/v20200210/client.rb', line 1441 def DescribeTelSession(request) body = send_request('DescribeTelSession', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTelSessionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DisableCCCPhoneNumber(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::DisableCCCPhoneNumberResponse`
1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 |
# File 'lib/v20200210/client.rb', line 1465 def DisableCCCPhoneNumber(request) body = send_request('DisableCCCPhoneNumber', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisableCCCPhoneNumberResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ForceMemberOffline(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ForceMemberOfflineResponse`
1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 |
# File 'lib/v20200210/client.rb', line 1489 def ForceMemberOffline(request) body = send_request('ForceMemberOffline', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ForceMemberOfflineResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#HangUpCall(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::HangUpCallResponse`
1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 |
# File 'lib/v20200210/client.rb', line 1513 def HangUpCall(request) body = send_request('HangUpCall', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = HangUpCallResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCompanyApply(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ModifyCompanyApplyResponse`
1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 |
# File 'lib/v20200210/client.rb', line 1537 def ModifyCompanyApply(request) body = send_request('ModifyCompanyApply', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCompanyApplyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyExtension(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ModifyExtensionResponse`
1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 |
# File 'lib/v20200210/client.rb', line 1561 def ModifyExtension(request) body = send_request('ModifyExtension', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyExtensionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyOwnNumberApply(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ModifyOwnNumberApplyResponse`
1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 |
# File 'lib/v20200210/client.rb', line 1585 def ModifyOwnNumberApply(request) body = send_request('ModifyOwnNumberApply', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyOwnNumberApplyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyStaff(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ModifyStaffResponse`
1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 |
# File 'lib/v20200210/client.rb', line 1609 def ModifyStaff(request) body = send_request('ModifyStaff', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyStaffResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyStaffPassword(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ModifyStaffPasswordResponse`
1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 |
# File 'lib/v20200210/client.rb', line 1633 def ModifyStaffPassword(request) body = send_request('ModifyStaffPassword', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyStaffPasswordResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#PauseAutoCalloutTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::PauseAutoCalloutTaskResponse`
1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 |
# File 'lib/v20200210/client.rb', line 1657 def PauseAutoCalloutTask(request) body = send_request('PauseAutoCalloutTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PauseAutoCalloutTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#PausePredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::PausePredictiveDialingCampaignResponse`
1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 |
# File 'lib/v20200210/client.rb', line 1681 def PausePredictiveDialingCampaign(request) body = send_request('PausePredictiveDialingCampaign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PausePredictiveDialingCampaignResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ResetExtensionPassword(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ResetExtensionPasswordResponse`
1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 |
# File 'lib/v20200210/client.rb', line 1705 def ResetExtensionPassword(request) body = send_request('ResetExtensionPassword', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResetExtensionPasswordResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RestoreMemberOnline(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::RestoreMemberOnlineResponse`
1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 |
# File 'lib/v20200210/client.rb', line 1729 def RestoreMemberOnline(request) body = send_request('RestoreMemberOnline', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RestoreMemberOnlineResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ResumeAutoCalloutTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ResumeAutoCalloutTaskResponse`
1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 |
# File 'lib/v20200210/client.rb', line 1753 def ResumeAutoCalloutTask(request) body = send_request('ResumeAutoCalloutTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResumeAutoCalloutTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ResumePredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::ResumePredictiveDialingCampaignResponse`
1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 |
# File 'lib/v20200210/client.rb', line 1777 def ResumePredictiveDialingCampaign(request) body = send_request('ResumePredictiveDialingCampaign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResumePredictiveDialingCampaignResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SetStaffStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::SetStaffStatusResponse`
1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'lib/v20200210/client.rb', line 1801 def SetStaffStatus(request) body = send_request('SetStaffStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SetStaffStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#StopAutoCalloutTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::StopAutoCalloutTaskResponse`
1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 |
# File 'lib/v20200210/client.rb', line 1825 def StopAutoCalloutTask(request) body = send_request('StopAutoCalloutTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = StopAutoCalloutTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#TransferToManual(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::TransferToManualResponse`
1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 |
# File 'lib/v20200210/client.rb', line 1849 def TransferToManual(request) body = send_request('TransferToManual', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = TransferToManualResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UnbindNumberCallOutSkillGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::UnbindNumberCallOutSkillGroupResponse`
1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 |
# File 'lib/v20200210/client.rb', line 1873 def UnbindNumberCallOutSkillGroup(request) body = send_request('UnbindNumberCallOutSkillGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnbindNumberCallOutSkillGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UnbindStaffSkillGroupList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::UnbindStaffSkillGroupListResponse`
1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 |
# File 'lib/v20200210/client.rb', line 1897 def UnbindStaffSkillGroupList(request) body = send_request('UnbindStaffSkillGroupList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnbindStaffSkillGroupListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateCCCSkillGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::UpdateCCCSkillGroupResponse`
1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 |
# File 'lib/v20200210/client.rb', line 1921 def UpdateCCCSkillGroup(request) body = send_request('UpdateCCCSkillGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateCCCSkillGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdatePredictiveDialingCampaign(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::UpdatePredictiveDialingCampaignResponse`
1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 |
# File 'lib/v20200210/client.rb', line 1945 def UpdatePredictiveDialingCampaign(request) body = send_request('UpdatePredictiveDialingCampaign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdatePredictiveDialingCampaignResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UploadIvrAudio(request) ⇒ Object
@rtype: :class:‘Tencentcloud::ccc::V20200210::UploadIvrAudioResponse`
1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 |
# File 'lib/v20200210/client.rb', line 1969 def UploadIvrAudio(request) body = send_request('UploadIvrAudio', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UploadIvrAudioResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |