OperationFromApi

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

Bases: oci.data_integration.models.operation.Operation

The API operation object.

Attributes

MODEL_TYPE_API str(object=’’) -> str
MODEL_TYPE_PROCEDURE str(object=’’) -> str
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'
MODEL_TYPE_PROCEDURE = '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.
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.

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
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
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
name

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

Returns:The name of this OperationFromApi.
Return type:str
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
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
operation_attributes

Gets the operation_attributes of this OperationFromApi.

Returns:The operation_attributes of this OperationFromApi.
Return type:oci.data_integration.models.GenericRestApiAttributes
parent_ref

Gets the parent_ref of this OperationFromApi.

Returns:The parent_ref of this OperationFromApi.
Return type:oci.data_integration.models.ParentReference
resource_name

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

Returns:The resource_name of this OperationFromApi.
Return type:str
shape

Gets the shape of this OperationFromApi.

Returns:The shape of this OperationFromApi.
Return type:oci.data_integration.models.Shape