OperationFromApi

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

Bases: Operation

The API 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.

external_key

Gets the external_key of this OperationFromApi.

key

Gets the key of this OperationFromApi.

metadata

Gets the metadata of this Operation.

model_type

[Required] Gets the model_type of this Operation.

model_version

Gets the model_version of this OperationFromApi.

name

[Required] Gets the name of this OperationFromApi.

object_status

Gets the object_status of this OperationFromApi.

object_version

Gets the object_version of this OperationFromApi.

operation_attributes

Gets the operation_attributes of this OperationFromApi.

parent_ref

Gets the parent_ref of this OperationFromApi.

resource_name

[Required] Gets the resource_name of this OperationFromApi.

shape

Gets the shape of this OperationFromApi.

Methods:

__init__(**kwargs)

Initializes a new OperationFromApi 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 OperationFromApi object with values from keyword arguments. The default value of the model_type attribute of this class is API and it should not be changed. 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 OperationFromApi. Allowed values for this property are: “PROCEDURE”, “API”

  • metadata (oci.data_integration.models.ObjectMetadata) – The value to assign to the metadata property of this OperationFromApi.

  • key (str) – The value to assign to the key property of this OperationFromApi.

  • model_version (str) – The value to assign to the model_version property of this OperationFromApi.

  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this OperationFromApi.

  • shape (oci.data_integration.models.Shape) – The value to assign to the shape property of this OperationFromApi.

  • name (str) – The value to assign to the name property of this OperationFromApi.

  • object_version (int) – The value to assign to the object_version property of this OperationFromApi.

  • external_key (str) – The value to assign to the external_key property of this OperationFromApi.

  • resource_name (str) – The value to assign to the resource_name property of this OperationFromApi.

  • object_status (int) – The value to assign to the object_status property of this OperationFromApi.

  • operation_attributes (oci.data_integration.models.GenericRestApiAttributes) – The value to assign to the operation_attributes property of this OperationFromApi.

property external_key

Gets the external_key of this OperationFromApi. The external key for the object.

Returns

The external_key of this OperationFromApi.

Return type

str

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.

property key

Gets the key of this OperationFromApi. The operation key, used to identiying this metadata object within the dataflow.

Returns

The key of this OperationFromApi.

Return type

str

property metadata

Gets the metadata of this Operation.

Returns

The metadata of this Operation.

Return type

oci.data_integration.models.ObjectMetadata

property 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

property model_version

Gets the model_version of this OperationFromApi. The model version of the object.

Returns

The model_version of this OperationFromApi.

Return type

str

property name

[Required] Gets the name of this OperationFromApi. The operation name. This value is unique.

Returns

The name of this OperationFromApi.

Return type

str

property object_status

Gets the object_status of this OperationFromApi. The status of an object that can be set to value 1 for shallow reference across objects, other values reserved.

Returns

The object_status of this OperationFromApi.

Return type

int

property object_version

Gets the object_version of this OperationFromApi. The version of the object that is used to track changes in the object instance.

Returns

The object_version of this OperationFromApi.

Return type

int

property operation_attributes

Gets the operation_attributes of this OperationFromApi.

Returns

The operation_attributes of this OperationFromApi.

Return type

oci.data_integration.models.GenericRestApiAttributes

property parent_ref

Gets the parent_ref of this OperationFromApi.

Returns

The parent_ref of this OperationFromApi.

Return type

oci.data_integration.models.ParentReference

property resource_name

[Required] Gets the resource_name of this OperationFromApi. The resource name.

Returns

The resource_name of this OperationFromApi.

Return type

str

property shape

Gets the shape of this OperationFromApi.

Returns

The shape of this OperationFromApi.

Return type

oci.data_integration.models.Shape