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
Returns a new instance of DescribeDeployGroupListResponse.
7032 7033 7034 7035 7036 |
# File 'lib/v20170320/models.rb', line 7032 def initialize(total=nil, items=nil, requestid=nil) @Total = total @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
7030 7031 7032 |
# File 'lib/v20170320/models.rb', line 7030 def Items @Items end |
#RequestId ⇒ Object
7030 7031 7032 |
# File 'lib/v20170320/models.rb', line 7030 def RequestId @RequestId end |
#Total ⇒ Object
7030 7031 7032 |
# File 'lib/v20170320/models.rb', line 7030 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 |
# File 'lib/v20170320/models.rb', line 7038 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 |