Class: TencentCloud::Wedata::V20250806::WorkflowFolderPage

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

Overview

资源文件分页

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagenumber = nil, pagesize = nil, totalcount = nil, totalpagenumber = nil, items = nil) ⇒ WorkflowFolderPage

Returns a new instance of WorkflowFolderPage.



9555
9556
9557
9558
9559
9560
9561
# File 'lib/v20250806/models.rb', line 9555

def initialize(pagenumber=nil, pagesize=nil, totalcount=nil, totalpagenumber=nil, items=nil)
  @PageNumber = pagenumber
  @PageSize = pagesize
  @TotalCount = totalcount
  @TotalPageNumber = totalpagenumber
  @Items = items
end

Instance Attribute Details

#ItemsObject

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

Parameters:

  • PageNumber:

    数据页数,大于等于1

  • PageSize:

    每页显示的数据条数,最小为10条,最大为200 条

  • TotalCount:

    文件夹总数

  • TotalPageNumber:

    总页数

  • Items:

    文件夹列表



9553
9554
9555
# File 'lib/v20250806/models.rb', line 9553

def Items
  @Items
end

#PageNumberObject

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

Parameters:

  • PageNumber:

    数据页数,大于等于1

  • PageSize:

    每页显示的数据条数,最小为10条,最大为200 条

  • TotalCount:

    文件夹总数

  • TotalPageNumber:

    总页数

  • Items:

    文件夹列表



9553
9554
9555
# File 'lib/v20250806/models.rb', line 9553

def PageNumber
  @PageNumber
end

#PageSizeObject

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

Parameters:

  • PageNumber:

    数据页数,大于等于1

  • PageSize:

    每页显示的数据条数,最小为10条,最大为200 条

  • TotalCount:

    文件夹总数

  • TotalPageNumber:

    总页数

  • Items:

    文件夹列表



9553
9554
9555
# File 'lib/v20250806/models.rb', line 9553

def PageSize
  @PageSize
end

#TotalCountObject

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

Parameters:

  • PageNumber:

    数据页数,大于等于1

  • PageSize:

    每页显示的数据条数,最小为10条,最大为200 条

  • TotalCount:

    文件夹总数

  • TotalPageNumber:

    总页数

  • Items:

    文件夹列表



9553
9554
9555
# File 'lib/v20250806/models.rb', line 9553

def TotalCount
  @TotalCount
end

#TotalPageNumberObject

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

Parameters:

  • PageNumber:

    数据页数,大于等于1

  • PageSize:

    每页显示的数据条数,最小为10条,最大为200 条

  • TotalCount:

    文件夹总数

  • TotalPageNumber:

    总页数

  • Items:

    文件夹列表



9553
9554
9555
# File 'lib/v20250806/models.rb', line 9553

def TotalPageNumber
  @TotalPageNumber
end

Instance Method Details

#deserialize(params) ⇒ Object



9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
# File 'lib/v20250806/models.rb', line 9563

def deserialize(params)
  @PageNumber = params['PageNumber']
  @PageSize = params['PageSize']
  @TotalCount = params['TotalCount']
  @TotalPageNumber = params['TotalPageNumber']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      workflowfolder_tmp = WorkflowFolder.new
      workflowfolder_tmp.deserialize(i)
      @Items << workflowfolder_tmp
    end
  end
end