InsightDataContract

class oci.psql.models.InsightDataContract(**kwargs)

Bases: object

Describes the response data format returned for an insight type.

Attributes

KIND_SUMMARY A constant which can be used with the kind property of a InsightDataContract.
KIND_TABLE A constant which can be used with the kind property of a InsightDataContract.
KIND_TIME_SERIES A constant which can be used with the kind property of a InsightDataContract.
kind [Required] Gets the kind of this InsightDataContract.
unit Gets the unit of this InsightDataContract.

Methods

__init__(**kwargs) Initializes a new InsightDataContract object with values from keyword arguments.
KIND_SUMMARY = 'SUMMARY'

A constant which can be used with the kind property of a InsightDataContract. This constant has a value of “SUMMARY”

KIND_TABLE = 'TABLE'

A constant which can be used with the kind property of a InsightDataContract. This constant has a value of “TABLE”

KIND_TIME_SERIES = 'TIME_SERIES'

A constant which can be used with the kind property of a InsightDataContract. This constant has a value of “TIME_SERIES”

__init__(**kwargs)

Initializes a new InsightDataContract object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • kind (str) – The value to assign to the kind property of this InsightDataContract. Allowed values for this property are: “TIME_SERIES”, “TABLE”, “SUMMARY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • unit (str) – The value to assign to the unit property of this InsightDataContract.
kind

[Required] Gets the kind of this InsightDataContract. Indicates the structure of the insight data payload.

Allowed values for this property are: “TIME_SERIES”, “TABLE”, “SUMMARY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The kind of this InsightDataContract.
Return type:str
unit

Gets the unit of this InsightDataContract. Optional unit associated with numeric values.

Returns:The unit of this InsightDataContract.
Return type:str