
    mi                     :    d dl Z d dlZd dlZ G d de          ZdS )    Nc                   f   e Zd ZdZddddddZddddd	dZddZed             Zej	        d             Zed             Z
e
j	        d             Z
ed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zd Zd Zd Zd Zd Zd
S )DatasetColumna  
    Attributes:
      column_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    floatstr)ordernametypeoriginal_typedescriptionr   r   r	   originalTyper   Nc                     d| _         d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _	        |	|| _
        dS dS )z*DatasetColumn - a model defined in SwaggerN)_order_name_type_original_type_descriptiondiscriminatorr   r   r	   r
   r   )selfr   r   r	   r
   r   s         t/var/www/html/bestrading.cuttalo.com/scripts/kaggle-env/lib/python3.11/site-packages/kaggle/models/dataset_column.py__init__zDatasetColumn.__init__,   s     

" !DJDIDI$!.D"*D #"    c                     | j         S )a  Gets the order of this DatasetColumn.  # noqa: E501.

        The order that the column comes in, 0-based. (The first column is 0,
        second is 1, etc.)  # noqa: E501

        :return: The order of this DatasetColumn.  # noqa: E501
        :rtype: float
        r   r   s    r   r   zDatasetColumn.orderA   s     {r   c                     || _         dS )a   Sets the order of this DatasetColumn.

        The order that the column comes in, 0-based. (The first column is 0,
        second is 1, etc.)  # noqa: E501

        :param order: The order of this DatasetColumn.  # noqa: E501
        :type: float
        Nr   )r   r   s     r   r   zDatasetColumn.orderM   s     r   c                     | j         S )zGets the name of this DatasetColumn.  # noqa: E501.

        The column name  # noqa: E501

        :return: The name of this DatasetColumn.  # noqa: E501
        :rtype: str
        r   r   s    r   r   zDatasetColumn.nameZ   s     zr   c                     || _         dS )zSets the name of this DatasetColumn.

        The column name  # noqa: E501

        :param name: The name of this DatasetColumn.  # noqa: E501
        :type: str
        Nr   )r   r   s     r   r   zDatasetColumn.namee   s     


r   c                     | j         S )aD  Gets the type of this DatasetColumn.  # noqa: E501.

        The type of all of the fields in the column. Please see the data
        types on
        https://github.com/Kaggle/kaggle-api/wiki/Dataset-Metadata
         # noqa: E501

        :return: The type of this DatasetColumn.  # noqa: E501
        :rtype: str
        r   r   s    r   r	   zDatasetColumn.typeq   s     zr   c                     || _         dS )a8  Sets the type of this DatasetColumn.

        The type of all of the fields in the column. Please see the data
        types on
        https://github.com/Kaggle/kaggle-api/wiki/Dataset-Metadata
         # noqa: E501

        :param type: The type of this DatasetColumn.  # noqa: E501
        :type: str
        Nr    )r   r	   s     r   r	   zDatasetColumn.type   s     


r   c                     | j         S )aj  Gets the original_type of this DatasetColumn.  # noqa: E501.

        Used to store the original type of the column, which will be converted to Kaggle's types. For example, an `originalType` of `"integer"` would convert to a `type` of `"numeric"`  # noqa: E501

        :return: The original_type of this DatasetColumn.  # noqa: E501
        :rtype: str
        r   r   s    r   r
   zDatasetColumn.original_type   s     ""r   c                     || _         dS )ag  Sets the original_type of this DatasetColumn.

        Used to store the original type of the column, which will be converted to Kaggle's types. For example, an `originalType` of `"integer"` would convert to a `type` of `"numeric"`  # noqa: E501

        :param original_type: The original_type of this DatasetColumn.  # noqa: E501
        :type: str
        Nr#   )r   r
   s     r   r
   zDatasetColumn.original_type   s     ,r   c                     | j         S )zGets the description of this DatasetColumn.  # noqa: E501.

        The description of the column  # noqa: E501

        :return: The description of this DatasetColumn.  # noqa: E501
        :rtype: str
        r   r   s    r   r   zDatasetColumn.description   s       r   c                     || _         dS )zSets the description of this DatasetColumn.

        The description of the column  # noqa: E501

        :param description: The description of this DatasetColumn. # noqa:
            E501
        :type: str
        Nr&   )r   r   s     r   r   zDatasetColumn.description   s     (r   c                    i }t          j        | j                  D ]\  }}t          | |          }t	          |t
                    r"t          t          d |                    ||<   Lt          |d          r|                                ||<   tt	          |t                    r4t          t          d |
                                                    ||<   |||<   |S )z'Returns the model properties as a dict.c                 N    t          | d          r|                                 n| S )Nto_dicthasattrr*   )xs    r   <lambda>z'DatasetColumn.to_dict.<locals>.<lambda>   s"    IAVAV2]!))+++\] r   r*   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r*   r   r+   )items    r   r.   z'DatasetColumn.to_dict.<locals>.<lambda>   s8    WTRSWV_E`E`%jd1gtAw/@/@%A%Afj r   )six	iteritemscolumn_typesgetattr
isinstancelistmapr,   r*   dictitems)r   resultattr_values        r   r*   zDatasetColumn.to_dict   s    }T%677 	% 	%GD!D$''E%&& %#C(](]_d$e$efft	** 
%$}}tE4(( %#jj    t  %tr   c                 N    t          j        |                                           S )z/Returns the string representation of the model.)pprintpformatr*   r   s    r   to_strzDatasetColumn.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rB   r   s    r   __repr__zDatasetColumn.__repr__   s    {{}}r   c                 P    t          |t                    sdS | j        |j        k    S )z'Returns true if both objects are equal.F)r6   r   __dict__r   others     r   __eq__zDatasetColumn.__eq__   s(    %// 	5}..r   c                     | |k     S )z+Returns true if both objects are not equal. rG   s     r   __ne__zDatasetColumn.__ne__   s    5=  r   )NNNNN)__name__
__module____qualname____doc__r4   attribute_mapr   propertyr   setterr   r	   r
   r   r*   rB   rD   rI   rL   rK   r   r   r   r      s         %eUUZkpqqL '$ M+ + + +* 	 	 X	 \
 
 \
   X 
[	 	 [	   X 
[  [ # # X# 	, 	, 	, ! ! X! 
( 
( 
(  ,. . .  / / /! ! ! ! !r   r   )r@   rer2   objectr   rK   r   r   <module>rV      s`   &  				 



K! K! K! K! K!F K! K! K! K! K!r   