Class: TencentCloud::Wedata::V20210820::ProjectPage

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

Overview

查询数据源分页列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagenumber = nil, pagesize = nil, rows = nil, totalcount = nil, totalpagenumber = nil) ⇒ ProjectPage

Returns a new instance of ProjectPage.



28761
28762
28763
28764
28765
28766
28767
# File 'lib/v20210820/models.rb', line 28761

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

Instance Attribute Details

#PageNumberObject

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

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • Rows:

    数据源列表

  • TotalCount:

    总数

  • TotalPageNumber:

    总分页页码



28759
28760
28761
# File 'lib/v20210820/models.rb', line 28759

def PageNumber
  @PageNumber
end

#PageSizeObject

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

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • Rows:

    数据源列表

  • TotalCount:

    总数

  • TotalPageNumber:

    总分页页码



28759
28760
28761
# File 'lib/v20210820/models.rb', line 28759

def PageSize
  @PageSize
end

#RowsObject

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

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • Rows:

    数据源列表

  • TotalCount:

    总数

  • TotalPageNumber:

    总分页页码



28759
28760
28761
# File 'lib/v20210820/models.rb', line 28759

def Rows
  @Rows
end

#TotalCountObject

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

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • Rows:

    数据源列表

  • TotalCount:

    总数

  • TotalPageNumber:

    总分页页码



28759
28760
28761
# File 'lib/v20210820/models.rb', line 28759

def TotalCount
  @TotalCount
end

#TotalPageNumberObject

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

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • Rows:

    数据源列表

  • TotalCount:

    总数

  • TotalPageNumber:

    总分页页码



28759
28760
28761
# File 'lib/v20210820/models.rb', line 28759

def TotalPageNumber
  @TotalPageNumber
end

Instance Method Details

#deserialize(params) ⇒ Object



28769
28770
28771
28772
28773
28774
28775
28776
28777
28778
28779
28780
28781
28782
# File 'lib/v20210820/models.rb', line 28769

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