Class: TencentCloud::Dbbrain::V20210527::DescribeAllUserGroupResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeAllUserGroupResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeAllUserGroup返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, groups = nil, requestid = nil) ⇒ DescribeAllUserGroupResponse
constructor
A new instance of DescribeAllUserGroupResponse.
Constructor Details
#initialize(totalcount = nil, groups = nil, requestid = nil) ⇒ DescribeAllUserGroupResponse
Returns a new instance of DescribeAllUserGroupResponse.
1801 1802 1803 1804 1805 |
# File 'lib/v20210527/models.rb', line 1801 def initialize(totalcount=nil, groups=nil, requestid=nil) @TotalCount = totalcount @Groups = groups @RequestId = requestid end |
Instance Attribute Details
#Groups ⇒ Object
1799 1800 1801 |
# File 'lib/v20210527/models.rb', line 1799 def Groups @Groups end |
#RequestId ⇒ Object
1799 1800 1801 |
# File 'lib/v20210527/models.rb', line 1799 def RequestId @RequestId end |
#TotalCount ⇒ Object
1799 1800 1801 |
# File 'lib/v20210527/models.rb', line 1799 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'lib/v20210527/models.rb', line 1807 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Groups'].nil? @Groups = [] params['Groups'].each do |i| groupitem_tmp = GroupItem.new groupitem_tmp.deserialize(i) @Groups << groupitem_tmp end end @RequestId = params['RequestId'] end |