ruạṛ
a N��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 @ sf e Zd ZdZdZdZdZdZdd� Ze dd � �Z ed d� �Zej dd� �Zd d� Zdd� Zdd� ZdS )�AbstractFormatAttributez( The abstract format attribute. �JSON_FORMAT� CSV_FORMAT�AVRO_FORMAT�PARQUET_FORMATc K s ddi| _ ddi| _d| _dS )a\ Initializes a new AbstractFormatAttribute object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.data_connectivity.models.AvroFormatAttribute` * :class:`~oci.data_connectivity.models.JsonFormatAttribute` * :class:`~oci.data_connectivity.models.CsvFormatAttribute` * :class:`~oci.data_connectivity.models.ParquetFormatAttribute` * :class:`~oci.data_connectivity.models.ExcelFormatAttribute` 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 AbstractFormatAttribute. Allowed values for this property are: "JSON_FORMAT", "CSV_FORMAT", "AVRO_FORMAT", "PARQUET_FORMAT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type model_type: str � model_type�str� modelTypeN)� swagger_types� attribute_map�_model_type)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_connectivity/models/abstract_format_attribute.py�__init__ s ��z AbstractFormatAttribute.__init__c C sL | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS dS d S )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r �AvroFormatAttributer �JsonFormatAttributer �CsvFormatAttributer �ParquetFormatAttribute�EXCEL_FORMAT�ExcelFormatAttributer Nr )�object_dictionary�typer r r �get_subtype>