Class: TencentCloud::Iotvideoindustry::V20201201::ControlRecordStreamRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::ControlRecordStreamRequest
- Defined in:
- lib/v20201201/models.rb
Overview
ControlRecordStream请求参数结构体
Instance Attribute Summary collapse
-
#ChannelId ⇒ Object
| Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒 目前支持的command: “Command”: “”Action“:”PAUSE“” 暂停 “Command”: “”Action“:”PLAY“” 暂停恢复 “Command”: “”Action“:”PLAY“,”Offset“:”15“” 位置偏移,可以替代jump操作.
-
#Command ⇒ Object
| Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒 目前支持的command: “Command”: “”Action“:”PAUSE“” 暂停 “Command”: “”Action“:”PLAY“” 暂停恢复 “Command”: “”Action“:”PLAY“,”Offset“:”15“” 位置偏移,可以替代jump操作.
-
#DeviceId ⇒ Object
| Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒 目前支持的command: “Command”: “”Action“:”PAUSE“” 暂停 “Command”: “”Action“:”PLAY“” 暂停恢复 “Command”: “”Action“:”PLAY“,”Offset“:”15“” 位置偏移,可以替代jump操作.
-
#StreamId ⇒ Object
| Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒 目前支持的command: “Command”: “”Action“:”PAUSE“” 暂停 “Command”: “”Action“:”PLAY“” 暂停恢复 “Command”: “”Action“:”PLAY“,”Offset“:”15“” 位置偏移,可以替代jump操作.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deviceid = nil, streamid = nil, command = nil, channelid = nil) ⇒ ControlRecordStreamRequest
constructor
A new instance of ControlRecordStreamRequest.
Constructor Details
#initialize(deviceid = nil, streamid = nil, command = nil, channelid = nil) ⇒ ControlRecordStreamRequest
Returns a new instance of ControlRecordStreamRequest.
507 508 509 510 511 512 |
# File 'lib/v20201201/models.rb', line 507 def initialize(deviceid=nil, streamid=nil, command=nil, channelid=nil) @DeviceId = deviceid @StreamId = streamid @Command = command @ChannelId = channelid end |
Instance Attribute Details
#ChannelId ⇒ Object
| Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒目前支持的command:“Command”: “”Action“:”PAUSE“” 暂停“Command”: “”Action“:”PLAY“” 暂停恢复“Command”: “”Action“:”PLAY“,”Offset“:”15“” 位置偏移,可以替代jump操作
505 506 507 |
# File 'lib/v20201201/models.rb', line 505 def ChannelId @ChannelId end |
#Command ⇒ Object
| Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒目前支持的command:“Command”: “”Action“:”PAUSE“” 暂停“Command”: “”Action“:”PLAY“” 暂停恢复“Command”: “”Action“:”PLAY“,”Offset“:”15“” 位置偏移,可以替代jump操作
505 506 507 |
# File 'lib/v20201201/models.rb', line 505 def Command @Command end |
#DeviceId ⇒ Object
| Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒目前支持的command:“Command”: “”Action“:”PAUSE“” 暂停“Command”: “”Action“:”PLAY“” 暂停恢复“Command”: “”Action“:”PLAY“,”Offset“:”15“” 位置偏移,可以替代jump操作
505 506 507 |
# File 'lib/v20201201/models.rb', line 505 def DeviceId @DeviceId end |
#StreamId ⇒ Object
| Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒目前支持的command:“Command”: “”Action“:”PAUSE“” 暂停“Command”: “”Action“:”PLAY“” 暂停恢复“Command”: “”Action“:”PLAY“,”Offset“:”15“” 位置偏移,可以替代jump操作
505 506 507 |
# File 'lib/v20201201/models.rb', line 505 def StreamId @StreamId end |
Instance Method Details
#deserialize(params) ⇒ Object
514 515 516 517 518 519 |
# File 'lib/v20201201/models.rb', line 514 def deserialize(params) @DeviceId = params['DeviceId'] @StreamId = params['StreamId'] @Command = params['Command'] @ChannelId = params['ChannelId'] end |