ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�AbstractFormatAttribute� )�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 )�CsvFormatAttributez# The CSV format attribute. c K sj ddddddddd�| _ dddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d | _dS )a� Initializes a new CsvFormatAttribute object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.CsvFormatAttribute.model_type` attribute of this class is ``CSV_FORMAT`` 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 CsvFormatAttribute. Allowed values for this property are: "JSON_FORMAT", "CSV_FORMAT", "AVRO_FORMAT" :type model_type: str :param is_file_pattern: The value to assign to the is_file_pattern property of this CsvFormatAttribute. :type is_file_pattern: bool :param encoding: The value to assign to the encoding property of this CsvFormatAttribute. :type encoding: str :param escape_character: The value to assign to the escape_character property of this CsvFormatAttribute. :type escape_character: str :param delimiter: The value to assign to the delimiter property of this CsvFormatAttribute. :type delimiter: str :param quote_character: The value to assign to the quote_character property of this CsvFormatAttribute. :type quote_character: str :param has_header: The value to assign to the has_header property of this CsvFormatAttribute. :type has_header: bool :param timestamp_format: The value to assign to the timestamp_format property of this CsvFormatAttribute. :type timestamp_format: str �str�bool)Z model_typeZis_file_pattern�encoding�escape_character� delimiter�quote_character� has_header�timestamp_formatZ modelTypeZ isFilePatternr ZescapeCharacterr ZquoteCharacterZ hasHeaderZtimestampFormatNZ CSV_FORMAT) Z swagger_typesZ attribute_mapZ_model_typeZ_is_file_pattern� _encoding�_escape_character� _delimiter�_quote_character�_has_header�_timestamp_format)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/data_integration/models/csv_format_attribute.py�__init__ s6 )��zCsvFormatAttribute.__init__c C s | j S )z� Gets the encoding of this CsvFormatAttribute. The encoding for the file. :return: The encoding of this CsvFormatAttribute. :rtype: str �r �r r r r r Z s zCsvFormatAttribute.encodingc C s || _ dS )z� Sets the encoding of this CsvFormatAttribute. The encoding for the file. :param encoding: The encoding of this CsvFormatAttribute. :type: str Nr )r r r r r r f s c C s | j S )z� Gets the escape_character of this CsvFormatAttribute. The escape character for the CSV format. :return: The escape_character of this CsvFormatAttribute. :rtype: str �r r r r r r r s z#CsvFormatAttribute.escape_characterc C s || _ dS )z� Sets the escape_character of this CsvFormatAttribute. The escape character for the CSV format. :param escape_character: The escape_character of this CsvFormatAttribute. :type: str Nr )r r r r r r ~ s c C s | j S )z� Gets the delimiter of this CsvFormatAttribute. The delimiter for the CSV format. :return: The delimiter of this CsvFormatAttribute. :rtype: str �r r r r r r � s zCsvFormatAttribute.delimiterc C s || _ dS )z� Sets the delimiter of this CsvFormatAttribute. The delimiter for the CSV format. :param delimiter: The delimiter of this CsvFormatAttribute. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the quote_character of this CsvFormatAttribute. The quote character for the CSV format. :return: The quote_character of this CsvFormatAttribute. :rtype: str �r r r r r r � s z"CsvFormatAttribute.quote_characterc C s || _ dS )z� Sets the quote_character of this CsvFormatAttribute. The quote character for the CSV format. :param quote_character: The quote_character of this CsvFormatAttribute. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the has_header of this CsvFormatAttribute. Defines whether the file has a header row. :return: The has_header of this CsvFormatAttribute. :rtype: bool �r r r r r r � s zCsvFormatAttribute.has_headerc C s || _ dS )z� Sets the has_header of this CsvFormatAttribute. Defines whether the file has a header row. :param has_header: The has_header of this CsvFormatAttribute. :type: bool Nr! )r r r r r r � s c C s | j S )z� Gets the timestamp_format of this CsvFormatAttribute. Format for timestamp information. :return: The timestamp_format of this CsvFormatAttribute. :rtype: str �r r r r r r � s z#CsvFormatAttribute.timestamp_formatc C s || _ dS )z� Sets the timestamp_format of this CsvFormatAttribute. Format for timestamp information. :param timestamp_format: The timestamp_format of this CsvFormatAttribute. :type: str Nr"