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. -
#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. -
#CreateDeviceSDPAnswer(request) ⇒ Object
@rtype: :class:
Tencentcloud::iotexplorer::V20190423::CreateDeviceSDPAnswerResponse. -
#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 |
#ChangeP2PRoute(request) ⇒ Object
@rtype: :class:Tencentcloud::iotexplorer::V20190423::ChangeP2PRouteResponse
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/v20190423/client.rb', line 277 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
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 |
# File 'lib/v20190423/client.rb', line 301 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
325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 |
# File 'lib/v20190423/client.rb', line 325 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
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 |
# File 'lib/v20190423/client.rb', line 349 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
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 |
# File 'lib/v20190423/client.rb', line 373 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
397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 |
# File 'lib/v20190423/client.rb', line 397 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
421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 |
# File 'lib/v20190423/client.rb', line 421 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
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 |
# File 'lib/v20190423/client.rb', line 445 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
469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 |
# File 'lib/v20190423/client.rb', line 469 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 |
#CreateDeviceSDPAnswer(request) ⇒ Object
@rtype: :class:Tencentcloud::iotexplorer::V20190423::CreateDeviceSDPAnswerResponse
493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 |
# File 'lib/v20190423/client.rb', line 493 def CreateDeviceSDPAnswer(request) body = send_request('CreateDeviceSDPAnswer', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDeviceSDPAnswerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::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
517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 |
# File 'lib/v20190423/client.rb', line 517 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
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 |
# File 'lib/v20190423/client.rb', line 541 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
565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 |
# File 'lib/v20190423/client.rb', line 565 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
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 |
# File 'lib/v20190423/client.rb', line 589 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
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 |
# File 'lib/v20190423/client.rb', line 613 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
637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 |
# File 'lib/v20190423/client.rb', line 637 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
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/v20190423/client.rb', line 661 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
685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
# File 'lib/v20190423/client.rb', line 685 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
709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 |
# File 'lib/v20190423/client.rb', line 709 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
733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 |
# File 'lib/v20190423/client.rb', line 733 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
757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 |
# File 'lib/v20190423/client.rb', line 757 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
949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 |
# File 'lib/v20190423/client.rb', line 949 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
973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 |
# File 'lib/v20190423/client.rb', line 973 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
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 |
# File 'lib/v20190423/client.rb', line 781 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
805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 |
# File 'lib/v20190423/client.rb', line 805 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
829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 |
# File 'lib/v20190423/client.rb', line 829 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
853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'lib/v20190423/client.rb', line 853 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
877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 |
# File 'lib/v20190423/client.rb', line 877 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
901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'lib/v20190423/client.rb', line 901 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
925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 |
# File 'lib/v20190423/client.rb', line 925 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
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 |
# File 'lib/v20190423/client.rb', line 997 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
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 |
# File 'lib/v20190423/client.rb', line 1021 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
1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 |
# File 'lib/v20190423/client.rb', line 1045 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
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 |
# File 'lib/v20190423/client.rb', line 1069 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
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 |
# File 'lib/v20190423/client.rb', line 1093 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
1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 |
# File 'lib/v20190423/client.rb', line 1117 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
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 |
# File 'lib/v20190423/client.rb', line 1141 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
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 |
# File 'lib/v20190423/client.rb', line 1165 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
1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 |
# File 'lib/v20190423/client.rb', line 1189 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
1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 |
# File 'lib/v20190423/client.rb', line 1213 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
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 |
# File 'lib/v20190423/client.rb', line 1237 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
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 |
# File 'lib/v20190423/client.rb', line 1309 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
1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 |
# File 'lib/v20190423/client.rb', line 1333 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
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 |
# File 'lib/v20190423/client.rb', line 1261 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
1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 |
# File 'lib/v20190423/client.rb', line 1285 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
1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 |
# File 'lib/v20190423/client.rb', line 1381 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
1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 |
# File 'lib/v20190423/client.rb', line 1405 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
1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 |
# File 'lib/v20190423/client.rb', line 1357 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
1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 |
# File 'lib/v20190423/client.rb', line 1429 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
1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 |
# File 'lib/v20190423/client.rb', line 1453 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
1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 |
# File 'lib/v20190423/client.rb', line 1477 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
1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 |
# File 'lib/v20190423/client.rb', line 1501 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
1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 |
# File 'lib/v20190423/client.rb', line 1525 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
1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 |
# File 'lib/v20190423/client.rb', line 1549 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
1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 |
# File 'lib/v20190423/client.rb', line 1573 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
1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 |
# File 'lib/v20190423/client.rb', line 1597 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
1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 |
# File 'lib/v20190423/client.rb', line 1621 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
1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 |
# File 'lib/v20190423/client.rb', line 1645 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
1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 |
# File 'lib/v20190423/client.rb', line 1669 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
1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 |
# File 'lib/v20190423/client.rb', line 1693 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
1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 |
# File 'lib/v20190423/client.rb', line 1717 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
1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 |
# File 'lib/v20190423/client.rb', line 1741 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
1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 |
# File 'lib/v20190423/client.rb', line 1765 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
1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 |
# File 'lib/v20190423/client.rb', line 1789 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
1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 |
# File 'lib/v20190423/client.rb', line 1813 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
1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 |
# File 'lib/v20190423/client.rb', line 1837 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
1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 |
# File 'lib/v20190423/client.rb', line 1861 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
1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 |
# File 'lib/v20190423/client.rb', line 1885 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
1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 |
# File 'lib/v20190423/client.rb', line 1909 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
1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 |
# File 'lib/v20190423/client.rb', line 1933 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
1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 |
# File 'lib/v20190423/client.rb', line 1957 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
1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 |
# File 'lib/v20190423/client.rb', line 1981 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
2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 |
# File 'lib/v20190423/client.rb', line 2005 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
2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 |
# File 'lib/v20190423/client.rb', line 2029 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
2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 |
# File 'lib/v20190423/client.rb', line 2053 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
2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 |
# File 'lib/v20190423/client.rb', line 2077 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
2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 |
# File 'lib/v20190423/client.rb', line 2101 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
2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 |
# File 'lib/v20190423/client.rb', line 2125 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
2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 |
# File 'lib/v20190423/client.rb', line 2149 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
2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 |
# File 'lib/v20190423/client.rb', line 2173 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
2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'lib/v20190423/client.rb', line 2197 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
2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 |
# File 'lib/v20190423/client.rb', line 2221 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
2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 |
# File 'lib/v20190423/client.rb', line 2245 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
2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 |
# File 'lib/v20190423/client.rb', line 2269 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
2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 |
# File 'lib/v20190423/client.rb', line 2293 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
2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 |
# File 'lib/v20190423/client.rb', line 2317 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
2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'lib/v20190423/client.rb', line 2341 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
2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 |
# File 'lib/v20190423/client.rb', line 2365 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
2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 |
# File 'lib/v20190423/client.rb', line 2389 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
2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 |
# File 'lib/v20190423/client.rb', line 2413 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
2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 |
# File 'lib/v20190423/client.rb', line 2437 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
2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 |
# File 'lib/v20190423/client.rb', line 2461 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
2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 |
# File 'lib/v20190423/client.rb', line 2485 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
2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 |
# File 'lib/v20190423/client.rb', line 2509 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
2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 |
# File 'lib/v20190423/client.rb', line 2533 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
2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 |
# File 'lib/v20190423/client.rb', line 2557 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
2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 |
# File 'lib/v20190423/client.rb', line 2581 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
2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 |
# File 'lib/v20190423/client.rb', line 2605 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
2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 |
# File 'lib/v20190423/client.rb', line 2629 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
2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 |
# File 'lib/v20190423/client.rb', line 2773 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
2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 |
# File 'lib/v20190423/client.rb', line 2797 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
2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 |
# File 'lib/v20190423/client.rb', line 2653 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
2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'lib/v20190423/client.rb', line 2677 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
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 |
# File 'lib/v20190423/client.rb', line 2701 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
2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 |
# File 'lib/v20190423/client.rb', line 2725 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
2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 |
# File 'lib/v20190423/client.rb', line 2749 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
2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'lib/v20190423/client.rb', line 2821 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
2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 |
# File 'lib/v20190423/client.rb', line 2845 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
2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 |
# File 'lib/v20190423/client.rb', line 2869 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
2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 |
# File 'lib/v20190423/client.rb', line 2893 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
2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 |
# File 'lib/v20190423/client.rb', line 2917 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
2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 |
# File 'lib/v20190423/client.rb', line 2941 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
2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 |
# File 'lib/v20190423/client.rb', line 2989 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
3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 |
# File 'lib/v20190423/client.rb', line 3013 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
2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 |
# File 'lib/v20190423/client.rb', line 2965 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
3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 |
# File 'lib/v20190423/client.rb', line 3037 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
3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 |
# File 'lib/v20190423/client.rb', line 3061 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
3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 |
# File 'lib/v20190423/client.rb', line 3085 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
3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 |
# File 'lib/v20190423/client.rb', line 3109 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
3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 |
# File 'lib/v20190423/client.rb', line 3133 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
3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 |
# File 'lib/v20190423/client.rb', line 3157 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
3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 |
# File 'lib/v20190423/client.rb', line 3181 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
3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 |
# File 'lib/v20190423/client.rb', line 3205 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
3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 |
# File 'lib/v20190423/client.rb', line 3229 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
3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 |
# File 'lib/v20190423/client.rb', line 3253 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
3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 |
# File 'lib/v20190423/client.rb', line 3277 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
3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 |
# File 'lib/v20190423/client.rb', line 3301 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
3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 |
# File 'lib/v20190423/client.rb', line 3421 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
3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 |
# File 'lib/v20190423/client.rb', line 3325 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
3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'lib/v20190423/client.rb', line 3349 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
3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 |
# File 'lib/v20190423/client.rb', line 3373 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
3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 |
# File 'lib/v20190423/client.rb', line 3397 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
3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 |
# File 'lib/v20190423/client.rb', line 3445 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
3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 |
# File 'lib/v20190423/client.rb', line 3469 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
3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 |
# File 'lib/v20190423/client.rb', line 3493 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
3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 |
# File 'lib/v20190423/client.rb', line 3517 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
3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 |
# File 'lib/v20190423/client.rb', line 3541 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
3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 |
# File 'lib/v20190423/client.rb', line 3565 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
3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 |
# File 'lib/v20190423/client.rb', line 3589 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
3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 |
# File 'lib/v20190423/client.rb', line 3613 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
3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 |
# File 'lib/v20190423/client.rb', line 3637 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
3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 |
# File 'lib/v20190423/client.rb', line 3661 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
3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 |
# File 'lib/v20190423/client.rb', line 3685 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
3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 |
# File 'lib/v20190423/client.rb', line 3709 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
3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 |
# File 'lib/v20190423/client.rb', line 3733 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
3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 |
# File 'lib/v20190423/client.rb', line 3757 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
3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 |
# File 'lib/v20190423/client.rb', line 3781 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
3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 |
# File 'lib/v20190423/client.rb', line 3805 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
3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 |
# File 'lib/v20190423/client.rb', line 3829 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
3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 |
# File 'lib/v20190423/client.rb', line 3853 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
3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 |
# File 'lib/v20190423/client.rb', line 3877 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
3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 |
# File 'lib/v20190423/client.rb', line 3901 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
3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 |
# File 'lib/v20190423/client.rb', line 3925 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
3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 |
# File 'lib/v20190423/client.rb', line 3949 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
3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 |
# File 'lib/v20190423/client.rb', line 3973 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
3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 |
# File 'lib/v20190423/client.rb', line 3997 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
4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 |
# File 'lib/v20190423/client.rb', line 4021 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
4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 |
# File 'lib/v20190423/client.rb', line 4045 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
4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 |
# File 'lib/v20190423/client.rb', line 4165 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
4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 |
# File 'lib/v20190423/client.rb', line 4189 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
4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 |
# File 'lib/v20190423/client.rb', line 4069 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
4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 |
# File 'lib/v20190423/client.rb', line 4093 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
4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 |
# File 'lib/v20190423/client.rb', line 4117 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
4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 |
# File 'lib/v20190423/client.rb', line 4141 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
4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 |
# File 'lib/v20190423/client.rb', line 4213 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
4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 |
# File 'lib/v20190423/client.rb', line 4239 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
4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 |
# File 'lib/v20190423/client.rb', line 4263 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
4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 |
# File 'lib/v20190423/client.rb', line 4287 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
4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 |
# File 'lib/v20190423/client.rb', line 4313 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
4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 |
# File 'lib/v20190423/client.rb', line 4337 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
4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 |
# File 'lib/v20190423/client.rb', line 4361 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
4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 |
# File 'lib/v20190423/client.rb', line 4385 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
4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 |
# File 'lib/v20190423/client.rb', line 4409 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
4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 |
# File 'lib/v20190423/client.rb', line 4433 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
4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 |
# File 'lib/v20190423/client.rb', line 4457 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
4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 |
# File 'lib/v20190423/client.rb', line 4481 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
4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 |
# File 'lib/v20190423/client.rb', line 4505 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
4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 |
# File 'lib/v20190423/client.rb', line 4529 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
4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 |
# File 'lib/v20190423/client.rb', line 4553 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
4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 |
# File 'lib/v20190423/client.rb', line 4577 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
4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 |
# File 'lib/v20190423/client.rb', line 4601 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
4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 |
# File 'lib/v20190423/client.rb', line 4625 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
4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 |
# File 'lib/v20190423/client.rb', line 4649 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
4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 |
# File 'lib/v20190423/client.rb', line 4673 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
4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 |
# File 'lib/v20190423/client.rb', line 4721 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
4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 |
# File 'lib/v20190423/client.rb', line 4697 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
4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 |
# File 'lib/v20190423/client.rb', line 4745 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
4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 |
# File 'lib/v20190423/client.rb', line 4769 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
4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 |
# File 'lib/v20190423/client.rb', line 4793 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
4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 |
# File 'lib/v20190423/client.rb', line 4817 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 |