Class: TencentCloud::Bh::V20230418::DescribeAccountGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bh::V20230418::DescribeAccountGroupsResponse
- Defined in:
- lib/v20230418/models.rb
Overview
DescribeAccountGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, accountgroupset = nil, requestid = nil) ⇒ DescribeAccountGroupsResponse
constructor
A new instance of DescribeAccountGroupsResponse.
Constructor Details
#initialize(totalcount = nil, accountgroupset = nil, requestid = nil) ⇒ DescribeAccountGroupsResponse
Returns a new instance of DescribeAccountGroupsResponse.
2673 2674 2675 2676 2677 |
# File 'lib/v20230418/models.rb', line 2673 def initialize(totalcount=nil, accountgroupset=nil, requestid=nil) @TotalCount = totalcount @AccountGroupSet = accountgroupset @RequestId = requestid end |
Instance Attribute Details
#AccountGroupSet ⇒ Object
2671 2672 2673 |
# File 'lib/v20230418/models.rb', line 2671 def AccountGroupSet @AccountGroupSet end |
#RequestId ⇒ Object
2671 2672 2673 |
# File 'lib/v20230418/models.rb', line 2671 def RequestId @RequestId end |
#TotalCount ⇒ Object
2671 2672 2673 |
# File 'lib/v20230418/models.rb', line 2671 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 |
# File 'lib/v20230418/models.rb', line 2679 def deserialize(params) @TotalCount = params['TotalCount'] unless params['AccountGroupSet'].nil? @AccountGroupSet = [] params['AccountGroupSet'].each do |i| accountgroup_tmp = AccountGroup.new accountgroup_tmp.deserialize(i) @AccountGroupSet << accountgroup_tmp end end @RequestId = params['RequestId'] end |