Class: TencentCloud::Lowcode::V20210108::RoleListPage

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

Overview

角色分页

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rolelist = nil, total = nil) ⇒ RoleListPage

Returns a new instance of RoleListPage.



1700
1701
1702
1703
# File 'lib/v20210108/models.rb', line 1700

def initialize(rolelist=nil, total=nil)
  @RoleList = rolelist
  @Total = total
end

Instance Attribute Details

#RoleListObject

Parameters:

  • RoleList:

    角色列表

  • Total:

    总数



1698
1699
1700
# File 'lib/v20210108/models.rb', line 1698

def RoleList
  @RoleList
end

#TotalObject

Parameters:

  • RoleList:

    角色列表

  • Total:

    总数



1698
1699
1700
# File 'lib/v20210108/models.rb', line 1698

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
# File 'lib/v20210108/models.rb', line 1705

def deserialize(params)
  unless params['RoleList'].nil?
    @RoleList = []
    params['RoleList'].each do |i|
      wedarole_tmp = WedaRole.new
      wedarole_tmp.deserialize(i)
      @RoleList << wedarole_tmp
    end
  end
  @Total = params['Total']
end