Class: TencentCloud::Cdb::V20170320::DescribeParamTemplateInfoResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeParamTemplateInfoResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeParamTemplateInfo返回参数结构体
Instance Attribute Summary collapse
- #Description ⇒ Object
- #EngineType ⇒ Object
- #EngineVersion ⇒ Object
- #Items ⇒ Object
- #Name ⇒ Object
- #RequestId ⇒ Object
- #TemplateId ⇒ Object
- #TemplateType ⇒ Object
- #TotalCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templateid = nil, name = nil, engineversion = nil, totalcount = nil, items = nil, description = nil, templatetype = nil, enginetype = nil, requestid = nil) ⇒ DescribeParamTemplateInfoResponse
constructor
A new instance of DescribeParamTemplateInfoResponse.
Constructor Details
#initialize(templateid = nil, name = nil, engineversion = nil, totalcount = nil, items = nil, description = nil, templatetype = nil, enginetype = nil, requestid = nil) ⇒ DescribeParamTemplateInfoResponse
Returns a new instance of DescribeParamTemplateInfoResponse.
7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 |
# File 'lib/v20170320/models.rb', line 7639 def initialize(templateid=nil, name=nil, engineversion=nil, totalcount=nil, items=nil, description=nil, templatetype=nil, enginetype=nil, requestid=nil) @TemplateId = templateid @Name = name @EngineVersion = engineversion @TotalCount = totalcount @Items = items @Description = description @TemplateType = templatetype @EngineType = enginetype @RequestId = requestid end |
Instance Attribute Details
#Description ⇒ Object
7637 7638 7639 |
# File 'lib/v20170320/models.rb', line 7637 def Description @Description end |
#EngineType ⇒ Object
7637 7638 7639 |
# File 'lib/v20170320/models.rb', line 7637 def EngineType @EngineType end |
#EngineVersion ⇒ Object
7637 7638 7639 |
# File 'lib/v20170320/models.rb', line 7637 def EngineVersion @EngineVersion end |
#Items ⇒ Object
7637 7638 7639 |
# File 'lib/v20170320/models.rb', line 7637 def Items @Items end |
#Name ⇒ Object
7637 7638 7639 |
# File 'lib/v20170320/models.rb', line 7637 def Name @Name end |
#RequestId ⇒ Object
7637 7638 7639 |
# File 'lib/v20170320/models.rb', line 7637 def RequestId @RequestId end |
#TemplateId ⇒ Object
7637 7638 7639 |
# File 'lib/v20170320/models.rb', line 7637 def TemplateId @TemplateId end |
#TemplateType ⇒ Object
7637 7638 7639 |
# File 'lib/v20170320/models.rb', line 7637 def TemplateType @TemplateType end |
#TotalCount ⇒ Object
7637 7638 7639 |
# File 'lib/v20170320/models.rb', line 7637 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 |
# File 'lib/v20170320/models.rb', line 7651 def deserialize(params) @TemplateId = params['TemplateId'] @Name = params['Name'] @EngineVersion = params['EngineVersion'] @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| parameterdetail_tmp = ParameterDetail.new parameterdetail_tmp.deserialize(i) @Items << parameterdetail_tmp end end @Description = params['Description'] @TemplateType = params['TemplateType'] @EngineType = params['EngineType'] @RequestId = params['RequestId'] end |