Class: TencentCloud::Dasb::V20191018::DescribeUserGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dasb::V20191018::DescribeUserGroupsResponse
- Defined in:
- lib/v20191018/models.rb
Overview
DescribeUserGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, groupset = nil, requestid = nil) ⇒ DescribeUserGroupsResponse
constructor
A new instance of DescribeUserGroupsResponse.
Constructor Details
#initialize(totalcount = nil, groupset = nil, requestid = nil) ⇒ DescribeUserGroupsResponse
Returns a new instance of DescribeUserGroupsResponse.
2895 2896 2897 2898 2899 |
# File 'lib/v20191018/models.rb', line 2895 def initialize(totalcount=nil, groupset=nil, requestid=nil) @TotalCount = totalcount @GroupSet = groupset @RequestId = requestid end |
Instance Attribute Details
#GroupSet ⇒ Object
2893 2894 2895 |
# File 'lib/v20191018/models.rb', line 2893 def GroupSet @GroupSet end |
#RequestId ⇒ Object
2893 2894 2895 |
# File 'lib/v20191018/models.rb', line 2893 def RequestId @RequestId end |
#TotalCount ⇒ Object
2893 2894 2895 |
# File 'lib/v20191018/models.rb', line 2893 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 |
# File 'lib/v20191018/models.rb', line 2901 def deserialize(params) @TotalCount = params['TotalCount'] unless params['GroupSet'].nil? @GroupSet = [] params['GroupSet'].each do |i| group_tmp = Group.new group_tmp.deserialize(i) @GroupSet << group_tmp end end @RequestId = params['RequestId'] end |