Class: TencentCloud::Wedata::V20250806::ProjectBrief

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, items = nil, totalcount = nil, totalpagenumber = nil) ⇒ ProjectBrief

Returns a new instance of ProjectBrief.



9863
9864
9865
9866
9867
9868
9869
# File 'lib/v20250806/models.rb', line 9863

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • Items:

    数据源列表

  • TotalCount:

    总数

  • TotalPageNumber:

    总页码



9861
9862
9863
# File 'lib/v20250806/models.rb', line 9861

def Items
  @Items
end

#PageNumberObject

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

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • Items:

    数据源列表

  • TotalCount:

    总数

  • TotalPageNumber:

    总页码



9861
9862
9863
# File 'lib/v20250806/models.rb', line 9861

def PageNumber
  @PageNumber
end

#PageSizeObject

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

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • Items:

    数据源列表

  • TotalCount:

    总数

  • TotalPageNumber:

    总页码



9861
9862
9863
# File 'lib/v20250806/models.rb', line 9861

def PageSize
  @PageSize
end

#TotalCountObject

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

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • Items:

    数据源列表

  • TotalCount:

    总数

  • TotalPageNumber:

    总页码



9861
9862
9863
# File 'lib/v20250806/models.rb', line 9861

def TotalCount
  @TotalCount
end

#TotalPageNumberObject

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

Parameters:

  • PageNumber:

    分页页码

  • PageSize:

    分页大小

  • Items:

    数据源列表

  • TotalCount:

    总数

  • TotalPageNumber:

    总页码



9861
9862
9863
# File 'lib/v20250806/models.rb', line 9861

def TotalPageNumber
  @TotalPageNumber
end

Instance Method Details

#deserialize(params) ⇒ Object



9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
# File 'lib/v20250806/models.rb', line 9871

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