InsightDataContract¶
- class oci.psql.models.InsightDataContract(**kwargs)¶
Bases:
objectDescribes the response data format returned for an insight type.
Attributes:
A constant which can be used with the kind property of a InsightDataContract.
A constant which can be used with the kind property of a InsightDataContract.
A constant which can be used with the kind property of a InsightDataContract.
[Required] Gets the kind of this InsightDataContract.
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.
- property 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
- property unit¶
Gets the unit of this InsightDataContract. Optional unit associated with numeric values.
- Returns
The unit of this InsightDataContract.
- Return type
str