Class: TencentCloud::Wedata::V20210820::ProjectUsersPage

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

Overview

项目下的用户集合

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ProjectUsersPage.



28884
28885
28886
28887
28888
28889
28890
# File 'lib/v20210820/models.rb', line 28884

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

Instance Attribute Details

#PageNumberObject

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

Parameters:

  • Rows:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总分页页码



28882
28883
28884
# File 'lib/v20210820/models.rb', line 28882

def PageNumber
  @PageNumber
end

#PageSizeObject

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

Parameters:

  • Rows:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总分页页码



28882
28883
28884
# File 'lib/v20210820/models.rb', line 28882

def PageSize
  @PageSize
end

#RowsObject

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

Parameters:

  • Rows:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总分页页码



28882
28883
28884
# File 'lib/v20210820/models.rb', line 28882

def Rows
  @Rows
end

#TotalCountObject

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

Parameters:

  • Rows:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总分页页码



28882
28883
28884
# File 'lib/v20210820/models.rb', line 28882

def TotalCount
  @TotalCount
end

#TotalPageNumberObject

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

Parameters:

  • Rows:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总分页页码



28882
28883
28884
# File 'lib/v20210820/models.rb', line 28882

def TotalPageNumber
  @TotalPageNumber
end

Instance Method Details

#deserialize(params) ⇒ Object



28892
28893
28894
28895
28896
28897
28898
28899
28900
28901
28902
28903
28904
28905
# File 'lib/v20210820/models.rb', line 28892

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