
    ni&                     :    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dZd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ed             Zej	        d              Zd! Zd" Zd# Zd$ Zd% ZdS )'DatasetUpdateSettingsRequesta  
    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boolzlist[object]z	list[str])titlesubtitledescription
is_privatelicenseskeywordscollaboratorsdatar   r   r	   	isPrivater   r   r   r   Nc	                    d | _         d | _        d | _        d | _        d | _        d | _        d | _        d | _        d | _        ||| _	        ||| _
        ||| _        ||| _        ||| _        ||| _        ||| _        |	|| _        d S d S )N)_title	_subtitle_description_is_private	_licenses	_keywords_collaborators_datadiscriminatorr   r   r	   r
   r   r   r   r   )	selfr   r   r	   r
   r   r   r   r   s	            j/var/www/html/gpu-tools/venv/lib/python3.11/site-packages/kaggle/models/dataset_update_settings_request.py__init__z%DatasetUpdateSettingsRequest.__init__8   s      "
!DJ$DM"*D!(DO$DM$DM$!.DDIII     c                     | j         S )zGets the title of this DatasetUpdateSettingsRequest.  # noqa: E501.

        Title of the dataset  # noqa: E501

        :return: The title of this DatasetUpdateSettingsRequest. #
            noqa: E501
        :rtype: str
        r   r   s    r   r   z"DatasetUpdateSettingsRequest.title_   s     {r   c                     || _         dS )zSets the title of this DatasetUpdateSettingsRequest.

        Title of the dataset  # noqa: E501

        :param title: The title of this DatasetUpdateSettingsRequest. #
            noqa: E501
        :type: str
        Nr   )r   r   s     r   r   z"DatasetUpdateSettingsRequest.titlek   s     r   c                     | j         S )zGets the subtitle of this DatasetUpdateSettingsRequest.  # noqa:
        E501.

        Subtitle of the dataset  # noqa: E501

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

        Subtitle of the dataset  # noqa: E501

        :param subtitle: The subtitle of this
            DatasetUpdateSettingsRequest. # noqa: E501
        :type: str
        Nr#   )r   r   s     r   r   z%DatasetUpdateSettingsRequest.subtitle        "r   c                     | j         S )a   Gets the description of this DatasetUpdateSettingsRequest.  # noqa:
        E501.

        Decription of the dataset  # noqa: E501

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

        Decription of the dataset  # noqa: E501

        :param description: The description of this
            DatasetUpdateSettingsRequest. # noqa: E501
        :type: str
        Nr(   )r   r	   s     r   r	   z(DatasetUpdateSettingsRequest.description   s     (r   c                     | j         S )a  Gets the is_private of this DatasetUpdateSettingsRequest.  # noqa:
        E501.

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

        :return: The is_private of this DatasetUpdateSettingsRequest. #
            noqa: E501
        :rtype: bool
        r   r    s    r   r
   z'DatasetUpdateSettingsRequest.is_private   s     r   c                     || _         dS )a  Sets the is_private of this DatasetUpdateSettingsRequest.

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

        :param is_private: The is_private of this
            DatasetUpdateSettingsRequest. # noqa: E501
        :type: bool
        Nr+   )r   r
   s     r   r
   z'DatasetUpdateSettingsRequest.is_private   s     &r   c                     | j         S )a  Gets the licenses of this DatasetUpdateSettingsRequest.  # noqa:
        E501.

        A list of licenses that apply to this dataset  # noqa: E501

        :return: The licenses of this DatasetUpdateSettingsRequest. #
            noqa: E501
        :rtype: list[object]
        r   r    s    r   r   z%DatasetUpdateSettingsRequest.licenses   r$   r   c                     || _         dS )a  Sets the licenses of this DatasetUpdateSettingsRequest.

        A list of licenses that apply to this dataset  # noqa: E501

        :param licenses: The licenses of this
            DatasetUpdateSettingsRequest. # noqa: E501
        :type: list[object]
        Nr.   )r   r   s     r   r   z%DatasetUpdateSettingsRequest.licenses   r&   r   c                     | j         S )a  Gets the keywords of this DatasetUpdateSettingsRequest.  # noqa:
        E501.

        A list of keywords that apply to this dataset  # noqa: E501

        :return: The keywords of this DatasetUpdateSettingsRequest. #
            noqa: E501
        :rtype: list[str]
        r   r    s    r   r   z%DatasetUpdateSettingsRequest.keywords   r$   r   c                     || _         dS )a  Sets the keywords of this DatasetUpdateSettingsRequest.

        A list of keywords that apply to this dataset  # noqa: E501

        :param keywords: The keywords of this
            DatasetUpdateSettingsRequest. # noqa: E501
        :type: list[str]
        Nr1   )r   r   s     r   r   z%DatasetUpdateSettingsRequest.keywords   r&   r   c                     | j         S )a6  Gets the collaborators of this DatasetUpdateSettingsRequest.  #
        noqa: E501.

        A list of collaborators that may read or edit this dataset  #
        noqa: E501

        :return: The collaborators of this DatasetUpdateSettingsRequest.
            # noqa: E501
        :rtype: list[object]
        r   r    s    r   r   z*DatasetUpdateSettingsRequest.collaborators   s     ""r   c                     || _         dS )a+  Sets the collaborators of this DatasetUpdateSettingsRequest.

        A list of collaborators that may read or edit this dataset  #
        noqa: E501

        :param collaborators: The collaborators of this
            DatasetUpdateSettingsRequest. # noqa: E501
        :type: list[object]
        Nr4   )r   r   s     r   r   z*DatasetUpdateSettingsRequest.collaborators  s     ,r   c                     | j         S )a  Gets the data of this DatasetUpdateSettingsRequest.  # noqa: E501.

        A list containing metadata for each file in the dataset  # noqa:
        E501

        :return: The data of this DatasetUpdateSettingsRequest. # noqa:
            E501
        :rtype: list[object]
        r   r    s    r   r   z!DatasetUpdateSettingsRequest.data  s     zr   c                     || _         dS )a  Sets the data of this DatasetUpdateSettingsRequest.

        A list containing metadata for each file in the dataset  # noqa:
        E501

        :param data: The data of this DatasetUpdateSettingsRequest. #
            noqa: E501
        :type: list[object]
        Nr7   )r   r   s     r   r   z!DatasetUpdateSettingsRequest.data#  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>z6DatasetUpdateSettingsRequest.to_dict.<locals>.<lambda>8  s"    IAVAV2]!))+++\] r   r;   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r;   r   r<   )items    r   r?   z6DatasetUpdateSettingsRequest.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$DatasetUpdateSettingsRequest.to_dict1  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#DatasetUpdateSettingsRequest.to_strG  s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rS   r    s    r   __repr__z%DatasetUpdateSettingsRequest.__repr__K  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#DatasetUpdateSettingsRequest.__eq__O  s)    %!=>> 	5}..r   c                     | |k     S )z+Returns true if both objects are not equal. rX   s     r   __ne__z#DatasetUpdateSettingsRequest.__ne__V  s    5=  r   )NNNNNNNN)__name__
__module____qualname____doc__rE   attribute_mapr   propertyr   setterr   r	   r
   r   r   r   r   r;   rS   rU   rZ   r]   r\   r   r   r   r      s         "'	 	M $!(	 	M % % % %N 	 	 X	 \
 
 \
 
 
 X
 _
" 
" _
" 
! 
! X
! 
( 
( 
( 
  
  X
  
& 
& 
& 
 
 X
 _
" 
" _
" 
 
 X
 _
" 
" _
" # # X# , , , 
 
 X
 
[  [  ,. . .  / / /! ! ! ! !r   r   )rQ   rerC   objectr   r\   r   r   <module>rg      s`   &  				 



! ! ! ! !6 ! ! ! ! !r   