Class: TencentCloud::Monitor::V20180724::Point
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::Point
- Defined in:
- lib/v20180724/models.rb
Overview
监控数据点
Instance Attribute Summary collapse
-
#Timestamp ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(timestamp = nil, value = nil) ⇒ Point
constructor
A new instance of Point.
Constructor Details
#initialize(timestamp = nil, value = nil) ⇒ Point
Returns a new instance of Point.
12502 12503 12504 12505 |
# File 'lib/v20180724/models.rb', line 12502 def initialize(=nil, value=nil) @Timestamp = @Value = value end |
Instance Attribute Details
#Timestamp ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12500 12501 12502 |
# File 'lib/v20180724/models.rb', line 12500 def Timestamp @Timestamp end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12500 12501 12502 |
# File 'lib/v20180724/models.rb', line 12500 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
12507 12508 12509 12510 |
# File 'lib/v20180724/models.rb', line 12507 def deserialize(params) @Timestamp = params['Timestamp'] @Value = params['Value'] end |