
    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ZdddZd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 )StartBlobUploadResponsea  
    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)token
create_urlr   	createUrlNc                 L    d| _         d| _        d| _        || _        || _        dS )z4StartBlobUploadResponse - a model defined in SwaggerN)_token_create_urldiscriminatorr   r   )selfr   r   s      e/var/www/html/gpu-tools/venv/lib/python3.11/site-packages/kaggle/models/start_blob_upload_response.py__init__z StartBlobUploadResponse.__init__&   s-     !
$    c                     | j         S )zGets the token of this StartBlobUploadResponse.  # noqa: E501.

        Opaque string token used to reference the new blob/file.  # noqa:
        E501

        :return: The token of this StartBlobUploadResponse.  # noqa: E501
        :rtype: str
        )r
   r   s    r   r   zStartBlobUploadResponse.token0   s     {r   c                 6    |t          d          || _        dS )zSets the token of this StartBlobUploadResponse.

        Opaque string token used to reference the new blob/file.  # noqa:
        E501

        :param token: The token of this StartBlobUploadResponse. # noqa:
            E501
        :type: str
        Nz-Invalid value for `token`, must not be `None`)
ValueErrorr
   )r   r   s     r   r   zStartBlobUploadResponse.token<   s#     =LMMMr   c                     | j         S )zGets the create_url of this StartBlobUploadResponse.  # noqa: E501.

        URL to use to start the upload.  # noqa: E501

        :return: The create_url of this StartBlobUploadResponse. # noqa:
            E501
        :rtype: str
        )r   r   s    r   r   z"StartBlobUploadResponse.create_urlL   s     r   c                 6    |t          d          || _        dS )zSets the create_url of this StartBlobUploadResponse.

        URL to use to start the upload.  # noqa: E501

        :param create_url: The create_url of this StartBlobUploadResponse. #
            noqa: E501
        :type: str
        Nz2Invalid value for `create_url`, must not be `None`)r   r   )r   r   s     r   r   z"StartBlobUploadResponse.create_urlX   s'     QRR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>z1StartBlobUploadResponse.to_dict.<locals>.<lambda>n   s"    IAVAV2]!))+++\] r   r   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r   r   r   )items    r   r   z1StartBlobUploadResponse.to_dict.<locals>.<lambda>t   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StartBlobUploadResponse.to_dictg   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StartBlobUploadResponse.to_str}   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)r1   r   s    r   __repr__z StartBlobUploadResponse.__repr__   s    {{}}r   c                 P    t          |t                    sdS | j        |j        k    S )z'Returns true if both objects are equal.F)r%   r   __dict__r   others     r   __eq__zStartBlobUploadResponse.__eq__   s)    %!899 	5}..r   c                     | |k     S )z+Returns true if both objects are not equal. r6   s     r   __ne__zStartBlobUploadResponse.__ne__   s    5=  r   )NN)__name__
__module____qualname____doc__r#   attribute_mapr   propertyr   setterr   r   r1   r3   r8   r;   r:   r   r   r   r      s         $599M%[AAM% % % % 	 	 X	 \  \ 	  	  X	  & & &  ,. . .  / / /! ! ! ! !r   r   )r/   rer!   objectr   r:   r   r   <module>rE      s`   &  				 



u! u! u! u! u!f u! u! u! u! u!r   