Class: TencentCloud::Dbbrain::V20210527::CmdCostGroup
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::CmdCostGroup
- Defined in:
- lib/v20210527/models.rb
Overview
redis延迟分布区间详情
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(percent = nil, costupperlimit = nil, costlowerlimit = nil, count = nil) ⇒ CmdCostGroup
constructor
A new instance of CmdCostGroup.
Constructor Details
#initialize(percent = nil, costupperlimit = nil, costlowerlimit = nil, count = nil) ⇒ CmdCostGroup
Returns a new instance of CmdCostGroup.
781 782 783 784 785 786 |
# File 'lib/v20210527/models.rb', line 781 def initialize(percent=nil, costupperlimit=nil, costlowerlimit=nil, count=nil) @Percent = percent @CostUpperLimit = costupperlimit @CostLowerLimit = costlowerlimit @Count = count end |
Instance Attribute Details
#CostLowerLimit ⇒ Object
779 780 781 |
# File 'lib/v20210527/models.rb', line 779 def CostLowerLimit @CostLowerLimit end |
#CostUpperLimit ⇒ Object
779 780 781 |
# File 'lib/v20210527/models.rb', line 779 def CostUpperLimit @CostUpperLimit end |
#Count ⇒ Object
779 780 781 |
# File 'lib/v20210527/models.rb', line 779 def Count @Count end |
#Percent ⇒ Object
779 780 781 |
# File 'lib/v20210527/models.rb', line 779 def Percent @Percent end |
Instance Method Details
#deserialize(params) ⇒ Object
788 789 790 791 792 793 |
# File 'lib/v20210527/models.rb', line 788 def deserialize(params) @Percent = params['Percent'] @CostUpperLimit = params['CostUpperLimit'] @CostLowerLimit = params['CostLowerLimit'] @Count = params['Count'] end |