Class: TencentCloud::Iss::V20230517::ControlDevicePTZRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::ControlDevicePTZRequest
- Defined in:
- lib/v20230517/models.rb
Overview
ControlDevicePTZ请求参数结构体
Instance Attribute Summary collapse
-
#ChannelId ⇒ Object
上左:leftup,上右:rightup,下左:leftdown,下右:rightdown 放大:zoomin,缩小:zoomout 聚焦远:focusfar,聚焦近:focusnear 光圈放大:irisin,光圈缩小:irisout).
-
#Speed ⇒ Object
上左:leftup,上右:rightup,下左:leftdown,下右:rightdown 放大:zoomin,缩小:zoomout 聚焦远:focusfar,聚焦近:focusnear 光圈放大:irisin,光圈缩小:irisout).
-
#Type ⇒ Object
上左:leftup,上右:rightup,下左:leftdown,下右:rightdown 放大:zoomin,缩小:zoomout 聚焦远:focusfar,聚焦近:focusnear 光圈放大:irisin,光圈缩小:irisout).
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(channelid = nil, type = nil, speed = nil) ⇒ ControlDevicePTZRequest
constructor
A new instance of ControlDevicePTZRequest.
Constructor Details
#initialize(channelid = nil, type = nil, speed = nil) ⇒ ControlDevicePTZRequest
Returns a new instance of ControlDevicePTZRequest.
1590 1591 1592 1593 1594 |
# File 'lib/v20230517/models.rb', line 1590 def initialize(channelid=nil, type=nil, speed=nil) @ChannelId = channelid @Type = type @Speed = speed end |
Instance Attribute Details
#ChannelId ⇒ Object
上左:leftup,上右:rightup,下左:leftdown,下右:rightdown 放大:zoomin,缩小:zoomout 聚焦远:focusfar,聚焦近:focusnear 光圈放大:irisin,光圈缩小:irisout)
1588 1589 1590 |
# File 'lib/v20230517/models.rb', line 1588 def ChannelId @ChannelId end |
#Speed ⇒ Object
上左:leftup,上右:rightup,下左:leftdown,下右:rightdown 放大:zoomin,缩小:zoomout 聚焦远:focusfar,聚焦近:focusnear 光圈放大:irisin,光圈缩小:irisout)
1588 1589 1590 |
# File 'lib/v20230517/models.rb', line 1588 def Speed @Speed end |
#Type ⇒ Object
上左:leftup,上右:rightup,下左:leftdown,下右:rightdown 放大:zoomin,缩小:zoomout 聚焦远:focusfar,聚焦近:focusnear 光圈放大:irisin,光圈缩小:irisout)
1588 1589 1590 |
# File 'lib/v20230517/models.rb', line 1588 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1596 1597 1598 1599 1600 |
# File 'lib/v20230517/models.rb', line 1596 def deserialize(params) @ChannelId = params['ChannelId'] @Type = params['Type'] @Speed = params['Speed'] end |