Class: TencentCloud::Monitor::V20180724::PeriodsSt

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

Overview

周期内的统计方式

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(period = nil, stattype = nil) ⇒ PeriodsSt

Returns a new instance of PeriodsSt.



12481
12482
12483
12484
# File 'lib/v20180724/models.rb', line 12481

def initialize(period=nil, stattype=nil)
  @Period = period
  @StatType = stattype
end

Instance Attribute Details

#PeriodObject

Parameters:

  • 周期

  • 统计方式



12479
12480
12481
# File 'lib/v20180724/models.rb', line 12479

def Period
  @Period
end

#StatTypeObject

Parameters:

  • 周期

  • 统计方式



12479
12480
12481
# File 'lib/v20180724/models.rb', line 12479

def StatType
  @StatType
end

Instance Method Details

#deserialize(params) ⇒ Object



12486
12487
12488
12489
# File 'lib/v20180724/models.rb', line 12486

def deserialize(params)
  @Period = params['Period']
  @StatType = params['StatType']
end