Class: TencentCloud::Dbbrain::V20210527::SqlCostDistribution

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210527/models.rb

Overview

分段耗时 SQL 分布

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count = nil, from = nil, to = nil, ratio = nil) ⇒ SqlCostDistribution



7498
7499
7500
7501
7502
7503
# File 'lib/v20210527/models.rb', line 7498

def initialize(count=nil, from=nil, to=nil, ratio=nil)
  @Count = count
  @From = from
  @To = to
  @Ratio = ratio
end

Instance Attribute Details

#CountObject



7496
7497
7498
# File 'lib/v20210527/models.rb', line 7496

def Count
  @Count
end

#FromObject



7496
7497
7498
# File 'lib/v20210527/models.rb', line 7496

def From
  @From
end

#RatioObject



7496
7497
7498
# File 'lib/v20210527/models.rb', line 7496

def Ratio
  @Ratio
end

#ToObject



7496
7497
7498
# File 'lib/v20210527/models.rb', line 7496

def To
  @To
end

Instance Method Details

#deserialize(params) ⇒ Object



7505
7506
7507
7508
7509
7510
# File 'lib/v20210527/models.rb', line 7505

def deserialize(params)
  @Count = params['Count']
  @From = params['From']
  @To = params['To']
  @Ratio = params['Ratio']
end