Class: TencentCloud::Weilingwith::V20230427::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Weilingwith::V20230427::Client
- Defined in:
- lib/v20230427/client.rb
Instance Method Summary collapse
-
#AddAlarmProcessRecord(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::AddAlarmProcessRecordResponse`.
-
#BatchCreateDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::BatchCreateDeviceResponse`.
-
#BatchDeleteDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::BatchDeleteDeviceResponse`.
-
#BatchKillAlarm(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::BatchKillAlarmResponse`.
-
#BatchReportAppMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::BatchReportAppMessageResponse`.
-
#ChangeAlarmStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ChangeAlarmStatusResponse`.
-
#ControlCameraPTZ(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ControlCameraPTZResponse`.
-
#ControlDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ControlDeviceResponse`.
-
#CreateApplicationToken(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::CreateApplicationTokenResponse`.
-
#DeleteDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DeleteDeviceGroupResponse`.
-
#DescribeActionList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeActionListResponse`.
-
#DescribeAdministrationByTag(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeAdministrationByTagResponse`.
-
#DescribeAlarmLevelList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeAlarmLevelListResponse`.
-
#DescribeAlarmList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeAlarmListResponse`.
-
#DescribeAlarmStatusList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeAlarmStatusListResponse`.
-
#DescribeAlarmTypeList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeAlarmTypeListResponse`.
-
#DescribeApplicationList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeApplicationListResponse`.
-
#DescribeBuildingList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeBuildingListResponse`.
-
#DescribeBuildingModel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeBuildingModelResponse`.
-
#DescribeBuildingProfile(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeBuildingProfileResponse`.
-
#DescribeCameraExtendInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeCameraExtendInfoResponse`.
-
#DescribeCityWorkspaceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeCityWorkspaceListResponse`.
-
#DescribeDeviceGroupList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceGroupListResponse`.
-
#DescribeDeviceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceListResponse`.
-
#DescribeDeviceShadowList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceShadowListResponse`.
-
#DescribeDeviceStatusList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceStatusListResponse`.
-
#DescribeDeviceStatusStat(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceStatusStatResponse`.
-
#DescribeDeviceTagList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceTagListResponse`.
-
#DescribeDeviceTypeList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceTypeListResponse`.
-
#DescribeEdgeApplicationToken(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeEdgeApplicationTokenResponse`.
-
#DescribeElementProfilePage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeElementProfilePageResponse`.
-
#DescribeElementProfileTree(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeElementProfileTreeResponse`.
-
#DescribeEventList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeEventListResponse`.
-
#DescribeFileDownloadURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeFileDownloadURLResponse`.
-
#DescribeFileUploadURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeFileUploadURLResponse`.
-
#DescribeInterfaceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeInterfaceListResponse`.
-
#DescribeLinkRuleList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeLinkRuleListResponse`.
-
#DescribeModelList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeModelListResponse`.
-
#DescribeProductList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeProductListResponse`.
-
#DescribePropertyList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribePropertyListResponse`.
-
#DescribeRuleDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeRuleDetailResponse`.
-
#DescribeSceneList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeSceneListResponse`.
-
#DescribeSpaceDeviceIdList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeSpaceDeviceIdListResponse`.
-
#DescribeSpaceDeviceRelationList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeSpaceDeviceRelationListResponse`.
-
#DescribeSpaceInfoByDeviceId(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeSpaceInfoByDeviceIdResponse`.
-
#DescribeSpaceRelationByDeviceId(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeSpaceRelationByDeviceIdResponse`.
-
#DescribeSpaceTypeList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeSpaceTypeListResponse`.
-
#DescribeTenantBuildingCountAndArea(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeTenantBuildingCountAndAreaResponse`.
-
#DescribeTenantDepartmentList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeTenantDepartmentListResponse`.
-
#DescribeTenantUserList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeTenantUserListResponse`.
-
#DescribeVideoCloudRecord(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeVideoCloudRecordResponse`.
-
#DescribeVideoLiveStream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeVideoLiveStreamResponse`.
-
#DescribeVideoRecordStream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeVideoRecordStreamResponse`.
-
#DescribeWorkSpaceBuildingCountAndArea(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeWorkSpaceBuildingCountAndAreaResponse`.
-
#DescribeWorkspaceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeWorkspaceListResponse`.
-
#DescribeWorkspaceUserList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeWorkspaceUserListResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#ModifyDeviceField(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ModifyDeviceFieldResponse`.
-
#ModifyDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ModifyDeviceGroupResponse`.
-
#ModifyDeviceName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ModifyDeviceNameResponse`.
-
#ModifyDeviceTag(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ModifyDeviceTagResponse`.
-
#ReportAppMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ReportAppMessageResponse`.
-
#SaveDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::SaveDeviceGroupResponse`.
-
#StopVideoStreaming(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::StopVideoStreamingResponse`.
-
#UpdateWorkspaceParkAttributes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::UpdateWorkspaceParkAttributesResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20230427/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2023-04-27' api_endpoint = 'weilingwith.tencentcloudapi.com' sdk_version = 'WEILINGWITH_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#AddAlarmProcessRecord(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::AddAlarmProcessRecordResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20230427/client.rb', line 37 def AddAlarmProcessRecord(request) body = send_request('AddAlarmProcessRecord', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddAlarmProcessRecordResponse.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 |
#BatchCreateDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::BatchCreateDeviceResponse`
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20230427/client.rb', line 61 def BatchCreateDevice(request) body = send_request('BatchCreateDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchCreateDeviceResponse.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 |
#BatchDeleteDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::BatchDeleteDeviceResponse`
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20230427/client.rb', line 85 def BatchDeleteDevice(request) body = send_request('BatchDeleteDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchDeleteDeviceResponse.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 |
#BatchKillAlarm(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::BatchKillAlarmResponse`
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/v20230427/client.rb', line 109 def BatchKillAlarm(request) body = send_request('BatchKillAlarm', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchKillAlarmResponse.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 |
#BatchReportAppMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::BatchReportAppMessageResponse`
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/v20230427/client.rb', line 133 def BatchReportAppMessage(request) body = send_request('BatchReportAppMessage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchReportAppMessageResponse.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 |
#ChangeAlarmStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ChangeAlarmStatusResponse`
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/v20230427/client.rb', line 157 def ChangeAlarmStatus(request) body = send_request('ChangeAlarmStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChangeAlarmStatusResponse.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 |
#ControlCameraPTZ(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ControlCameraPTZResponse`
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/v20230427/client.rb', line 181 def ControlCameraPTZ(request) body = send_request('ControlCameraPTZ', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlCameraPTZResponse.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 |
#ControlDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ControlDeviceResponse`
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
# File 'lib/v20230427/client.rb', line 205 def ControlDevice(request) body = send_request('ControlDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlDeviceResponse.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 |
#CreateApplicationToken(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::CreateApplicationTokenResponse`
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/v20230427/client.rb', line 229 def CreateApplicationToken(request) body = send_request('CreateApplicationToken', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateApplicationTokenResponse.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 |
#DeleteDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DeleteDeviceGroupResponse`
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'lib/v20230427/client.rb', line 253 def DeleteDeviceGroup(request) body = send_request('DeleteDeviceGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteDeviceGroupResponse.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 |
#DescribeActionList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeActionListResponse`
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/v20230427/client.rb', line 277 def DescribeActionList(request) body = send_request('DescribeActionList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeActionListResponse.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 |
#DescribeAdministrationByTag(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeAdministrationByTagResponse`
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 |
# File 'lib/v20230427/client.rb', line 301 def DescribeAdministrationByTag(request) body = send_request('DescribeAdministrationByTag', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAdministrationByTagResponse.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 |
#DescribeAlarmLevelList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeAlarmLevelListResponse`
325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 |
# File 'lib/v20230427/client.rb', line 325 def DescribeAlarmLevelList(request) body = send_request('DescribeAlarmLevelList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAlarmLevelListResponse.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 |
#DescribeAlarmList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeAlarmListResponse`
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 |
# File 'lib/v20230427/client.rb', line 349 def DescribeAlarmList(request) body = send_request('DescribeAlarmList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAlarmListResponse.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 |
#DescribeAlarmStatusList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeAlarmStatusListResponse`
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 |
# File 'lib/v20230427/client.rb', line 373 def DescribeAlarmStatusList(request) body = send_request('DescribeAlarmStatusList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAlarmStatusListResponse.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 |
#DescribeAlarmTypeList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeAlarmTypeListResponse`
397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 |
# File 'lib/v20230427/client.rb', line 397 def DescribeAlarmTypeList(request) body = send_request('DescribeAlarmTypeList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAlarmTypeListResponse.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 |
#DescribeApplicationList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeApplicationListResponse`
421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 |
# File 'lib/v20230427/client.rb', line 421 def DescribeApplicationList(request) body = send_request('DescribeApplicationList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApplicationListResponse.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 |
#DescribeBuildingList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeBuildingListResponse`
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 |
# File 'lib/v20230427/client.rb', line 445 def DescribeBuildingList(request) body = send_request('DescribeBuildingList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBuildingListResponse.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 |
#DescribeBuildingModel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeBuildingModelResponse`
469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 |
# File 'lib/v20230427/client.rb', line 469 def DescribeBuildingModel(request) body = send_request('DescribeBuildingModel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBuildingModelResponse.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 |
#DescribeBuildingProfile(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeBuildingProfileResponse`
493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 |
# File 'lib/v20230427/client.rb', line 493 def DescribeBuildingProfile(request) body = send_request('DescribeBuildingProfile', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBuildingProfileResponse.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 |
#DescribeCameraExtendInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeCameraExtendInfoResponse`
517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 |
# File 'lib/v20230427/client.rb', line 517 def DescribeCameraExtendInfo(request) body = send_request('DescribeCameraExtendInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCameraExtendInfoResponse.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 |
#DescribeCityWorkspaceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeCityWorkspaceListResponse`
543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'lib/v20230427/client.rb', line 543 def DescribeCityWorkspaceList(request) body = send_request('DescribeCityWorkspaceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCityWorkspaceListResponse.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 |
#DescribeDeviceGroupList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceGroupListResponse`
567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 |
# File 'lib/v20230427/client.rb', line 567 def DescribeDeviceGroupList(request) body = send_request('DescribeDeviceGroupList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceGroupListResponse.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 |
#DescribeDeviceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceListResponse`
591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 |
# File 'lib/v20230427/client.rb', line 591 def DescribeDeviceList(request) body = send_request('DescribeDeviceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceListResponse.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 |
#DescribeDeviceShadowList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceShadowListResponse`
615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 |
# File 'lib/v20230427/client.rb', line 615 def DescribeDeviceShadowList(request) body = send_request('DescribeDeviceShadowList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceShadowListResponse.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 |
#DescribeDeviceStatusList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceStatusListResponse`
639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 |
# File 'lib/v20230427/client.rb', line 639 def DescribeDeviceStatusList(request) body = send_request('DescribeDeviceStatusList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceStatusListResponse.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 |
#DescribeDeviceStatusStat(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceStatusStatResponse`
663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 |
# File 'lib/v20230427/client.rb', line 663 def DescribeDeviceStatusStat(request) body = send_request('DescribeDeviceStatusStat', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceStatusStatResponse.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 |
#DescribeDeviceTagList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceTagListResponse`
687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 |
# File 'lib/v20230427/client.rb', line 687 def DescribeDeviceTagList(request) body = send_request('DescribeDeviceTagList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceTagListResponse.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 |
#DescribeDeviceTypeList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeDeviceTypeListResponse`
711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 |
# File 'lib/v20230427/client.rb', line 711 def DescribeDeviceTypeList(request) body = send_request('DescribeDeviceTypeList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceTypeListResponse.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 |
#DescribeEdgeApplicationToken(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeEdgeApplicationTokenResponse`
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 |
# File 'lib/v20230427/client.rb', line 735 def DescribeEdgeApplicationToken(request) body = send_request('DescribeEdgeApplicationToken', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEdgeApplicationTokenResponse.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 |
#DescribeElementProfilePage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeElementProfilePageResponse`
759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 |
# File 'lib/v20230427/client.rb', line 759 def DescribeElementProfilePage(request) body = send_request('DescribeElementProfilePage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeElementProfilePageResponse.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 |
#DescribeElementProfileTree(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeElementProfileTreeResponse`
783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 |
# File 'lib/v20230427/client.rb', line 783 def DescribeElementProfileTree(request) body = send_request('DescribeElementProfileTree', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeElementProfileTreeResponse.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 |
#DescribeEventList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeEventListResponse`
807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 |
# File 'lib/v20230427/client.rb', line 807 def DescribeEventList(request) body = send_request('DescribeEventList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEventListResponse.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 |
#DescribeFileDownloadURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeFileDownloadURLResponse`
831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 |
# File 'lib/v20230427/client.rb', line 831 def DescribeFileDownloadURL(request) body = send_request('DescribeFileDownloadURL', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFileDownloadURLResponse.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 |
#DescribeFileUploadURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeFileUploadURLResponse`
855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 |
# File 'lib/v20230427/client.rb', line 855 def DescribeFileUploadURL(request) body = send_request('DescribeFileUploadURL', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFileUploadURLResponse.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 |
#DescribeInterfaceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeInterfaceListResponse`
879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 |
# File 'lib/v20230427/client.rb', line 879 def DescribeInterfaceList(request) body = send_request('DescribeInterfaceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeInterfaceListResponse.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 |
#DescribeLinkRuleList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeLinkRuleListResponse`
903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 |
# File 'lib/v20230427/client.rb', line 903 def DescribeLinkRuleList(request) body = send_request('DescribeLinkRuleList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLinkRuleListResponse.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 |
#DescribeModelList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeModelListResponse`
927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 |
# File 'lib/v20230427/client.rb', line 927 def DescribeModelList(request) body = send_request('DescribeModelList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeModelListResponse.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 |
#DescribeProductList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeProductListResponse`
951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 |
# File 'lib/v20230427/client.rb', line 951 def DescribeProductList(request) body = send_request('DescribeProductList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProductListResponse.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 |
#DescribePropertyList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribePropertyListResponse`
975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 |
# File 'lib/v20230427/client.rb', line 975 def DescribePropertyList(request) body = send_request('DescribePropertyList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePropertyListResponse.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 |
#DescribeRuleDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeRuleDetailResponse`
999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 |
# File 'lib/v20230427/client.rb', line 999 def DescribeRuleDetail(request) body = send_request('DescribeRuleDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRuleDetailResponse.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 |
#DescribeSceneList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeSceneListResponse`
1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 |
# File 'lib/v20230427/client.rb', line 1023 def DescribeSceneList(request) body = send_request('DescribeSceneList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSceneListResponse.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 |
#DescribeSpaceDeviceIdList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeSpaceDeviceIdListResponse`
1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 |
# File 'lib/v20230427/client.rb', line 1047 def DescribeSpaceDeviceIdList(request) body = send_request('DescribeSpaceDeviceIdList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSpaceDeviceIdListResponse.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 |
#DescribeSpaceDeviceRelationList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeSpaceDeviceRelationListResponse`
1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 |
# File 'lib/v20230427/client.rb', line 1071 def DescribeSpaceDeviceRelationList(request) body = send_request('DescribeSpaceDeviceRelationList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSpaceDeviceRelationListResponse.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 |
#DescribeSpaceInfoByDeviceId(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeSpaceInfoByDeviceIdResponse`
1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 |
# File 'lib/v20230427/client.rb', line 1095 def DescribeSpaceInfoByDeviceId(request) body = send_request('DescribeSpaceInfoByDeviceId', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSpaceInfoByDeviceIdResponse.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 |
#DescribeSpaceRelationByDeviceId(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeSpaceRelationByDeviceIdResponse`
1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 |
# File 'lib/v20230427/client.rb', line 1119 def DescribeSpaceRelationByDeviceId(request) body = send_request('DescribeSpaceRelationByDeviceId', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSpaceRelationByDeviceIdResponse.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 |
#DescribeSpaceTypeList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeSpaceTypeListResponse`
1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 |
# File 'lib/v20230427/client.rb', line 1143 def DescribeSpaceTypeList(request) body = send_request('DescribeSpaceTypeList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSpaceTypeListResponse.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 |
#DescribeTenantBuildingCountAndArea(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeTenantBuildingCountAndAreaResponse`
1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 |
# File 'lib/v20230427/client.rb', line 1167 def DescribeTenantBuildingCountAndArea(request) body = send_request('DescribeTenantBuildingCountAndArea', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTenantBuildingCountAndAreaResponse.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 |
#DescribeTenantDepartmentList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeTenantDepartmentListResponse`
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 |
# File 'lib/v20230427/client.rb', line 1191 def DescribeTenantDepartmentList(request) body = send_request('DescribeTenantDepartmentList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTenantDepartmentListResponse.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 |
#DescribeTenantUserList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeTenantUserListResponse`
1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 |
# File 'lib/v20230427/client.rb', line 1215 def DescribeTenantUserList(request) body = send_request('DescribeTenantUserList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTenantUserListResponse.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 |
#DescribeVideoCloudRecord(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeVideoCloudRecordResponse`
1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 |
# File 'lib/v20230427/client.rb', line 1239 def DescribeVideoCloudRecord(request) body = send_request('DescribeVideoCloudRecord', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVideoCloudRecordResponse.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 |
#DescribeVideoLiveStream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeVideoLiveStreamResponse`
1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 |
# File 'lib/v20230427/client.rb', line 1263 def DescribeVideoLiveStream(request) body = send_request('DescribeVideoLiveStream', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVideoLiveStreamResponse.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 |
#DescribeVideoRecordStream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeVideoRecordStreamResponse`
1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/v20230427/client.rb', line 1287 def DescribeVideoRecordStream(request) body = send_request('DescribeVideoRecordStream', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVideoRecordStreamResponse.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 |
#DescribeWorkSpaceBuildingCountAndArea(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeWorkSpaceBuildingCountAndAreaResponse`
1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'lib/v20230427/client.rb', line 1311 def DescribeWorkSpaceBuildingCountAndArea(request) body = send_request('DescribeWorkSpaceBuildingCountAndArea', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWorkSpaceBuildingCountAndAreaResponse.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 |
#DescribeWorkspaceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeWorkspaceListResponse`
1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 |
# File 'lib/v20230427/client.rb', line 1335 def DescribeWorkspaceList(request) body = send_request('DescribeWorkspaceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWorkspaceListResponse.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 |
#DescribeWorkspaceUserList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::DescribeWorkspaceUserListResponse`
1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 |
# File 'lib/v20230427/client.rb', line 1359 def DescribeWorkspaceUserList(request) body = send_request('DescribeWorkspaceUserList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWorkspaceUserListResponse.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 |
#ModifyDeviceField(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ModifyDeviceFieldResponse`
1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 |
# File 'lib/v20230427/client.rb', line 1383 def ModifyDeviceField(request) body = send_request('ModifyDeviceField', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDeviceFieldResponse.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 |
#ModifyDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ModifyDeviceGroupResponse`
1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 |
# File 'lib/v20230427/client.rb', line 1407 def ModifyDeviceGroup(request) body = send_request('ModifyDeviceGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDeviceGroupResponse.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 |
#ModifyDeviceName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ModifyDeviceNameResponse`
1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 |
# File 'lib/v20230427/client.rb', line 1431 def ModifyDeviceName(request) body = send_request('ModifyDeviceName', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDeviceNameResponse.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 |
#ModifyDeviceTag(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ModifyDeviceTagResponse`
1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 |
# File 'lib/v20230427/client.rb', line 1455 def ModifyDeviceTag(request) body = send_request('ModifyDeviceTag', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDeviceTagResponse.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 |
#ReportAppMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::ReportAppMessageResponse`
1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 |
# File 'lib/v20230427/client.rb', line 1479 def ReportAppMessage(request) body = send_request('ReportAppMessage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ReportAppMessageResponse.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 |
#SaveDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::SaveDeviceGroupResponse`
1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 |
# File 'lib/v20230427/client.rb', line 1503 def SaveDeviceGroup(request) body = send_request('SaveDeviceGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SaveDeviceGroupResponse.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 |
#StopVideoStreaming(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::StopVideoStreamingResponse`
1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 |
# File 'lib/v20230427/client.rb', line 1527 def StopVideoStreaming(request) body = send_request('StopVideoStreaming', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = StopVideoStreamingResponse.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 |
#UpdateWorkspaceParkAttributes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::weilingwith::V20230427::UpdateWorkspaceParkAttributesResponse`
1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 |
# File 'lib/v20230427/client.rb', line 1551 def UpdateWorkspaceParkAttributes(request) body = send_request('UpdateWorkspaceParkAttributes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateWorkspaceParkAttributesResponse.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 |