
    [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            	          e Zd ZdZ	 dddddddddZddd	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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 ))V1RBDVolumeSourcezNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strz	list[str]boolV1LocalObjectReference)fs_typeimagekeyringmonitorspool	read_only
secret_refuserfsTyper   r   r   r   readOnly	secretRefr   Nc
                 H   |	t          j                    }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        ||| _        || _        ||| _        || _        ||| _        ||| _        ||| _        |	|| _        dS dS )z.V1RBDVolumeSource - a model defined in OpenAPIN)r   get_default_copylocal_vars_configuration_fs_type_image_keyring	_monitors_pool
_read_only_secret_ref_userdiscriminatorr   r   r   r   r   r   r   r   )
selfr   r   r   r   r   r   r   r   r   s
             j/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_rbd_volume_source.py__init__zV1RBDVolumeSource.__init__<   s    #+'4'E'G'G$(@%

!"DL
"DL DI &DN!(DODIII     c                     | j         S )a  Gets the fs_type of this V1RBDVolumeSource.  # noqa: E501

        fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd  # noqa: E501

        :return: The fs_type of this V1RBDVolumeSource.  # noqa: E501
        :rtype: str
        r   r"   s    r#   r   zV1RBDVolumeSource.fs_type[        }r%   c                     || _         dS )a  Sets the fs_type of this V1RBDVolumeSource.

        fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd  # noqa: E501

        :param fs_type: The fs_type of this V1RBDVolumeSource.  # noqa: E501
        :type fs_type: str
        Nr'   )r"   r   s     r#   r   zV1RBDVolumeSource.fs_typef         r%   c                     | j         S )a  Gets the image of this V1RBDVolumeSource.  # noqa: E501

        image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it  # noqa: E501

        :return: The image of this V1RBDVolumeSource.  # noqa: E501
        :rtype: str
        )r   r(   s    r#   r   zV1RBDVolumeSource.imager   s     {r%   c                 N    | j         j        r|t          d          || _        dS )a  Sets the image of this V1RBDVolumeSource.

        image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it  # noqa: E501

        :param image: The image of this V1RBDVolumeSource.  # noqa: E501
        :type image: str
        Nz-Invalid value for `image`, must not be `None`)r   client_side_validation
ValueErrorr   )r"   r   s     r#   r   zV1RBDVolumeSource.image}   s1     (? 	NEMLMMMr%   c                     | j         S )aF  Gets the keyring of this V1RBDVolumeSource.  # noqa: E501

        keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it  # noqa: E501

        :return: The keyring of this V1RBDVolumeSource.  # noqa: E501
        :rtype: str
        r   r(   s    r#   r   zV1RBDVolumeSource.keyring   r)   r%   c                     || _         dS )aF  Sets the keyring of this V1RBDVolumeSource.

        keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it  # noqa: E501

        :param keyring: The keyring of this V1RBDVolumeSource.  # noqa: E501
        :type keyring: str
        Nr1   )r"   r   s     r#   r   zV1RBDVolumeSource.keyring   r+   r%   c                     | j         S )a.  Gets the monitors of this V1RBDVolumeSource.  # noqa: E501

        monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it  # noqa: E501

        :return: The monitors of this V1RBDVolumeSource.  # noqa: E501
        :rtype: list[str]
        )r   r(   s    r#   r   zV1RBDVolumeSource.monitors   s     ~r%   c                 N    | j         j        r|t          d          || _        dS )a0  Sets the monitors of this V1RBDVolumeSource.

        monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it  # noqa: E501

        :param monitors: The monitors of this V1RBDVolumeSource.  # noqa: E501
        :type monitors: list[str]
        Nz0Invalid value for `monitors`, must not be `None`)r   r.   r/   r   )r"   r   s     r#   r   zV1RBDVolumeSource.monitors   s2     (? 	QHDTOPPP!r%   c                     | j         S )a"  Gets the pool of this V1RBDVolumeSource.  # noqa: E501

        pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it  # noqa: E501

        :return: The pool of this V1RBDVolumeSource.  # noqa: E501
        :rtype: str
        r   r(   s    r#   r   zV1RBDVolumeSource.pool        zr%   c                     || _         dS )a  Sets the pool of this V1RBDVolumeSource.

        pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it  # noqa: E501

        :param pool: The pool of this V1RBDVolumeSource.  # noqa: E501
        :type pool: str
        Nr6   )r"   r   s     r#   r   zV1RBDVolumeSource.pool        


r%   c                     | j         S )aR  Gets the read_only of this V1RBDVolumeSource.  # noqa: E501

        readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it  # noqa: E501

        :return: The read_only of this V1RBDVolumeSource.  # noqa: E501
        :rtype: bool
        r   r(   s    r#   r   zV1RBDVolumeSource.read_only   s     r%   c                     || _         dS )aV  Sets the read_only of this V1RBDVolumeSource.

        readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it  # noqa: E501

        :param read_only: The read_only of this V1RBDVolumeSource.  # noqa: E501
        :type read_only: bool
        Nr;   )r"   r   s     r#   r   zV1RBDVolumeSource.read_only   s     $r%   c                     | j         S )zGets the secret_ref of this V1RBDVolumeSource.  # noqa: E501


        :return: The secret_ref of this V1RBDVolumeSource.  # noqa: E501
        :rtype: V1LocalObjectReference
        r   r(   s    r#   r   zV1RBDVolumeSource.secret_ref   s     r%   c                     || _         dS )zSets the secret_ref of this V1RBDVolumeSource.


        :param secret_ref: The secret_ref of this V1RBDVolumeSource.  # noqa: E501
        :type secret_ref: V1LocalObjectReference
        Nr>   )r"   r   s     r#   r   zV1RBDVolumeSource.secret_ref   s     &r%   c                     | j         S )a$  Gets the user of this V1RBDVolumeSource.  # noqa: E501

        user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it  # noqa: E501

        :return: The user of this V1RBDVolumeSource.  # noqa: E501
        :rtype: str
        r    r(   s    r#   r   zV1RBDVolumeSource.user   r7   r%   c                     || _         dS )a  Sets the user of this V1RBDVolumeSource.

        user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it  # noqa: E501

        :param user: The user of this V1RBDVolumeSource.  # noqa: E501
        :type user: str
        NrA   )r"   r   s     r#   r   zV1RBDVolumeSource.user	  r9   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   rE   argslen)xrH   	serializes     r#   convertz*V1RBDVolumeSource.to_dict.<locals>.convert  s[    q)$$ %ai005t99>>99;;&99Y///r%   c                      |           S )N )rJ   rL   s    r#   <lambda>z+V1RBDVolumeSource.to_dict.<locals>.<lambda>(  s    ggajj r%   c                 6    | d          | d                   fS )Nr   rF   rN   )itemrL   s    r#   rO   z+V1RBDVolumeSource.to_dict.<locals>.<lambda>-  s    $q'7747+;+;!< r%   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r"   rK   resultattr_valuerL   s    `    @r#   rE   zV1RBDVolumeSource.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pformatrE   r(   s    r#   to_strzV1RBDVolumeSource.to_str5  s    ~dllnn---r%   c                 *    |                                  S )zFor `print` and `pprint`)rd   r(   s    r#   __repr__zV1RBDVolumeSource.__repr__9  s    {{}}r%   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrX   r   rE   r"   others     r#   __eq__zV1RBDVolumeSource.__eq__=  s5    %!233 	5||~~00r%   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrh   ri   s     r#   __ne__zV1RBDVolumeSource.__ne__D  s5    %!233 	4||~~00r%   )	NNNNNNNNN)F)__name__
__module____qualname____doc__rT   rV   r$   propertyr   setterr   r   r   r   r   r   r   rE   rd   rf   rk   rm   rN   r%   r#   r   r      s         .	 	M !	 	M   >   X ^	  	  ^	    X \  \   X ^	  	  ^	    X _" " _"   X 
[	 	 [	   X 	$ 	$ 	$     X  & & &   X 
[	 	 [	   @. . .  1 1 11 1 1 1 1r%   r   )rq   inspectr   ImportErrorr   rb   rerR   kubernetes.client.configurationr   objectr   rN   r%   r#   <module>ry      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9q1 q1 q1 q1 q1 q1 q1 q1 q1 q1s    