Class: TencentCloud::Dbbrain::V20210527::SqlCostDistribution
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::SqlCostDistribution
- Defined in:
- lib/v20210527/models.rb
Overview
分段耗时 SQL 分布
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(count = nil, from = nil, to = nil, ratio = nil) ⇒ SqlCostDistribution
constructor
A new instance of SqlCostDistribution.
Constructor Details
#initialize(count = nil, from = nil, to = nil, ratio = nil) ⇒ SqlCostDistribution
Returns a new instance of SqlCostDistribution.
7333 7334 7335 7336 7337 7338 |
# File 'lib/v20210527/models.rb', line 7333 def initialize(count=nil, from=nil, to=nil, ratio=nil) @Count = count @From = from @To = to @Ratio = ratio end |
Instance Attribute Details
#Count ⇒ Object
7331 7332 7333 |
# File 'lib/v20210527/models.rb', line 7331 def Count @Count end |
#From ⇒ Object
7331 7332 7333 |
# File 'lib/v20210527/models.rb', line 7331 def From @From end |
#Ratio ⇒ Object
7331 7332 7333 |
# File 'lib/v20210527/models.rb', line 7331 def Ratio @Ratio end |
#To ⇒ Object
7331 7332 7333 |
# File 'lib/v20210527/models.rb', line 7331 def To @To end |
Instance Method Details
#deserialize(params) ⇒ Object
7340 7341 7342 7343 7344 7345 |
# File 'lib/v20210527/models.rb', line 7340 def deserialize(params) @Count = params['Count'] @From = params['From'] @To = params['To'] @Ratio = params['Ratio'] end |