ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ConnectorAttribute� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z dd� Zdd� ZdS )�ExternalStoragezp BICC Connector Attribute.Object Storage as External storage where the BICC extracted files are written c K s` dddddddd�| _ ddddddd d�| _d | _d | _d | _d | _d | _d | _d | _d| _d S )a Initializes a new ExternalStorage object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.ExternalStorage.model_type` attribute of this class is ``EXTERNAL_STORAGE`` 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 ExternalStorage. Allowed values for this property are: "EXTERNAL_STORAGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type model_type: str :param storage_id: The value to assign to the storage_id property of this ExternalStorage. :type storage_id: str :param storage_name: The value to assign to the storage_name property of this ExternalStorage. :type storage_name: str :param host: The value to assign to the host property of this ExternalStorage. :type host: str :param tenancy_id: The value to assign to the tenancy_id property of this ExternalStorage. :type tenancy_id: str :param namespace: The value to assign to the namespace property of this ExternalStorage. :type namespace: str :param bucket: The value to assign to the bucket property of this ExternalStorage. :type bucket: str �str)Z model_type� storage_id�storage_name�host� tenancy_id� namespace�bucketZ modelTypeZ storageIdZstorageNamer Z tenancyIdr r NZEXTERNAL_STORAGE) Z swagger_typesZ attribute_mapZ_model_type�_storage_id� _storage_name�_host�_tenancy_id� _namespace�_bucket)�self�kwargs� r �P/usr/lib/python3.9/site-packages/oci/data_integration/models/external_storage.py�__init__ s0 &�� zExternalStorage.__init__c C s | j S )z� Gets the storage_id of this ExternalStorage. Id of the external stoarge configured in BICC console. Usually its numeric. :return: The storage_id of this ExternalStorage. :rtype: str �r �r r r r r T s zExternalStorage.storage_idc C s || _ dS )z� Sets the storage_id of this ExternalStorage. Id of the external stoarge configured in BICC console. Usually its numeric. :param storage_id: The storage_id of this ExternalStorage. :type: str Nr )r r r r r r ` s c C s | j S )z� Gets the storage_name of this ExternalStorage. Name of the external storage configured in BICC console :return: The storage_name of this ExternalStorage. :rtype: str �r r r r r r l s zExternalStorage.storage_namec C s || _ dS )z� Sets the storage_name of this ExternalStorage. Name of the external storage configured in BICC console :param storage_name: The storage_name of this ExternalStorage. :type: str Nr )r r r r r r x s c C s | j S )z� Gets the host of this ExternalStorage. Object Storage host Url. DO not give http/https. :return: The host of this ExternalStorage. :rtype: str �r r r r r r � s zExternalStorage.hostc C s || _ dS )z� Sets the host of this ExternalStorage. Object Storage host Url. DO not give http/https. :param host: The host of this ExternalStorage. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the tenancy_id of this ExternalStorage. Tenancy OCID for the OOS bucket :return: The tenancy_id of this ExternalStorage. :rtype: str �r r r r r r � s zExternalStorage.tenancy_idc C s || _ dS )z� Sets the tenancy_id of this ExternalStorage. Tenancy OCID for the OOS bucket :param tenancy_id: The tenancy_id of this ExternalStorage. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the namespace of this ExternalStorage. Namespace for the OOS bucket :return: The namespace of this ExternalStorage. :rtype: str �r r r r r r � s zExternalStorage.namespacec C s || _ dS )z� Sets the namespace of this ExternalStorage. Namespace for the OOS bucket :param namespace: The namespace of this ExternalStorage. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the bucket of this ExternalStorage. Bucket Name where BICC extracts stores the files :return: The bucket of this ExternalStorage. :rtype: str �r r r r r r � s zExternalStorage.bucketc C s || _ dS )z� Sets the bucket of this ExternalStorage. Bucket Name where BICC extracts stores the files :param bucket: The bucket of this ExternalStorage. :type: str Nr! )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zExternalStorage.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zExternalStorage.__eq__c C s | |k S r"