Class: TencentCloud::Wedata::V20210820::DescribeBatchOperateTaskPage

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

Overview

批量操作任务列表分页

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagecount = nil, items = nil, totalcount = nil) ⇒ DescribeBatchOperateTaskPage

Returns a new instance of DescribeBatchOperateTaskPage.



6127
6128
6129
6130
6131
# File 'lib/v20210820/models.rb', line 6127

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • PageCount:

    总页码数

  • Items:

    内容

  • TotalCount:

    总个数



6125
6126
6127
# File 'lib/v20210820/models.rb', line 6125

def Items
  @Items
end

#PageCountObject

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

Parameters:

  • PageCount:

    总页码数

  • Items:

    内容

  • TotalCount:

    总个数



6125
6126
6127
# File 'lib/v20210820/models.rb', line 6125

def PageCount
  @PageCount
end

#TotalCountObject

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

Parameters:

  • PageCount:

    总页码数

  • Items:

    内容

  • TotalCount:

    总个数



6125
6126
6127
# File 'lib/v20210820/models.rb', line 6125

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
# File 'lib/v20210820/models.rb', line 6133

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