DetectAnomaliesDetails

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

Bases: object

Base class for the DetectAnomalies call. It contains the identifier that will be used for deciding what type of request this is.

Attributes

REQUEST_TYPE_BASE64_ENCODED A constant which can be used with the request_type property of a DetectAnomaliesDetails.
REQUEST_TYPE_INLINE A constant which can be used with the request_type property of a DetectAnomaliesDetails.
model_id [Required] Gets the model_id of this DetectAnomaliesDetails.
request_type [Required] Gets the request_type of this DetectAnomaliesDetails.

Methods

__init__(**kwargs) Initializes a new DetectAnomaliesDetails 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.
REQUEST_TYPE_BASE64_ENCODED = 'BASE64_ENCODED'

A constant which can be used with the request_type property of a DetectAnomaliesDetails. This constant has a value of “BASE64_ENCODED”

REQUEST_TYPE_INLINE = 'INLINE'

A constant which can be used with the request_type property of a DetectAnomaliesDetails. This constant has a value of “INLINE”

__init__(**kwargs)

Initializes a new DetectAnomaliesDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • model_id (str) – The value to assign to the model_id property of this DetectAnomaliesDetails.
  • request_type (str) – The value to assign to the request_type property of this DetectAnomaliesDetails. Allowed values for this property are: “INLINE”, “BASE64_ENCODED”
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.

model_id

[Required] Gets the model_id of this DetectAnomaliesDetails. The OCID of the trained model。

Returns:The model_id of this DetectAnomaliesDetails.
Return type:str
request_type

[Required] Gets the request_type of this DetectAnomaliesDetails. Type of request. This parameter will be filled autmatically by classes generated by the SDK. For raw curl request, user will have to provide this field.

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

Returns:The request_type of this DetectAnomaliesDetails.
Return type:str