Class: TencentCloud::Dcdb::V20180411::ConstraintRange
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dcdb::V20180411::ConstraintRange
- Defined in:
- lib/v20180411/models.rb
Overview
约束类型值的范围
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(min = nil, max = nil) ⇒ ConstraintRange
constructor
A new instance of ConstraintRange.
Constructor Details
#initialize(min = nil, max = nil) ⇒ ConstraintRange
Returns a new instance of ConstraintRange.
446 447 448 449 |
# File 'lib/v20180411/models.rb', line 446 def initialize(min=nil, max=nil) @Min = min @Max = max end |
Instance Attribute Details
#Max ⇒ Object
444 445 446 |
# File 'lib/v20180411/models.rb', line 444 def Max @Max end |
#Min ⇒ Object
444 445 446 |
# File 'lib/v20180411/models.rb', line 444 def Min @Min end |
Instance Method Details
#deserialize(params) ⇒ Object
451 452 453 454 |
# File 'lib/v20180411/models.rb', line 451 def deserialize(params) @Min = params['Min'] @Max = params['Max'] end |