
    >g%                     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.30
    Generated by: https://openapi-generator.tech
    N)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  Zd! Zd" Zd# Zd$ Zy)&V1alpha2NamedResourcesAttributezNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    boolintV1alpha2NamedResourcesIntSlicestr!V1alpha2NamedResourcesStringSlice)r   r   	int_slicenamequantitystringstring_sliceversionintSlicer   r   r   stringSlicer   Nc
                 6   |	
t               }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        || _        ||| _        ||| _        ||| _        ||| _        yy)z<V1alpha2NamedResourcesAttribute - a model defined in OpenAPIN)r   local_vars_configuration_bool_int
_int_slice_name	_quantity_string_string_slice_versiondiscriminatorr   r   r   r   r   r   r   r   )
selfr   r   r   r   r   r   r   r   r   s
             p/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1alpha2_named_resources_attribute.py__init__z(V1alpha2NamedResourcesAttribute.__init__9   s    #+'4$(@%
	
!!DI?DH &DN	$DM DK# ,D"DL     c                     | j                   S )zGets the bool of this V1alpha2NamedResourcesAttribute.  # noqa: E501

        BoolValue is a true/false value.  # noqa: E501

        :return: The bool of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :rtype: bool
        r   r   s    r   r   z$V1alpha2NamedResourcesAttribute.boolY        zzr!   c                     || _         y)zSets the bool of this V1alpha2NamedResourcesAttribute.

        BoolValue is a true/false value.  # noqa: E501

        :param bool: The bool of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :type: bool
        Nr#   )r   r   s     r   r   z$V1alpha2NamedResourcesAttribute.boold   s     
r!   c                     | j                   S )zGets the int of this V1alpha2NamedResourcesAttribute.  # noqa: E501

        IntValue is a 64-bit integer.  # noqa: E501

        :return: The int of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :rtype: int
        r   r$   s    r   r   z#V1alpha2NamedResourcesAttribute.intp   s     yyr!   c                     || _         y)zSets the int of this V1alpha2NamedResourcesAttribute.

        IntValue is a 64-bit integer.  # noqa: E501

        :param int: The int of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :type: int
        Nr(   )r   r   s     r   r   z#V1alpha2NamedResourcesAttribute.int{   s     	r!   c                     | j                   S )zGets the int_slice of this V1alpha2NamedResourcesAttribute.  # noqa: E501


        :return: The int_slice of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :rtype: V1alpha2NamedResourcesIntSlice
        r   r$   s    r   r   z)V1alpha2NamedResourcesAttribute.int_slice   s     r!   c                     || _         y)zSets the int_slice of this V1alpha2NamedResourcesAttribute.


        :param int_slice: The int_slice of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :type: V1alpha2NamedResourcesIntSlice
        Nr+   )r   r   s     r   r   z)V1alpha2NamedResourcesAttribute.int_slice   s     $r!   c                     | j                   S )a@  Gets the name of this V1alpha2NamedResourcesAttribute.  # noqa: E501

        Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.  # noqa: E501

        :return: The name of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :rtype: str
        )r   r$   s    r   r   z$V1alpha2NamedResourcesAttribute.name   r%   r!   c                 X    | j                   j                  r|t        d      || _        y)a5  Sets the name of this V1alpha2NamedResourcesAttribute.

        Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.  # noqa: E501

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

        QuantityValue is a quantity.  # noqa: E501

        :return: The quantity of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :rtype: str
        r   r$   s    r   r   z(V1alpha2NamedResourcesAttribute.quantity   s     ~~r!   c                     || _         y)zSets the quantity of this V1alpha2NamedResourcesAttribute.

        QuantityValue is a quantity.  # noqa: E501

        :param quantity: The quantity of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :type: str
        Nr2   )r   r   s     r   r   z(V1alpha2NamedResourcesAttribute.quantity   s     "r!   c                     | j                   S )zGets the string of this V1alpha2NamedResourcesAttribute.  # noqa: E501

        StringValue is a string.  # noqa: E501

        :return: The string of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :rtype: str
        r   r$   s    r   r   z&V1alpha2NamedResourcesAttribute.string   s     ||r!   c                     || _         y)zSets the string of this V1alpha2NamedResourcesAttribute.

        StringValue is a string.  # noqa: E501

        :param string: The string of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :type: str
        Nr5   )r   r   s     r   r   z&V1alpha2NamedResourcesAttribute.string   s     r!   c                     | j                   S )zGets the string_slice of this V1alpha2NamedResourcesAttribute.  # noqa: E501


        :return: The string_slice of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :rtype: V1alpha2NamedResourcesStringSlice
        r   r$   s    r   r   z,V1alpha2NamedResourcesAttribute.string_slice   s     !!!r!   c                     || _         y)zSets the string_slice of this V1alpha2NamedResourcesAttribute.


        :param string_slice: The string_slice of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :type: V1alpha2NamedResourcesStringSlice
        Nr8   )r   r   s     r   r   z,V1alpha2NamedResourcesAttribute.string_slice   s     *r!   c                     | j                   S )a  Gets the version of this V1alpha2NamedResourcesAttribute.  # noqa: E501

        VersionValue is a semantic version according to semver.org spec 2.0.0.  # noqa: E501

        :return: The version of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :rtype: str
        r   r$   s    r   r   z'V1alpha2NamedResourcesAttribute.version   s     }}r!   c                     || _         y)a  Sets the version of this V1alpha2NamedResourcesAttribute.

        VersionValue is a semantic version according to semver.org spec 2.0.0.  # noqa: E501

        :param version: The version of this V1alpha2NamedResourcesAttribute.  # noqa: E501
        :type: str
        Nr;   )r   r   s     r   r   z'V1alpha2NamedResourcesAttribute.version  s      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>z9V1alpha2NamedResourcesAttribute.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   rC   z9V1alpha2NamedResourcesAttribute.to_dict.<locals>.<lambda>  s6    tAw	2 #'q'47??+<!= "=8<"=r!   )six	iteritemsopenapi_typesgetattr
isinstancelistmaprA   r?   dictitems)r   resultattr_values        r   r?   z'V1alpha2NamedResourcesAttribute.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&V1alpha2NamedResourcesAttribute.to_str'  s    ~~dlln--r!   c                 "    | j                         S )zFor `print` and `pprint`)rW   r$   s    r   __repr__z(V1alpha2NamedResourcesAttribute.__repr__+  s    {{}r!   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFrK   r   r?   r   others     r   __eq__z&V1alpha2NamedResourcesAttribute.__eq__/  s'    %!@A||~00r!   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTr[   r\   s     r   __ne__z&V1alpha2NamedResourcesAttribute.__ne__6  s'    %!@A||~00r!   )	NNNNNNNNN)__name__
__module____qualname____doc__rI   attribute_mapr    propertyr   setterr   r   r   r   r   r   r   r?   rW   rY   r^   r`    r!   r   r   r      s    5;	M %	M#@   
[[	 	   	ZZ	 	   $ $   
[[    __	" 	"   ]]	 	 " " * *   ^^	  	 0.11r!   r   )rd   rU   rerG   kubernetes.client.configurationr   objectr   rh   r!   r   <module>rl      s&     	 
 9f1f f1r!   