InlineInputDetails

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

Bases: oci.ai_anomaly_detection.models.input_details.InputDetails

This is the specialized JSON format that is accepted as training data, with an additional field for ‘requestType’. This is a required field used deciding whether it is an inline request or contains embedded data.

Attributes

INPUT_TYPE_BASE64_ENCODED str(object=’’) -> str
INPUT_TYPE_INLINE str(object=’’) -> str
INPUT_TYPE_OBJECT_LIST str(object=’’) -> str
data [Required] Gets the data of this InlineInputDetails.
input_type [Required] Gets the input_type of this InputDetails.
signal_names [Required] Gets the signal_names of this InlineInputDetails.

Methods

__init__(**kwargs) Initializes a new InlineInputDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
INPUT_TYPE_BASE64_ENCODED = 'BASE64_ENCODED'
INPUT_TYPE_INLINE = 'INLINE'
INPUT_TYPE_OBJECT_LIST = 'OBJECT_LIST'
__init__(**kwargs)

Initializes a new InlineInputDetails object with values from keyword arguments. The default value of the input_type attribute of this class is INLINE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • input_type (str) – The value to assign to the input_type property of this InlineInputDetails. Allowed values for this property are: “INLINE”, “BASE64_ENCODED”, “OBJECT_LIST”
  • signal_names (list[str]) – The value to assign to the signal_names property of this InlineInputDetails.
  • data (list[oci.ai_anomaly_detection.models.DataItem]) – The value to assign to the data property of this InlineInputDetails.
data

[Required] Gets the data of this InlineInputDetails. Array containing data.

Returns:The data of this InlineInputDetails.
Return type:list[oci.ai_anomaly_detection.models.DataItem]
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

input_type

[Required] Gets the input_type of this InputDetails. Type of request. This parameter is automatically populated by classes generated by the SDK. For raw curl requests, you must provide this field.

Allowed values for this property are: “INLINE”, “BASE64_ENCODED”, “OBJECT_LIST”

Returns:The input_type of this InputDetails.
Return type:str
signal_names

[Required] Gets the signal_names of this InlineInputDetails. List of signal names.

Returns:The signal_names of this InlineInputDetails.
Return type:list[str]