Class: TencentCloud::Monitor::V20180724::PeriodsSt
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::PeriodsSt
- Defined in:
- lib/v20180724/models.rb
Overview
周期内的统计方式
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(period = nil, stattype = nil) ⇒ PeriodsSt
constructor
A new instance of PeriodsSt.
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
#Period ⇒ Object
12479 12480 12481 |
# File 'lib/v20180724/models.rb', line 12479 def Period @Period end |
#StatType ⇒ Object
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 |