Class: TencentCloud::Wedata::V20210820::DescribeTaskByCycleResponse

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

Overview

DescribeTaskByCycle返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ DescribeTaskByCycleResponse



16545
16546
16547
16548
# File 'lib/v20210820/models.rb', line 16545

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject



16543
16544
16545
# File 'lib/v20210820/models.rb', line 16543

def Data
  @Data
end

#RequestIdObject



16543
16544
16545
# File 'lib/v20210820/models.rb', line 16543

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
# File 'lib/v20210820/models.rb', line 16550

def deserialize(params)
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      taskbycycle_tmp = TaskByCycle.new
      taskbycycle_tmp.deserialize(i)
      @Data << taskbycycle_tmp
    end
  end
  @RequestId = params['RequestId']
end