Class: TencentCloud::Wedata::V20250806::ProjectUsersBrief

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

Overview

项目下的用户集合

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ProjectUsersBrief.



10066
10067
10068
10069
10070
10071
10072
# File 'lib/v20250806/models.rb', line 10066

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

Instance Attribute Details

#ItemsObject

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

Parameters:

  • Items:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总页码



10064
10065
10066
# File 'lib/v20250806/models.rb', line 10064

def Items
  @Items
end

#PageNumberObject

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

Parameters:

  • Items:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总页码



10064
10065
10066
# File 'lib/v20250806/models.rb', line 10064

def PageNumber
  @PageNumber
end

#PageSizeObject

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

Parameters:

  • Items:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总页码



10064
10065
10066
# File 'lib/v20250806/models.rb', line 10064

def PageSize
  @PageSize
end

#TotalCountObject

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

Parameters:

  • Items:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总页码



10064
10065
10066
# File 'lib/v20250806/models.rb', line 10064

def TotalCount
  @TotalCount
end

#TotalPageNumberObject

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

Parameters:

  • Items:

    用户集合

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    总数量

  • TotalPageNumber:

    总页码



10064
10065
10066
# File 'lib/v20250806/models.rb', line 10064

def TotalPageNumber
  @TotalPageNumber
end

Instance Method Details

#deserialize(params) ⇒ Object



10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
# File 'lib/v20250806/models.rb', line 10074

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