Class: TencentCloud::Mps::V20190612::TaskStatDataItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::TaskStatDataItem
- Defined in:
- lib/v20190612/models.rb
Overview
任务统计数据,包括任务数和用量。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(time = nil, count = nil, usage = nil) ⇒ TaskStatDataItem
constructor
A new instance of TaskStatDataItem.
Constructor Details
#initialize(time = nil, count = nil, usage = nil) ⇒ TaskStatDataItem
Returns a new instance of TaskStatDataItem.
30190 30191 30192 30193 30194 |
# File 'lib/v20190612/models.rb', line 30190 def initialize(time=nil, count=nil, usage=nil) @Time = time @Count = count @Usage = usage end |
Instance Attribute Details
#Count ⇒ Object
30188 30189 30190 |
# File 'lib/v20190612/models.rb', line 30188 def Count @Count end |
#Time ⇒ Object
30188 30189 30190 |
# File 'lib/v20190612/models.rb', line 30188 def Time @Time end |
#Usage ⇒ Object
30188 30189 30190 |
# File 'lib/v20190612/models.rb', line 30188 def Usage @Usage end |
Instance Method Details
#deserialize(params) ⇒ Object
30196 30197 30198 30199 30200 |
# File 'lib/v20190612/models.rb', line 30196 def deserialize(params) @Time = params['Time'] @Count = params['Count'] @Usage = params['Usage'] end |