
    <g                     B    d Z ddlZddlZddlZddlmZ  G d de      Zy)z
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: release-1.32
    Generated by: https://openapi-generator.tech
    N)Configurationc                       e Zd ZdZ	 ddddZ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d Zd Zd Zd Zd Zy)V1KeyToPathzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strint)keymodepathr   r	   r
   Nc                     |
t               }|| _        d| _        d| _        d| _        d| _        || _        ||| _        || _        y)z(V1KeyToPath - a model defined in OpenAPIN)	r   local_vars_configuration_key_mode_pathdiscriminatorr   r	   r
   )selfr   r	   r
   r   s        \/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_key_to_path.py__init__zV1KeyToPath.__init__/   sP    #+'4$(@%	

!DI	    c                     | j                   S )zGets the key of this V1KeyToPath.  # noqa: E501

        key is the key to project.  # noqa: E501

        :return: The key of this V1KeyToPath.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   zV1KeyToPath.key?   s     yyr   c                 X    | j                   j                  r|t        d      || _        y)zSets the key of this V1KeyToPath.

        key is the key to project.  # noqa: E501

        :param key: The key of this V1KeyToPath.  # noqa: E501
        :type: str
        Nz+Invalid value for `key`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1KeyToPath.keyJ   s*     ((??CKJKK	r   c                     | j                   S )aG  Gets the mode of this V1KeyToPath.  # noqa: E501

        mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.  # noqa: E501

        :return: The mode of this V1KeyToPath.  # noqa: E501
        :rtype: int
        r   r   s    r   r	   zV1KeyToPath.modeX        zzr   c                     || _         y)a<  Sets the mode of this V1KeyToPath.

        mode is Optional: mode bits used to set permissions on this file. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.  # noqa: E501

        :param mode: The mode of this V1KeyToPath.  # noqa: E501
        :type: int
        Nr   )r   r	   s     r   r	   zV1KeyToPath.modec   s     
r   c                     | j                   S )aC  Gets the path of this V1KeyToPath.  # noqa: E501

        path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.  # noqa: E501

        :return: The path of this V1KeyToPath.  # noqa: E501
        :rtype: str
        )r   r   s    r   r
   zV1KeyToPath.patho   r   r   c                 X    | j                   j                  r|t        d      || _        y)a8  Sets the path of this V1KeyToPath.

        path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.  # noqa: E501

        :param path: The path of this V1KeyToPath.  # noqa: E501
        :type: str
        Nz,Invalid value for `path`, must not be `None`)r   r   r   r   )r   r
   s     r   r
   zV1KeyToPath.pathz   s*     ((??DLKLL
r   c                 ~   i }t        j                  | j                        D ]  \  }}t        | |      }t	        |t
              rt        t        d |            ||<   <t        |d      r|j                         ||<   \t	        |t              r(t        t        d |j                                     ||<   |||<    |S )z&Returns the model properties as a dictc                 >    t        | d      r| j                         S | S )Nto_dicthasattrr"   )xs    r   <lambda>z%V1KeyToPath.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   r"   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r"   r   r#   )items    r   r&   z%V1KeyToPath.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr$   r"   dictitems)r   resultattr_values        r   r"   zV1KeyToPath.to_dict   s    }}T%7%78GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  t  %t! 9$ r   c                 H    t        j                  | j                               S )z.Returns the string representation of the model)pprintpformatr"   r   s    r   to_strzV1KeyToPath.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)r:   r   s    r   __repr__zV1KeyToPath.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr.   r   r"   r   others     r   __eq__zV1KeyToPath.__eq__   s&    %-||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTr>   r?   s     r   __ne__zV1KeyToPath.__ne__   s&    %-||~00r   )NNNN)__name__
__module____qualname____doc__r,   attribute_mapr   propertyr   setterr	   r
   r"   r:   r<   rA   rC    r   r   r   r      s     M M    	ZZ    
[[	 	   
[[ 0.11r   r   )rG   r8   rer*   kubernetes.client.configurationr   objectr   rK   r   r   <module>rO      s&     	 
 9_1& _1r   