Class: TencentCloud::Wedata::V20210820::InstanceOpsInfoPage

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

Overview

任务运行历史分页记录

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, items = nil) ⇒ InstanceOpsInfoPage

Returns a new instance of InstanceOpsInfoPage.



15697
15698
15699
15700
# File 'lib/v20210820/models.rb', line 15697

def initialize(totalcount=nil, items=nil)
  @TotalCount = totalcount
  @Items = items
end

Instance Attribute Details

#ItemsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    总记录数

  • Items:

    记录列表



15695
15696
15697
# File 'lib/v20210820/models.rb', line 15695

def Items
  @Items
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    总记录数

  • Items:

    记录列表



15695
15696
15697
# File 'lib/v20210820/models.rb', line 15695

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
# File 'lib/v20210820/models.rb', line 15702

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      instanceopsdto_tmp = InstanceOpsDto.new
      instanceopsdto_tmp.deserialize(i)
      @Items << instanceopsdto_tmp
    end
  end
end