
    [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 ))V2APIResourceDiscoveryzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    str.IoK8sApimachineryPkgApisMetaV1GroupVersionKindz	list[str]zlist[V2APISubresourceDiscovery])resourceresponse_kindscopesingular_resourceverbsshort_names
categoriessubresourcesr
   responseKindr   singularResourcer   
shortNamesr   r   Nc
                 @   |	t          j                    }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        || _        ||| _        || _        || _        || _        ||| _        ||| _        |	|| _        dS dS )z3V2APIResourceDiscovery - a model defined in OpenAPIN)r   get_default_copylocal_vars_configuration	_resource_response_kind_scope_singular_resource_verbs_short_names_categories_subresourcesdiscriminatorr
   r   r   r   r   r   r   r   )
selfr
   r   r   r   r   r   r   r   r   s
             o/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v2_api_resource_discovery.py__init__zV2APIResourceDiscovery.__init__<   s    #+'4'E'G'G$(@%""& !! $!.D
!2
"*D!(DO# ,D $#    c                     | j         S )zGets the resource of this V2APIResourceDiscovery.  # noqa: E501

        resource is the plural name of the resource.  # noqa: E501

        :return: The resource of this V2APIResourceDiscovery.  # noqa: E501
        :rtype: str
        )r   r!   s    r"   r
   zV2APIResourceDiscovery.resourceY   s     ~r$   c                 N    | j         j        r|t          d          || _        dS )zSets the resource of this V2APIResourceDiscovery.

        resource is the plural name of the resource.  # noqa: E501

        :param resource: The resource of this V2APIResourceDiscovery.  # noqa: E501
        :type resource: str
        Nz0Invalid value for `resource`, must not be `None`)r   client_side_validation
ValueErrorr   )r!   r
   s     r"   r
   zV2APIResourceDiscovery.resourced   s2     (? 	QHDTOPPP!r$   c                     | j         S )zGets the response_kind of this V2APIResourceDiscovery.  # noqa: E501


        :return: The response_kind of this V2APIResourceDiscovery.  # noqa: E501
        :rtype: IoK8sApimachineryPkgApisMetaV1GroupVersionKind
        r   r&   s    r"   r   z$V2APIResourceDiscovery.response_kindr   s     ""r$   c                     || _         dS )zSets the response_kind of this V2APIResourceDiscovery.


        :param response_kind: The response_kind of this V2APIResourceDiscovery.  # noqa: E501
        :type response_kind: IoK8sApimachineryPkgApisMetaV1GroupVersionKind
        Nr+   )r!   r   s     r"   r   z$V2APIResourceDiscovery.response_kind|   s     ,r$   c                     | j         S )a   Gets the scope of this V2APIResourceDiscovery.  # noqa: E501

        scope indicates the scope of a resource, either Cluster or Namespaced  # noqa: E501

        :return: The scope of this V2APIResourceDiscovery.  # noqa: E501
        :rtype: str
        )r   r&   s    r"   r   zV2APIResourceDiscovery.scope        {r$   c                 N    | j         j        r|t          d          || _        dS )zSets the scope of this V2APIResourceDiscovery.

        scope indicates the scope of a resource, either Cluster or Namespaced  # noqa: E501

        :param scope: The scope of this V2APIResourceDiscovery.  # noqa: E501
        :type scope: str
        Nz-Invalid value for `scope`, must not be `None`)r   r(   r)   r   )r!   r   s     r"   r   zV2APIResourceDiscovery.scope   1     (? 	NEMLMMMr$   c                     | j         S )a	  Gets the singular_resource of this V2APIResourceDiscovery.  # noqa: E501

        singularResource is the singular name of the resource.  # noqa: E501

        :return: The singular_resource of this V2APIResourceDiscovery.  # noqa: E501
        :rtype: str
        )r   r&   s    r"   r   z(V2APIResourceDiscovery.singular_resource   s     &&r$   c                 N    | j         j        r|t          d          || _        dS )a  Sets the singular_resource of this V2APIResourceDiscovery.

        singularResource is the singular name of the resource.  # noqa: E501

        :param singular_resource: The singular_resource of this V2APIResourceDiscovery.  # noqa: E501
        :type singular_resource: str
        Nz9Invalid value for `singular_resource`, must not be `None`)r   r(   r)   r   )r!   r   s     r"   r   z(V2APIResourceDiscovery.singular_resource   s6     (? 	ZDUD]XYYY"3r$   c                     | j         S )zGets the verbs of this V2APIResourceDiscovery.  # noqa: E501

        verbs is a list of supported API operation types  # noqa: E501

        :return: The verbs of this V2APIResourceDiscovery.  # noqa: E501
        :rtype: list[str]
        )r   r&   s    r"   r   zV2APIResourceDiscovery.verbs   r.   r$   c                 N    | j         j        r|t          d          || _        dS )zSets the verbs of this V2APIResourceDiscovery.

        verbs is a list of supported API operation types  # noqa: E501

        :param verbs: The verbs of this V2APIResourceDiscovery.  # noqa: E501
        :type verbs: list[str]
        Nz-Invalid value for `verbs`, must not be `None`)r   r(   r)   r   )r!   r   s     r"   r   zV2APIResourceDiscovery.verbs   r0   r$   c                     | j         S )a  Gets the short_names of this V2APIResourceDiscovery.  # noqa: E501

        shortNames is a list of suggested short names of the resource.  # noqa: E501

        :return: The short_names of this V2APIResourceDiscovery.  # noqa: E501
        :rtype: list[str]
        r   r&   s    r"   r   z"V2APIResourceDiscovery.short_names   s       r$   c                     || _         dS )a  Sets the short_names of this V2APIResourceDiscovery.

        shortNames is a list of suggested short names of the resource.  # noqa: E501

        :param short_names: The short_names of this V2APIResourceDiscovery.  # noqa: E501
        :type short_names: list[str]
        Nr6   )r!   r   s     r"   r   z"V2APIResourceDiscovery.short_names   s     (r$   c                     | j         S )a  Gets the categories of this V2APIResourceDiscovery.  # noqa: E501

        categories is a list of the grouped resources this resource belongs to.  # noqa: E501

        :return: The categories of this V2APIResourceDiscovery.  # noqa: E501
        :rtype: list[str]
        r   r&   s    r"   r   z!V2APIResourceDiscovery.categories   s     r$   c                     || _         dS )a  Sets the categories of this V2APIResourceDiscovery.

        categories is a list of the grouped resources this resource belongs to.  # noqa: E501

        :param categories: The categories of this V2APIResourceDiscovery.  # noqa: E501
        :type categories: list[str]
        Nr9   )r!   r   s     r"   r   z!V2APIResourceDiscovery.categories   s     &r$   c                     | j         S )zGets the subresources of this V2APIResourceDiscovery.  # noqa: E501


        :return: The subresources of this V2APIResourceDiscovery.  # noqa: E501
        :rtype: list[V2APISubresourceDiscovery]
        r   r&   s    r"   r   z#V2APIResourceDiscovery.subresources   s     !!r$   c                     || _         dS )zSets the subresources of this V2APIResourceDiscovery.


        :param subresources: The subresources of this V2APIResourceDiscovery.  # noqa: E501
        :type subresources: list[V2APISubresourceDiscovery]
        Nr<   )r!   r   s     r"   r   z#V2APIResourceDiscovery.subresources
  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   r@   argslen)xrC   	serializes     r"   convertz/V2APIResourceDiscovery.to_dict.<locals>.convert  s[    q)$$ %ai005t99>>99;;&99Y///r$   c                      |           S )N )rE   rG   s    r"   <lambda>z0V2APIResourceDiscovery.to_dict.<locals>.<lambda>(  s    ggajj r$   c                 6    | d          | d                   fS )Nr   rA   rI   )itemrG   s    r"   rJ   z0V2APIResourceDiscovery.to_dict.<locals>.<lambda>-  s    $q'7747+;+;!< r$   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r!   rF   resultattr_valuerG   s    `    @r"   r@   zV2APIResourceDiscovery.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pformatr@   r&   s    r"   to_strzV2APIResourceDiscovery.to_str5  s    ~dllnn---r$   c                 *    |                                  S )zFor `print` and `pprint`)r_   r&   s    r"   __repr__zV2APIResourceDiscovery.__repr__9  s    {{}}r$   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrS   r   r@   r!   others     r"   __eq__zV2APIResourceDiscovery.__eq__=  s5    %!788 	5||~~00r$   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrc   rd   s     r"   __ne__zV2APIResourceDiscovery.__ne__D  s5    %!788 	4||~~00r$   )	NNNNNNNNN)F)__name__
__module____qualname____doc__rO   rQ   r#   propertyr
   setterr   r   r   r   r   r   r   r@   r_   ra   rf   rh   rI   r$   r"   r   r      s         I""!9	 	M '/#"&	 	M- - - -:   X _" " _" # # X# , , ,   X \  \ ' ' X' 4 4 4   X \  \ ! ! X! 	( 	( 	(     X  	& 	& 	& " " X" * * *   @. . .  1 1 11 1 1 1 1r$   r   )rl   inspectr   ImportErrorr   r]   rerM   kubernetes.client.configurationr   objectr   rI   r$   r"   <module>rt      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1V q1 q1 q1 q1 q1s    