Class: TencentCloud::Iss::V20230517::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Iss::V20230517::Client
- Defined in:
- lib/v20230517/client.rb
Instance Method Summary collapse
-
#AddAITask(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::AddAITaskResponse. -
#AddOrganization(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::AddOrganizationResponse. -
#AddRecordBackupPlan(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::AddRecordBackupPlanResponse. -
#AddRecordBackupTemplate(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::AddRecordBackupTemplateResponse. -
#AddRecordPlan(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::AddRecordPlanResponse. -
#AddRecordRetrieveTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::AddRecordRetrieveTaskResponse. -
#AddRecordTemplate(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::AddRecordTemplateResponse. -
#AddStreamAuth(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::AddStreamAuthResponse. -
#AddUserDevice(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::AddUserDeviceResponse. -
#BatchDeleteVideoDownloadTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::BatchDeleteVideoDownloadTaskResponse. -
#BatchOperateDevice(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::BatchOperateDeviceResponse. -
#CallISAPI(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::CallISAPIResponse. -
#ControlDevicePreset(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ControlDevicePresetResponse. -
#ControlDevicePTZ(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ControlDevicePTZResponse. -
#ControlDeviceSnapshot(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ControlDeviceSnapshotResponse. -
#ControlDeviceStream(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ControlDeviceStreamResponse. -
#ControlRecord(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ControlRecordResponse. -
#ControlRecordTimeline(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ControlRecordTimelineResponse. -
#CreateVideoDownloadTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::CreateVideoDownloadTaskResponse. -
#DeleteAITask(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DeleteAITaskResponse. -
#DeleteDomain(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DeleteDomainResponse. -
#DeleteGateway(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DeleteGatewayResponse. -
#DeleteOrganization(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DeleteOrganizationResponse. -
#DeleteRecordBackupPlan(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DeleteRecordBackupPlanResponse. -
#DeleteRecordBackupTemplate(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DeleteRecordBackupTemplateResponse. -
#DeleteRecordPlan(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DeleteRecordPlanResponse. -
#DeleteRecordRetrieveTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DeleteRecordRetrieveTaskResponse. -
#DeleteRecordTemplate(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DeleteRecordTemplateResponse. -
#DeleteTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DeleteTaskResponse. -
#DeleteUserDevice(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DeleteUserDeviceResponse. -
#DescribeAITask(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeAITaskResponse. -
#DescribeAITaskResult(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeAITaskResultResponse. -
#DescribeCNAME(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeCNAMEResponse. -
#DescribeDeviceChannel(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeDeviceChannelResponse. -
#DescribeDevicePreset(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeDevicePresetResponse. -
#DescribeDeviceRegion(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeDeviceRegionResponse. -
#DescribeDomain(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeDomainResponse. -
#DescribeDomainRegion(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeDomainRegionResponse. -
#DescribeGateway(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeGatewayResponse. -
#DescribeGatewayMonitor(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeGatewayMonitorResponse. -
#DescribeGatewayProtocol(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeGatewayProtocolResponse. -
#DescribeGatewayVersion(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeGatewayVersionResponse. -
#DescribeGBDeviceAddr(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeGBDeviceAddrResponse. -
#DescribeOrganization(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeOrganizationResponse. -
#DescribeRecordBackupPlan(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeRecordBackupPlanResponse. -
#DescribeRecordBackupTemplate(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeRecordBackupTemplateResponse. -
#DescribeRecordFile(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeRecordFileResponse. -
#DescribeRecordPlan(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeRecordPlanResponse. -
#DescribeRecordPlaybackUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeRecordPlaybackUrlResponse. -
#DescribeRecordRetrieveTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeRecordRetrieveTaskResponse. -
#DescribeRecordSlice(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeRecordSliceResponse. -
#DescribeRecordTemplate(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeRecordTemplateResponse. -
#DescribeStreamAuth(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeStreamAuthResponse. -
#DescribeTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeTaskResponse. -
#DescribeUserDevice(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeUserDeviceResponse. -
#DescribeUserDeviceList(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeUserDeviceListResponse. -
#DescribeVideoBitRate(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeVideoBitRateResponse. -
#DescribeVideoDownloadUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::DescribeVideoDownloadUrlResponse. -
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#ListAITasks(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListAITasksResponse. -
#ListDevices(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListDevicesResponse. -
#ListDeviceSnapshots(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListDeviceSnapshotsResponse. -
#ListGatewayDevices(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListGatewayDevicesResponse. -
#ListGateways(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListGatewaysResponse. -
#ListOrganizationChannelNumbers(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListOrganizationChannelNumbersResponse. -
#ListOrganizationChannels(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListOrganizationChannelsResponse. -
#ListRecordBackupPlanDevices(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListRecordBackupPlanDevicesResponse. -
#ListRecordBackupPlans(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListRecordBackupPlansResponse. -
#ListRecordBackupTemplates(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListRecordBackupTemplatesResponse. -
#ListRecordPlanChannels(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListRecordPlanChannelsResponse. -
#ListRecordPlanDevices(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListRecordPlanDevicesResponse. -
#ListRecordPlans(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListRecordPlansResponse. -
#ListRecordRetrieveTasks(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListRecordRetrieveTasksResponse. -
#ListRecordTemplates(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListRecordTemplatesResponse. -
#ListSubTasks(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListSubTasksResponse. -
#ListTasks(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListTasksResponse. -
#ListVideoDownloadTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::ListVideoDownloadTaskResponse. -
#PlayRecord(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::PlayRecordResponse. -
#QueryForbidPlayChannelList(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::QueryForbidPlayChannelListResponse. -
#RefreshDeviceChannel(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::RefreshDeviceChannelResponse. -
#SetForbidPlayChannels(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::SetForbidPlayChannelsResponse. -
#UpdateAITask(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::UpdateAITaskResponse. -
#UpdateAITaskStatus(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::UpdateAITaskStatusResponse. -
#UpdateDeviceOrganization(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::UpdateDeviceOrganizationResponse. -
#UpdateDeviceStatus(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::UpdateDeviceStatusResponse. -
#UpdateGateway(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::UpdateGatewayResponse. -
#UpdateOrganization(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::UpdateOrganizationResponse. -
#UpdateRecordBackupPlan(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::UpdateRecordBackupPlanResponse. -
#UpdateRecordBackupTemplate(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::UpdateRecordBackupTemplateResponse. -
#UpdateRecordPlan(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::UpdateRecordPlanResponse. -
#UpdateRecordTemplate(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::UpdateRecordTemplateResponse. -
#UpdateUserDevice(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::UpdateUserDeviceResponse. -
#UpgradeGateway(request) ⇒ Object
@rtype: :class:
Tencentcloud::iss::V20230517::UpgradeGatewayResponse.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20230517/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2023-05-17' api_endpoint = 'iss.tencentcloudapi.com' sdk_version = 'ISS_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#AddAITask(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::AddAITaskResponse
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20230517/client.rb', line 37 def AddAITask(request) body = send_request('AddAITask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddAITaskResponse.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 |
#AddOrganization(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::AddOrganizationResponse
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20230517/client.rb', line 61 def AddOrganization(request) body = send_request('AddOrganization', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddOrganizationResponse.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 |
#AddRecordBackupPlan(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::AddRecordBackupPlanResponse
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20230517/client.rb', line 85 def AddRecordBackupPlan(request) body = send_request('AddRecordBackupPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddRecordBackupPlanResponse.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 |
#AddRecordBackupTemplate(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::AddRecordBackupTemplateResponse
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/v20230517/client.rb', line 112 def AddRecordBackupTemplate(request) body = send_request('AddRecordBackupTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddRecordBackupTemplateResponse.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 |
#AddRecordPlan(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::AddRecordPlanResponse
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/v20230517/client.rb', line 136 def AddRecordPlan(request) body = send_request('AddRecordPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddRecordPlanResponse.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 |
#AddRecordRetrieveTask(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::AddRecordRetrieveTaskResponse
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'lib/v20230517/client.rb', line 160 def AddRecordRetrieveTask(request) body = send_request('AddRecordRetrieveTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddRecordRetrieveTaskResponse.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 |
#AddRecordTemplate(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::AddRecordTemplateResponse
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
# File 'lib/v20230517/client.rb', line 184 def AddRecordTemplate(request) body = send_request('AddRecordTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddRecordTemplateResponse.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 |
#AddStreamAuth(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::AddStreamAuthResponse
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 |
# File 'lib/v20230517/client.rb', line 208 def AddStreamAuth(request) body = send_request('AddStreamAuth', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddStreamAuthResponse.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 |
#AddUserDevice(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::AddUserDeviceResponse
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 |
# File 'lib/v20230517/client.rb', line 232 def AddUserDevice(request) body = send_request('AddUserDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddUserDeviceResponse.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 |
#BatchDeleteVideoDownloadTask(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::BatchDeleteVideoDownloadTaskResponse
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 |
# File 'lib/v20230517/client.rb', line 256 def BatchDeleteVideoDownloadTask(request) body = send_request('BatchDeleteVideoDownloadTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchDeleteVideoDownloadTaskResponse.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 |
#BatchOperateDevice(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::BatchOperateDeviceResponse
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 |
# File 'lib/v20230517/client.rb', line 280 def BatchOperateDevice(request) body = send_request('BatchOperateDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchOperateDeviceResponse.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 |
#CallISAPI(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::CallISAPIResponse
304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 |
# File 'lib/v20230517/client.rb', line 304 def CallISAPI(request) body = send_request('CallISAPI', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CallISAPIResponse.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 |
#ControlDevicePreset(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ControlDevicePresetResponse
352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 |
# File 'lib/v20230517/client.rb', line 352 def ControlDevicePreset(request) body = send_request('ControlDevicePreset', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlDevicePresetResponse.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 |
#ControlDevicePTZ(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ControlDevicePTZResponse
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 |
# File 'lib/v20230517/client.rb', line 328 def ControlDevicePTZ(request) body = send_request('ControlDevicePTZ', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlDevicePTZResponse.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 |
#ControlDeviceSnapshot(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ControlDeviceSnapshotResponse
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 |
# File 'lib/v20230517/client.rb', line 376 def ControlDeviceSnapshot(request) body = send_request('ControlDeviceSnapshot', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlDeviceSnapshotResponse.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 |
#ControlDeviceStream(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ControlDeviceStreamResponse
400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 |
# File 'lib/v20230517/client.rb', line 400 def ControlDeviceStream(request) body = send_request('ControlDeviceStream', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlDeviceStreamResponse.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 |
#ControlRecord(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ControlRecordResponse
424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 |
# File 'lib/v20230517/client.rb', line 424 def ControlRecord(request) body = send_request('ControlRecord', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlRecordResponse.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 |
#ControlRecordTimeline(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ControlRecordTimelineResponse
448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 |
# File 'lib/v20230517/client.rb', line 448 def ControlRecordTimeline(request) body = send_request('ControlRecordTimeline', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlRecordTimelineResponse.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 |
#CreateVideoDownloadTask(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::CreateVideoDownloadTaskResponse
472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 |
# File 'lib/v20230517/client.rb', line 472 def CreateVideoDownloadTask(request) body = send_request('CreateVideoDownloadTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateVideoDownloadTaskResponse.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 |
#DeleteAITask(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DeleteAITaskResponse
496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 |
# File 'lib/v20230517/client.rb', line 496 def DeleteAITask(request) body = send_request('DeleteAITask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAITaskResponse.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 |
#DeleteDomain(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DeleteDomainResponse
520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 |
# File 'lib/v20230517/client.rb', line 520 def DeleteDomain(request) body = send_request('DeleteDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteDomainResponse.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 |
#DeleteGateway(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DeleteGatewayResponse
544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 |
# File 'lib/v20230517/client.rb', line 544 def DeleteGateway(request) body = send_request('DeleteGateway', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteGatewayResponse.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 |
#DeleteOrganization(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DeleteOrganizationResponse
568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 |
# File 'lib/v20230517/client.rb', line 568 def DeleteOrganization(request) body = send_request('DeleteOrganization', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteOrganizationResponse.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 |
#DeleteRecordBackupPlan(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DeleteRecordBackupPlanResponse
592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 |
# File 'lib/v20230517/client.rb', line 592 def DeleteRecordBackupPlan(request) body = send_request('DeleteRecordBackupPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRecordBackupPlanResponse.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 |
#DeleteRecordBackupTemplate(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DeleteRecordBackupTemplateResponse
616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 |
# File 'lib/v20230517/client.rb', line 616 def DeleteRecordBackupTemplate(request) body = send_request('DeleteRecordBackupTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRecordBackupTemplateResponse.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 |
#DeleteRecordPlan(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DeleteRecordPlanResponse
640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 |
# File 'lib/v20230517/client.rb', line 640 def DeleteRecordPlan(request) body = send_request('DeleteRecordPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRecordPlanResponse.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 |
#DeleteRecordRetrieveTask(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DeleteRecordRetrieveTaskResponse
664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 |
# File 'lib/v20230517/client.rb', line 664 def DeleteRecordRetrieveTask(request) body = send_request('DeleteRecordRetrieveTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRecordRetrieveTaskResponse.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 |
#DeleteRecordTemplate(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DeleteRecordTemplateResponse
688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 |
# File 'lib/v20230517/client.rb', line 688 def DeleteRecordTemplate(request) body = send_request('DeleteRecordTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRecordTemplateResponse.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 |
#DeleteTask(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DeleteTaskResponse
712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 |
# File 'lib/v20230517/client.rb', line 712 def DeleteTask(request) body = send_request('DeleteTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTaskResponse.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 |
#DeleteUserDevice(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DeleteUserDeviceResponse
736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 |
# File 'lib/v20230517/client.rb', line 736 def DeleteUserDevice(request) body = send_request('DeleteUserDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteUserDeviceResponse.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 |
#DescribeAITask(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeAITaskResponse
760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 |
# File 'lib/v20230517/client.rb', line 760 def DescribeAITask(request) body = send_request('DescribeAITask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAITaskResponse.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 |
#DescribeAITaskResult(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeAITaskResultResponse
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 |
# File 'lib/v20230517/client.rb', line 784 def DescribeAITaskResult(request) body = send_request('DescribeAITaskResult', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAITaskResultResponse.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 |
#DescribeCNAME(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeCNAMEResponse
808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 |
# File 'lib/v20230517/client.rb', line 808 def DescribeCNAME(request) body = send_request('DescribeCNAME', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCNAMEResponse.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 |
#DescribeDeviceChannel(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeDeviceChannelResponse
832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 |
# File 'lib/v20230517/client.rb', line 832 def DescribeDeviceChannel(request) body = send_request('DescribeDeviceChannel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceChannelResponse.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 |
#DescribeDevicePreset(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeDevicePresetResponse
856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 |
# File 'lib/v20230517/client.rb', line 856 def DescribeDevicePreset(request) body = send_request('DescribeDevicePreset', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDevicePresetResponse.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 |
#DescribeDeviceRegion(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeDeviceRegionResponse
880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 |
# File 'lib/v20230517/client.rb', line 880 def DescribeDeviceRegion(request) body = send_request('DescribeDeviceRegion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceRegionResponse.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 |
#DescribeDomain(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeDomainResponse
904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 |
# File 'lib/v20230517/client.rb', line 904 def DescribeDomain(request) body = send_request('DescribeDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainResponse.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 |
#DescribeDomainRegion(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeDomainRegionResponse
928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 |
# File 'lib/v20230517/client.rb', line 928 def DescribeDomainRegion(request) body = send_request('DescribeDomainRegion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainRegionResponse.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 |
#DescribeGateway(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeGatewayResponse
976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 |
# File 'lib/v20230517/client.rb', line 976 def DescribeGateway(request) body = send_request('DescribeGateway', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGatewayResponse.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 |
#DescribeGatewayMonitor(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeGatewayMonitorResponse
1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 |
# File 'lib/v20230517/client.rb', line 1000 def DescribeGatewayMonitor(request) body = send_request('DescribeGatewayMonitor', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGatewayMonitorResponse.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 |
#DescribeGatewayProtocol(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeGatewayProtocolResponse
1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 |
# File 'lib/v20230517/client.rb', line 1024 def DescribeGatewayProtocol(request) body = send_request('DescribeGatewayProtocol', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGatewayProtocolResponse.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 |
#DescribeGatewayVersion(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeGatewayVersionResponse
1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 |
# File 'lib/v20230517/client.rb', line 1048 def DescribeGatewayVersion(request) body = send_request('DescribeGatewayVersion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGatewayVersionResponse.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 |
#DescribeGBDeviceAddr(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeGBDeviceAddrResponse
952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 |
# File 'lib/v20230517/client.rb', line 952 def DescribeGBDeviceAddr(request) body = send_request('DescribeGBDeviceAddr', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGBDeviceAddrResponse.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 |
#DescribeOrganization(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeOrganizationResponse
1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 |
# File 'lib/v20230517/client.rb', line 1072 def DescribeOrganization(request) body = send_request('DescribeOrganization', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeOrganizationResponse.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 |
#DescribeRecordBackupPlan(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeRecordBackupPlanResponse
1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 |
# File 'lib/v20230517/client.rb', line 1096 def DescribeRecordBackupPlan(request) body = send_request('DescribeRecordBackupPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordBackupPlanResponse.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 |
#DescribeRecordBackupTemplate(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeRecordBackupTemplateResponse
1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 |
# File 'lib/v20230517/client.rb', line 1120 def DescribeRecordBackupTemplate(request) body = send_request('DescribeRecordBackupTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordBackupTemplateResponse.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 |
#DescribeRecordFile(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeRecordFileResponse
1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 |
# File 'lib/v20230517/client.rb', line 1144 def DescribeRecordFile(request) body = send_request('DescribeRecordFile', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordFileResponse.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 |
#DescribeRecordPlan(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeRecordPlanResponse
1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 |
# File 'lib/v20230517/client.rb', line 1168 def DescribeRecordPlan(request) body = send_request('DescribeRecordPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordPlanResponse.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 |
#DescribeRecordPlaybackUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeRecordPlaybackUrlResponse
1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 |
# File 'lib/v20230517/client.rb', line 1192 def DescribeRecordPlaybackUrl(request) body = send_request('DescribeRecordPlaybackUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordPlaybackUrlResponse.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 |
#DescribeRecordRetrieveTask(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeRecordRetrieveTaskResponse
1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 |
# File 'lib/v20230517/client.rb', line 1216 def DescribeRecordRetrieveTask(request) body = send_request('DescribeRecordRetrieveTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordRetrieveTaskResponse.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 |
#DescribeRecordSlice(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeRecordSliceResponse
1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 |
# File 'lib/v20230517/client.rb', line 1241 def DescribeRecordSlice(request) body = send_request('DescribeRecordSlice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordSliceResponse.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 |
#DescribeRecordTemplate(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeRecordTemplateResponse
1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 |
# File 'lib/v20230517/client.rb', line 1265 def DescribeRecordTemplate(request) body = send_request('DescribeRecordTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordTemplateResponse.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 |
#DescribeStreamAuth(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeStreamAuthResponse
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 |
# File 'lib/v20230517/client.rb', line 1289 def DescribeStreamAuth(request) body = send_request('DescribeStreamAuth', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStreamAuthResponse.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 |
#DescribeTask(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeTaskResponse
1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'lib/v20230517/client.rb', line 1313 def DescribeTask(request) body = send_request('DescribeTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTaskResponse.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 |
#DescribeUserDevice(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeUserDeviceResponse
1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 |
# File 'lib/v20230517/client.rb', line 1337 def DescribeUserDevice(request) body = send_request('DescribeUserDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUserDeviceResponse.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 |
#DescribeUserDeviceList(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeUserDeviceListResponse
1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 |
# File 'lib/v20230517/client.rb', line 1361 def DescribeUserDeviceList(request) body = send_request('DescribeUserDeviceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUserDeviceListResponse.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 |
#DescribeVideoBitRate(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeVideoBitRateResponse
1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 |
# File 'lib/v20230517/client.rb', line 1385 def DescribeVideoBitRate(request) body = send_request('DescribeVideoBitRate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVideoBitRateResponse.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 |
#DescribeVideoDownloadUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::DescribeVideoDownloadUrlResponse
1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 |
# File 'lib/v20230517/client.rb', line 1409 def DescribeVideoDownloadUrl(request) body = send_request('DescribeVideoDownloadUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVideoDownloadUrlResponse.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 |
#ListAITasks(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListAITasksResponse
1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 |
# File 'lib/v20230517/client.rb', line 1433 def ListAITasks(request) body = send_request('ListAITasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListAITasksResponse.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 |
#ListDevices(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListDevicesResponse
1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 |
# File 'lib/v20230517/client.rb', line 1481 def ListDevices(request) body = send_request('ListDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListDevicesResponse.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 |
#ListDeviceSnapshots(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListDeviceSnapshotsResponse
1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 |
# File 'lib/v20230517/client.rb', line 1457 def ListDeviceSnapshots(request) body = send_request('ListDeviceSnapshots', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListDeviceSnapshotsResponse.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 |
#ListGatewayDevices(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListGatewayDevicesResponse
1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 |
# File 'lib/v20230517/client.rb', line 1505 def ListGatewayDevices(request) body = send_request('ListGatewayDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListGatewayDevicesResponse.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 |
#ListGateways(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListGatewaysResponse
1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 |
# File 'lib/v20230517/client.rb', line 1529 def ListGateways(request) body = send_request('ListGateways', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListGatewaysResponse.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 |
#ListOrganizationChannelNumbers(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListOrganizationChannelNumbersResponse
1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 |
# File 'lib/v20230517/client.rb', line 1553 def ListOrganizationChannelNumbers(request) body = send_request('ListOrganizationChannelNumbers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListOrganizationChannelNumbersResponse.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 |
#ListOrganizationChannels(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListOrganizationChannelsResponse
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 |
# File 'lib/v20230517/client.rb', line 1577 def ListOrganizationChannels(request) body = send_request('ListOrganizationChannels', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListOrganizationChannelsResponse.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 |
#ListRecordBackupPlanDevices(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListRecordBackupPlanDevicesResponse
1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 |
# File 'lib/v20230517/client.rb', line 1601 def ListRecordBackupPlanDevices(request) body = send_request('ListRecordBackupPlanDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListRecordBackupPlanDevicesResponse.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 |
#ListRecordBackupPlans(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListRecordBackupPlansResponse
1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 |
# File 'lib/v20230517/client.rb', line 1625 def ListRecordBackupPlans(request) body = send_request('ListRecordBackupPlans', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListRecordBackupPlansResponse.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 |
#ListRecordBackupTemplates(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListRecordBackupTemplatesResponse
1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 |
# File 'lib/v20230517/client.rb', line 1649 def ListRecordBackupTemplates(request) body = send_request('ListRecordBackupTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListRecordBackupTemplatesResponse.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 |
#ListRecordPlanChannels(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListRecordPlanChannelsResponse
1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 |
# File 'lib/v20230517/client.rb', line 1673 def ListRecordPlanChannels(request) body = send_request('ListRecordPlanChannels', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListRecordPlanChannelsResponse.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 |
#ListRecordPlanDevices(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListRecordPlanDevicesResponse
1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 |
# File 'lib/v20230517/client.rb', line 1697 def ListRecordPlanDevices(request) body = send_request('ListRecordPlanDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListRecordPlanDevicesResponse.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 |
#ListRecordPlans(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListRecordPlansResponse
1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 |
# File 'lib/v20230517/client.rb', line 1721 def ListRecordPlans(request) body = send_request('ListRecordPlans', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListRecordPlansResponse.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 |
#ListRecordRetrieveTasks(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListRecordRetrieveTasksResponse
1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 |
# File 'lib/v20230517/client.rb', line 1745 def ListRecordRetrieveTasks(request) body = send_request('ListRecordRetrieveTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListRecordRetrieveTasksResponse.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 |
#ListRecordTemplates(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListRecordTemplatesResponse
1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 |
# File 'lib/v20230517/client.rb', line 1769 def ListRecordTemplates(request) body = send_request('ListRecordTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListRecordTemplatesResponse.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 |
#ListSubTasks(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListSubTasksResponse
1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 |
# File 'lib/v20230517/client.rb', line 1793 def ListSubTasks(request) body = send_request('ListSubTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListSubTasksResponse.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 |
#ListTasks(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListTasksResponse
1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 |
# File 'lib/v20230517/client.rb', line 1817 def ListTasks(request) body = send_request('ListTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListTasksResponse.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 |
#ListVideoDownloadTask(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::ListVideoDownloadTaskResponse
1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 |
# File 'lib/v20230517/client.rb', line 1841 def ListVideoDownloadTask(request) body = send_request('ListVideoDownloadTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListVideoDownloadTaskResponse.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 |
#PlayRecord(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::PlayRecordResponse
1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 |
# File 'lib/v20230517/client.rb', line 1865 def PlayRecord(request) body = send_request('PlayRecord', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PlayRecordResponse.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 |
#QueryForbidPlayChannelList(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::QueryForbidPlayChannelListResponse
1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 |
# File 'lib/v20230517/client.rb', line 1889 def QueryForbidPlayChannelList(request) body = send_request('QueryForbidPlayChannelList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = QueryForbidPlayChannelListResponse.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 |
#RefreshDeviceChannel(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::RefreshDeviceChannelResponse
1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 |
# File 'lib/v20230517/client.rb', line 1913 def RefreshDeviceChannel(request) body = send_request('RefreshDeviceChannel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RefreshDeviceChannelResponse.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 |
#SetForbidPlayChannels(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::SetForbidPlayChannelsResponse
1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 |
# File 'lib/v20230517/client.rb', line 1937 def SetForbidPlayChannels(request) body = send_request('SetForbidPlayChannels', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SetForbidPlayChannelsResponse.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 |
#UpdateAITask(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::UpdateAITaskResponse
1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 |
# File 'lib/v20230517/client.rb', line 1961 def UpdateAITask(request) body = send_request('UpdateAITask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateAITaskResponse.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 |
#UpdateAITaskStatus(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::UpdateAITaskStatusResponse
1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 |
# File 'lib/v20230517/client.rb', line 1985 def UpdateAITaskStatus(request) body = send_request('UpdateAITaskStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateAITaskStatusResponse.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 |
#UpdateDeviceOrganization(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::UpdateDeviceOrganizationResponse
2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 |
# File 'lib/v20230517/client.rb', line 2009 def UpdateDeviceOrganization(request) body = send_request('UpdateDeviceOrganization', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateDeviceOrganizationResponse.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 |
#UpdateDeviceStatus(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::UpdateDeviceStatusResponse
2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 |
# File 'lib/v20230517/client.rb', line 2033 def UpdateDeviceStatus(request) body = send_request('UpdateDeviceStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateDeviceStatusResponse.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 |
#UpdateGateway(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::UpdateGatewayResponse
2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 |
# File 'lib/v20230517/client.rb', line 2057 def UpdateGateway(request) body = send_request('UpdateGateway', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateGatewayResponse.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 |
#UpdateOrganization(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::UpdateOrganizationResponse
2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 |
# File 'lib/v20230517/client.rb', line 2081 def UpdateOrganization(request) body = send_request('UpdateOrganization', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateOrganizationResponse.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 |
#UpdateRecordBackupPlan(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::UpdateRecordBackupPlanResponse
2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 |
# File 'lib/v20230517/client.rb', line 2105 def UpdateRecordBackupPlan(request) body = send_request('UpdateRecordBackupPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateRecordBackupPlanResponse.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 |
#UpdateRecordBackupTemplate(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::UpdateRecordBackupTemplateResponse
2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 |
# File 'lib/v20230517/client.rb', line 2129 def UpdateRecordBackupTemplate(request) body = send_request('UpdateRecordBackupTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateRecordBackupTemplateResponse.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 |
#UpdateRecordPlan(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::UpdateRecordPlanResponse
2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 |
# File 'lib/v20230517/client.rb', line 2153 def UpdateRecordPlan(request) body = send_request('UpdateRecordPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateRecordPlanResponse.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 |
#UpdateRecordTemplate(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::UpdateRecordTemplateResponse
2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 |
# File 'lib/v20230517/client.rb', line 2177 def UpdateRecordTemplate(request) body = send_request('UpdateRecordTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateRecordTemplateResponse.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 |
#UpdateUserDevice(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::UpdateUserDeviceResponse
2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 |
# File 'lib/v20230517/client.rb', line 2201 def UpdateUserDevice(request) body = send_request('UpdateUserDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateUserDeviceResponse.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 |
#UpgradeGateway(request) ⇒ Object
@rtype: :class:Tencentcloud::iss::V20230517::UpgradeGatewayResponse
2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 |
# File 'lib/v20230517/client.rb', line 2225 def UpgradeGateway(request) body = send_request('UpgradeGateway', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpgradeGatewayResponse.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 |