Class: TencentCloud::Cdb::V20170320::DescribeDeployGroupListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeDeployGroupListResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeDeployGroupList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, items = nil, requestid = nil) ⇒ DescribeDeployGroupListResponse
constructor
A new instance of DescribeDeployGroupListResponse.
Constructor Details
#initialize(total = nil, items = nil, requestid = nil) ⇒ DescribeDeployGroupListResponse
7006 7007 7008 7009 7010 |
# File 'lib/v20170320/models.rb', line 7006 def initialize(total=nil, items=nil, requestid=nil) @Total = total @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
7004 7005 7006 |
# File 'lib/v20170320/models.rb', line 7004 def Items @Items end |
#RequestId ⇒ Object
7004 7005 7006 |
# File 'lib/v20170320/models.rb', line 7004 def RequestId @RequestId end |
#Total ⇒ Object
7004 7005 7006 |
# File 'lib/v20170320/models.rb', line 7004 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 |
# File 'lib/v20170320/models.rb', line 7012 def deserialize(params) @Total = params['Total'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| deploygroupinfo_tmp = DeployGroupInfo.new deploygroupinfo_tmp.deserialize(i) @Items << deploygroupinfo_tmp end end @RequestId = params['RequestId'] end |