ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�AbstractReadAttribute� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z dd� Zdd� Zdd� ZdS )�BiccReadAttributesz4 Properties to configure reading from BICC. �FULL�INCREMENTALc K sV ddddddd�| _ dddd d dd�| _d| _d| _d| _d| _d| _d| _d | _dS )a= Initializes a new BiccReadAttributes object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.BiccReadAttributes.model_type` attribute of this class is ``BICC_READ_ATTRIBUTE`` 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 BiccReadAttributes. Allowed values for this property are: "ORACLEREADATTRIBUTE", "ORACLE_READ_ATTRIBUTE", "BICC_READ_ATTRIBUTE", "BIP_READ_ATTRIBUTE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type model_type: str :param fetch_size: The value to assign to the fetch_size property of this BiccReadAttributes. :type fetch_size: int :param extract_strategy: The value to assign to the extract_strategy property of this BiccReadAttributes. Allowed values for this property are: "FULL", "INCREMENTAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type extract_strategy: str :param external_storage: The value to assign to the external_storage property of this BiccReadAttributes. :type external_storage: oci.data_integration.models.ExternalStorage :param initial_extract_date: The value to assign to the initial_extract_date property of this BiccReadAttributes. :type initial_extract_date: datetime :param last_extract_date: The value to assign to the last_extract_date property of this BiccReadAttributes. :type last_extract_date: datetime �str�intZExternalStorageZdatetime)Z model_type� fetch_size�extract_strategy�external_storage�initial_extract_date�last_extract_dateZ modelTypeZ fetchSizeZextractStrategyZexternalStorageZinitialExtractDateZlastExtractDateNZBICC_READ_ATTRIBUTE)Z swagger_typesZ attribute_mapZ_model_type�_fetch_size�_extract_strategy�_external_storage�_initial_extract_date�_last_extract_date)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/data_integration/models/bicc_read_attributes.py�__init__ s* $� � zBiccReadAttributes.__init__c C s | j S )z� Gets the fetch_size of this BiccReadAttributes. The fetch size for reading. :return: The fetch_size of this BiccReadAttributes. :rtype: int �r �r r r r r W s zBiccReadAttributes.fetch_sizec C s || _ dS )z� Sets the fetch_size of this BiccReadAttributes. The fetch size for reading. :param fetch_size: The fetch_size of this BiccReadAttributes. :type: int Nr )r r r r r r c s c C s | j S )a� Gets the extract_strategy of this BiccReadAttributes. Extraction Strategy - FULL|INCREMENTAL Allowed values for this property are: "FULL", "INCREMENTAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The extract_strategy of this BiccReadAttributes. :rtype: str )r r r r r r o s z#BiccReadAttributes.extract_strategyc C s ddg}t ||�sd}|| _dS )z� Sets the extract_strategy of this BiccReadAttributes. Extraction Strategy - FULL|INCREMENTAL :param extract_strategy: The extract_strategy of this BiccReadAttributes. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r ~ s c C s | j S )z� Gets the external_storage of this BiccReadAttributes. :return: The external_storage of this BiccReadAttributes. :rtype: oci.data_integration.models.ExternalStorage �r r r r r r � s z#BiccReadAttributes.external_storagec C s || _ dS )z� Sets the external_storage of this BiccReadAttributes. :param external_storage: The external_storage of this BiccReadAttributes. :type: oci.data_integration.models.ExternalStorage Nr )r r r r r r � s c C s | j S )z� Gets the initial_extract_date of this BiccReadAttributes. Date from where extract should start :return: The initial_extract_date of this BiccReadAttributes. :rtype: datetime �r r r r r r � s z'BiccReadAttributes.initial_extract_datec C s || _ dS )z� Sets the initial_extract_date of this BiccReadAttributes. Date from where extract should start :param initial_extract_date: The initial_extract_date of this BiccReadAttributes. :type: datetime Nr )r r r r r r � s c C s | j S )z� Gets the last_extract_date of this BiccReadAttributes. Date last extracted :return: The last_extract_date of this BiccReadAttributes. :rtype: datetime �r r r r r r � s z$BiccReadAttributes.last_extract_datec C s || _ dS )z� Sets the last_extract_date of this BiccReadAttributes. Date last extracted :param last_extract_date: The last_extract_date of this BiccReadAttributes. :type: datetime Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zBiccReadAttributes.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zBiccReadAttributes.__eq__c C s | |k S r! r r$ r r r �__ne__� s zBiccReadAttributes.__ne__N)�__name__� __module__�__qualname__�__doc__ZEXTRACT_STRATEGY_FULLZEXTRACT_STRATEGY_INCREMENTALr �propertyr �setterr r r r r"