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.
7721 7722 7723 7724 7725 |
# File 'lib/v20170320/models.rb', line 7721 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
7719 7720 7721 |
# File 'lib/v20170320/models.rb', line 7719 def Items @Items end |
#RequestId ⇒ Object
7719 7720 7721 |
# File 'lib/v20170320/models.rb', line 7719 def RequestId @RequestId end |
#TotalCount ⇒ Object
7719 7720 7721 |
# File 'lib/v20170320/models.rb', line 7719 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 |
# File 'lib/v20170320/models.rb', line 7727 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 |