Class: TencentCloud::Cdb::V20170320::CreateParamTemplateRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::CreateParamTemplateRequest
- Defined in:
- lib/v20170320/models.rb
Overview
CreateParamTemplate请求参数结构体
Instance Attribute Summary collapse
- #Description ⇒ Object
- #EngineType ⇒ Object
- #EngineVersion ⇒ Object
- #Name ⇒ Object
- #ParamList ⇒ Object
- #TemplateId ⇒ Object
- #TemplateType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, description = nil, engineversion = nil, templateid = nil, paramlist = nil, templatetype = nil, enginetype = nil) ⇒ CreateParamTemplateRequest
constructor
A new instance of CreateParamTemplateRequest.
Constructor Details
#initialize(name = nil, description = nil, engineversion = nil, templateid = nil, paramlist = nil, templatetype = nil, enginetype = nil) ⇒ CreateParamTemplateRequest
Returns a new instance of CreateParamTemplateRequest.
3613 3614 3615 3616 3617 3618 3619 3620 3621 |
# File 'lib/v20170320/models.rb', line 3613 def initialize(name=nil, description=nil, engineversion=nil, templateid=nil, paramlist=nil, templatetype=nil, enginetype=nil) @Name = name @Description = description @EngineVersion = engineversion @TemplateId = templateid @ParamList = paramlist @TemplateType = templatetype @EngineType = enginetype end |
Instance Attribute Details
#Description ⇒ Object
3611 3612 3613 |
# File 'lib/v20170320/models.rb', line 3611 def Description @Description end |
#EngineType ⇒ Object
3611 3612 3613 |
# File 'lib/v20170320/models.rb', line 3611 def EngineType @EngineType end |
#EngineVersion ⇒ Object
3611 3612 3613 |
# File 'lib/v20170320/models.rb', line 3611 def EngineVersion @EngineVersion end |
#Name ⇒ Object
3611 3612 3613 |
# File 'lib/v20170320/models.rb', line 3611 def Name @Name end |
#ParamList ⇒ Object
3611 3612 3613 |
# File 'lib/v20170320/models.rb', line 3611 def ParamList @ParamList end |
#TemplateId ⇒ Object
3611 3612 3613 |
# File 'lib/v20170320/models.rb', line 3611 def TemplateId @TemplateId end |
#TemplateType ⇒ Object
3611 3612 3613 |
# File 'lib/v20170320/models.rb', line 3611 def TemplateType @TemplateType end |
Instance Method Details
#deserialize(params) ⇒ Object
3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 |
# File 'lib/v20170320/models.rb', line 3623 def deserialize(params) @Name = params['Name'] @Description = params['Description'] @EngineVersion = params['EngineVersion'] @TemplateId = params['TemplateId'] unless params['ParamList'].nil? @ParamList = [] params['ParamList'].each do |i| parameter_tmp = Parameter.new parameter_tmp.deserialize(i) @ParamList << parameter_tmp end end @TemplateType = params['TemplateType'] @EngineType = params['EngineType'] end |