Operation

class oci.data_integration.models.Operation(**kwargs)

Bases: object

The operation object.

Attributes

MODEL_TYPE_API A constant which can be used with the model_type property of a Operation.
MODEL_TYPE_PROCEDURE A constant which can be used with the model_type property of a Operation.
metadata Gets the metadata of this Operation.
model_type [Required] Gets the model_type of this Operation.

Methods

__init__(**kwargs) Initializes a new Operation 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.
MODEL_TYPE_API = 'API'

A constant which can be used with the model_type property of a Operation. This constant has a value of “API”

MODEL_TYPE_PROCEDURE = 'PROCEDURE'

A constant which can be used with the model_type property of a Operation. This constant has a value of “PROCEDURE”

__init__(**kwargs)

Initializes a new Operation 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_type (str) – The value to assign to the model_type property of this Operation. Allowed values for this property are: “PROCEDURE”, “API”
  • metadata (oci.data_integration.models.ObjectMetadata) – The value to assign to the metadata property of this Operation.
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.

metadata

Gets the metadata of this Operation.

Returns:The metadata of this Operation.
Return type:oci.data_integration.models.ObjectMetadata
model_type

[Required] Gets the model_type of this Operation. The operation type.

Allowed values for this property are: “PROCEDURE”, “API”

Returns:The model_type of this Operation.
Return type:str