Class: TencentCloud::Cdb::V20170320::DescribeParamTemplatesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeParamTemplatesResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeParamTemplates返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeParamTemplatesResponse
constructor
A new instance of DescribeParamTemplatesResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeParamTemplatesResponse
Returns a new instance of DescribeParamTemplatesResponse.
7607 7608 7609 7610 7611 |
# File 'lib/v20170320/models.rb', line 7607 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
7605 7606 7607 |
# File 'lib/v20170320/models.rb', line 7605 def Items @Items end |
#RequestId ⇒ Object
7605 7606 7607 |
# File 'lib/v20170320/models.rb', line 7605 def RequestId @RequestId end |
#TotalCount ⇒ Object
7605 7606 7607 |
# File 'lib/v20170320/models.rb', line 7605 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 |
# File 'lib/v20170320/models.rb', line 7613 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| paramtemplateinfo_tmp = ParamTemplateInfo.new paramtemplateinfo_tmp.deserialize(i) @Items << paramtemplateinfo_tmp end end @RequestId = params['RequestId'] end |