TaskDetails

class oci.sch.models.TaskDetails(**kwargs)

Bases: object

An object that represents a task within the flow defined by the connector. An example task is a filter for error logs. For more information about flows defined by connectors, see Overview of Connector Hub. For configuration instructions, see Creating a Connector.

Attributes

KIND_FUNCTION A constant which can be used with the kind property of a TaskDetails.
KIND_LOG_RULE A constant which can be used with the kind property of a TaskDetails.
kind [Required] Gets the kind of this TaskDetails.

Methods

__init__(**kwargs) Initializes a new TaskDetails 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.
KIND_FUNCTION = 'function'

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

KIND_LOG_RULE = 'logRule'

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

__init__(**kwargs)

Initializes a new TaskDetails 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:kind (str) – The value to assign to the kind property of this TaskDetails. Allowed values for this property are: “function”, “logRule”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
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.

kind

[Required] Gets the kind of this TaskDetails. The type discriminator.

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

Returns:The kind of this TaskDetails.
Return type:str