Class: TencentCloud::Cdb::V20170320::ModifyParamTemplateRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ModifyParamTemplateRequest
- Defined in:
- lib/v20170320/models.rb
Overview
ModifyParamTemplate请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templateid = nil, name = nil, description = nil, paramlist = nil) ⇒ ModifyParamTemplateRequest
constructor
A new instance of ModifyParamTemplateRequest.
Constructor Details
#initialize(templateid = nil, name = nil, description = nil, paramlist = nil) ⇒ ModifyParamTemplateRequest
Returns a new instance of ModifyParamTemplateRequest.
11369 11370 11371 11372 11373 11374 |
# File 'lib/v20170320/models.rb', line 11369 def initialize(templateid=nil, name=nil, description=nil, paramlist=nil) @TemplateId = templateid @Name = name @Description = description @ParamList = paramlist end |
Instance Attribute Details
#Description ⇒ Object
11367 11368 11369 |
# File 'lib/v20170320/models.rb', line 11367 def Description @Description end |
#Name ⇒ Object
11367 11368 11369 |
# File 'lib/v20170320/models.rb', line 11367 def Name @Name end |
#ParamList ⇒ Object
11367 11368 11369 |
# File 'lib/v20170320/models.rb', line 11367 def ParamList @ParamList end |
#TemplateId ⇒ Object
11367 11368 11369 |
# File 'lib/v20170320/models.rb', line 11367 def TemplateId @TemplateId end |
Instance Method Details
#deserialize(params) ⇒ Object
11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 |
# File 'lib/v20170320/models.rb', line 11376 def deserialize(params) @TemplateId = params['TemplateId'] @Name = params['Name'] @Description = params['Description'] unless params['ParamList'].nil? @ParamList = [] params['ParamList'].each do |i| parameter_tmp = Parameter.new parameter_tmp.deserialize(i) @ParamList << parameter_tmp end end end |