Class: TencentCloud::Iotexplorer::V20190423::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Iotexplorer::V20190423::Client
- Defined in:
- lib/v20190423/client.rb
Instance Method Summary collapse
-
#ActivateTWeCallLicense(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ActivateTWeCallLicenseResponse`.
-
#BatchCreateTWeSeeRecognitionTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BatchCreateTWeSeeRecognitionTaskResponse`.
-
#BatchInvokeTWeSeeRecognitionTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BatchInvokeTWeSeeRecognitionTaskResponse`.
-
#BatchUpdateFirmware(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BatchUpdateFirmwareResponse`.
-
#BindCloudStorageUser(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BindCloudStorageUserResponse`.
-
#BindDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BindDevicesResponse`.
-
#BindProducts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BindProductsResponse`.
-
#BindTWeTalkAIBot(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BindTWeTalkAIBotResponse`.
-
#CallDeviceActionAsync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CallDeviceActionAsyncResponse`.
-
#CallDeviceActionSync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CallDeviceActionSyncResponse`.
-
#CancelAssignTWeCallLicense(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CancelAssignTWeCallLicenseResponse`.
-
#ChangeP2PRoute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ChangeP2PRouteResponse`.
-
#CheckFirmwareUpdate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CheckFirmwareUpdateResponse`.
-
#ControlDeviceData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ControlDeviceDataResponse`.
-
#CreateAISearchTaskAsync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateAISearchTaskAsyncResponse`.
-
#CreateBatchProduction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateBatchProductionResponse`.
-
#CreateCloudStorageAIService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateCloudStorageAIServiceResponse`.
-
#CreateCloudStorageAIServiceTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateCloudStorageAIServiceTaskResponse`.
-
#CreateDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateDeviceResponse`.
-
#CreateDeviceChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateDeviceChannelResponse`.
-
#CreateExternalSourceAIServiceTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateExternalSourceAIServiceTaskResponse`.
-
#CreateFenceBind(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateFenceBindResponse`.
-
#CreateFreeCloudStorage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateFreeCloudStorageResponse`.
-
#CreateIotVideoCloudStorage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateIotVideoCloudStorageResponse`.
-
#CreateLoRaFrequency(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateLoRaFrequencyResponse`.
-
#CreateLoRaGateway(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateLoRaGatewayResponse`.
-
#CreateOtaModule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateOtaModuleResponse`.
-
#CreatePositionFence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreatePositionFenceResponse`.
-
#CreatePositionSpace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreatePositionSpaceResponse`.
-
#CreateProject(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateProjectResponse`.
-
#CreateStudioProduct(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateStudioProductResponse`.
-
#CreateTopicPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTopicPolicyResponse`.
-
#CreateTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTopicRuleResponse`.
-
#CreateTRTCSignaturesWithRoomId(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTRTCSignaturesWithRoomIdResponse`.
-
#CreateTWeSeeRecognitionTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTWeSeeRecognitionTaskResponse`.
-
#CreateTWeSeeRecognitionTaskWithFile(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTWeSeeRecognitionTaskWithFileResponse`.
-
#CreateTWeSeeService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTWeSeeServiceResponse`.
-
#CreateTWeTalkAIBot(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTWeTalkAIBotResponse`.
-
#CreateTWeTalkProductConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTWeTalkProductConfigResponse`.
-
#CreateTWeTalkProductConfigV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTWeTalkProductConfigV2Response`.
-
#DeleteCloudStorageEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteCloudStorageEventResponse`.
-
#DeleteDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteDeviceResponse`.
-
#DeleteDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteDevicesResponse`.
-
#DeleteFenceBind(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteFenceBindResponse`.
-
#DeleteLoRaFrequency(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteLoRaFrequencyResponse`.
-
#DeleteLoRaGateway(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteLoRaGatewayResponse`.
-
#DeleteOtaModule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteOtaModuleResponse`.
-
#DeletePositionFence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeletePositionFenceResponse`.
-
#DeletePositionSpace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeletePositionSpaceResponse`.
-
#DeleteProject(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteProjectResponse`.
-
#DeleteStudioProduct(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteStudioProductResponse`.
-
#DeleteTopicPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteTopicPolicyResponse`.
-
#DeleteTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteTopicRuleResponse`.
-
#DeleteTWeTalkAIBot(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteTWeTalkAIBotResponse`.
-
#DeleteTWeTalkProductConfigV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteTWeTalkProductConfigV2Response`.
-
#DescribeActivateDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeActivateDeviceResponse`.
-
#DescribeActivateLicenseService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeActivateLicenseServiceResponse`.
-
#DescribeAISearchTaskAsync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeAISearchTaskAsyncResponse`.
-
#DescribeBatchProduction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeBatchProductionResponse`.
-
#DescribeBindedProducts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeBindedProductsResponse`.
-
#DescribeCloudStorage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageResponse`.
-
#DescribeCloudStorageAIService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceResponse`.
-
#DescribeCloudStorageAIServiceCallback(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceCallbackResponse`.
-
#DescribeCloudStorageAIServiceTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceTaskResponse`.
-
#DescribeCloudStorageAIServiceTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceTasksResponse`.
-
#DescribeCloudStorageDate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageDateResponse`.
-
#DescribeCloudStorageEvents(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageEventsResponse`.
-
#DescribeCloudStorageEventsWithAITasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageEventsWithAITasksResponse`.
-
#DescribeCloudStorageMultiThumbnail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageMultiThumbnailResponse`.
-
#DescribeCloudStorageOrder(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageOrderResponse`.
-
#DescribeCloudStoragePackageConsumeDetails(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStoragePackageConsumeDetailsResponse`.
-
#DescribeCloudStoragePackageConsumeStats(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStoragePackageConsumeStatsResponse`.
-
#DescribeCloudStorageStreamData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageStreamDataResponse`.
-
#DescribeCloudStorageThumbnail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageThumbnailResponse`.
-
#DescribeCloudStorageThumbnailList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageThumbnailListResponse`.
-
#DescribeCloudStorageTime(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageTimeResponse`.
-
#DescribeCloudStorageUsers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageUsersResponse`.
-
#DescribeCsReportCountDataInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCsReportCountDataInfoResponse`.
-
#DescribeDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDeviceResponse`.
-
#DescribeDeviceBindGateway(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDeviceBindGatewayResponse`.
-
#DescribeDeviceData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDeviceDataResponse`.
-
#DescribeDeviceDataHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDeviceDataHistoryResponse`.
-
#DescribeDeviceFirmWare(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDeviceFirmWareResponse`.
-
#DescribeDeviceFirmwares(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDeviceFirmwaresResponse`.
-
#DescribeDevicePackages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDevicePackagesResponse`.
-
#DescribeDevicePositionList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDevicePositionListResponse`.
-
#DescribeFenceBindList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFenceBindListResponse`.
-
#DescribeFenceEventList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFenceEventListResponse`.
-
#DescribeFirmware(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFirmwareResponse`.
-
#DescribeFirmwareTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFirmwareTaskResponse`.
-
#DescribeFirmwareTaskDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFirmwareTaskDevicesResponse`.
-
#DescribeFirmwareTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFirmwareTasksResponse`.
-
#DescribeFirmwareUpdateStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFirmwareUpdateStatusResponse`.
-
#DescribeFreeCloudStorageNum(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFreeCloudStorageNumResponse`.
-
#DescribeGatewayBindDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeGatewayBindDevicesResponse`.
-
#DescribeGatewaySubDeviceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeGatewaySubDeviceListResponse`.
-
#DescribeGatewaySubProducts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeGatewaySubProductsResponse`.
-
#DescribeInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeInstanceResponse`.
-
#DescribeLoRaFrequency(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeLoRaFrequencyResponse`.
-
#DescribeModelDefinition(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeModelDefinitionResponse`.
-
#DescribeP2PRoute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeP2PRouteResponse`.
-
#DescribePackageConsumeTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribePackageConsumeTaskResponse`.
-
#DescribePackageConsumeTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribePackageConsumeTasksResponse`.
-
#DescribePositionFenceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribePositionFenceListResponse`.
-
#DescribeProductCloudStorageAIService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeProductCloudStorageAIServiceResponse`.
-
#DescribeProject(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeProjectResponse`.
-
#DescribeSpaceFenceEventList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeSpaceFenceEventListResponse`.
-
#DescribeStudioProduct(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeStudioProductResponse`.
-
#DescribeSubscribedTopicPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeSubscribedTopicPolicyResponse`.
-
#DescribeTopicPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTopicPolicyResponse`.
-
#DescribeTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTopicRuleResponse`.
-
#DescribeTWeSeeConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTWeSeeConfigResponse`.
-
#DescribeTWeSeeRecognitionTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTWeSeeRecognitionTaskResponse`.
-
#DescribeTWeTalkAIBot(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTWeTalkAIBotResponse`.
-
#DescribeTWeTalkProductConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTWeTalkProductConfigResponse`.
-
#DescribeTWeTalkProductConfigV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTWeTalkProductConfigV2Response`.
-
#DescribeUnbindedDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeUnbindedDevicesResponse`.
-
#DescribeVideoLicense(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeVideoLicenseResponse`.
-
#DirectBindDeviceInFamily(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DirectBindDeviceInFamilyResponse`.
-
#DisableTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DisableTopicRuleResponse`.
-
#DismissRoomByStrRoomIdFromTRTC(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DismissRoomByStrRoomIdFromTRTCResponse`.
-
#EnableTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::EnableTopicRuleResponse`.
-
#GenerateCloudStorageAIServiceTaskFileURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GenerateCloudStorageAIServiceTaskFileURLResponse`.
-
#GenerateSignedVideoURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GenerateSignedVideoURLResponse`.
-
#GenSingleDeviceSignatureOfPublic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GenSingleDeviceSignatureOfPublicResponse`.
-
#GetAuthMiniProgramAppList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetAuthMiniProgramAppListResponse`.
-
#GetBatchProductionsList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetBatchProductionsListResponse`.
-
#GetCOSURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetCOSURLResponse`.
-
#GetDeviceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetDeviceListResponse`.
-
#GetDeviceLocationHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetDeviceLocationHistoryResponse`.
-
#GetDeviceSumStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetDeviceSumStatisticsResponse`.
-
#GetFamilyDeviceUserList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetFamilyDeviceUserListResponse`.
-
#GetGatewaySubDeviceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetGatewaySubDeviceListResponse`.
-
#GetLoRaGatewayList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetLoRaGatewayListResponse`.
-
#GetPositionSpaceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetPositionSpaceListResponse`.
-
#GetProjectList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetProjectListResponse`.
-
#GetStudioProductList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetStudioProductListResponse`.
-
#GetTopicRuleList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetTopicRuleListResponse`.
-
#GetTWeCallActiveStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetTWeCallActiveStatusResponse`.
-
#GetTWeTalkAIBotList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetTWeTalkAIBotListResponse`.
-
#GetTWeTalkProductConfigList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetTWeTalkProductConfigListResponse`.
-
#GetTWeTalkProductConfigListV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetTWeTalkProductConfigListV2Response`.
-
#GetWechatDeviceTicket(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetWechatDeviceTicketResponse`.
-
#InheritCloudStorageUser(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InheritCloudStorageUserResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#InvokeAISearchService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InvokeAISearchServiceResponse`.
-
#InvokeCloudStorageAIServiceTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InvokeCloudStorageAIServiceTaskResponse`.
-
#InvokeExternalSourceAIServiceTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InvokeExternalSourceAIServiceTaskResponse`.
-
#InvokeTWeSeeRecognitionTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InvokeTWeSeeRecognitionTaskResponse`.
-
#InvokeTWeSeeRecognitionTaskWithFile(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InvokeTWeSeeRecognitionTaskWithFileResponse`.
-
#InvokeVideosKeywordsAnalyzer(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InvokeVideosKeywordsAnalyzerResponse`.
-
#ListEventHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ListEventHistoryResponse`.
-
#ListFirmwares(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ListFirmwaresResponse`.
-
#ListOtaModules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ListOtaModulesResponse`.
-
#ListProductOtaModules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ListProductOtaModulesResponse`.
-
#ListTopicPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ListTopicPolicyResponse`.
-
#ModifyApplication(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyApplicationResponse`.
-
#ModifyCloudStorageAIService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyCloudStorageAIServiceResponse`.
-
#ModifyCloudStorageAIServiceCallback(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyCloudStorageAIServiceCallbackResponse`.
-
#ModifyFenceBind(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyFenceBindResponse`.
-
#ModifyLoRaFrequency(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyLoRaFrequencyResponse`.
-
#ModifyLoRaGateway(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyLoRaGatewayResponse`.
-
#ModifyModelDefinition(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyModelDefinitionResponse`.
-
#ModifyPositionFence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyPositionFenceResponse`.
-
#ModifyPositionSpace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyPositionSpaceResponse`.
-
#ModifyProductCloudStorageAIService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyProductCloudStorageAIServiceResponse`.
-
#ModifyProject(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyProjectResponse`.
-
#ModifySpaceProperty(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifySpacePropertyResponse`.
-
#ModifyStudioProduct(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyStudioProductResponse`.
-
#ModifyTopicPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyTopicPolicyResponse`.
-
#ModifyTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyTopicRuleResponse`.
-
#ModifyTWeSeeConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyTWeSeeConfigResponse`.
-
#ModifyTWeTalkAIBot(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyTWeTalkAIBotResponse`.
-
#ModifyTWeTalkProductConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyTWeTalkProductConfigResponse`.
-
#ModifyTWeTalkProductConfigV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyTWeTalkProductConfigV2Response`.
-
#PauseTWeCallDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::PauseTWeCallDeviceResponse`.
-
#PublishBroadcastMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::PublishBroadcastMessageResponse`.
-
#PublishFirmwareUpdateMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::PublishFirmwareUpdateMessageResponse`.
-
#PublishMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::PublishMessageResponse`.
-
#PublishRRPCMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::PublishRRPCMessageResponse`.
-
#ReleaseStudioProduct(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ReleaseStudioProductResponse`.
-
#RemoveUserByRoomIdFromTRTC(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::RemoveUserByRoomIdFromTRTCResponse`.
-
#ResetCloudStorage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ResetCloudStorageResponse`.
-
#ResetCloudStorageAIService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ResetCloudStorageAIServiceResponse`.
-
#ResetCloudStorageEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ResetCloudStorageEventResponse`.
-
#ResetTWeCallDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ResetTWeCallDeviceResponse`.
-
#ResumeWeCallDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ResumeWeCallDeviceResponse`.
-
#SearchPositionSpace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::SearchPositionSpaceResponse`.
-
#SearchStudioProduct(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::SearchStudioProductResponse`.
-
#SearchTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::SearchTopicRuleResponse`.
-
#TransferCloudStorage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::TransferCloudStorageResponse`.
-
#TransferTWeCallDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::TransferTWeCallDeviceResponse`.
-
#UnbindDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UnbindDevicesResponse`.
-
#UnbindProducts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UnbindProductsResponse`.
-
#UnbindTWeTalkAIBot(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UnbindTWeTalkAIBotResponse`.
-
#UpdateDevicesEnableState(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UpdateDevicesEnableStateResponse`.
-
#UpdateDeviceTWeCallAuthorizeStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UpdateDeviceTWeCallAuthorizeStatusResponse`.
-
#UpdateFirmware(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UpdateFirmwareResponse`.
-
#UpdateOtaModule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UpdateOtaModuleResponse`.
-
#UpdateOtaTaskStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UpdateOtaTaskStatusResponse`.
-
#UploadFirmware(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UploadFirmwareResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20190423/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2019-04-23' api_endpoint = 'iotexplorer.tencentcloudapi.com' sdk_version = 'IOTEXPLORER_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#ActivateTWeCallLicense(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ActivateTWeCallLicenseResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20190423/client.rb', line 37 def ActivateTWeCallLicense(request) body = send_request('ActivateTWeCallLicense', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ActivateTWeCallLicenseResponse.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 |
#BatchCreateTWeSeeRecognitionTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BatchCreateTWeSeeRecognitionTaskResponse`
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20190423/client.rb', line 61 def BatchCreateTWeSeeRecognitionTask(request) body = send_request('BatchCreateTWeSeeRecognitionTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchCreateTWeSeeRecognitionTaskResponse.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 |
#BatchInvokeTWeSeeRecognitionTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BatchInvokeTWeSeeRecognitionTaskResponse`
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20190423/client.rb', line 85 def BatchInvokeTWeSeeRecognitionTask(request) body = send_request('BatchInvokeTWeSeeRecognitionTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchInvokeTWeSeeRecognitionTaskResponse.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 |
#BatchUpdateFirmware(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BatchUpdateFirmwareResponse`
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/v20190423/client.rb', line 109 def BatchUpdateFirmware(request) body = send_request('BatchUpdateFirmware', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchUpdateFirmwareResponse.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 |
#BindCloudStorageUser(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BindCloudStorageUserResponse`
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/v20190423/client.rb', line 133 def BindCloudStorageUser(request) body = send_request('BindCloudStorageUser', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindCloudStorageUserResponse.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 |
#BindDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BindDevicesResponse`
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/v20190423/client.rb', line 157 def BindDevices(request) body = send_request('BindDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindDevicesResponse.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 |
#BindProducts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BindProductsResponse`
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/v20190423/client.rb', line 181 def BindProducts(request) body = send_request('BindProducts', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindProductsResponse.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 |
#BindTWeTalkAIBot(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::BindTWeTalkAIBotResponse`
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
# File 'lib/v20190423/client.rb', line 205 def BindTWeTalkAIBot(request) body = send_request('BindTWeTalkAIBot', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindTWeTalkAIBotResponse.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 |
#CallDeviceActionAsync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CallDeviceActionAsyncResponse`
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/v20190423/client.rb', line 229 def CallDeviceActionAsync(request) body = send_request('CallDeviceActionAsync', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CallDeviceActionAsyncResponse.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 |
#CallDeviceActionSync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CallDeviceActionSyncResponse`
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'lib/v20190423/client.rb', line 253 def CallDeviceActionSync(request) body = send_request('CallDeviceActionSync', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CallDeviceActionSyncResponse.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 |
#CancelAssignTWeCallLicense(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CancelAssignTWeCallLicenseResponse`
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
# File 'lib/v20190423/client.rb', line 279 def CancelAssignTWeCallLicense(request) body = send_request('CancelAssignTWeCallLicense', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CancelAssignTWeCallLicenseResponse.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 |
#ChangeP2PRoute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ChangeP2PRouteResponse`
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'lib/v20190423/client.rb', line 303 def ChangeP2PRoute(request) body = send_request('ChangeP2PRoute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChangeP2PRouteResponse.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 |
#CheckFirmwareUpdate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CheckFirmwareUpdateResponse`
327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'lib/v20190423/client.rb', line 327 def CheckFirmwareUpdate(request) body = send_request('CheckFirmwareUpdate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckFirmwareUpdateResponse.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 |
#ControlDeviceData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ControlDeviceDataResponse`
351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 |
# File 'lib/v20190423/client.rb', line 351 def ControlDeviceData(request) body = send_request('ControlDeviceData', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlDeviceDataResponse.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 |
#CreateAISearchTaskAsync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateAISearchTaskAsyncResponse`
375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/v20190423/client.rb', line 375 def CreateAISearchTaskAsync(request) body = send_request('CreateAISearchTaskAsync', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAISearchTaskAsyncResponse.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 |
#CreateBatchProduction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateBatchProductionResponse`
399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 |
# File 'lib/v20190423/client.rb', line 399 def CreateBatchProduction(request) body = send_request('CreateBatchProduction', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateBatchProductionResponse.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 |
#CreateCloudStorageAIService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateCloudStorageAIServiceResponse`
423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/v20190423/client.rb', line 423 def CreateCloudStorageAIService(request) body = send_request('CreateCloudStorageAIService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCloudStorageAIServiceResponse.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 |
#CreateCloudStorageAIServiceTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateCloudStorageAIServiceTaskResponse`
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 |
# File 'lib/v20190423/client.rb', line 447 def CreateCloudStorageAIServiceTask(request) body = send_request('CreateCloudStorageAIServiceTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCloudStorageAIServiceTaskResponse.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 |
#CreateDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateDeviceResponse`
471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'lib/v20190423/client.rb', line 471 def CreateDevice(request) body = send_request('CreateDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDeviceResponse.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 |
#CreateDeviceChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateDeviceChannelResponse`
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File 'lib/v20190423/client.rb', line 495 def CreateDeviceChannel(request) body = send_request('CreateDeviceChannel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDeviceChannelResponse.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 |
#CreateExternalSourceAIServiceTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateExternalSourceAIServiceTaskResponse`
519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 |
# File 'lib/v20190423/client.rb', line 519 def CreateExternalSourceAIServiceTask(request) body = send_request('CreateExternalSourceAIServiceTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateExternalSourceAIServiceTaskResponse.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 |
#CreateFenceBind(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateFenceBindResponse`
543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'lib/v20190423/client.rb', line 543 def CreateFenceBind(request) body = send_request('CreateFenceBind', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateFenceBindResponse.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 |
#CreateFreeCloudStorage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateFreeCloudStorageResponse`
567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 |
# File 'lib/v20190423/client.rb', line 567 def CreateFreeCloudStorage(request) body = send_request('CreateFreeCloudStorage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateFreeCloudStorageResponse.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 |
#CreateIotVideoCloudStorage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateIotVideoCloudStorageResponse`
591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 |
# File 'lib/v20190423/client.rb', line 591 def CreateIotVideoCloudStorage(request) body = send_request('CreateIotVideoCloudStorage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateIotVideoCloudStorageResponse.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 |
#CreateLoRaFrequency(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateLoRaFrequencyResponse`
615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 |
# File 'lib/v20190423/client.rb', line 615 def CreateLoRaFrequency(request) body = send_request('CreateLoRaFrequency', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateLoRaFrequencyResponse.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 |
#CreateLoRaGateway(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateLoRaGatewayResponse`
639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 |
# File 'lib/v20190423/client.rb', line 639 def CreateLoRaGateway(request) body = send_request('CreateLoRaGateway', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateLoRaGatewayResponse.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 |
#CreateOtaModule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateOtaModuleResponse`
663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 |
# File 'lib/v20190423/client.rb', line 663 def CreateOtaModule(request) body = send_request('CreateOtaModule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateOtaModuleResponse.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 |
#CreatePositionFence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreatePositionFenceResponse`
687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 |
# File 'lib/v20190423/client.rb', line 687 def CreatePositionFence(request) body = send_request('CreatePositionFence', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePositionFenceResponse.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 |
#CreatePositionSpace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreatePositionSpaceResponse`
711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 |
# File 'lib/v20190423/client.rb', line 711 def CreatePositionSpace(request) body = send_request('CreatePositionSpace', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePositionSpaceResponse.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 |
#CreateProject(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateProjectResponse`
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 |
# File 'lib/v20190423/client.rb', line 735 def CreateProject(request) body = send_request('CreateProject', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateProjectResponse.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 |
#CreateStudioProduct(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateStudioProductResponse`
759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 |
# File 'lib/v20190423/client.rb', line 759 def CreateStudioProduct(request) body = send_request('CreateStudioProduct', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateStudioProductResponse.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 |
#CreateTopicPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTopicPolicyResponse`
951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 |
# File 'lib/v20190423/client.rb', line 951 def CreateTopicPolicy(request) body = send_request('CreateTopicPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTopicPolicyResponse.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 |
#CreateTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTopicRuleResponse`
975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 |
# File 'lib/v20190423/client.rb', line 975 def CreateTopicRule(request) body = send_request('CreateTopicRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTopicRuleResponse.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 |
#CreateTRTCSignaturesWithRoomId(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTRTCSignaturesWithRoomIdResponse`
783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 |
# File 'lib/v20190423/client.rb', line 783 def CreateTRTCSignaturesWithRoomId(request) body = send_request('CreateTRTCSignaturesWithRoomId', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTRTCSignaturesWithRoomIdResponse.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 |
#CreateTWeSeeRecognitionTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTWeSeeRecognitionTaskResponse`
807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 |
# File 'lib/v20190423/client.rb', line 807 def CreateTWeSeeRecognitionTask(request) body = send_request('CreateTWeSeeRecognitionTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTWeSeeRecognitionTaskResponse.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 |
#CreateTWeSeeRecognitionTaskWithFile(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTWeSeeRecognitionTaskWithFileResponse`
831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 |
# File 'lib/v20190423/client.rb', line 831 def CreateTWeSeeRecognitionTaskWithFile(request) body = send_request('CreateTWeSeeRecognitionTaskWithFile', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTWeSeeRecognitionTaskWithFileResponse.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 |
#CreateTWeSeeService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTWeSeeServiceResponse`
855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 |
# File 'lib/v20190423/client.rb', line 855 def CreateTWeSeeService(request) body = send_request('CreateTWeSeeService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTWeSeeServiceResponse.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 |
#CreateTWeTalkAIBot(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTWeTalkAIBotResponse`
879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 |
# File 'lib/v20190423/client.rb', line 879 def CreateTWeTalkAIBot(request) body = send_request('CreateTWeTalkAIBot', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTWeTalkAIBotResponse.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 |
#CreateTWeTalkProductConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTWeTalkProductConfigResponse`
903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 |
# File 'lib/v20190423/client.rb', line 903 def CreateTWeTalkProductConfig(request) body = send_request('CreateTWeTalkProductConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTWeTalkProductConfigResponse.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 |
#CreateTWeTalkProductConfigV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::CreateTWeTalkProductConfigV2Response`
927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 |
# File 'lib/v20190423/client.rb', line 927 def CreateTWeTalkProductConfigV2(request) body = send_request('CreateTWeTalkProductConfigV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTWeTalkProductConfigV2Response.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 |
#DeleteCloudStorageEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteCloudStorageEventResponse`
999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 |
# File 'lib/v20190423/client.rb', line 999 def DeleteCloudStorageEvent(request) body = send_request('DeleteCloudStorageEvent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCloudStorageEventResponse.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 |
#DeleteDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteDeviceResponse`
1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 |
# File 'lib/v20190423/client.rb', line 1023 def DeleteDevice(request) body = send_request('DeleteDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteDeviceResponse.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 |
#DeleteDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteDevicesResponse`
1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 |
# File 'lib/v20190423/client.rb', line 1047 def DeleteDevices(request) body = send_request('DeleteDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteDevicesResponse.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 |
#DeleteFenceBind(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteFenceBindResponse`
1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 |
# File 'lib/v20190423/client.rb', line 1071 def DeleteFenceBind(request) body = send_request('DeleteFenceBind', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteFenceBindResponse.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 |
#DeleteLoRaFrequency(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteLoRaFrequencyResponse`
1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 |
# File 'lib/v20190423/client.rb', line 1095 def DeleteLoRaFrequency(request) body = send_request('DeleteLoRaFrequency', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteLoRaFrequencyResponse.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 |
#DeleteLoRaGateway(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteLoRaGatewayResponse`
1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 |
# File 'lib/v20190423/client.rb', line 1119 def DeleteLoRaGateway(request) body = send_request('DeleteLoRaGateway', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteLoRaGatewayResponse.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 |
#DeleteOtaModule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteOtaModuleResponse`
1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 |
# File 'lib/v20190423/client.rb', line 1143 def DeleteOtaModule(request) body = send_request('DeleteOtaModule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteOtaModuleResponse.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 |
#DeletePositionFence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeletePositionFenceResponse`
1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 |
# File 'lib/v20190423/client.rb', line 1167 def DeletePositionFence(request) body = send_request('DeletePositionFence', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePositionFenceResponse.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 |
#DeletePositionSpace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeletePositionSpaceResponse`
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 |
# File 'lib/v20190423/client.rb', line 1191 def DeletePositionSpace(request) body = send_request('DeletePositionSpace', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePositionSpaceResponse.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 |
#DeleteProject(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteProjectResponse`
1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 |
# File 'lib/v20190423/client.rb', line 1215 def DeleteProject(request) body = send_request('DeleteProject', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteProjectResponse.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 |
#DeleteStudioProduct(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteStudioProductResponse`
1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 |
# File 'lib/v20190423/client.rb', line 1239 def DeleteStudioProduct(request) body = send_request('DeleteStudioProduct', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteStudioProductResponse.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 |
#DeleteTopicPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteTopicPolicyResponse`
1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'lib/v20190423/client.rb', line 1311 def DeleteTopicPolicy(request) body = send_request('DeleteTopicPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTopicPolicyResponse.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 |
#DeleteTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteTopicRuleResponse`
1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 |
# File 'lib/v20190423/client.rb', line 1335 def DeleteTopicRule(request) body = send_request('DeleteTopicRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTopicRuleResponse.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 |
#DeleteTWeTalkAIBot(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteTWeTalkAIBotResponse`
1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 |
# File 'lib/v20190423/client.rb', line 1263 def DeleteTWeTalkAIBot(request) body = send_request('DeleteTWeTalkAIBot', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTWeTalkAIBotResponse.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 |
#DeleteTWeTalkProductConfigV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DeleteTWeTalkProductConfigV2Response`
1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/v20190423/client.rb', line 1287 def DeleteTWeTalkProductConfigV2(request) body = send_request('DeleteTWeTalkProductConfigV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTWeTalkProductConfigV2Response.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 |
#DescribeActivateDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeActivateDeviceResponse`
1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 |
# File 'lib/v20190423/client.rb', line 1383 def DescribeActivateDevice(request) body = send_request('DescribeActivateDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeActivateDeviceResponse.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 |
#DescribeActivateLicenseService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeActivateLicenseServiceResponse`
1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 |
# File 'lib/v20190423/client.rb', line 1407 def DescribeActivateLicenseService(request) body = send_request('DescribeActivateLicenseService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeActivateLicenseServiceResponse.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 |
#DescribeAISearchTaskAsync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeAISearchTaskAsyncResponse`
1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 |
# File 'lib/v20190423/client.rb', line 1359 def DescribeAISearchTaskAsync(request) body = send_request('DescribeAISearchTaskAsync', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAISearchTaskAsyncResponse.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 |
#DescribeBatchProduction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeBatchProductionResponse`
1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 |
# File 'lib/v20190423/client.rb', line 1431 def DescribeBatchProduction(request) body = send_request('DescribeBatchProduction', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBatchProductionResponse.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 |
#DescribeBindedProducts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeBindedProductsResponse`
1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 |
# File 'lib/v20190423/client.rb', line 1455 def DescribeBindedProducts(request) body = send_request('DescribeBindedProducts', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBindedProductsResponse.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 |
#DescribeCloudStorage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageResponse`
1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 |
# File 'lib/v20190423/client.rb', line 1479 def DescribeCloudStorage(request) body = send_request('DescribeCloudStorage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageResponse.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 |
#DescribeCloudStorageAIService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceResponse`
1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 |
# File 'lib/v20190423/client.rb', line 1503 def DescribeCloudStorageAIService(request) body = send_request('DescribeCloudStorageAIService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageAIServiceResponse.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 |
#DescribeCloudStorageAIServiceCallback(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceCallbackResponse`
1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 |
# File 'lib/v20190423/client.rb', line 1527 def DescribeCloudStorageAIServiceCallback(request) body = send_request('DescribeCloudStorageAIServiceCallback', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageAIServiceCallbackResponse.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 |
#DescribeCloudStorageAIServiceTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceTaskResponse`
1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 |
# File 'lib/v20190423/client.rb', line 1551 def DescribeCloudStorageAIServiceTask(request) body = send_request('DescribeCloudStorageAIServiceTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageAIServiceTaskResponse.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 |
#DescribeCloudStorageAIServiceTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceTasksResponse`
1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 |
# File 'lib/v20190423/client.rb', line 1575 def DescribeCloudStorageAIServiceTasks(request) body = send_request('DescribeCloudStorageAIServiceTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageAIServiceTasksResponse.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 |
#DescribeCloudStorageDate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageDateResponse`
1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 |
# File 'lib/v20190423/client.rb', line 1599 def DescribeCloudStorageDate(request) body = send_request('DescribeCloudStorageDate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageDateResponse.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 |
#DescribeCloudStorageEvents(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageEventsResponse`
1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 |
# File 'lib/v20190423/client.rb', line 1623 def DescribeCloudStorageEvents(request) body = send_request('DescribeCloudStorageEvents', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageEventsResponse.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 |
#DescribeCloudStorageEventsWithAITasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageEventsWithAITasksResponse`
1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 |
# File 'lib/v20190423/client.rb', line 1647 def DescribeCloudStorageEventsWithAITasks(request) body = send_request('DescribeCloudStorageEventsWithAITasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageEventsWithAITasksResponse.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 |
#DescribeCloudStorageMultiThumbnail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageMultiThumbnailResponse`
1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'lib/v20190423/client.rb', line 1671 def DescribeCloudStorageMultiThumbnail(request) body = send_request('DescribeCloudStorageMultiThumbnail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageMultiThumbnailResponse.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 |
#DescribeCloudStorageOrder(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageOrderResponse`
1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 |
# File 'lib/v20190423/client.rb', line 1695 def DescribeCloudStorageOrder(request) body = send_request('DescribeCloudStorageOrder', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageOrderResponse.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 |
#DescribeCloudStoragePackageConsumeDetails(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStoragePackageConsumeDetailsResponse`
1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 |
# File 'lib/v20190423/client.rb', line 1719 def DescribeCloudStoragePackageConsumeDetails(request) body = send_request('DescribeCloudStoragePackageConsumeDetails', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStoragePackageConsumeDetailsResponse.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 |
#DescribeCloudStoragePackageConsumeStats(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStoragePackageConsumeStatsResponse`
1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 |
# File 'lib/v20190423/client.rb', line 1743 def DescribeCloudStoragePackageConsumeStats(request) body = send_request('DescribeCloudStoragePackageConsumeStats', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStoragePackageConsumeStatsResponse.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 |
#DescribeCloudStorageStreamData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageStreamDataResponse`
1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 |
# File 'lib/v20190423/client.rb', line 1767 def DescribeCloudStorageStreamData(request) body = send_request('DescribeCloudStorageStreamData', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageStreamDataResponse.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 |
#DescribeCloudStorageThumbnail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageThumbnailResponse`
1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 |
# File 'lib/v20190423/client.rb', line 1791 def DescribeCloudStorageThumbnail(request) body = send_request('DescribeCloudStorageThumbnail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageThumbnailResponse.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 |
#DescribeCloudStorageThumbnailList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageThumbnailListResponse`
1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 |
# File 'lib/v20190423/client.rb', line 1815 def DescribeCloudStorageThumbnailList(request) body = send_request('DescribeCloudStorageThumbnailList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageThumbnailListResponse.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 |
#DescribeCloudStorageTime(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageTimeResponse`
1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 |
# File 'lib/v20190423/client.rb', line 1839 def DescribeCloudStorageTime(request) body = send_request('DescribeCloudStorageTime', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageTimeResponse.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 |
#DescribeCloudStorageUsers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageUsersResponse`
1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 |
# File 'lib/v20190423/client.rb', line 1863 def DescribeCloudStorageUsers(request) body = send_request('DescribeCloudStorageUsers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudStorageUsersResponse.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 |
#DescribeCsReportCountDataInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeCsReportCountDataInfoResponse`
1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 |
# File 'lib/v20190423/client.rb', line 1887 def DescribeCsReportCountDataInfo(request) body = send_request('DescribeCsReportCountDataInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCsReportCountDataInfoResponse.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 |
#DescribeDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDeviceResponse`
1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 |
# File 'lib/v20190423/client.rb', line 1911 def DescribeDevice(request) body = send_request('DescribeDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceResponse.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 |
#DescribeDeviceBindGateway(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDeviceBindGatewayResponse`
1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 |
# File 'lib/v20190423/client.rb', line 1935 def DescribeDeviceBindGateway(request) body = send_request('DescribeDeviceBindGateway', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceBindGatewayResponse.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 |
#DescribeDeviceData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDeviceDataResponse`
1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 |
# File 'lib/v20190423/client.rb', line 1959 def DescribeDeviceData(request) body = send_request('DescribeDeviceData', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceDataResponse.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 |
#DescribeDeviceDataHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDeviceDataHistoryResponse`
1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 |
# File 'lib/v20190423/client.rb', line 1983 def DescribeDeviceDataHistory(request) body = send_request('DescribeDeviceDataHistory', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceDataHistoryResponse.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 |
#DescribeDeviceFirmWare(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDeviceFirmWareResponse`
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
# File 'lib/v20190423/client.rb', line 2007 def DescribeDeviceFirmWare(request) body = send_request('DescribeDeviceFirmWare', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceFirmWareResponse.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 |
#DescribeDeviceFirmwares(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDeviceFirmwaresResponse`
2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 |
# File 'lib/v20190423/client.rb', line 2031 def DescribeDeviceFirmwares(request) body = send_request('DescribeDeviceFirmwares', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceFirmwaresResponse.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 |
#DescribeDevicePackages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDevicePackagesResponse`
2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 |
# File 'lib/v20190423/client.rb', line 2055 def DescribeDevicePackages(request) body = send_request('DescribeDevicePackages', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDevicePackagesResponse.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 |
#DescribeDevicePositionList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeDevicePositionListResponse`
2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 |
# File 'lib/v20190423/client.rb', line 2079 def DescribeDevicePositionList(request) body = send_request('DescribeDevicePositionList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDevicePositionListResponse.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 |
#DescribeFenceBindList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFenceBindListResponse`
2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 |
# File 'lib/v20190423/client.rb', line 2103 def DescribeFenceBindList(request) body = send_request('DescribeFenceBindList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFenceBindListResponse.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 |
#DescribeFenceEventList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFenceEventListResponse`
2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 |
# File 'lib/v20190423/client.rb', line 2127 def DescribeFenceEventList(request) body = send_request('DescribeFenceEventList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFenceEventListResponse.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 |
#DescribeFirmware(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFirmwareResponse`
2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 |
# File 'lib/v20190423/client.rb', line 2151 def DescribeFirmware(request) body = send_request('DescribeFirmware', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFirmwareResponse.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 |
#DescribeFirmwareTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFirmwareTaskResponse`
2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 |
# File 'lib/v20190423/client.rb', line 2175 def DescribeFirmwareTask(request) body = send_request('DescribeFirmwareTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFirmwareTaskResponse.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 |
#DescribeFirmwareTaskDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFirmwareTaskDevicesResponse`
2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 |
# File 'lib/v20190423/client.rb', line 2199 def DescribeFirmwareTaskDevices(request) body = send_request('DescribeFirmwareTaskDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFirmwareTaskDevicesResponse.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 |
#DescribeFirmwareTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFirmwareTasksResponse`
2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 |
# File 'lib/v20190423/client.rb', line 2223 def DescribeFirmwareTasks(request) body = send_request('DescribeFirmwareTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFirmwareTasksResponse.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 |
#DescribeFirmwareUpdateStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFirmwareUpdateStatusResponse`
2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 |
# File 'lib/v20190423/client.rb', line 2247 def DescribeFirmwareUpdateStatus(request) body = send_request('DescribeFirmwareUpdateStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFirmwareUpdateStatusResponse.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 |
#DescribeFreeCloudStorageNum(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeFreeCloudStorageNumResponse`
2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'lib/v20190423/client.rb', line 2271 def DescribeFreeCloudStorageNum(request) body = send_request('DescribeFreeCloudStorageNum', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFreeCloudStorageNumResponse.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 |
#DescribeGatewayBindDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeGatewayBindDevicesResponse`
2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 |
# File 'lib/v20190423/client.rb', line 2295 def DescribeGatewayBindDevices(request) body = send_request('DescribeGatewayBindDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGatewayBindDevicesResponse.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 |
#DescribeGatewaySubDeviceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeGatewaySubDeviceListResponse`
2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 |
# File 'lib/v20190423/client.rb', line 2319 def DescribeGatewaySubDeviceList(request) body = send_request('DescribeGatewaySubDeviceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGatewaySubDeviceListResponse.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 |
#DescribeGatewaySubProducts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeGatewaySubProductsResponse`
2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 |
# File 'lib/v20190423/client.rb', line 2343 def DescribeGatewaySubProducts(request) body = send_request('DescribeGatewaySubProducts', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGatewaySubProductsResponse.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 |
#DescribeInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeInstanceResponse`
2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 |
# File 'lib/v20190423/client.rb', line 2367 def DescribeInstance(request) body = send_request('DescribeInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeInstanceResponse.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 |
#DescribeLoRaFrequency(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeLoRaFrequencyResponse`
2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 |
# File 'lib/v20190423/client.rb', line 2391 def DescribeLoRaFrequency(request) body = send_request('DescribeLoRaFrequency', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLoRaFrequencyResponse.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 |
#DescribeModelDefinition(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeModelDefinitionResponse`
2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 |
# File 'lib/v20190423/client.rb', line 2415 def DescribeModelDefinition(request) body = send_request('DescribeModelDefinition', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeModelDefinitionResponse.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 |
#DescribeP2PRoute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeP2PRouteResponse`
2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 |
# File 'lib/v20190423/client.rb', line 2439 def DescribeP2PRoute(request) body = send_request('DescribeP2PRoute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeP2PRouteResponse.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 |
#DescribePackageConsumeTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribePackageConsumeTaskResponse`
2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 |
# File 'lib/v20190423/client.rb', line 2463 def DescribePackageConsumeTask(request) body = send_request('DescribePackageConsumeTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePackageConsumeTaskResponse.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 |
#DescribePackageConsumeTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribePackageConsumeTasksResponse`
2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 |
# File 'lib/v20190423/client.rb', line 2487 def DescribePackageConsumeTasks(request) body = send_request('DescribePackageConsumeTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePackageConsumeTasksResponse.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 |
#DescribePositionFenceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribePositionFenceListResponse`
2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 |
# File 'lib/v20190423/client.rb', line 2511 def DescribePositionFenceList(request) body = send_request('DescribePositionFenceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePositionFenceListResponse.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 |
#DescribeProductCloudStorageAIService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeProductCloudStorageAIServiceResponse`
2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 |
# File 'lib/v20190423/client.rb', line 2535 def DescribeProductCloudStorageAIService(request) body = send_request('DescribeProductCloudStorageAIService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProductCloudStorageAIServiceResponse.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 |
#DescribeProject(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeProjectResponse`
2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 |
# File 'lib/v20190423/client.rb', line 2559 def DescribeProject(request) body = send_request('DescribeProject', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProjectResponse.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 |
#DescribeSpaceFenceEventList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeSpaceFenceEventListResponse`
2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 |
# File 'lib/v20190423/client.rb', line 2583 def DescribeSpaceFenceEventList(request) body = send_request('DescribeSpaceFenceEventList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSpaceFenceEventListResponse.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 |
#DescribeStudioProduct(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeStudioProductResponse`
2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 |
# File 'lib/v20190423/client.rb', line 2607 def DescribeStudioProduct(request) body = send_request('DescribeStudioProduct', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStudioProductResponse.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 |
#DescribeSubscribedTopicPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeSubscribedTopicPolicyResponse`
2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 |
# File 'lib/v20190423/client.rb', line 2631 def DescribeSubscribedTopicPolicy(request) body = send_request('DescribeSubscribedTopicPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSubscribedTopicPolicyResponse.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 |
#DescribeTopicPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTopicPolicyResponse`
2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 |
# File 'lib/v20190423/client.rb', line 2775 def DescribeTopicPolicy(request) body = send_request('DescribeTopicPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTopicPolicyResponse.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 |
#DescribeTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTopicRuleResponse`
2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 |
# File 'lib/v20190423/client.rb', line 2799 def DescribeTopicRule(request) body = send_request('DescribeTopicRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTopicRuleResponse.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 |
#DescribeTWeSeeConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTWeSeeConfigResponse`
2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 |
# File 'lib/v20190423/client.rb', line 2655 def DescribeTWeSeeConfig(request) body = send_request('DescribeTWeSeeConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTWeSeeConfigResponse.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 |
#DescribeTWeSeeRecognitionTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTWeSeeRecognitionTaskResponse`
2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 |
# File 'lib/v20190423/client.rb', line 2679 def DescribeTWeSeeRecognitionTask(request) body = send_request('DescribeTWeSeeRecognitionTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTWeSeeRecognitionTaskResponse.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 |
#DescribeTWeTalkAIBot(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTWeTalkAIBotResponse`
2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 |
# File 'lib/v20190423/client.rb', line 2703 def DescribeTWeTalkAIBot(request) body = send_request('DescribeTWeTalkAIBot', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTWeTalkAIBotResponse.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 |
#DescribeTWeTalkProductConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTWeTalkProductConfigResponse`
2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 |
# File 'lib/v20190423/client.rb', line 2727 def DescribeTWeTalkProductConfig(request) body = send_request('DescribeTWeTalkProductConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTWeTalkProductConfigResponse.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 |
#DescribeTWeTalkProductConfigV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeTWeTalkProductConfigV2Response`
2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 |
# File 'lib/v20190423/client.rb', line 2751 def DescribeTWeTalkProductConfigV2(request) body = send_request('DescribeTWeTalkProductConfigV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTWeTalkProductConfigV2Response.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 |
#DescribeUnbindedDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeUnbindedDevicesResponse`
2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 |
# File 'lib/v20190423/client.rb', line 2823 def DescribeUnbindedDevices(request) body = send_request('DescribeUnbindedDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUnbindedDevicesResponse.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 |
#DescribeVideoLicense(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DescribeVideoLicenseResponse`
2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 |
# File 'lib/v20190423/client.rb', line 2847 def DescribeVideoLicense(request) body = send_request('DescribeVideoLicense', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVideoLicenseResponse.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 |
#DirectBindDeviceInFamily(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DirectBindDeviceInFamilyResponse`
2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 |
# File 'lib/v20190423/client.rb', line 2871 def DirectBindDeviceInFamily(request) body = send_request('DirectBindDeviceInFamily', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DirectBindDeviceInFamilyResponse.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 |
#DisableTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DisableTopicRuleResponse`
2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 |
# File 'lib/v20190423/client.rb', line 2895 def DisableTopicRule(request) body = send_request('DisableTopicRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisableTopicRuleResponse.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 |
#DismissRoomByStrRoomIdFromTRTC(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::DismissRoomByStrRoomIdFromTRTCResponse`
2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 |
# File 'lib/v20190423/client.rb', line 2919 def DismissRoomByStrRoomIdFromTRTC(request) body = send_request('DismissRoomByStrRoomIdFromTRTC', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DismissRoomByStrRoomIdFromTRTCResponse.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 |
#EnableTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::EnableTopicRuleResponse`
2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 |
# File 'lib/v20190423/client.rb', line 2943 def EnableTopicRule(request) body = send_request('EnableTopicRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EnableTopicRuleResponse.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 |
#GenerateCloudStorageAIServiceTaskFileURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GenerateCloudStorageAIServiceTaskFileURLResponse`
2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 |
# File 'lib/v20190423/client.rb', line 2991 def GenerateCloudStorageAIServiceTaskFileURL(request) body = send_request('GenerateCloudStorageAIServiceTaskFileURL', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GenerateCloudStorageAIServiceTaskFileURLResponse.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 |
#GenerateSignedVideoURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GenerateSignedVideoURLResponse`
3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 |
# File 'lib/v20190423/client.rb', line 3015 def GenerateSignedVideoURL(request) body = send_request('GenerateSignedVideoURL', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GenerateSignedVideoURLResponse.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 |
#GenSingleDeviceSignatureOfPublic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GenSingleDeviceSignatureOfPublicResponse`
2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 |
# File 'lib/v20190423/client.rb', line 2967 def GenSingleDeviceSignatureOfPublic(request) body = send_request('GenSingleDeviceSignatureOfPublic', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GenSingleDeviceSignatureOfPublicResponse.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 |
#GetAuthMiniProgramAppList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetAuthMiniProgramAppListResponse`
3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 |
# File 'lib/v20190423/client.rb', line 3039 def GetAuthMiniProgramAppList(request) body = send_request('GetAuthMiniProgramAppList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetAuthMiniProgramAppListResponse.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 |
#GetBatchProductionsList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetBatchProductionsListResponse`
3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 |
# File 'lib/v20190423/client.rb', line 3063 def GetBatchProductionsList(request) body = send_request('GetBatchProductionsList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetBatchProductionsListResponse.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 |
#GetCOSURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetCOSURLResponse`
3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 |
# File 'lib/v20190423/client.rb', line 3087 def GetCOSURL(request) body = send_request('GetCOSURL', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetCOSURLResponse.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 |
#GetDeviceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetDeviceListResponse`
3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 |
# File 'lib/v20190423/client.rb', line 3111 def GetDeviceList(request) body = send_request('GetDeviceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetDeviceListResponse.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 |
#GetDeviceLocationHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetDeviceLocationHistoryResponse`
3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 |
# File 'lib/v20190423/client.rb', line 3135 def GetDeviceLocationHistory(request) body = send_request('GetDeviceLocationHistory', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetDeviceLocationHistoryResponse.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 |
#GetDeviceSumStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetDeviceSumStatisticsResponse`
3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 |
# File 'lib/v20190423/client.rb', line 3159 def GetDeviceSumStatistics(request) body = send_request('GetDeviceSumStatistics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetDeviceSumStatisticsResponse.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 |
#GetFamilyDeviceUserList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetFamilyDeviceUserListResponse`
3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 |
# File 'lib/v20190423/client.rb', line 3183 def GetFamilyDeviceUserList(request) body = send_request('GetFamilyDeviceUserList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetFamilyDeviceUserListResponse.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 |
#GetGatewaySubDeviceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetGatewaySubDeviceListResponse`
3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 |
# File 'lib/v20190423/client.rb', line 3207 def GetGatewaySubDeviceList(request) body = send_request('GetGatewaySubDeviceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetGatewaySubDeviceListResponse.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 |
#GetLoRaGatewayList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetLoRaGatewayListResponse`
3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 |
# File 'lib/v20190423/client.rb', line 3231 def GetLoRaGatewayList(request) body = send_request('GetLoRaGatewayList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetLoRaGatewayListResponse.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 |
#GetPositionSpaceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetPositionSpaceListResponse`
3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 |
# File 'lib/v20190423/client.rb', line 3255 def GetPositionSpaceList(request) body = send_request('GetPositionSpaceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetPositionSpaceListResponse.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 |
#GetProjectList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetProjectListResponse`
3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 |
# File 'lib/v20190423/client.rb', line 3279 def GetProjectList(request) body = send_request('GetProjectList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetProjectListResponse.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 |
#GetStudioProductList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetStudioProductListResponse`
3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 |
# File 'lib/v20190423/client.rb', line 3303 def GetStudioProductList(request) body = send_request('GetStudioProductList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetStudioProductListResponse.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 |
#GetTopicRuleList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetTopicRuleListResponse`
3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 |
# File 'lib/v20190423/client.rb', line 3423 def GetTopicRuleList(request) body = send_request('GetTopicRuleList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetTopicRuleListResponse.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 |
#GetTWeCallActiveStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetTWeCallActiveStatusResponse`
3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 |
# File 'lib/v20190423/client.rb', line 3327 def GetTWeCallActiveStatus(request) body = send_request('GetTWeCallActiveStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetTWeCallActiveStatusResponse.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 |
#GetTWeTalkAIBotList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetTWeTalkAIBotListResponse`
3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 |
# File 'lib/v20190423/client.rb', line 3351 def GetTWeTalkAIBotList(request) body = send_request('GetTWeTalkAIBotList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetTWeTalkAIBotListResponse.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 |
#GetTWeTalkProductConfigList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetTWeTalkProductConfigListResponse`
3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 |
# File 'lib/v20190423/client.rb', line 3375 def GetTWeTalkProductConfigList(request) body = send_request('GetTWeTalkProductConfigList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetTWeTalkProductConfigListResponse.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 |
#GetTWeTalkProductConfigListV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetTWeTalkProductConfigListV2Response`
3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 |
# File 'lib/v20190423/client.rb', line 3399 def GetTWeTalkProductConfigListV2(request) body = send_request('GetTWeTalkProductConfigListV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetTWeTalkProductConfigListV2Response.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 |
#GetWechatDeviceTicket(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::GetWechatDeviceTicketResponse`
3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 |
# File 'lib/v20190423/client.rb', line 3447 def GetWechatDeviceTicket(request) body = send_request('GetWechatDeviceTicket', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetWechatDeviceTicketResponse.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 |
#InheritCloudStorageUser(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InheritCloudStorageUserResponse`
3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 |
# File 'lib/v20190423/client.rb', line 3471 def InheritCloudStorageUser(request) body = send_request('InheritCloudStorageUser', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InheritCloudStorageUserResponse.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 |
#InvokeAISearchService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InvokeAISearchServiceResponse`
3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 |
# File 'lib/v20190423/client.rb', line 3495 def InvokeAISearchService(request) body = send_request('InvokeAISearchService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InvokeAISearchServiceResponse.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 |
#InvokeCloudStorageAIServiceTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InvokeCloudStorageAIServiceTaskResponse`
3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 |
# File 'lib/v20190423/client.rb', line 3519 def InvokeCloudStorageAIServiceTask(request) body = send_request('InvokeCloudStorageAIServiceTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InvokeCloudStorageAIServiceTaskResponse.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 |
#InvokeExternalSourceAIServiceTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InvokeExternalSourceAIServiceTaskResponse`
3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 |
# File 'lib/v20190423/client.rb', line 3543 def InvokeExternalSourceAIServiceTask(request) body = send_request('InvokeExternalSourceAIServiceTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InvokeExternalSourceAIServiceTaskResponse.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 |
#InvokeTWeSeeRecognitionTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InvokeTWeSeeRecognitionTaskResponse`
3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 |
# File 'lib/v20190423/client.rb', line 3567 def InvokeTWeSeeRecognitionTask(request) body = send_request('InvokeTWeSeeRecognitionTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InvokeTWeSeeRecognitionTaskResponse.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 |
#InvokeTWeSeeRecognitionTaskWithFile(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InvokeTWeSeeRecognitionTaskWithFileResponse`
3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 |
# File 'lib/v20190423/client.rb', line 3591 def InvokeTWeSeeRecognitionTaskWithFile(request) body = send_request('InvokeTWeSeeRecognitionTaskWithFile', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InvokeTWeSeeRecognitionTaskWithFileResponse.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 |
#InvokeVideosKeywordsAnalyzer(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::InvokeVideosKeywordsAnalyzerResponse`
3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 |
# File 'lib/v20190423/client.rb', line 3615 def InvokeVideosKeywordsAnalyzer(request) body = send_request('InvokeVideosKeywordsAnalyzer', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InvokeVideosKeywordsAnalyzerResponse.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 |
#ListEventHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ListEventHistoryResponse`
3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 |
# File 'lib/v20190423/client.rb', line 3639 def ListEventHistory(request) body = send_request('ListEventHistory', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListEventHistoryResponse.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 |
#ListFirmwares(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ListFirmwaresResponse`
3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 |
# File 'lib/v20190423/client.rb', line 3663 def ListFirmwares(request) body = send_request('ListFirmwares', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListFirmwaresResponse.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 |
#ListOtaModules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ListOtaModulesResponse`
3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 |
# File 'lib/v20190423/client.rb', line 3687 def ListOtaModules(request) body = send_request('ListOtaModules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListOtaModulesResponse.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 |
#ListProductOtaModules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ListProductOtaModulesResponse`
3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 |
# File 'lib/v20190423/client.rb', line 3711 def ListProductOtaModules(request) body = send_request('ListProductOtaModules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListProductOtaModulesResponse.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 |
#ListTopicPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ListTopicPolicyResponse`
3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'lib/v20190423/client.rb', line 3735 def ListTopicPolicy(request) body = send_request('ListTopicPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListTopicPolicyResponse.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 |
#ModifyApplication(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyApplicationResponse`
3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 |
# File 'lib/v20190423/client.rb', line 3759 def ModifyApplication(request) body = send_request('ModifyApplication', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyApplicationResponse.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 |
#ModifyCloudStorageAIService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyCloudStorageAIServiceResponse`
3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 |
# File 'lib/v20190423/client.rb', line 3783 def ModifyCloudStorageAIService(request) body = send_request('ModifyCloudStorageAIService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCloudStorageAIServiceResponse.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 |
#ModifyCloudStorageAIServiceCallback(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyCloudStorageAIServiceCallbackResponse`
3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 |
# File 'lib/v20190423/client.rb', line 3807 def ModifyCloudStorageAIServiceCallback(request) body = send_request('ModifyCloudStorageAIServiceCallback', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCloudStorageAIServiceCallbackResponse.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 |
#ModifyFenceBind(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyFenceBindResponse`
3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 |
# File 'lib/v20190423/client.rb', line 3831 def ModifyFenceBind(request) body = send_request('ModifyFenceBind', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyFenceBindResponse.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 |
#ModifyLoRaFrequency(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyLoRaFrequencyResponse`
3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 |
# File 'lib/v20190423/client.rb', line 3855 def ModifyLoRaFrequency(request) body = send_request('ModifyLoRaFrequency', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyLoRaFrequencyResponse.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 |
#ModifyLoRaGateway(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyLoRaGatewayResponse`
3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 |
# File 'lib/v20190423/client.rb', line 3879 def ModifyLoRaGateway(request) body = send_request('ModifyLoRaGateway', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyLoRaGatewayResponse.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 |
#ModifyModelDefinition(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyModelDefinitionResponse`
3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 |
# File 'lib/v20190423/client.rb', line 3903 def ModifyModelDefinition(request) body = send_request('ModifyModelDefinition', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyModelDefinitionResponse.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 |
#ModifyPositionFence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyPositionFenceResponse`
3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 |
# File 'lib/v20190423/client.rb', line 3927 def ModifyPositionFence(request) body = send_request('ModifyPositionFence', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPositionFenceResponse.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 |
#ModifyPositionSpace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyPositionSpaceResponse`
3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 |
# File 'lib/v20190423/client.rb', line 3951 def ModifyPositionSpace(request) body = send_request('ModifyPositionSpace', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPositionSpaceResponse.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 |
#ModifyProductCloudStorageAIService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyProductCloudStorageAIServiceResponse`
3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 |
# File 'lib/v20190423/client.rb', line 3975 def ModifyProductCloudStorageAIService(request) body = send_request('ModifyProductCloudStorageAIService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyProductCloudStorageAIServiceResponse.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 |
#ModifyProject(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyProjectResponse`
3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 |
# File 'lib/v20190423/client.rb', line 3999 def ModifyProject(request) body = send_request('ModifyProject', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyProjectResponse.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 |
#ModifySpaceProperty(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifySpacePropertyResponse`
4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 |
# File 'lib/v20190423/client.rb', line 4023 def ModifySpaceProperty(request) body = send_request('ModifySpaceProperty', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySpacePropertyResponse.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 |
#ModifyStudioProduct(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyStudioProductResponse`
4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 |
# File 'lib/v20190423/client.rb', line 4047 def ModifyStudioProduct(request) body = send_request('ModifyStudioProduct', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyStudioProductResponse.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 |
#ModifyTopicPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyTopicPolicyResponse`
4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 |
# File 'lib/v20190423/client.rb', line 4167 def ModifyTopicPolicy(request) body = send_request('ModifyTopicPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTopicPolicyResponse.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 |
#ModifyTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyTopicRuleResponse`
4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 |
# File 'lib/v20190423/client.rb', line 4191 def ModifyTopicRule(request) body = send_request('ModifyTopicRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTopicRuleResponse.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 |
#ModifyTWeSeeConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyTWeSeeConfigResponse`
4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 |
# File 'lib/v20190423/client.rb', line 4071 def ModifyTWeSeeConfig(request) body = send_request('ModifyTWeSeeConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTWeSeeConfigResponse.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 |
#ModifyTWeTalkAIBot(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyTWeTalkAIBotResponse`
4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 |
# File 'lib/v20190423/client.rb', line 4095 def ModifyTWeTalkAIBot(request) body = send_request('ModifyTWeTalkAIBot', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTWeTalkAIBotResponse.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 |
#ModifyTWeTalkProductConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyTWeTalkProductConfigResponse`
4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 |
# File 'lib/v20190423/client.rb', line 4119 def ModifyTWeTalkProductConfig(request) body = send_request('ModifyTWeTalkProductConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTWeTalkProductConfigResponse.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 |
#ModifyTWeTalkProductConfigV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ModifyTWeTalkProductConfigV2Response`
4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 |
# File 'lib/v20190423/client.rb', line 4143 def ModifyTWeTalkProductConfigV2(request) body = send_request('ModifyTWeTalkProductConfigV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTWeTalkProductConfigV2Response.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 |
#PauseTWeCallDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::PauseTWeCallDeviceResponse`
4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 |
# File 'lib/v20190423/client.rb', line 4215 def PauseTWeCallDevice(request) body = send_request('PauseTWeCallDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PauseTWeCallDeviceResponse.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 |
#PublishBroadcastMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::PublishBroadcastMessageResponse`
4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 |
# File 'lib/v20190423/client.rb', line 4241 def PublishBroadcastMessage(request) body = send_request('PublishBroadcastMessage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PublishBroadcastMessageResponse.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 |
#PublishFirmwareUpdateMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::PublishFirmwareUpdateMessageResponse`
4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 |
# File 'lib/v20190423/client.rb', line 4265 def PublishFirmwareUpdateMessage(request) body = send_request('PublishFirmwareUpdateMessage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PublishFirmwareUpdateMessageResponse.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 |
#PublishMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::PublishMessageResponse`
4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 |
# File 'lib/v20190423/client.rb', line 4289 def PublishMessage(request) body = send_request('PublishMessage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PublishMessageResponse.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 |
#PublishRRPCMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::PublishRRPCMessageResponse`
4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 |
# File 'lib/v20190423/client.rb', line 4315 def PublishRRPCMessage(request) body = send_request('PublishRRPCMessage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PublishRRPCMessageResponse.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 |
#ReleaseStudioProduct(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ReleaseStudioProductResponse`
4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 |
# File 'lib/v20190423/client.rb', line 4339 def ReleaseStudioProduct(request) body = send_request('ReleaseStudioProduct', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ReleaseStudioProductResponse.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 |
#RemoveUserByRoomIdFromTRTC(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::RemoveUserByRoomIdFromTRTCResponse`
4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 |
# File 'lib/v20190423/client.rb', line 4363 def RemoveUserByRoomIdFromTRTC(request) body = send_request('RemoveUserByRoomIdFromTRTC', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RemoveUserByRoomIdFromTRTCResponse.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 |
#ResetCloudStorage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ResetCloudStorageResponse`
4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 |
# File 'lib/v20190423/client.rb', line 4387 def ResetCloudStorage(request) body = send_request('ResetCloudStorage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResetCloudStorageResponse.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 |
#ResetCloudStorageAIService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ResetCloudStorageAIServiceResponse`
4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 |
# File 'lib/v20190423/client.rb', line 4411 def ResetCloudStorageAIService(request) body = send_request('ResetCloudStorageAIService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResetCloudStorageAIServiceResponse.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 |
#ResetCloudStorageEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ResetCloudStorageEventResponse`
4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 |
# File 'lib/v20190423/client.rb', line 4435 def ResetCloudStorageEvent(request) body = send_request('ResetCloudStorageEvent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResetCloudStorageEventResponse.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 |
#ResetTWeCallDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ResetTWeCallDeviceResponse`
4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 |
# File 'lib/v20190423/client.rb', line 4459 def ResetTWeCallDevice(request) body = send_request('ResetTWeCallDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResetTWeCallDeviceResponse.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 |
#ResumeWeCallDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::ResumeWeCallDeviceResponse`
4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 |
# File 'lib/v20190423/client.rb', line 4483 def ResumeWeCallDevice(request) body = send_request('ResumeWeCallDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResumeWeCallDeviceResponse.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 |
#SearchPositionSpace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::SearchPositionSpaceResponse`
4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 |
# File 'lib/v20190423/client.rb', line 4507 def SearchPositionSpace(request) body = send_request('SearchPositionSpace', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SearchPositionSpaceResponse.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 |
#SearchStudioProduct(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::SearchStudioProductResponse`
4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 |
# File 'lib/v20190423/client.rb', line 4531 def SearchStudioProduct(request) body = send_request('SearchStudioProduct', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SearchStudioProductResponse.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 |
#SearchTopicRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::SearchTopicRuleResponse`
4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 |
# File 'lib/v20190423/client.rb', line 4555 def SearchTopicRule(request) body = send_request('SearchTopicRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SearchTopicRuleResponse.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 |
#TransferCloudStorage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::TransferCloudStorageResponse`
4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 |
# File 'lib/v20190423/client.rb', line 4579 def TransferCloudStorage(request) body = send_request('TransferCloudStorage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = TransferCloudStorageResponse.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 |
#TransferTWeCallDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::TransferTWeCallDeviceResponse`
4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 |
# File 'lib/v20190423/client.rb', line 4603 def TransferTWeCallDevice(request) body = send_request('TransferTWeCallDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = TransferTWeCallDeviceResponse.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 |
#UnbindDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UnbindDevicesResponse`
4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 |
# File 'lib/v20190423/client.rb', line 4627 def UnbindDevices(request) body = send_request('UnbindDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnbindDevicesResponse.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 |
#UnbindProducts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UnbindProductsResponse`
4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 |
# File 'lib/v20190423/client.rb', line 4651 def UnbindProducts(request) body = send_request('UnbindProducts', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnbindProductsResponse.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 |
#UnbindTWeTalkAIBot(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UnbindTWeTalkAIBotResponse`
4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 |
# File 'lib/v20190423/client.rb', line 4675 def UnbindTWeTalkAIBot(request) body = send_request('UnbindTWeTalkAIBot', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnbindTWeTalkAIBotResponse.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 |
#UpdateDevicesEnableState(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UpdateDevicesEnableStateResponse`
4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 |
# File 'lib/v20190423/client.rb', line 4723 def UpdateDevicesEnableState(request) body = send_request('UpdateDevicesEnableState', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateDevicesEnableStateResponse.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 |
#UpdateDeviceTWeCallAuthorizeStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UpdateDeviceTWeCallAuthorizeStatusResponse`
4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 |
# File 'lib/v20190423/client.rb', line 4699 def UpdateDeviceTWeCallAuthorizeStatus(request) body = send_request('UpdateDeviceTWeCallAuthorizeStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateDeviceTWeCallAuthorizeStatusResponse.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 |
#UpdateFirmware(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UpdateFirmwareResponse`
4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 |
# File 'lib/v20190423/client.rb', line 4747 def UpdateFirmware(request) body = send_request('UpdateFirmware', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateFirmwareResponse.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 |
#UpdateOtaModule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UpdateOtaModuleResponse`
4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 |
# File 'lib/v20190423/client.rb', line 4771 def UpdateOtaModule(request) body = send_request('UpdateOtaModule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateOtaModuleResponse.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 |
#UpdateOtaTaskStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UpdateOtaTaskStatusResponse`
4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 |
# File 'lib/v20190423/client.rb', line 4795 def UpdateOtaTaskStatus(request) body = send_request('UpdateOtaTaskStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateOtaTaskStatusResponse.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 |
#UploadFirmware(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotexplorer::V20190423::UploadFirmwareResponse`
4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 |
# File 'lib/v20190423/client.rb', line 4819 def UploadFirmware(request) body = send_request('UploadFirmware', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UploadFirmwareResponse.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 |