Class: TencentCloud::Dbbrain::V20191016::DescribeAllUserGroupResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20191016::DescribeAllUserGroupResponse
- Defined in:
- lib/v20191016/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.
477 478 479 480 481 |
# File 'lib/v20191016/models.rb', line 477 def initialize(totalcount=nil, groups=nil, requestid=nil) @TotalCount = totalcount @Groups = groups @RequestId = requestid end |
Instance Attribute Details
#Groups ⇒ Object
475 476 477 |
# File 'lib/v20191016/models.rb', line 475 def Groups @Groups end |
#RequestId ⇒ Object
475 476 477 |
# File 'lib/v20191016/models.rb', line 475 def RequestId @RequestId end |
#TotalCount ⇒ Object
475 476 477 |
# File 'lib/v20191016/models.rb', line 475 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
483 484 485 486 487 488 489 490 491 492 493 494 |
# File 'lib/v20191016/models.rb', line 483 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 |