Class: TencentCloud::Keewidb::V20220308::InstanceTextParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::InstanceTextParam
- Defined in:
- lib/v20220308/models.rb
Overview
实例字符型参数描述
Instance Attribute Summary collapse
- #CurrentValue ⇒ Object
- #DefaultValue ⇒ Object
- #NeedRestart ⇒ Object
- #ParamName ⇒ Object
- #Status ⇒ Object
- #TextValue ⇒ Object
- #Tips ⇒ Object
- #ValueType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(paramname = nil, valuetype = nil, needrestart = nil, defaultvalue = nil, currentvalue = nil, tips = nil, textvalue = nil, status = nil) ⇒ InstanceTextParam
constructor
A new instance of InstanceTextParam.
Constructor Details
#initialize(paramname = nil, valuetype = nil, needrestart = nil, defaultvalue = nil, currentvalue = nil, tips = nil, textvalue = nil, status = nil) ⇒ InstanceTextParam
Returns a new instance of InstanceTextParam.
2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 |
# File 'lib/v20220308/models.rb', line 2284 def initialize(paramname=nil, valuetype=nil, needrestart=nil, defaultvalue=nil, currentvalue=nil, tips=nil, textvalue=nil, status=nil) @ParamName = paramname @ValueType = valuetype @NeedRestart = needrestart @DefaultValue = defaultvalue @CurrentValue = currentvalue @Tips = tips @TextValue = textvalue @Status = status end |
Instance Attribute Details
#CurrentValue ⇒ Object
2282 2283 2284 |
# File 'lib/v20220308/models.rb', line 2282 def CurrentValue @CurrentValue end |
#DefaultValue ⇒ Object
2282 2283 2284 |
# File 'lib/v20220308/models.rb', line 2282 def DefaultValue @DefaultValue end |
#NeedRestart ⇒ Object
2282 2283 2284 |
# File 'lib/v20220308/models.rb', line 2282 def NeedRestart @NeedRestart end |
#ParamName ⇒ Object
2282 2283 2284 |
# File 'lib/v20220308/models.rb', line 2282 def ParamName @ParamName end |
#Status ⇒ Object
2282 2283 2284 |
# File 'lib/v20220308/models.rb', line 2282 def Status @Status end |
#TextValue ⇒ Object
2282 2283 2284 |
# File 'lib/v20220308/models.rb', line 2282 def TextValue @TextValue end |
#Tips ⇒ Object
2282 2283 2284 |
# File 'lib/v20220308/models.rb', line 2282 def Tips @Tips end |
#ValueType ⇒ Object
2282 2283 2284 |
# File 'lib/v20220308/models.rb', line 2282 def ValueType @ValueType end |
Instance Method Details
#deserialize(params) ⇒ Object
2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 |
# File 'lib/v20220308/models.rb', line 2295 def deserialize(params) @ParamName = params['ParamName'] @ValueType = params['ValueType'] @NeedRestart = params['NeedRestart'] @DefaultValue = params['DefaultValue'] @CurrentValue = params['CurrentValue'] @Tips = params['Tips'] @TextValue = params['TextValue'] @Status = params['Status'] end |