
    [j                     |    d Z 	 ddlmZ n# e$ r	 ddlmZ Y nw xY wddlZddlZddlZddlm	Z	  G d de
          ZdS )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.36
    Generated by: https://openapi-generator.tech
    )getfullargspec)
getargspecN)Configurationc                   j   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dZd Zd Zd Zd ZdS )V1VolumeMountStatuszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strboolV1VolumeStatus)
mount_pathname	read_onlyrecursive_read_onlyvolume_status	mountPathr   readOnlyrecursiveReadOnlyvolumeStatusNc                     |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        || _	        || _
        ||| _        ||| _        |	|| _        dS dS )z0V1VolumeMountStatus - a model defined in OpenAPIN)r   get_default_copylocal_vars_configuration_mount_path_name
_read_only_recursive_read_only_volume_statusdiscriminatorr   r   r   r   r   )selfr   r   r   r   r   r   s          l/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_volume_mount_status.py__init__zV1VolumeMountStatus.__init__6   s    #+'4'E'G'G$(@%
$(!"!$	 &DN*':D$$!.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_pathL   s     r    c                 N    | j         j        r|t          d          || _        dS )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 mount_path: str
        Nz2Invalid value for `mount_path`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1VolumeMountStatus.mount_pathW   s5     (? 	SJDVQR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.namee   s     zr    c                 N    | j         j        r|t          d          || _        dS )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 name: str
        Nz,Invalid value for `name`, must not be `None`)r   r$   r%   r   )r   r   s     r   r   zV1VolumeMountStatus.namep   s1     (? 	MDLKL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_only~   s     r    c                     || _         dS )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 read_only: 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                     || _         dS )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 recursive_read_only: str
        Nr,   )r   r   s     r   r   z'V1VolumeMountStatus.recursive_read_only   s     %8!!!r    c                     | j         S )zGets the volume_status of this V1VolumeMountStatus.  # noqa: E501


        :return: The volume_status of this V1VolumeMountStatus.  # noqa: E501
        :rtype: V1VolumeStatus
        r   r"   s    r   r   z!V1VolumeMountStatus.volume_status   s     ""r    c                     || _         dS )zSets the volume_status of this V1VolumeMountStatus.


        :param volume_status: The volume_status of this V1VolumeMountStatus.  # noqa: E501
        :type volume_status: V1VolumeStatus
        Nr/   )r   r   s     r   r   z!V1VolumeMountStatus.volume_status   s     ,r    Fc                    i }fdt          j        | j                  D ]\  }}t          | |          }r| j                            ||          n|}t          |t                    r$t          t          fd|                    ||<   mt          |t                    r6t          t          fd|
                                                    ||<    |          ||<   |S )z&Returns the model properties as a dictc                     t          | d          rUt          | j                  j        }t	          |          dk    r|                                 S |                               S | S )Nto_dict   )hasattrr   r3   argslen)xr6   	serializes     r   convertz,V1VolumeMountStatus.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r    c                      |           S )N )r8   r:   s    r   <lambda>z-V1VolumeMountStatus.to_dict.<locals>.<lambda>   s    ggajj r    c                 6    | d          | d                   fS )Nr   r4   r<   )itemr:   s    r   r=   z-V1VolumeMountStatus.to_dict.<locals>.<lambda>   s    $q'7747+;+;!< r    )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r   r9   resultattr_valuer:   s    `    @r   r3   zV1VolumeMountStatus.to_dict   s   	 	 	 	 	 }T%788 	. 	.GD!D$''E9BL4%))$555D%&& .#C((((% %    t E4(( .#C<<<<KKMM% %    t
  'wu~~tr    c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr3   r"   s    r   to_strzV1VolumeMountStatus.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rR   r"   s    r   __repr__zV1VolumeMountStatus.__repr__   s    {{}}r    c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrF   r   r3   r   others     r   __eq__zV1VolumeMountStatus.__eq__   s5    %!455 	5||~~00r    c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrV   rW   s     r   __ne__zV1VolumeMountStatus.__ne__   s5    %!455 	4||~~00r    )NNNNNN)F)__name__
__module____qualname____doc__rB   rD   r   propertyr   setterr   r   r   r   r3   rR   rT   rY   r[   r<   r    r   r   r      s         $) M "2' M/ / / /,     X  & & &   X 
[  [   X 	$ 	$ 	$ ) ) X) 	8 	8  	8 # # X# , , ,   @. . .  1 1 11 1 1 1 1r    r   )r_   inspectr   ImportErrorr   rP   rer@   kubernetes.client.configurationr   objectr   r<   r    r   <module>rg      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9]1 ]1 ]1 ]1 ]1& ]1 ]1 ]1 ]1 ]1s    