Class: TencentCloud::Cam::V20190116::ListUsersForGroupResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::ListUsersForGroupResponse
- Defined in:
- lib/v20190116/models.rb
Overview
ListUsersForGroup返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalnum = nil, userinfo = nil, requestid = nil) ⇒ ListUsersForGroupResponse
constructor
A new instance of ListUsersForGroupResponse.
Constructor Details
#initialize(totalnum = nil, userinfo = nil, requestid = nil) ⇒ ListUsersForGroupResponse
Returns a new instance of ListUsersForGroupResponse.
3918 3919 3920 3921 3922 |
# File 'lib/v20190116/models.rb', line 3918 def initialize(totalnum=nil, userinfo=nil, requestid=nil) @TotalNum = totalnum @UserInfo = userinfo @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3916 3917 3918 |
# File 'lib/v20190116/models.rb', line 3916 def RequestId @RequestId end |
#TotalNum ⇒ Object
3916 3917 3918 |
# File 'lib/v20190116/models.rb', line 3916 def TotalNum @TotalNum end |
#UserInfo ⇒ Object
3916 3917 3918 |
# File 'lib/v20190116/models.rb', line 3916 def UserInfo @UserInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 |
# File 'lib/v20190116/models.rb', line 3924 def deserialize(params) @TotalNum = params['TotalNum'] unless params['UserInfo'].nil? @UserInfo = [] params['UserInfo'].each do |i| groupmemberinfo_tmp = GroupMemberInfo.new groupmemberinfo_tmp.deserialize(i) @UserInfo << groupmemberinfo_tmp end end @RequestId = params['RequestId'] end |