
    ni                     :    d dl Z d dlZd dlZ G d de          ZdS )    Nc                   h   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 )StartBlobUploadRequesta  
    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.
    objectstrint)typenamecontent_lengthcontent_typelast_modified_epoch_secondsr   r	   contentLengthcontentTypelastModifiedEpochSecondsNc                     d| _         d| _        d| _        d| _        d| _        d| _        ||| _        || _        || _        ||| _	        |	|| _
        dS dS )z3StartBlobUploadRequest - a model defined in SwaggerN)_type_name_content_length_content_type_last_modified_epoch_secondsdiscriminatorr   r	   r
   r   r   )selfr   r	   r
   r   r   s         d/var/www/html/gpu-tools/venv/lib/python3.11/site-packages/kaggle/models/start_blob_upload_request.py__init__zStartBlobUploadRequest.__init__2   sx    
 

#!,0)!DI	,# ,D&2/JD,,, 32    c                     | j         S )zGets the type of this StartBlobUploadRequest.  # noqa: E501.

        The type of the blob (one of "dataset", "model", "inbox")  #
        noqa: E501

        :return: The type of this StartBlobUploadRequest.  # noqa: E501
        :rtype: object
        r   r   s    r   r   zStartBlobUploadRequest.typeG   s     zr   c                     || _         dS )zSets the type of this StartBlobUploadRequest.

        The type of the blob (one of "dataset", "model", "inbox")  #
        noqa: E501

        :param type: The type of this StartBlobUploadRequest.  # noqa: E501
        :type: object
        Nr   )r   r   s     r   r   zStartBlobUploadRequest.typeS   s     


r   c                     | j         S )zGets the name of this StartBlobUploadRequest.  # noqa: E501.

        Name of the file  # noqa: E501

        :return: The name of this StartBlobUploadRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r	   zStartBlobUploadRequest.name`   s     zr   c                 6    |t          d          || _        dS )zSets the name of this StartBlobUploadRequest.

        Name of the file  # noqa: E501

        :param name: The name of this StartBlobUploadRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `name`, must not be `None`)
ValueErrorr   )r   r	   s     r   r	   zStartBlobUploadRequest.namek   s#     <KLLL


r   c                     | j         S )zGets the content_length of this StartBlobUploadRequest.  # noqa: E501.

        Content length of the file in bytes  # noqa: E501

        :return: The content_length of this StartBlobUploadRequest. # noqa:
            E501
        :rtype: int
        )r   r   s    r   r
   z%StartBlobUploadRequest.content_lengthy   s     ##r   c                 6    |t          d          || _        dS )zSets the content_length of this StartBlobUploadRequest.

        Content length of the file in bytes  # noqa: E501

        :param content_length: The content_length of this
            StartBlobUploadRequest. # noqa: E501
        :type: int
        Nz6Invalid value for `content_length`, must not be `None`)r!   r   )r   r
   s     r   r
   z%StartBlobUploadRequest.content_length   s'     !UVVV-r   c                     | j         S )a  Gets the content_type of this StartBlobUploadRequest.  # noqa: E501.

        Content/MIME type (e.g. "text/plain") of the file  # noqa: E501

        :return: The content_type of this StartBlobUploadRequest. # noqa:
            E501
        :rtype: str
        r   r   s    r   r   z#StartBlobUploadRequest.content_type   s     !!r   c                     || _         dS )a  Sets the content_type of this StartBlobUploadRequest.

        Content/MIME type (e.g. "text/plain") of the file  # noqa: E501

        :param content_type: The content_type of this
            StartBlobUploadRequest. # noqa: E501
        :type: str
        Nr%   )r   r   s     r   r   z#StartBlobUploadRequest.content_type   s     *r   c                     | j         S )a;  Gets the last_modified_epoch_seconds of this StartBlobUploadRequest.  #
        noqa: E501.

        Last modified date of file in seconds since epoch in UTC  # noqa:
        E501

        :return: The last_modified_epoch_seconds of this
            StartBlobUploadRequest. # noqa: E501
        :rtype: int
        r   r   s    r   r   z2StartBlobUploadRequest.last_modified_epoch_seconds   s     00r   c                     || _         dS )a>  Sets the last_modified_epoch_seconds of this StartBlobUploadRequest.

        Last modified date of file in seconds since epoch in UTC  # noqa:
        E501

        :param last_modified_epoch_seconds: The last_modified_epoch_seconds
            of this StartBlobUploadRequest. # noqa: E501
        :type: int
        Nr(   )r   r   s     r   r   z2StartBlobUploadRequest.last_modified_epoch_seconds   s     -H)))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>z0StartBlobUploadRequest.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   r0   z0StartBlobUploadRequest.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StartBlobUploadRequest.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StartBlobUploadRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rD   r   s    r   __repr__zStartBlobUploadRequest.__repr__   s    {{}}r   c                 P    t          |t                    sdS | j        |j        k    S )z'Returns true if both objects are equal.F)r8   r   __dict__r   others     r   __eq__zStartBlobUploadRequest.__eq__   s)    %!788 	5}..r   c                     | |k     S )z+Returns true if both objects are not equal. rI   s     r   __ne__zStartBlobUploadRequest.__ne__   s    5=  r   )NNNNN)__name__
__module____qualname____doc__r6   attribute_mapr   propertyr   setterr	   r
   r   r   r,   rD   rF   rK   rN   rM   r   r   r   r      s         ', M )%'A M imK K K K* 	 	 X	 
[
 
 [
   X 
[  [ 	$ 	$ X	$ . . . 	" 	" X	" 
* 
* 
* 1 1 X1 !'H H ('H  ,. . .  / / /! ! ! ! !r   r   )rB   rer4   r   r   rM   r   r   <module>rW      s`   &  				 



W! W! W! W! W!V W! W! W! W! W!r   