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.



23174
23175
23176
23177
# File 'lib/v20210820/models.rb', line 23174

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • TotalCount:

    总记录数

  • Items:

    记录列表



23172
23173
23174
# File 'lib/v20210820/models.rb', line 23172

def Items
  @Items
end

#TotalCountObject

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

Parameters:

  • TotalCount:

    总记录数

  • Items:

    记录列表



23172
23173
23174
# File 'lib/v20210820/models.rb', line 23172

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
# File 'lib/v20210820/models.rb', line 23179

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