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.
7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 |
# File 'lib/v20170320/models.rb', line 7536 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
7534 7535 7536 |
# File 'lib/v20170320/models.rb', line 7534 def Description @Description end |
#EngineType ⇒ Object
7534 7535 7536 |
# File 'lib/v20170320/models.rb', line 7534 def EngineType @EngineType end |
#EngineVersion ⇒ Object
7534 7535 7536 |
# File 'lib/v20170320/models.rb', line 7534 def EngineVersion @EngineVersion end |
#Items ⇒ Object
7534 7535 7536 |
# File 'lib/v20170320/models.rb', line 7534 def Items @Items end |
#Name ⇒ Object
7534 7535 7536 |
# File 'lib/v20170320/models.rb', line 7534 def Name @Name end |
#RequestId ⇒ Object
7534 7535 7536 |
# File 'lib/v20170320/models.rb', line 7534 def RequestId @RequestId end |
#TemplateId ⇒ Object
7534 7535 7536 |
# File 'lib/v20170320/models.rb', line 7534 def TemplateId @TemplateId end |
#TemplateType ⇒ Object
7534 7535 7536 |
# File 'lib/v20170320/models.rb', line 7534 def TemplateType @TemplateType end |
#TotalCount ⇒ Object
7534 7535 7536 |
# File 'lib/v20170320/models.rb', line 7534 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 |
# File 'lib/v20170320/models.rb', line 7548 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 |