ruạṛ
a ���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zdd� ZdS )� DataFormatz! The data format object. �XML�JSON�CSV�ORC�PARQUET�AVROc K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) a� Initializes a new DataFormat object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param format_attribute: The value to assign to the format_attribute property of this DataFormat. :type format_attribute: oci.data_integration.models.AbstractFormatAttribute :param type: The value to assign to the type property of this DataFormat. Allowed values for this property are: "XML", "JSON", "CSV", "ORC", "PARQUET", "AVRO", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param compression_config: The value to assign to the compression_config property of this DataFormat. :type compression_config: oci.data_integration.models.Compression ZAbstractFormatAttribute�strZCompression)�format_attribute�type�compression_configZformatAttributer ZcompressionConfigN)Z swagger_typesZ attribute_map�_format_attribute�_type�_compression_config)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/data_integration/models/data_format.py�__init__* s ��zDataFormat.__init__c C s | j S )z� Gets the format_attribute of this DataFormat. :return: The format_attribute of this DataFormat. :rtype: oci.data_integration.models.AbstractFormatAttribute �r �r r r r r N s zDataFormat.format_attributec C s || _ dS )z� Sets the format_attribute of this DataFormat. :param format_attribute: The format_attribute of this DataFormat. :type: oci.data_integration.models.AbstractFormatAttribute Nr )r r r r r r X s c C s | j S )aW Gets the type of this DataFormat. type Allowed values for this property are: "XML", "JSON", "CSV", "ORC", "PARQUET", "AVRO", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this DataFormat. :rtype: str )r r r r r r b s zDataFormat.typec C s g d�}t ||�sd}|| _dS )z� Sets the type of this DataFormat. type :param type: The type of this DataFormat. :type: str )r r r r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r q s c C s | j S )z� Gets the compression_config of this DataFormat. :return: The compression_config of this DataFormat. :rtype: oci.data_integration.models.Compression �r r r r r r � s zDataFormat.compression_configc C s || _ dS )z� Sets the compression_config of this DataFormat. :param compression_config: The compression_config of this DataFormat. :type: oci.data_integration.models.Compression Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zDataFormat.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zDataFormat.__eq__c C s | |k S r r r r r r �__ne__� s zDataFormat.__ne__N)�__name__� __module__�__qualname__�__doc__ZTYPE_XMLZ TYPE_JSONZTYPE_CSVZTYPE_ORCZTYPE_PARQUETZ TYPE_AVROr �propertyr �setterr r r r! r"