
    <gC!                     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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 Zd Zd Zd Zd Zy)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               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        || _        ||| _        ||| _        || _        y)z2V1QuobyteVolumeSource - a model defined in OpenAPIN)r   local_vars_configuration_group
_read_only	_registry_tenant_user_volumediscriminatorr   r	   r
   r   r   r   )selfr   r	   r
   r   r   r   r   s           f/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_quobyte_volume_source.py__init__zV1QuobyteVolumeSource.__init__5   s    #+'4$(@%
!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.groupN   s     {{r   c                     || _         y)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: str
        Nr   )r   r   s     r   r   zV1QuobyteVolumeSource.groupY   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_onlye   s     r   c                     || _         y)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: bool
        Nr!   )r   r	   s     r   r	   zV1QuobyteVolumeSource.read_onlyp   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                 X    | j                   j                  r|t        d      || _        y)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: str
        Nz0Invalid value for `registry`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r
   s     r   r
   zV1QuobyteVolumeSource.registry   s+     ((??HDTO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                     || _         y)a5  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: 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     zzr   c                     || _         y)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: 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                 X    | j                   j                  r|t        d      || _        y)zSets 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: str
        Nz.Invalid value for `volume`, must not be `None`)r   r%   r&   r   )r   r   s     r   r   zV1QuobyteVolumeSource.volume   s*     ((??FNMNN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hasattrr2   )xs    r   <lambda>z/V1QuobyteVolumeSource.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   r2   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r2   r   r3   )items    r   r6   z/V1QuobyteVolumeSource.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr4   r2   dictitems)r   resultattr_values        r   r2   zV1QuobyteVolumeSource.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pformatr2   r   s    r   to_strzV1QuobyteVolumeSource.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rJ   r   s    r   __repr__zV1QuobyteVolumeSource.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr>   r   r2   r   others     r   __eq__zV1QuobyteVolumeSource.__eq__   s'    %!67||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrN   rO   s     r   __ne__zV1QuobyteVolumeSource.__ne__  s'    %!67||~00r   )NNNNNNN)__name__
__module____qualname____doc__r<   attribute_mapr   propertyr   setterr	   r
   r   r   r   r2   rJ   rL   rQ   rS    r   r   r   r      sj    M M2   \\	 	   	$ 	$   __" "   ]]	 	   
[[	 	   ]] 0.11r   r   )rW   rH   rer:   kubernetes.client.configurationr   objectr   r[   r   r   <module>r_      s&     	 
 9s1F s1r   