DataPoint¶
- 
class oci.stack_monitoring.models.DataPoint(**kwargs)¶
- Bases: - object- metric data point - Methods - __init__(**kwargs)- Initializes a new DataPoint object with values from keyword arguments. - Attributes - timestamp- [Required] Gets the timestamp of this DataPoint. - value- [Required] Gets the value of this DataPoint. - 
__init__(**kwargs)¶
- Initializes a new DataPoint object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - timestamp (datetime) – The value to assign to the timestamp property of this DataPoint.
- value (float) – The value to assign to the value property of this DataPoint.
 
 - 
timestamp¶
- [Required] Gets the timestamp of this DataPoint. timestamp of when the metric was collected - Returns: - The timestamp of this DataPoint. - Return type: - datetime 
 - 
value¶
- [Required] Gets the value of this DataPoint. value for the metric data point - Returns: - The value of this DataPoint. - Return type: - float 
 
-