
    [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Z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d dZd Zd Zd Zd ZdS )!V1QuobyteVolumeSourcezNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strbool)group	read_onlyregistrytenantuservolumer
   readOnlyr   r   r   r   Nc                    |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        ||| _        || _        ||| _        ||| _        || _        dS )z2V1QuobyteVolumeSource - a model defined in OpenAPIN)r   get_default_copylocal_vars_configuration_group
_read_only	_registry_tenant_user_volumediscriminatorr
   r   r   r   r   r   )selfr
   r   r   r   r   r   r   s           n/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_quobyte_volume_source.py__init__zV1QuobyteVolumeSource.__init__8   s    #+'4'E'G'G$(@%
!DJ &DN  DKDI    c                     | j         S )zGets the group of this V1QuobyteVolumeSource.  # noqa: E501

        group to map volume access to Default is no group  # noqa: E501

        :return: The group of this V1QuobyteVolumeSource.  # noqa: E501
        :rtype: str
        r   r   s    r   r
   zV1QuobyteVolumeSource.groupQ   s     {r   c                     || _         dS )zSets the group of this V1QuobyteVolumeSource.

        group to map volume access to Default is no group  # noqa: E501

        :param group: The group of this V1QuobyteVolumeSource.  # noqa: E501
        :type group: str
        Nr    )r   r
   s     r   r
   zV1QuobyteVolumeSource.group\   s     r   c                     | j         S )a*  Gets the read_only of this V1QuobyteVolumeSource.  # noqa: E501

        readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.  # noqa: E501

        :return: The read_only of this V1QuobyteVolumeSource.  # noqa: E501
        :rtype: bool
        r   r!   s    r   r   zV1QuobyteVolumeSource.read_onlyh   s     r   c                     || _         dS )a.  Sets the read_only of this V1QuobyteVolumeSource.

        readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.  # noqa: E501

        :param read_only: The read_only of this V1QuobyteVolumeSource.  # noqa: E501
        :type read_only: bool
        Nr$   )r   r   s     r   r   zV1QuobyteVolumeSource.read_onlys   s     $r   c                     | j         S )a  Gets the registry of this V1QuobyteVolumeSource.  # noqa: E501

        registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes  # noqa: E501

        :return: The registry of this V1QuobyteVolumeSource.  # noqa: E501
        :rtype: str
        )r   r!   s    r   r   zV1QuobyteVolumeSource.registry   s     ~r   c                 N    | j         j        r|t          d          || _        dS )a  Sets the registry of this V1QuobyteVolumeSource.

        registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes  # noqa: E501

        :param registry: The registry of this V1QuobyteVolumeSource.  # noqa: E501
        :type registry: str
        Nz0Invalid value for `registry`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1QuobyteVolumeSource.registry   s2     (? 	QHDTOPPP!r   c                     | j         S )a>  Gets the tenant of this V1QuobyteVolumeSource.  # noqa: E501

        tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin  # noqa: E501

        :return: The tenant of this V1QuobyteVolumeSource.  # noqa: E501
        :rtype: str
        r   r!   s    r   r   zV1QuobyteVolumeSource.tenant        |r   c                     || _         dS )a<  Sets the tenant of this V1QuobyteVolumeSource.

        tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin  # noqa: E501

        :param tenant: The tenant of this V1QuobyteVolumeSource.  # noqa: E501
        :type tenant: str
        Nr+   )r   r   s     r   r   zV1QuobyteVolumeSource.tenant   s     r   c                     | j         S )zGets the user of this V1QuobyteVolumeSource.  # noqa: E501

        user to map volume access to Defaults to serivceaccount user  # noqa: E501

        :return: The user of this V1QuobyteVolumeSource.  # noqa: E501
        :rtype: str
        r   r!   s    r   r   zV1QuobyteVolumeSource.user   s     zr   c                     || _         dS )zSets the user of this V1QuobyteVolumeSource.

        user to map volume access to Defaults to serivceaccount user  # noqa: E501

        :param user: The user of this V1QuobyteVolumeSource.  # noqa: E501
        :type user: str
        Nr/   )r   r   s     r   r   zV1QuobyteVolumeSource.user   s     


r   c                     | j         S )a  Gets the volume of this V1QuobyteVolumeSource.  # noqa: E501

        volume is a string that references an already created Quobyte volume by name.  # noqa: E501

        :return: The volume of this V1QuobyteVolumeSource.  # noqa: E501
        :rtype: str
        )r   r!   s    r   r   zV1QuobyteVolumeSource.volume   r,   r   c                 N    | j         j        r|t          d          || _        dS )a  Sets the volume of this V1QuobyteVolumeSource.

        volume is a string that references an already created Quobyte volume by name.  # noqa: E501

        :param volume: The volume of this V1QuobyteVolumeSource.  # noqa: E501
        :type volume: str
        Nz.Invalid value for `volume`, must not be `None`)r   r(   r)   r   )r   r   s     r   r   zV1QuobyteVolumeSource.volume   s1     (? 	OFNMNNN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   r5   argslen)xr8   	serializes     r   convertz.V1QuobyteVolumeSource.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r   c                      |           S )N )r:   r<   s    r   <lambda>z/V1QuobyteVolumeSource.to_dict.<locals>.<lambda>   s    ggajj r   c                 6    | d          | d                   fS )Nr   r6   r>   )itemr<   s    r   r?   z/V1QuobyteVolumeSource.to_dict.<locals>.<lambda>   s    $q'7747+;+;!< r   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r   r;   resultattr_valuer<   s    `    @r   r5   zV1QuobyteVolumeSource.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pformatr5   r!   s    r   to_strzV1QuobyteVolumeSource.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rT   r!   s    r   __repr__zV1QuobyteVolumeSource.__repr__  s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrH   r   r5   r   others     r   __eq__zV1QuobyteVolumeSource.__eq__  s5    %!677 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrX   rY   s     r   __ne__zV1QuobyteVolumeSource.__ne__  s5    %!677 	4||~~00r   )NNNNNNN)F)__name__
__module____qualname____doc__rD   rF   r   propertyr
   setterr   r   r   r   r   r5   rT   rV   r[   r]   r>   r   r   r   r      s          M  M   2   X \	 	 \	   X 	$ 	$ 	$   X _" " _"   X ]	 	 ]	   X 
[	 	 [	   X ]  ]   @. . .  1 1 11 1 1 1 1r   r   )ra   inspectr   ImportErrorr   rR   rerB   kubernetes.client.configurationr   objectr   r>   r   r   <module>ri      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9{1 {1 {1 {1 {1F {1 {1 {1 {1 {1s    