Class: TencentCloud::Vm::V20200709::DescribeTaskDetailRequest

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

Overview

DescribeTaskDetail请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil, showallsegments = nil) ⇒ DescribeTaskDetailRequest

Returns a new instance of DescribeTaskDetailRequest.



448
449
450
451
# File 'lib/v20200709/models.rb', line 448

def initialize(taskid=nil, showallsegments=nil)
  @TaskId = taskid
  @ShowAllSegments = showallsegments
end

Instance Attribute Details

#ShowAllSegmentsObject

Parameters:

  • TaskId:

    任务ID,创建任务后返回的TaskId字段

  • ShowAllSegments:

    是否展示所有分片,默认只展示命中规则的分片



446
447
448
# File 'lib/v20200709/models.rb', line 446

def ShowAllSegments
  @ShowAllSegments
end

#TaskIdObject

Parameters:

  • TaskId:

    任务ID,创建任务后返回的TaskId字段

  • ShowAllSegments:

    是否展示所有分片,默认只展示命中规则的分片



446
447
448
# File 'lib/v20200709/models.rb', line 446

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



453
454
455
456
# File 'lib/v20200709/models.rb', line 453

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