File: //lib/mysqlsh/lib/python3.8/site-packages/oci/data_integration/models/oracle_atp_write_attribute.py
# coding: utf-8
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .abstract_write_attribute import AbstractWriteAttribute
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@init_model_state_from_kwargs
class OracleAtpWriteAttribute(AbstractWriteAttribute):
"""
Properties to configure writing to Oracle Autonomous Transaction Processing.
"""
def __init__(self, **kwargs):
"""
Initializes a new OracleAtpWriteAttribute object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.OracleAtpWriteAttribute.model_type` attribute
of this class is ``ORACLEATPWRITEATTRIBUTE`` and it should not be changed.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param model_type:
The value to assign to the model_type property of this OracleAtpWriteAttribute.
Allowed values for this property are: "ORACLEWRITEATTRIBUTE", "ORACLEATPWRITEATTRIBUTE", "ORACLEADWCWRITEATTRIBUTE", "OBJECTSTORAGEWRITEATTRIBUTE", "ORACLE_WRITE_ATTRIBUTE", "ORACLE_ATP_WRITE_ATTRIBUTE", "ORACLE_ADWC_WRITE_ATTRIBUTE", "OBJECT_STORAGE_WRITE_ATTRIBUTE"
:type model_type: str
:param bucket_name:
The value to assign to the bucket_name property of this OracleAtpWriteAttribute.
:type bucket_name: str
:param staging_file_name:
The value to assign to the staging_file_name property of this OracleAtpWriteAttribute.
:type staging_file_name: str
:param staging_data_asset:
The value to assign to the staging_data_asset property of this OracleAtpWriteAttribute.
:type staging_data_asset: oci.data_integration.models.DataAsset
:param staging_connection:
The value to assign to the staging_connection property of this OracleAtpWriteAttribute.
:type staging_connection: oci.data_integration.models.Connection
"""
self.swagger_types = {
'model_type': 'str',
'bucket_name': 'str',
'staging_file_name': 'str',
'staging_data_asset': 'DataAsset',
'staging_connection': 'Connection'
}
self.attribute_map = {
'model_type': 'modelType',
'bucket_name': 'bucketName',
'staging_file_name': 'stagingFileName',
'staging_data_asset': 'stagingDataAsset',
'staging_connection': 'stagingConnection'
}
self._model_type = None
self._bucket_name = None
self._staging_file_name = None
self._staging_data_asset = None
self._staging_connection = None
self._model_type = 'ORACLEATPWRITEATTRIBUTE'
@property
def bucket_name(self):
"""
Gets the bucket_name of this OracleAtpWriteAttribute.
The bucket name for the attribute.
:return: The bucket_name of this OracleAtpWriteAttribute.
:rtype: str
"""
return self._bucket_name
@bucket_name.setter
def bucket_name(self, bucket_name):
"""
Sets the bucket_name of this OracleAtpWriteAttribute.
The bucket name for the attribute.
:param bucket_name: The bucket_name of this OracleAtpWriteAttribute.
:type: str
"""
self._bucket_name = bucket_name
@property
def staging_file_name(self):
"""
Gets the staging_file_name of this OracleAtpWriteAttribute.
The file name for the attribute.
:return: The staging_file_name of this OracleAtpWriteAttribute.
:rtype: str
"""
return self._staging_file_name
@staging_file_name.setter
def staging_file_name(self, staging_file_name):
"""
Sets the staging_file_name of this OracleAtpWriteAttribute.
The file name for the attribute.
:param staging_file_name: The staging_file_name of this OracleAtpWriteAttribute.
:type: str
"""
self._staging_file_name = staging_file_name
@property
def staging_data_asset(self):
"""
Gets the staging_data_asset of this OracleAtpWriteAttribute.
:return: The staging_data_asset of this OracleAtpWriteAttribute.
:rtype: oci.data_integration.models.DataAsset
"""
return self._staging_data_asset
@staging_data_asset.setter
def staging_data_asset(self, staging_data_asset):
"""
Sets the staging_data_asset of this OracleAtpWriteAttribute.
:param staging_data_asset: The staging_data_asset of this OracleAtpWriteAttribute.
:type: oci.data_integration.models.DataAsset
"""
self._staging_data_asset = staging_data_asset
@property
def staging_connection(self):
"""
Gets the staging_connection of this OracleAtpWriteAttribute.
:return: The staging_connection of this OracleAtpWriteAttribute.
:rtype: oci.data_integration.models.Connection
"""
return self._staging_connection
@staging_connection.setter
def staging_connection(self, staging_connection):
"""
Sets the staging_connection of this OracleAtpWriteAttribute.
:param staging_connection: The staging_connection of this OracleAtpWriteAttribute.
:type: oci.data_integration.models.Connection
"""
self._staging_connection = staging_connection
def __repr__(self):
return formatted_flat_dict(self)
def __eq__(self, other):
if other is None:
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
return not self == other