Class: TencentCloud::Lowcode::V20210108::RoleListPage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lowcode::V20210108::RoleListPage
- Defined in:
- lib/v20210108/models.rb
Overview
角色分页
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rolelist = nil, total = nil) ⇒ RoleListPage
constructor
A new instance of RoleListPage.
Constructor Details
#initialize(rolelist = nil, total = nil) ⇒ RoleListPage
Returns a new instance of RoleListPage.
1708 1709 1710 1711 |
# File 'lib/v20210108/models.rb', line 1708 def initialize(rolelist=nil, total=nil) @RoleList = rolelist @Total = total end |
Instance Attribute Details
#RoleList ⇒ Object
1706 1707 1708 |
# File 'lib/v20210108/models.rb', line 1706 def RoleList @RoleList end |
#Total ⇒ Object
1706 1707 1708 |
# File 'lib/v20210108/models.rb', line 1706 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 |
# File 'lib/v20210108/models.rb', line 1713 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 |