DataItem

class oci.ai_anomaly_detection.models.DataItem(**kwargs)

Bases: object

Simple object representing signal values at a certain point in time.

Methods

__init__(**kwargs) Initializes a new DataItem object with values from keyword arguments.

Attributes

timestamp Gets the timestamp of this DataItem.
values [Required] Gets the values of this DataItem.
__init__(**kwargs)

Initializes a new DataItem 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 DataItem.
  • values (list[float]) – The value to assign to the values property of this DataItem.
timestamp

Gets the timestamp of this DataItem. Nullable string representing timestamp.

Returns:The timestamp of this DataItem.
Return type:datetime
values

[Required] Gets the values of this DataItem. Array of double precision values.

Returns:The values of this DataItem.
Return type:list[float]