Class: TencentCloud::Tcb::V20180608::DescribeUserListResp
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::DescribeUserListResp
- Defined in:
- lib/v20180608/models.rb
Overview
查询用户返回结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, userlist = nil) ⇒ DescribeUserListResp
constructor
A new instance of DescribeUserListResp.
Constructor Details
#initialize(total = nil, userlist = nil) ⇒ DescribeUserListResp
Returns a new instance of DescribeUserListResp.
6183 6184 6185 6186 |
# File 'lib/v20180608/models.rb', line 6183 def initialize(total=nil, userlist=nil) @Total = total @UserList = userlist end |
Instance Attribute Details
#Total ⇒ Object
6181 6182 6183 |
# File 'lib/v20180608/models.rb', line 6181 def Total @Total end |
#UserList ⇒ Object
6181 6182 6183 |
# File 'lib/v20180608/models.rb', line 6181 def UserList @UserList end |
Instance Method Details
#deserialize(params) ⇒ Object
6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 |
# File 'lib/v20180608/models.rb', line 6188 def deserialize(params) @Total = params['Total'] unless params['UserList'].nil? @UserList = [] params['UserList'].each do |i| user_tmp = User.new user_tmp.deserialize(i) @UserList << user_tmp end end end |