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.



23024
23025
23026
23027
# File 'lib/v20210820/models.rb', line 23024

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • TotalCount:

    总记录数

  • Items:

    记录列表



23022
23023
23024
# File 'lib/v20210820/models.rb', line 23022

def Items
  @Items
end

#TotalCountObject

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

Parameters:

  • TotalCount:

    总记录数

  • Items:

    记录列表



23022
23023
23024
# File 'lib/v20210820/models.rb', line 23022

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
# File 'lib/v20210820/models.rb', line 23029

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