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.



29057
29058
29059
29060
29061
29062
29063
# File 'lib/v20210820/models.rb', line 29057

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:

    总分页页码



29055
29056
29057
# File 'lib/v20210820/models.rb', line 29055

def PageNumber
  @PageNumber
end

#PageSizeObject

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

Parameters:

  • Rows:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总分页页码



29055
29056
29057
# File 'lib/v20210820/models.rb', line 29055

def PageSize
  @PageSize
end

#RowsObject

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

Parameters:

  • Rows:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总分页页码



29055
29056
29057
# File 'lib/v20210820/models.rb', line 29055

def Rows
  @Rows
end

#TotalCountObject

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

Parameters:

  • Rows:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总分页页码



29055
29056
29057
# File 'lib/v20210820/models.rb', line 29055

def TotalCount
  @TotalCount
end

#TotalPageNumberObject

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

Parameters:

  • Rows:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总分页页码



29055
29056
29057
# File 'lib/v20210820/models.rb', line 29055

def TotalPageNumber
  @TotalPageNumber
end

Instance Method Details

#deserialize(params) ⇒ Object



29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
# File 'lib/v20210820/models.rb', line 29065

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