Class: TencentCloud::Weilingwith::V20230427::ControlCameraPTZRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::ControlCameraPTZRequest
- Defined in:
- lib/v20230427/models.rb
Overview
ControlCameraPTZ请求参数结构体
Instance Attribute Summary collapse
-
#ApplicationToken ⇒ Object
left - 向左移动 right - 向右移动 up - 向上移动 down - 向下 zoomOut - 镜头缩小 zoomIn - 镜头放大 irisIn - 光圈缩小 irisOut - 光圈放大 focusIn - 焦距变近 focusOut - 焦距变远.
-
#CMD ⇒ Object
left - 向左移动 right - 向右移动 up - 向上移动 down - 向下 zoomOut - 镜头缩小 zoomIn - 镜头放大 irisIn - 光圈缩小 irisOut - 光圈放大 focusIn - 焦距变近 focusOut - 焦距变远.
-
#WID ⇒ Object
left - 向左移动 right - 向右移动 up - 向上移动 down - 向下 zoomOut - 镜头缩小 zoomIn - 镜头放大 irisIn - 光圈缩小 irisOut - 光圈放大 focusIn - 焦距变近 focusOut - 焦距变远.
-
#WorkspaceId ⇒ Object
left - 向左移动 right - 向右移动 up - 向上移动 down - 向下 zoomOut - 镜头缩小 zoomIn - 镜头放大 irisIn - 光圈缩小 irisOut - 光圈放大 focusIn - 焦距变近 focusOut - 焦距变远.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(wid = nil, cmd = nil, workspaceid = nil, applicationtoken = nil) ⇒ ControlCameraPTZRequest
constructor
A new instance of ControlCameraPTZRequest.
Constructor Details
#initialize(wid = nil, cmd = nil, workspaceid = nil, applicationtoken = nil) ⇒ ControlCameraPTZRequest
Returns a new instance of ControlCameraPTZRequest.
1372 1373 1374 1375 1376 1377 |
# File 'lib/v20230427/models.rb', line 1372 def initialize(wid=nil, cmd=nil, workspaceid=nil, applicationtoken=nil) @WID = wid @CMD = cmd @WorkspaceId = workspaceid @ApplicationToken = applicationtoken end |
Instance Attribute Details
#ApplicationToken ⇒ Object
left - 向左移动right - 向右移动up - 向上移动down - 向下zoomOut - 镜头缩小zoomIn - 镜头放大irisIn - 光圈缩小irisOut - 光圈放大focusIn - 焦距变近focusOut - 焦距变远
1370 1371 1372 |
# File 'lib/v20230427/models.rb', line 1370 def ApplicationToken @ApplicationToken end |
#CMD ⇒ Object
left - 向左移动right - 向右移动up - 向上移动down - 向下zoomOut - 镜头缩小zoomIn - 镜头放大irisIn - 光圈缩小irisOut - 光圈放大focusIn - 焦距变近focusOut - 焦距变远
1370 1371 1372 |
# File 'lib/v20230427/models.rb', line 1370 def CMD @CMD end |
#WID ⇒ Object
left - 向左移动right - 向右移动up - 向上移动down - 向下zoomOut - 镜头缩小zoomIn - 镜头放大irisIn - 光圈缩小irisOut - 光圈放大focusIn - 焦距变近focusOut - 焦距变远
1370 1371 1372 |
# File 'lib/v20230427/models.rb', line 1370 def WID @WID end |
#WorkspaceId ⇒ Object
left - 向左移动right - 向右移动up - 向上移动down - 向下zoomOut - 镜头缩小zoomIn - 镜头放大irisIn - 光圈缩小irisOut - 光圈放大focusIn - 焦距变近focusOut - 焦距变远
1370 1371 1372 |
# File 'lib/v20230427/models.rb', line 1370 def WorkspaceId @WorkspaceId end |
Instance Method Details
#deserialize(params) ⇒ Object
1379 1380 1381 1382 1383 1384 |
# File 'lib/v20230427/models.rb', line 1379 def deserialize(params) @WID = params['WID'] @CMD = params['CMD'] @WorkspaceId = params['WorkspaceId'] @ApplicationToken = params['ApplicationToken'] end |