
    mi!                     :    d dl Z d dlZd dlZ G d de          ZdS )    Nc                      e Zd ZdZddddddddZdd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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 )%ModelUpdateRequesta  
    Attributes:
      project_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.
    strbooldate)titlesubtitle
is_privatedescriptionpublish_timeprovenance_sourcesupdate_maskr   r	   	isPrivater   publishTimeprovenanceSources
updateMaskNT c                     d | _         d | _        d | _        d | _        d | _        d | _        d | _        d | _        ||| _        ||| _	        ||| _
        ||| _        ||| _        ||| _        |	|| _        d S d S )N)_title	_subtitle_is_private_description_publish_time_provenance_sources_update_maskdiscriminatorr   r	   r
   r   r   r   r   )selfr   r	   r
   r   r   r   r   s           z/var/www/html/bestrading.cuttalo.com/scripts/kaggle-env/lib/python3.11/site-packages/kaggle/models/model_update_request.py__init__zModelUpdateRequest.__init__6   s      !#'  !DJ$DM!(DO"*D# ,D)&8D#"*D #"    c                     | j         S )zGets the title of this ModelUpdateRequest.  # noqa: E501.

        The title of the new model  # noqa: E501

        :return: The title of this ModelUpdateRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r   zModelUpdateRequest.titleY   s     {r    c                     || _         dS )zSets the title of this ModelUpdateRequest.

        The title of the new model  # noqa: E501

        :param title: The title of this ModelUpdateRequest. # noqa: E501
        :type: str
        Nr"   )r   r   s     r   r   zModelUpdateRequest.titled   s     r    c                     | j         S )zGets the subtitle of this ModelUpdateRequest.  # noqa: E501.

        The subtitle of the new model  # noqa: E501

        :return: The subtitle of this ModelUpdateRequest.  # noqa: E501
        :rtype: str
        r   r#   s    r   r	   zModelUpdateRequest.subtitlep   s     ~r    c                     || _         dS )zSets the subtitle of this ModelUpdateRequest.

        The subtitle of the new model  # noqa: E501

        :param subtitle: The subtitle of this ModelUpdateRequest. #
            noqa: E501
        :type: str
        Nr&   )r   r	   s     r   r	   zModelUpdateRequest.subtitle{   s     "r    c                     | j         S )zGets the is_private of this ModelUpdateRequest.  # noqa: E501.

        Whether or not the model should be private  # noqa: E501

        :return: The is_private of this ModelUpdateRequest. # noqa: E501
        :rtype: bool
        r   r#   s    r   r
   zModelUpdateRequest.is_private   s     r    c                     || _         dS )zSets the is_private of this ModelUpdateRequest.

        Whether or not the model should be private  # noqa: E501

        :param is_private: The is_private of this ModelUpdateRequest. #
            noqa: E501
        :type: bool
        Nr)   )r   r
   s     r   r
   zModelUpdateRequest.is_private   s     &r    c                     | j         S )zGets the description of this ModelUpdateRequest.  # noqa: E501.

        The description to be set on the model  # noqa: E501

        :return: The description of this ModelUpdateRequest. # noqa:
            E501
        :rtype: str
        r   r#   s    r   r   zModelUpdateRequest.description          r    c                     || _         dS )zSets the description of this ModelUpdateRequest.

        The description to be set on the model  # noqa: E501

        :param description: The description of this ModelUpdateRequest.
            # noqa: E501
        :type: str
        Nr,   )r   r   s     r   r   zModelUpdateRequest.description        (r    c                     | j         S )zGets the publish_time of this ModelUpdateRequest.  # noqa: E501.

        When the model was initially published  # noqa: E501

        :return: The publish_time of this ModelUpdateRequest. # noqa:
            E501
        :rtype: date
        r   r#   s    r   r   zModelUpdateRequest.publish_time   s     !!r    c                     || _         dS )zSets the publish_time of this ModelUpdateRequest.

        When the model was initially published  # noqa: E501

        :param publish_time: The publish_time of this
            ModelUpdateRequest. # noqa: E501
        :type: date
        Nr1   )r   r   s     r   r   zModelUpdateRequest.publish_time   s     *r    c                     | j         S )a  Gets the provenance_sources of this ModelUpdateRequest.  # noqa:
        E501.

        The provenance sources to be set on the model  # noqa: E501

        :return: The provenance_sources of this ModelUpdateRequest. #
            noqa: E501
        :rtype: str
        r   r#   s    r   r   z%ModelUpdateRequest.provenance_sources   s     ''r    c                     || _         dS )a  Sets the provenance_sources of this ModelUpdateRequest.

        The provenance sources to be set on the model  # noqa: E501

        :param provenance_sources: The provenance_sources of this
            ModelUpdateRequest. # noqa: E501
        :type: str
        Nr4   )r   r   s     r   r   z%ModelUpdateRequest.provenance_sources   s     $6   r    c                     | j         S )zGets the update_mask of this ModelUpdateRequest.  # noqa: E501.

        Describes which fields to update  # noqa: E501

        :return: The update_mask of this ModelUpdateRequest. # noqa:
            E501
        :rtype: str
        r   r#   s    r   r   zModelUpdateRequest.update_mask   r-   r    c                     || _         dS )zSets the update_mask of this ModelUpdateRequest.

        Describes which fields to update  # noqa: E501

        :param update_mask: The update_mask of this ModelUpdateRequest.
            # noqa: E501
        :type: str
        Nr7   )r   r   s     r   r   zModelUpdateRequest.update_mask   r/   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,ModelUpdateRequest.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,ModelUpdateRequest.to_dict.<locals>.<lambda>  s8    WTRSWV_E`E`%jd1gtAw/@/@%A%Afj r    )six	iteritemsproject_typesgetattr
isinstancelistmapr=   r;   dictitems)r   resultattr_values        r   r;   zModelUpdateRequest.to_dict  s    }T%788 	% 	%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ModelUpdateRequest.to_str  s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rS   r#   s    r   __repr__zModelUpdateRequest.__repr__  s    {{}}r    c                 P    t          |t                    sdS | j        |j        k    S )z'Returns true if both objects are equal.F)rG   r   __dict__r   others     r   __eq__zModelUpdateRequest.__eq__#  s)    %!344 	5}..r    c                     | |k     S )z+Returns true if both objects are not equal. rX   s     r   __ne__zModelUpdateRequest.__ne__*  s    5=  r    )NNTr   Nr   N)__name__
__module____qualname____doc__rE   attribute_mapr   propertyr   setterr	   r
   r   r   r   r   r;   rS   rU   rZ   r]   r\   r    r   r   r      sm         # M !$%1# M !+ !+ !+ !+F   X \	 	 \	   X _
" 
" _
"     X  
& 
& 
& 	! 	! X	! 
( 
( 
( 	" 	" X	" 
* 
* 
* 
( 
( X
( 
6 
6 
6 	! 	! X	! 
( 
( 
(  ,. . .  / / /! ! ! ! !r    r   )rQ   rerC   objectr   r\   r    r   <module>rg      s`   &  				 



S! S! S! S! S! S! S! S! S! S!r    