Class: TencentCloud::Dcdb::V20180411::ParamDesc
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dcdb::V20180411::ParamDesc
- Defined in:
- lib/v20180411/models.rb
Overview
DB参数描述
Instance Attribute Summary collapse
-
#Constraint ⇒ Object
true:需要重启.
-
#Default ⇒ Object
true:需要重启.
-
#HaveSetValue ⇒ Object
true:需要重启.
-
#NeedRestart ⇒ Object
true:需要重启.
-
#Param ⇒ Object
true:需要重启.
-
#SetValue ⇒ Object
true:需要重启.
-
#Value ⇒ Object
true:需要重启.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(param = nil, value = nil, setvalue = nil, default = nil, constraint = nil, havesetvalue = nil, needrestart = nil) ⇒ ParamDesc
constructor
A new instance of ParamDesc.
Constructor Details
#initialize(param = nil, value = nil, setvalue = nil, default = nil, constraint = nil, havesetvalue = nil, needrestart = nil) ⇒ ParamDesc
Returns a new instance of ParamDesc.
5503 5504 5505 5506 5507 5508 5509 5510 5511 |
# File 'lib/v20180411/models.rb', line 5503 def initialize(param=nil, value=nil, setvalue=nil, default=nil, constraint=nil, havesetvalue=nil, needrestart=nil) @Param = param @Value = value @SetValue = setvalue @Default = default @Constraint = constraint @HaveSetValue = havesetvalue @NeedRestart = needrestart end |
Instance Attribute Details
#Constraint ⇒ Object
true:需要重启
5501 5502 5503 |
# File 'lib/v20180411/models.rb', line 5501 def Constraint @Constraint end |
#Default ⇒ Object
true:需要重启
5501 5502 5503 |
# File 'lib/v20180411/models.rb', line 5501 def Default @Default end |
#HaveSetValue ⇒ Object
true:需要重启
5501 5502 5503 |
# File 'lib/v20180411/models.rb', line 5501 def HaveSetValue @HaveSetValue end |
#NeedRestart ⇒ Object
true:需要重启
5501 5502 5503 |
# File 'lib/v20180411/models.rb', line 5501 def NeedRestart @NeedRestart end |
#Param ⇒ Object
true:需要重启
5501 5502 5503 |
# File 'lib/v20180411/models.rb', line 5501 def Param @Param end |
#SetValue ⇒ Object
true:需要重启
5501 5502 5503 |
# File 'lib/v20180411/models.rb', line 5501 def SetValue @SetValue end |
#Value ⇒ Object
true:需要重启
5501 5502 5503 |
# File 'lib/v20180411/models.rb', line 5501 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 |
# File 'lib/v20180411/models.rb', line 5513 def deserialize(params) @Param = params['Param'] @Value = params['Value'] @SetValue = params['SetValue'] @Default = params['Default'] unless params['Constraint'].nil? @Constraint = ParamConstraint.new @Constraint.deserialize(params['Constraint']) end @HaveSetValue = params['HaveSetValue'] @NeedRestart = params['NeedRestart'] end |