
    Bvh                     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.33
    Generated by: https://openapi-generator.tech
    N)Configurationc                   $   e Zd ZdZ	 dddddZ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d Zd Zd Zd Zd Zy	)V1VolumeMountStatuszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strbool)
mount_pathname	read_onlyrecursive_read_only	mountPathr	   readOnlyrecursiveReadOnlyNc                     |
t               }|| _        d| _        d| _        d| _        d| _        d| _        || _        || _        ||| _	        ||| _
        yy)z0V1VolumeMountStatus - a model defined in OpenAPIN)r   local_vars_configuration_mount_path_name
_read_only_recursive_read_onlydiscriminatorr   r	   r
   r   )selfr   r	   r
   r   r   s         Y/RAG/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_volume_mount_status.py__init__zV1VolumeMountStatus.__init__1   sl    #+'4$(@%
$(!!$	 &DN*':D$ +    c                     | j                   S )zGets the mount_path of this V1VolumeMountStatus.  # noqa: E501

        MountPath corresponds to the original VolumeMount.  # noqa: E501

        :return: The mount_path of this V1VolumeMountStatus.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   zV1VolumeMountStatus.mount_pathD   s     r   c                 X    | j                   j                  r|t        d      || _        y)zSets the mount_path of this V1VolumeMountStatus.

        MountPath corresponds to the original VolumeMount.  # noqa: E501

        :param mount_path: The mount_path of this V1VolumeMountStatus.  # noqa: E501
        :type: str
        Nz2Invalid value for `mount_path`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1VolumeMountStatus.mount_pathO   s,     ((??JDVQRR%r   c                     | j                   S )zGets the name of this V1VolumeMountStatus.  # noqa: E501

        Name corresponds to the name of the original VolumeMount.  # noqa: E501

        :return: The name of this V1VolumeMountStatus.  # noqa: E501
        :rtype: str
        )r   r   s    r   r	   zV1VolumeMountStatus.name]   s     zzr   c                 X    | j                   j                  r|t        d      || _        y)zSets the name of this V1VolumeMountStatus.

        Name corresponds to the name of the original VolumeMount.  # noqa: E501

        :param name: The name of this V1VolumeMountStatus.  # noqa: E501
        :type: str
        Nz,Invalid value for `name`, must not be `None`)r   r   r   r   )r   r	   s     r   r	   zV1VolumeMountStatus.nameh   s*     ((??DLKLL
r   c                     | j                   S )zGets the read_only of this V1VolumeMountStatus.  # noqa: E501

        ReadOnly corresponds to the original VolumeMount.  # noqa: E501

        :return: The read_only of this V1VolumeMountStatus.  # noqa: E501
        :rtype: bool
        r   r   s    r   r
   zV1VolumeMountStatus.read_onlyv   s     r   c                     || _         y)zSets the read_only of this V1VolumeMountStatus.

        ReadOnly corresponds to the original VolumeMount.  # noqa: E501

        :param read_only: The read_only of this V1VolumeMountStatus.  # noqa: E501
        :type: bool
        Nr"   )r   r
   s     r   r
   zV1VolumeMountStatus.read_only   s     $r   c                     | j                   S )a  Gets the recursive_read_only of this V1VolumeMountStatus.  # noqa: E501

        RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result.  # noqa: E501

        :return: The recursive_read_only of this V1VolumeMountStatus.  # noqa: E501
        :rtype: str
        r   r   s    r   r   z'V1VolumeMountStatus.recursive_read_only   s     (((r   c                     || _         y)a  Sets the recursive_read_only of this V1VolumeMountStatus.

        RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result.  # noqa: E501

        :param recursive_read_only: The recursive_read_only of this V1VolumeMountStatus.  # noqa: E501
        :type: str
        Nr%   )r   r   s     r   r   z'V1VolumeMountStatus.recursive_read_only   s     %8!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-V1VolumeMountStatus.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-V1VolumeMountStatus.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V1VolumeMountStatus.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V1VolumeMountStatus.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rA   r   s    r   __repr__zV1VolumeMountStatus.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr5   r   r)   r   others     r   __eq__zV1VolumeMountStatus.__eq__   s'    %!45||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrE   rF   s     r   __ne__zV1VolumeMountStatus.__ne__   s'    %!45||~00r   )NNNNN)__name__
__module____qualname____doc__r3   attribute_mapr   propertyr   setterr	   r
   r   r)   rA   rC   rH   rJ    r   r   r   r      s
    $	M "2	M;&     & &   
[[    	$ 	$ ) ) 	8  	80.11r   r   )rN   r?   rer1   kubernetes.client.configurationr   objectr   rR   r   r   <module>rV      s&     	 
 9{1& {1r   