Class: TencentCloud::Iotvideoindustry::V20201201::ControlChannelLocalRecordRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::ControlChannelLocalRecordRequest
- Defined in:
- lib/v20201201/models.rb
Overview
ControlChannelLocalRecord请求参数结构体
Instance Attribute Summary collapse
-
#ChannelId ⇒ Object
目前支持的command: “Command”: “”Action“:”PAUSE“” 暂停 “Command”: “”Action“:”PLAY“” 暂停恢复 “Command”: “”Action“:”PLAY“,”Offset“:”15“” 基于文件起始时间点的位置偏移,单位秒.
-
#Command ⇒ Object
目前支持的command: “Command”: “”Action“:”PAUSE“” 暂停 “Command”: “”Action“:”PLAY“” 暂停恢复 “Command”: “”Action“:”PLAY“,”Offset“:”15“” 基于文件起始时间点的位置偏移,单位秒.
-
#DeviceId ⇒ Object
目前支持的command: “Command”: “”Action“:”PAUSE“” 暂停 “Command”: “”Action“:”PLAY“” 暂停恢复 “Command”: “”Action“:”PLAY“,”Offset“:”15“” 基于文件起始时间点的位置偏移,单位秒.
-
#StreamId ⇒ Object
目前支持的command: “Command”: “”Action“:”PAUSE“” 暂停 “Command”: “”Action“:”PLAY“” 暂停恢复 “Command”: “”Action“:”PLAY“,”Offset“:”15“” 基于文件起始时间点的位置偏移,单位秒.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deviceid = nil, channelid = nil, streamid = nil, command = nil) ⇒ ControlChannelLocalRecordRequest
constructor
A new instance of ControlChannelLocalRecordRequest.
Constructor Details
#initialize(deviceid = nil, channelid = nil, streamid = nil, command = nil) ⇒ ControlChannelLocalRecordRequest
Returns a new instance of ControlChannelLocalRecordRequest.
253 254 255 256 257 258 |
# File 'lib/v20201201/models.rb', line 253 def initialize(deviceid=nil, channelid=nil, streamid=nil, command=nil) @DeviceId = deviceid @ChannelId = channelid @StreamId = streamid @Command = command end |
Instance Attribute Details
#ChannelId ⇒ Object
目前支持的command:“Command”: “”Action“:”PAUSE“” 暂停“Command”: “”Action“:”PLAY“” 暂停恢复“Command”: “”Action“:”PLAY“,”Offset“:”15“” 基于文件起始时间点的位置偏移,单位秒
251 252 253 |
# File 'lib/v20201201/models.rb', line 251 def ChannelId @ChannelId end |
#Command ⇒ Object
目前支持的command:“Command”: “”Action“:”PAUSE“” 暂停“Command”: “”Action“:”PLAY“” 暂停恢复“Command”: “”Action“:”PLAY“,”Offset“:”15“” 基于文件起始时间点的位置偏移,单位秒
251 252 253 |
# File 'lib/v20201201/models.rb', line 251 def Command @Command end |
#DeviceId ⇒ Object
目前支持的command:“Command”: “”Action“:”PAUSE“” 暂停“Command”: “”Action“:”PLAY“” 暂停恢复“Command”: “”Action“:”PLAY“,”Offset“:”15“” 基于文件起始时间点的位置偏移,单位秒
251 252 253 |
# File 'lib/v20201201/models.rb', line 251 def DeviceId @DeviceId end |
#StreamId ⇒ Object
目前支持的command:“Command”: “”Action“:”PAUSE“” 暂停“Command”: “”Action“:”PLAY“” 暂停恢复“Command”: “”Action“:”PLAY“,”Offset“:”15“” 基于文件起始时间点的位置偏移,单位秒
251 252 253 |
# File 'lib/v20201201/models.rb', line 251 def StreamId @StreamId end |
Instance Method Details
#deserialize(params) ⇒ Object
260 261 262 263 264 265 |
# File 'lib/v20201201/models.rb', line 260 def deserialize(params) @DeviceId = params['DeviceId'] @ChannelId = params['ChannelId'] @StreamId = params['StreamId'] @Command = params['Command'] end |