Class: TencentCloud::Iotvideoindustry::V20201201::ControlChannelLocalRecordRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201201/models.rb

Overview

ControlChannelLocalRecord请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceid = nil, channelid = nil, streamid = nil, command = nil) ⇒ ControlChannelLocalRecordRequest

Returns a new instance of ControlChannelLocalRecordRequest.



279
280
281
282
283
284
# File 'lib/v20201201/models.rb', line 279

def initialize(deviceid=nil, channelid=nil, streamid=nil, command=nil)
  @DeviceId = deviceid
  @ChannelId = channelid
  @StreamId = streamid
  @Command = command
end

Instance Attribute Details

#ChannelIdObject

目前支持的command: “Command”: “”Action“:”PAUSE“” 暂停 “Command”: “”Action“:”PLAY“” 暂停恢复 “Command”: “”Action“:”PLAY“,”Offset“:”15“” 基于文件起始时间点的位置偏移,单位秒



277
278
279
# File 'lib/v20201201/models.rb', line 277

def ChannelId
  @ChannelId
end

#CommandObject

目前支持的command: “Command”: “”Action“:”PAUSE“” 暂停 “Command”: “”Action“:”PLAY“” 暂停恢复 “Command”: “”Action“:”PLAY“,”Offset“:”15“” 基于文件起始时间点的位置偏移,单位秒



277
278
279
# File 'lib/v20201201/models.rb', line 277

def Command
  @Command
end

#DeviceIdObject

目前支持的command: “Command”: “”Action“:”PAUSE“” 暂停 “Command”: “”Action“:”PLAY“” 暂停恢复 “Command”: “”Action“:”PLAY“,”Offset“:”15“” 基于文件起始时间点的位置偏移,单位秒



277
278
279
# File 'lib/v20201201/models.rb', line 277

def DeviceId
  @DeviceId
end

#StreamIdObject

目前支持的command: “Command”: “”Action“:”PAUSE“” 暂停 “Command”: “”Action“:”PLAY“” 暂停恢复 “Command”: “”Action“:”PLAY“,”Offset“:”15“” 基于文件起始时间点的位置偏移,单位秒



277
278
279
# File 'lib/v20201201/models.rb', line 277

def StreamId
  @StreamId
end

Instance Method Details

#deserialize(params) ⇒ Object



286
287
288
289
290
291
# File 'lib/v20201201/models.rb', line 286

def deserialize(params)
  @DeviceId = params['DeviceId']
  @ChannelId = params['ChannelId']
  @StreamId = params['StreamId']
  @Command = params['Command']
end