Class: TencentCloud::Ams::V20200608::CancelTaskRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200608/models.rb

Overview

CancelTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil) ⇒ CancelTaskRequest

Returns a new instance of CancelTaskRequest.



354
355
356
# File 'lib/v20200608/models.rb', line 354

def initialize(taskid=nil)
  @TaskId = taskid
end

Instance Attribute Details

#TaskIdObject

Parameters:

  • TaskId:

    任务ID



352
353
354
# File 'lib/v20200608/models.rb', line 352

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



358
359
360
# File 'lib/v20200608/models.rb', line 358

def deserialize(params)
  @TaskId = params['TaskId']
end