Class: TencentCloud::Trocket::V20230308::DescribeSourceClusterGroupListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::DescribeSourceClusterGroupListResponse
- Defined in:
- lib/v20230308/models.rb
Overview
DescribeSourceClusterGroupList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, groups = nil, requestid = nil) ⇒ DescribeSourceClusterGroupListResponse
constructor
A new instance of DescribeSourceClusterGroupListResponse.
Constructor Details
#initialize(totalcount = nil, groups = nil, requestid = nil) ⇒ DescribeSourceClusterGroupListResponse
Returns a new instance of DescribeSourceClusterGroupListResponse.
3469 3470 3471 3472 3473 |
# File 'lib/v20230308/models.rb', line 3469 def initialize(totalcount=nil, groups=nil, requestid=nil) @TotalCount = totalcount @Groups = groups @RequestId = requestid end |
Instance Attribute Details
#Groups ⇒ Object
3467 3468 3469 |
# File 'lib/v20230308/models.rb', line 3467 def Groups @Groups end |
#RequestId ⇒ Object
3467 3468 3469 |
# File 'lib/v20230308/models.rb', line 3467 def RequestId @RequestId end |
#TotalCount ⇒ Object
3467 3468 3469 |
# File 'lib/v20230308/models.rb', line 3467 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 |
# File 'lib/v20230308/models.rb', line 3475 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Groups'].nil? @Groups = [] params['Groups'].each do |i| sourceclustergroupconfig_tmp = SourceClusterGroupConfig.new sourceclustergroupconfig_tmp.deserialize(i) @Groups << sourceclustergroupconfig_tmp end end @RequestId = params['RequestId'] end |