Class: TencentCloud::Iotvideoindustry::V20201201::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Iotvideoindustry::V20201201::Client
- Defined in:
- lib/v20201201/client.rb
Instance Method Summary collapse
-
#BindGroupDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::BindGroupDevicesResponse`.
-
#ControlChannelLocalRecord(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ControlChannelLocalRecordResponse`.
-
#ControlChannelPTZ(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ControlChannelPTZResponse`.
-
#ControlDevicePTZ(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ControlDevicePTZResponse`.
-
#ControlHomePosition(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ControlHomePositionResponse`.
-
#ControlPreset(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ControlPresetResponse`.
-
#ControlRecordStream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ControlRecordStreamResponse`.
-
#CreateDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateDeviceResponse`.
-
#CreateDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateDeviceGroupResponse`.
-
#CreateLiveChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateLiveChannelResponse`.
-
#CreateLiveRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateLiveRecordPlanResponse`.
-
#CreateMessageForward(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateMessageForwardResponse`.
-
#CreateRecordingPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateRecordingPlanResponse`.
-
#CreateRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateRecordPlanResponse`.
-
#CreateScene(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateSceneResponse`.
-
#CreateTimeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateTimeTemplateResponse`.
-
#DeleteChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteChannelResponse`.
-
#DeleteDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteDeviceResponse`.
-
#DeleteDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteDeviceGroupResponse`.
-
#DeleteLiveChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteLiveChannelResponse`.
-
#DeleteLiveRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteLiveRecordPlanResponse`.
-
#DeleteLiveVideoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteLiveVideoListResponse`.
-
#DeleteMessageForward(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteMessageForwardResponse`.
-
#DeleteRecordingPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteRecordingPlanResponse`.
-
#DeleteRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteRecordPlanResponse`.
-
#DeleteScene(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteSceneResponse`.
-
#DeleteTimeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteTimeTemplateResponse`.
-
#DeleteVideoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteVideoListResponse`.
-
#DeleteWarning(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteWarningResponse`.
-
#DescribeAbnormalEvents(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeAbnormalEventsResponse`.
-
#DescribeAllDeviceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeAllDeviceListResponse`.
-
#DescribeBindSceneChannels(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeBindSceneChannelsResponse`.
-
#DescribeBindSceneDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeBindSceneDevicesResponse`.
-
#DescribeChannelLiveStreamURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeChannelLiveStreamURLResponse`.
-
#DescribeChannelLocalRecordURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeChannelLocalRecordURLResponse`.
-
#DescribeChannels(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeChannelsResponse`.
-
#DescribeChannelsByLiveRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeChannelsByLiveRecordPlanResponse`.
-
#DescribeChannelStreamURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeChannelStreamURLResponse`.
-
#DescribeCurrentDeviceData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeCurrentDeviceDataResponse`.
-
#DescribeDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceResponse`.
-
#DescribeDeviceEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceEventResponse`.
-
#DescribeDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceGroupResponse`.
-
#DescribeDeviceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceListResponse`.
-
#DescribeDeviceMonitorData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceMonitorDataResponse`.
-
#DescribeDevicePassWord(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDevicePassWordResponse`.
-
#DescribeDeviceStreams(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceStreamsResponse`.
-
#DescribeGroupById(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeGroupByIdResponse`.
-
#DescribeGroupByPath(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeGroupByPathResponse`.
-
#DescribeGroupDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeGroupDevicesResponse`.
-
#DescribeGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeGroupsResponse`.
-
#DescribeIPCChannels(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeIPCChannelsResponse`.
-
#DescribeLiveChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeLiveChannelResponse`.
-
#DescribeLiveChannelList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeLiveChannelListResponse`.
-
#DescribeLiveRecordPlanById(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeLiveRecordPlanByIdResponse`.
-
#DescribeLiveRecordPlanIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeLiveRecordPlanIdsResponse`.
-
#DescribeLiveStream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeLiveStreamResponse`.
-
#DescribeLiveVideoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeLiveVideoListResponse`.
-
#DescribeMessageForward(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeMessageForwardResponse`.
-
#DescribeMessageForwards(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeMessageForwardsResponse`.
-
#DescribeMonitorDataByDate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeMonitorDataByDateResponse`.
-
#DescribePresetList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribePresetListResponse`.
-
#DescribeRecordDatesByChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeRecordDatesByChannelResponse`.
-
#DescribeRecordDatesByLive(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeRecordDatesByLiveResponse`.
-
#DescribeRecordingPlanById(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeRecordingPlanByIdResponse`.
-
#DescribeRecordingPlans(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeRecordingPlansResponse`.
-
#DescribeRecordStream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeRecordStreamResponse`.
-
#DescribeScene(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeSceneResponse`.
-
#DescribeScenes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeScenesResponse`.
-
#DescribeSIPServer(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeSIPServerResponse`.
-
#DescribeStatisticDetails(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeStatisticDetailsResponse`.
-
#DescribeStatisticSummary(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeStatisticSummaryResponse`.
-
#DescribeSubGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeSubGroupsResponse`.
-
#DescribeSubscriptionStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeSubscriptionStatusResponse`.
-
#DescribeVideoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeVideoListResponse`.
-
#DescribeVideoListByChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeVideoListByChannelResponse`.
-
#DescribeWarnings(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeWarningsResponse`.
-
#DescribeWarnMod(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeWarnModResponse`.
-
#DescribeXP2PData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeXP2PDataResponse`.
-
#GetRecordDatesByDev(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetRecordDatesByDevResponse`.
-
#GetRecordPlanByDev(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetRecordPlanByDevResponse`.
-
#GetRecordPlanById(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetRecordPlanByIdResponse`.
-
#GetRecordPlans(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetRecordPlansResponse`.
-
#GetTimeTemplateById(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetTimeTemplateByIdResponse`.
-
#GetTimeTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetTimeTemplatesResponse`.
-
#GetVideoListByCon(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetVideoListByConResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#ModifyBindPlanLiveChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyBindPlanLiveChannelResponse`.
-
#ModifyBindRecordingPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyBindRecordingPlanResponse`.
-
#ModifyBindSceneChannels(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyBindSceneChannelsResponse`.
-
#ModifyBindSceneDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyBindSceneDeviceResponse`.
-
#ModifyDeviceData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyDeviceDataResponse`.
-
#ModifyLiveChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyLiveChannelResponse`.
-
#ModifyLiveRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyLiveRecordPlanResponse`.
-
#ModifyLiveVideo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyLiveVideoResponse`.
-
#ModifyMessageForward(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyMessageForwardResponse`.
-
#ModifyPreset(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyPresetResponse`.
-
#ModifyRecordingPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyRecordingPlanResponse`.
-
#ModifyScene(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifySceneResponse`.
-
#ModifySubscriptionStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifySubscriptionStatusResponse`.
-
#ModifyVideoInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyVideoInfoResponse`.
-
#ResetWarning(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ResetWarningResponse`.
-
#UpdateDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::UpdateDeviceGroupResponse`.
-
#UpdateDevicePassWord(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::UpdateDevicePassWordResponse`.
-
#UpdateRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::UpdateRecordPlanResponse`.
-
#UpdateTimeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::UpdateTimeTemplateResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20201201/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2020-12-01' api_endpoint = 'iotvideoindustry.tencentcloudapi.com' sdk_version = 'IOTVIDEOINDUSTRY_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#BindGroupDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::BindGroupDevicesResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20201201/client.rb', line 37 def BindGroupDevices(request) body = send_request('BindGroupDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindGroupDevicesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ControlChannelLocalRecord(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ControlChannelLocalRecordResponse`
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20201201/client.rb', line 61 def ControlChannelLocalRecord(request) body = send_request('ControlChannelLocalRecord', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlChannelLocalRecordResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ControlChannelPTZ(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ControlChannelPTZResponse`
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20201201/client.rb', line 85 def ControlChannelPTZ(request) body = send_request('ControlChannelPTZ', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlChannelPTZResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ControlDevicePTZ(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ControlDevicePTZResponse`
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'lib/v20201201/client.rb', line 110 def ControlDevicePTZ(request) body = send_request('ControlDevicePTZ', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlDevicePTZResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ControlHomePosition(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ControlHomePositionResponse`
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/v20201201/client.rb', line 134 def ControlHomePosition(request) body = send_request('ControlHomePosition', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlHomePositionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ControlPreset(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ControlPresetResponse`
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/v20201201/client.rb', line 158 def ControlPreset(request) body = send_request('ControlPreset', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlPresetResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ControlRecordStream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ControlRecordStreamResponse`
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 |
# File 'lib/v20201201/client.rb', line 183 def ControlRecordStream(request) body = send_request('ControlRecordStream', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ControlRecordStreamResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::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::iotvideoindustry::V20201201::CreateDeviceResponse`
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 |
# File 'lib/v20201201/client.rb', line 207 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 |
#CreateDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateDeviceGroupResponse`
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 |
# File 'lib/v20201201/client.rb', line 231 def CreateDeviceGroup(request) body = send_request('CreateDeviceGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDeviceGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateLiveChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateLiveChannelResponse`
255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 |
# File 'lib/v20201201/client.rb', line 255 def CreateLiveChannel(request) body = send_request('CreateLiveChannel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateLiveChannelResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateLiveRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateLiveRecordPlanResponse`
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
# File 'lib/v20201201/client.rb', line 279 def CreateLiveRecordPlan(request) body = send_request('CreateLiveRecordPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateLiveRecordPlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateMessageForward(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateMessageForwardResponse`
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'lib/v20201201/client.rb', line 303 def CreateMessageForward(request) body = send_request('CreateMessageForward', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateMessageForwardResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRecordingPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateRecordingPlanResponse`
352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 |
# File 'lib/v20201201/client.rb', line 352 def CreateRecordingPlan(request) body = send_request('CreateRecordingPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRecordingPlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateRecordPlanResponse`
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 |
# File 'lib/v20201201/client.rb', line 328 def CreateRecordPlan(request) body = send_request('CreateRecordPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRecordPlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateScene(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateSceneResponse`
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 |
# File 'lib/v20201201/client.rb', line 376 def CreateScene(request) body = send_request('CreateScene', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSceneResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateTimeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::CreateTimeTemplateResponse`
400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 |
# File 'lib/v20201201/client.rb', line 400 def CreateTimeTemplate(request) body = send_request('CreateTimeTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTimeTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteChannelResponse`
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 |
# File 'lib/v20201201/client.rb', line 425 def DeleteChannel(request) body = send_request('DeleteChannel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteChannelResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::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::iotvideoindustry::V20201201::DeleteDeviceResponse`
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 |
# File 'lib/v20201201/client.rb', line 449 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 |
#DeleteDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteDeviceGroupResponse`
473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 |
# File 'lib/v20201201/client.rb', line 473 def DeleteDeviceGroup(request) body = send_request('DeleteDeviceGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteDeviceGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteLiveChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteLiveChannelResponse`
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 |
# File 'lib/v20201201/client.rb', line 497 def DeleteLiveChannel(request) body = send_request('DeleteLiveChannel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteLiveChannelResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteLiveRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteLiveRecordPlanResponse`
521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 |
# File 'lib/v20201201/client.rb', line 521 def DeleteLiveRecordPlan(request) body = send_request('DeleteLiveRecordPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteLiveRecordPlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteLiveVideoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteLiveVideoListResponse`
545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 |
# File 'lib/v20201201/client.rb', line 545 def DeleteLiveVideoList(request) body = send_request('DeleteLiveVideoList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteLiveVideoListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteMessageForward(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteMessageForwardResponse`
569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 |
# File 'lib/v20201201/client.rb', line 569 def DeleteMessageForward(request) body = send_request('DeleteMessageForward', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteMessageForwardResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRecordingPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteRecordingPlanResponse`
620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 |
# File 'lib/v20201201/client.rb', line 620 def DeleteRecordingPlan(request) body = send_request('DeleteRecordingPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRecordingPlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteRecordPlanResponse`
595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 |
# File 'lib/v20201201/client.rb', line 595 def DeleteRecordPlan(request) body = send_request('DeleteRecordPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRecordPlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteScene(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteSceneResponse`
644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 |
# File 'lib/v20201201/client.rb', line 644 def DeleteScene(request) body = send_request('DeleteScene', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteSceneResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteTimeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteTimeTemplateResponse`
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 |
# File 'lib/v20201201/client.rb', line 668 def DeleteTimeTemplate(request) body = send_request('DeleteTimeTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTimeTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteVideoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteVideoListResponse`
692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 |
# File 'lib/v20201201/client.rb', line 692 def DeleteVideoList(request) body = send_request('DeleteVideoList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteVideoListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteWarning(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DeleteWarningResponse`
716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 |
# File 'lib/v20201201/client.rb', line 716 def DeleteWarning(request) body = send_request('DeleteWarning', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteWarningResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAbnormalEvents(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeAbnormalEventsResponse`
740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 |
# File 'lib/v20201201/client.rb', line 740 def DescribeAbnormalEvents(request) body = send_request('DescribeAbnormalEvents', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAbnormalEventsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAllDeviceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeAllDeviceListResponse`
765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 |
# File 'lib/v20201201/client.rb', line 765 def DescribeAllDeviceList(request) body = send_request('DescribeAllDeviceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAllDeviceListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBindSceneChannels(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeBindSceneChannelsResponse`
789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 |
# File 'lib/v20201201/client.rb', line 789 def DescribeBindSceneChannels(request) body = send_request('DescribeBindSceneChannels', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBindSceneChannelsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBindSceneDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeBindSceneDevicesResponse`
813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 |
# File 'lib/v20201201/client.rb', line 813 def DescribeBindSceneDevices(request) body = send_request('DescribeBindSceneDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBindSceneDevicesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeChannelLiveStreamURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeChannelLiveStreamURLResponse`
838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 |
# File 'lib/v20201201/client.rb', line 838 def DescribeChannelLiveStreamURL(request) body = send_request('DescribeChannelLiveStreamURL', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeChannelLiveStreamURLResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeChannelLocalRecordURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeChannelLocalRecordURLResponse`
863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 |
# File 'lib/v20201201/client.rb', line 863 def DescribeChannelLocalRecordURL(request) body = send_request('DescribeChannelLocalRecordURL', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeChannelLocalRecordURLResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeChannels(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeChannelsResponse`
912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 |
# File 'lib/v20201201/client.rb', line 912 def DescribeChannels(request) body = send_request('DescribeChannels', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeChannelsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeChannelsByLiveRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeChannelsByLiveRecordPlanResponse`
936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 |
# File 'lib/v20201201/client.rb', line 936 def DescribeChannelsByLiveRecordPlan(request) body = send_request('DescribeChannelsByLiveRecordPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeChannelsByLiveRecordPlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeChannelStreamURL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeChannelStreamURLResponse`
888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 |
# File 'lib/v20201201/client.rb', line 888 def DescribeChannelStreamURL(request) body = send_request('DescribeChannelStreamURL', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeChannelStreamURLResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCurrentDeviceData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeCurrentDeviceDataResponse`
960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 |
# File 'lib/v20201201/client.rb', line 960 def DescribeCurrentDeviceData(request) body = send_request('DescribeCurrentDeviceData', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCurrentDeviceDataResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::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::iotvideoindustry::V20201201::DescribeDeviceResponse`
984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 |
# File 'lib/v20201201/client.rb', line 984 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 |
#DescribeDeviceEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceEventResponse`
1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 |
# File 'lib/v20201201/client.rb', line 1008 def DescribeDeviceEvent(request) body = send_request('DescribeDeviceEvent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceEventResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceGroupResponse`
1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 |
# File 'lib/v20201201/client.rb', line 1032 def DescribeDeviceGroup(request) body = send_request('DescribeDeviceGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDeviceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceListResponse`
1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 |
# File 'lib/v20201201/client.rb', line 1056 def DescribeDeviceList(request) body = send_request('DescribeDeviceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDeviceMonitorData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceMonitorDataResponse`
1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 |
# File 'lib/v20201201/client.rb', line 1080 def DescribeDeviceMonitorData(request) body = send_request('DescribeDeviceMonitorData', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceMonitorDataResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDevicePassWord(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDevicePassWordResponse`
1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 |
# File 'lib/v20201201/client.rb', line 1104 def DescribeDevicePassWord(request) body = send_request('DescribeDevicePassWord', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDevicePassWordResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDeviceStreams(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceStreamsResponse`
1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 |
# File 'lib/v20201201/client.rb', line 1129 def DescribeDeviceStreams(request) body = send_request('DescribeDeviceStreams', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDeviceStreamsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeGroupById(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeGroupByIdResponse`
1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 |
# File 'lib/v20201201/client.rb', line 1153 def DescribeGroupById(request) body = send_request('DescribeGroupById', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGroupByIdResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeGroupByPath(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeGroupByPathResponse`
1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 |
# File 'lib/v20201201/client.rb', line 1177 def DescribeGroupByPath(request) body = send_request('DescribeGroupByPath', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGroupByPathResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeGroupDevices(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeGroupDevicesResponse`
1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 |
# File 'lib/v20201201/client.rb', line 1201 def DescribeGroupDevices(request) body = send_request('DescribeGroupDevices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGroupDevicesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeGroupsResponse`
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 |
# File 'lib/v20201201/client.rb', line 1225 def DescribeGroups(request) body = send_request('DescribeGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGroupsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeIPCChannels(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeIPCChannelsResponse`
1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 |
# File 'lib/v20201201/client.rb', line 1250 def DescribeIPCChannels(request) body = send_request('DescribeIPCChannels', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIPCChannelsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLiveChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeLiveChannelResponse`
1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 |
# File 'lib/v20201201/client.rb', line 1274 def DescribeLiveChannel(request) body = send_request('DescribeLiveChannel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLiveChannelResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLiveChannelList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeLiveChannelListResponse`
1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 |
# File 'lib/v20201201/client.rb', line 1298 def DescribeLiveChannelList(request) body = send_request('DescribeLiveChannelList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLiveChannelListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLiveRecordPlanById(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeLiveRecordPlanByIdResponse`
1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/v20201201/client.rb', line 1322 def DescribeLiveRecordPlanById(request) body = send_request('DescribeLiveRecordPlanById', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLiveRecordPlanByIdResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLiveRecordPlanIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeLiveRecordPlanIdsResponse`
1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 |
# File 'lib/v20201201/client.rb', line 1346 def DescribeLiveRecordPlanIds(request) body = send_request('DescribeLiveRecordPlanIds', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLiveRecordPlanIdsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLiveStream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeLiveStreamResponse`
1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 |
# File 'lib/v20201201/client.rb', line 1370 def DescribeLiveStream(request) body = send_request('DescribeLiveStream', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLiveStreamResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLiveVideoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeLiveVideoListResponse`
1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 |
# File 'lib/v20201201/client.rb', line 1394 def DescribeLiveVideoList(request) body = send_request('DescribeLiveVideoList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLiveVideoListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMessageForward(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeMessageForwardResponse`
1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 |
# File 'lib/v20201201/client.rb', line 1418 def DescribeMessageForward(request) body = send_request('DescribeMessageForward', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMessageForwardResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMessageForwards(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeMessageForwardsResponse`
1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 |
# File 'lib/v20201201/client.rb', line 1442 def DescribeMessageForwards(request) body = send_request('DescribeMessageForwards', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMessageForwardsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMonitorDataByDate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeMonitorDataByDateResponse`
1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 |
# File 'lib/v20201201/client.rb', line 1466 def DescribeMonitorDataByDate(request) body = send_request('DescribeMonitorDataByDate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMonitorDataByDateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePresetList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribePresetListResponse`
1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 |
# File 'lib/v20201201/client.rb', line 1490 def DescribePresetList(request) body = send_request('DescribePresetList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePresetListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRecordDatesByChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeRecordDatesByChannelResponse`
1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 |
# File 'lib/v20201201/client.rb', line 1514 def DescribeRecordDatesByChannel(request) body = send_request('DescribeRecordDatesByChannel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordDatesByChannelResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRecordDatesByLive(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeRecordDatesByLiveResponse`
1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 |
# File 'lib/v20201201/client.rb', line 1538 def DescribeRecordDatesByLive(request) body = send_request('DescribeRecordDatesByLive', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordDatesByLiveResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRecordingPlanById(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeRecordingPlanByIdResponse`
1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 |
# File 'lib/v20201201/client.rb', line 1591 def DescribeRecordingPlanById(request) body = send_request('DescribeRecordingPlanById', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordingPlanByIdResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRecordingPlans(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeRecordingPlansResponse`
1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 |
# File 'lib/v20201201/client.rb', line 1615 def DescribeRecordingPlans(request) body = send_request('DescribeRecordingPlans', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordingPlansResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRecordStream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeRecordStreamResponse`
1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 |
# File 'lib/v20201201/client.rb', line 1567 def DescribeRecordStream(request) body = send_request('DescribeRecordStream', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRecordStreamResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeScene(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeSceneResponse`
1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 |
# File 'lib/v20201201/client.rb', line 1663 def DescribeScene(request) body = send_request('DescribeScene', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSceneResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeScenes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeScenesResponse`
1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 |
# File 'lib/v20201201/client.rb', line 1687 def DescribeScenes(request) body = send_request('DescribeScenes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeScenesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSIPServer(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeSIPServerResponse`
1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 |
# File 'lib/v20201201/client.rb', line 1639 def DescribeSIPServer(request) body = send_request('DescribeSIPServer', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSIPServerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStatisticDetails(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeStatisticDetailsResponse`
1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 |
# File 'lib/v20201201/client.rb', line 1711 def DescribeStatisticDetails(request) body = send_request('DescribeStatisticDetails', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStatisticDetailsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeStatisticSummary(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeStatisticSummaryResponse`
1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 |
# File 'lib/v20201201/client.rb', line 1735 def DescribeStatisticSummary(request) body = send_request('DescribeStatisticSummary', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeStatisticSummaryResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSubGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeSubGroupsResponse`
1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 |
# File 'lib/v20201201/client.rb', line 1759 def DescribeSubGroups(request) body = send_request('DescribeSubGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSubGroupsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSubscriptionStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeSubscriptionStatusResponse`
1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 |
# File 'lib/v20201201/client.rb', line 1783 def DescribeSubscriptionStatus(request) body = send_request('DescribeSubscriptionStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSubscriptionStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeVideoList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeVideoListResponse`
1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 |
# File 'lib/v20201201/client.rb', line 1807 def DescribeVideoList(request) body = send_request('DescribeVideoList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVideoListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeVideoListByChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeVideoListByChannelResponse`
1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 |
# File 'lib/v20201201/client.rb', line 1831 def DescribeVideoListByChannel(request) body = send_request('DescribeVideoListByChannel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVideoListByChannelResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeWarnings(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeWarningsResponse`
1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 |
# File 'lib/v20201201/client.rb', line 1879 def DescribeWarnings(request) body = send_request('DescribeWarnings', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWarningsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeWarnMod(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeWarnModResponse`
1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 |
# File 'lib/v20201201/client.rb', line 1855 def DescribeWarnMod(request) body = send_request('DescribeWarnMod', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWarnModResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeXP2PData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::DescribeXP2PDataResponse`
1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 |
# File 'lib/v20201201/client.rb', line 1903 def DescribeXP2PData(request) body = send_request('DescribeXP2PData', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeXP2PDataResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetRecordDatesByDev(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetRecordDatesByDevResponse`
1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 |
# File 'lib/v20201201/client.rb', line 1928 def GetRecordDatesByDev(request) body = send_request('GetRecordDatesByDev', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetRecordDatesByDevResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetRecordPlanByDev(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetRecordPlanByDevResponse`
1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 |
# File 'lib/v20201201/client.rb', line 1952 def GetRecordPlanByDev(request) body = send_request('GetRecordPlanByDev', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetRecordPlanByDevResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetRecordPlanById(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetRecordPlanByIdResponse`
1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 |
# File 'lib/v20201201/client.rb', line 1977 def GetRecordPlanById(request) body = send_request('GetRecordPlanById', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetRecordPlanByIdResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetRecordPlans(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetRecordPlansResponse`
2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 |
# File 'lib/v20201201/client.rb', line 2002 def GetRecordPlans(request) body = send_request('GetRecordPlans', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetRecordPlansResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetTimeTemplateById(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetTimeTemplateByIdResponse`
2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 |
# File 'lib/v20201201/client.rb', line 2026 def GetTimeTemplateById(request) body = send_request('GetTimeTemplateById', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetTimeTemplateByIdResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetTimeTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetTimeTemplatesResponse`
2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 |
# File 'lib/v20201201/client.rb', line 2050 def GetTimeTemplates(request) body = send_request('GetTimeTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetTimeTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetVideoListByCon(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::GetVideoListByConResponse`
2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 |
# File 'lib/v20201201/client.rb', line 2075 def GetVideoListByCon(request) body = send_request('GetVideoListByCon', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetVideoListByConResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyBindPlanLiveChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyBindPlanLiveChannelResponse`
2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 |
# File 'lib/v20201201/client.rb', line 2099 def ModifyBindPlanLiveChannel(request) body = send_request('ModifyBindPlanLiveChannel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBindPlanLiveChannelResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyBindRecordingPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyBindRecordingPlanResponse`
2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 |
# File 'lib/v20201201/client.rb', line 2123 def ModifyBindRecordingPlan(request) body = send_request('ModifyBindRecordingPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBindRecordingPlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyBindSceneChannels(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyBindSceneChannelsResponse`
2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 |
# File 'lib/v20201201/client.rb', line 2147 def ModifyBindSceneChannels(request) body = send_request('ModifyBindSceneChannels', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBindSceneChannelsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyBindSceneDevice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyBindSceneDeviceResponse`
2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 |
# File 'lib/v20201201/client.rb', line 2171 def ModifyBindSceneDevice(request) body = send_request('ModifyBindSceneDevice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBindSceneDeviceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyDeviceData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyDeviceDataResponse`
2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'lib/v20201201/client.rb', line 2195 def ModifyDeviceData(request) body = send_request('ModifyDeviceData', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDeviceDataResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyLiveChannel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyLiveChannelResponse`
2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 |
# File 'lib/v20201201/client.rb', line 2219 def ModifyLiveChannel(request) body = send_request('ModifyLiveChannel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyLiveChannelResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyLiveRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyLiveRecordPlanResponse`
2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 |
# File 'lib/v20201201/client.rb', line 2243 def ModifyLiveRecordPlan(request) body = send_request('ModifyLiveRecordPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyLiveRecordPlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyLiveVideo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyLiveVideoResponse`
2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 |
# File 'lib/v20201201/client.rb', line 2267 def ModifyLiveVideo(request) body = send_request('ModifyLiveVideo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyLiveVideoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyMessageForward(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyMessageForwardResponse`
2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 |
# File 'lib/v20201201/client.rb', line 2291 def ModifyMessageForward(request) body = send_request('ModifyMessageForward', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyMessageForwardResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyPreset(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyPresetResponse`
2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 |
# File 'lib/v20201201/client.rb', line 2315 def ModifyPreset(request) body = send_request('ModifyPreset', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPresetResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRecordingPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyRecordingPlanResponse`
2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 |
# File 'lib/v20201201/client.rb', line 2339 def ModifyRecordingPlan(request) body = send_request('ModifyRecordingPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRecordingPlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyScene(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifySceneResponse`
2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 |
# File 'lib/v20201201/client.rb', line 2363 def ModifyScene(request) body = send_request('ModifyScene', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySceneResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySubscriptionStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifySubscriptionStatusResponse`
2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 |
# File 'lib/v20201201/client.rb', line 2387 def ModifySubscriptionStatus(request) body = send_request('ModifySubscriptionStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySubscriptionStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyVideoInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ModifyVideoInfoResponse`
2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 |
# File 'lib/v20201201/client.rb', line 2411 def ModifyVideoInfo(request) body = send_request('ModifyVideoInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyVideoInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ResetWarning(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::ResetWarningResponse`
2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 |
# File 'lib/v20201201/client.rb', line 2435 def ResetWarning(request) body = send_request('ResetWarning', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResetWarningResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateDeviceGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::UpdateDeviceGroupResponse`
2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 |
# File 'lib/v20201201/client.rb', line 2459 def UpdateDeviceGroup(request) body = send_request('UpdateDeviceGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateDeviceGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateDevicePassWord(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::UpdateDevicePassWordResponse`
2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 |
# File 'lib/v20201201/client.rb', line 2483 def UpdateDevicePassWord(request) body = send_request('UpdateDevicePassWord', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateDevicePassWordResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateRecordPlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::UpdateRecordPlanResponse`
2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 |
# File 'lib/v20201201/client.rb', line 2508 def UpdateRecordPlan(request) body = send_request('UpdateRecordPlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateRecordPlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateTimeTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::iotvideoindustry::V20201201::UpdateTimeTemplateResponse`
2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 |
# File 'lib/v20201201/client.rb', line 2532 def UpdateTimeTemplate(request) body = send_request('UpdateTimeTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateTimeTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |