Class: TencentCloud::Vod::V20180717::ManageTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::ManageTaskRequest
- Defined in:
- lib/v20180717/models.rb
Overview
ManageTask请求参数结构体
Instance Attribute Summary collapse
-
#OperationType ⇒ Object
<li>Abort:终止任务。只能终止已发起且状态为等待中(WAITING)的任务。</li>.
-
#SubAppId ⇒ Object
<li>Abort:终止任务。只能终止已发起且状态为等待中(WAITING)的任务。</li>.
-
#TaskId ⇒ Object
<li>Abort:终止任务。只能终止已发起且状态为等待中(WAITING)的任务。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskid = nil, operationtype = nil, subappid = nil) ⇒ ManageTaskRequest
constructor
A new instance of ManageTaskRequest.
Constructor Details
#initialize(taskid = nil, operationtype = nil, subappid = nil) ⇒ ManageTaskRequest
Returns a new instance of ManageTaskRequest.
16466 16467 16468 16469 16470 |
# File 'lib/v20180717/models.rb', line 16466 def initialize(taskid=nil, operationtype=nil, subappid=nil) @TaskId = taskid @OperationType = operationtype @SubAppId = subappid end |
Instance Attribute Details
#OperationType ⇒ Object
<li>Abort:终止任务。只能终止已发起且状态为等待中(WAITING)的任务。</li>
16464 16465 16466 |
# File 'lib/v20180717/models.rb', line 16464 def OperationType @OperationType end |
#SubAppId ⇒ Object
<li>Abort:终止任务。只能终止已发起且状态为等待中(WAITING)的任务。</li>
16464 16465 16466 |
# File 'lib/v20180717/models.rb', line 16464 def SubAppId @SubAppId end |
#TaskId ⇒ Object
<li>Abort:终止任务。只能终止已发起且状态为等待中(WAITING)的任务。</li>
16464 16465 16466 |
# File 'lib/v20180717/models.rb', line 16464 def TaskId @TaskId end |
Instance Method Details
#deserialize(params) ⇒ Object
16472 16473 16474 16475 16476 |
# File 'lib/v20180717/models.rb', line 16472 def deserialize(params) @TaskId = params['TaskId'] @OperationType = params['OperationType'] @SubAppId = params['SubAppId'] end |