o
    ɶdl                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   sf   e Zd ZdZdZdZdZdZdZdZ	dZ
d	d
 Zedd Zejdd Zdd Zdd Zdd ZdS )Compressionz1
    The optional compression configuration.
    NONEAUTOGZIPBZIP2DEFLATELZ4SNAPPYc                 K   s   ddi| _ ddi| _d| _dS )a)  
        Initializes a new Compression object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param codec:
            The value to assign to the codec property of this Compression.
            Allowed values for this property are: "NONE", "AUTO", "GZIP", "BZIP2", "DEFLATE", "LZ4", "SNAPPY", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type codec: str

        codecstrN)Zswagger_typesZattribute_map_codec)selfkwargs r   Kusr/lib/python3.10/site-packages/oci/data_integration/models/compression.py__init__.   s
   
zCompression.__init__c                 C   s   | j S )ay  
        Gets the codec of this Compression.
        Compression algorithm

        Allowed values for this property are: "NONE", "AUTO", "GZIP", "BZIP2", "DEFLATE", "LZ4", "SNAPPY", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The codec of this Compression.
        :rtype: str
        )r   r   r   r   r   r   D   s   zCompression.codecc                 C   s    g d}t ||sd}|| _dS )z
        Sets the codec of this Compression.
        Compression algorithm


        :param codec: The codec of this Compression.
        :type: str
        )r   r   r	   r
   r   r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   S   s   


c                 C   s   t | S N)r   r   r   r   r   __repr__b   s   zCompression.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__e   s   zCompression.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__k   s   
zCompression.__ne__N)__name__
__module____qualname____doc__Z
CODEC_NONEZ
CODEC_AUTOZ
CODEC_GZIPZCODEC_BZIP2ZCODEC_DEFLATEZ	CODEC_LZ4ZCODEC_SNAPPYr   propertyr   setterr   r   r   r   r   r   r   r      s"    

r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   