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.
5761 5762 5763 5764 5765 5766 5767 5768 5769 |
# File 'lib/v20180411/models.rb', line 5761 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:需要重启
5759 5760 5761 |
# File 'lib/v20180411/models.rb', line 5759 def Constraint @Constraint end |
#Default ⇒ Object
true:需要重启
5759 5760 5761 |
# File 'lib/v20180411/models.rb', line 5759 def Default @Default end |
#HaveSetValue ⇒ Object
true:需要重启
5759 5760 5761 |
# File 'lib/v20180411/models.rb', line 5759 def HaveSetValue @HaveSetValue end |
#NeedRestart ⇒ Object
true:需要重启
5759 5760 5761 |
# File 'lib/v20180411/models.rb', line 5759 def NeedRestart @NeedRestart end |
#Param ⇒ Object
true:需要重启
5759 5760 5761 |
# File 'lib/v20180411/models.rb', line 5759 def Param @Param end |
#SetValue ⇒ Object
true:需要重启
5759 5760 5761 |
# File 'lib/v20180411/models.rb', line 5759 def SetValue @SetValue end |
#Value ⇒ Object
true:需要重启
5759 5760 5761 |
# File 'lib/v20180411/models.rb', line 5759 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 |
# File 'lib/v20180411/models.rb', line 5771 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 |