Class: TencentCloud::Wedata::V20210820::TaskCollectionParamDTO

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, pagecount = nil, items = nil) ⇒ TaskCollectionParamDTO

Returns a new instance of TaskCollectionParamDTO.



36163
36164
36165
36166
36167
# File 'lib/v20210820/models.rb', line 36163

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • TotalCount:

    总数据条数

  • PageCount:

    总页数

  • Items:

    数据



36161
36162
36163
# File 'lib/v20210820/models.rb', line 36161

def Items
  @Items
end

#PageCountObject

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

Parameters:

  • TotalCount:

    总数据条数

  • PageCount:

    总页数

  • Items:

    数据



36161
36162
36163
# File 'lib/v20210820/models.rb', line 36161

def PageCount
  @PageCount
end

#TotalCountObject

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

Parameters:

  • TotalCount:

    总数据条数

  • PageCount:

    总页数

  • Items:

    数据



36161
36162
36163
# File 'lib/v20210820/models.rb', line 36161

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



36169
36170
36171
36172
36173
36174
36175
36176
36177
36178
36179
36180
# File 'lib/v20210820/models.rb', line 36169

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