
    [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Z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d"dZd Zd Zd Zd  ZdS )#V1ObjectReferencezNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    str)api_version
field_pathkindname	namespaceresource_versionuid
apiVersion	fieldPathr   r   r   resourceVersionr   Nc	                 0   |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        |	|| _        dS dS )z.V1ObjectReference - a model defined in OpenAPIN)r   get_defaultlocal_vars_configuration_api_version_field_path_kind_name
_namespace_resource_version_uiddiscriminatorr	   r
   r   r   r   r   r   )	selfr	   r
   r   r   r   r   r   r   s	            q/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes_asyncio/client/models/v1_object_reference.py__init__zV1ObjectReference.__init__:   s    #+'4'@'B'B$(@% 

!%	!"*D!(DODIDI &DN'$4D!?DHHH ?    c                     | j         S )zGets the api_version of this V1ObjectReference.  # noqa: E501

        API version of the referent.  # noqa: E501

        :return: The api_version of this V1ObjectReference.  # noqa: E501
        :rtype: str
        r   r   s    r   r	   zV1ObjectReference.api_versionX   s       r!   c                     || _         dS )zSets the api_version of this V1ObjectReference.

        API version of the referent.  # noqa: E501

        :param api_version: The api_version of this V1ObjectReference.  # noqa: E501
        :type api_version: str
        Nr#   )r   r	   s     r   r	   zV1ObjectReference.api_versionc   s     (r!   c                     | j         S )a  Gets the field_path of this V1ObjectReference.  # noqa: E501

        If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.  # noqa: E501

        :return: The field_path of this V1ObjectReference.  # noqa: E501
        :rtype: str
        r   r$   s    r   r
   zV1ObjectReference.field_patho   s     r!   c                     || _         dS )a  Sets the field_path of this V1ObjectReference.

        If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.  # noqa: E501

        :param field_path: The field_path of this V1ObjectReference.  # noqa: E501
        :type field_path: str
        Nr'   )r   r
   s     r   r
   zV1ObjectReference.field_pathz   s     &r!   c                     | j         S )a/  Gets the kind of this V1ObjectReference.  # noqa: E501

        Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds  # noqa: E501

        :return: The kind of this V1ObjectReference.  # noqa: E501
        :rtype: str
        r   r$   s    r   r   zV1ObjectReference.kind        zr!   c                     || _         dS )a)  Sets the kind of this V1ObjectReference.

        Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds  # noqa: E501

        :param kind: The kind of this V1ObjectReference.  # noqa: E501
        :type kind: str
        Nr*   )r   r   s     r   r   zV1ObjectReference.kind        


r!   c                     | j         S )a  Gets the name of this V1ObjectReference.  # noqa: E501

        Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names  # noqa: E501

        :return: The name of this V1ObjectReference.  # noqa: E501
        :rtype: str
        r   r$   s    r   r   zV1ObjectReference.name   r+   r!   c                     || _         dS )a  Sets the name of this V1ObjectReference.

        Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names  # noqa: E501

        :param name: The name of this V1ObjectReference.  # noqa: E501
        :type name: str
        Nr/   )r   r   s     r   r   zV1ObjectReference.name   r-   r!   c                     | j         S )a,  Gets the namespace of this V1ObjectReference.  # noqa: E501

        Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/  # noqa: E501

        :return: The namespace of this V1ObjectReference.  # noqa: E501
        :rtype: str
        r   r$   s    r   r   zV1ObjectReference.namespace   s     r!   c                     || _         dS )a0  Sets the namespace of this V1ObjectReference.

        Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/  # noqa: E501

        :param namespace: The namespace of this V1ObjectReference.  # noqa: E501
        :type namespace: str
        Nr2   )r   r   s     r   r   zV1ObjectReference.namespace   s     $r!   c                     | j         S )a  Gets the resource_version of this V1ObjectReference.  # noqa: E501

        Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency  # noqa: E501

        :return: The resource_version of this V1ObjectReference.  # noqa: E501
        :rtype: str
        r   r$   s    r   r   z"V1ObjectReference.resource_version   s     %%r!   c                     || _         dS )a  Sets the resource_version of this V1ObjectReference.

        Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency  # noqa: E501

        :param resource_version: The resource_version of this V1ObjectReference.  # noqa: E501
        :type resource_version: str
        Nr5   )r   r   s     r   r   z"V1ObjectReference.resource_version   s     "2r!   c                     | j         S )a  Gets the uid of this V1ObjectReference.  # noqa: E501

        UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids  # noqa: E501

        :return: The uid of this V1ObjectReference.  # noqa: E501
        :rtype: str
        r   r$   s    r   r   zV1ObjectReference.uid   s     yr!   c                     || _         dS )a  Sets the uid of this V1ObjectReference.

        UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids  # noqa: E501

        :param uid: The uid of this V1ObjectReference.  # noqa: E501
        :type uid: str
        Nr8   )r   r   s     r   r   zV1ObjectReference.uid   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)xr?   	serializes     r   convertz*V1ObjectReference.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r!   c                      |           S )N )rA   rC   s    r   <lambda>z+V1ObjectReference.to_dict.<locals>.<lambda>  s    ggajj r!   c                 6    | d          | d                   fS )Nr   r=   rE   )itemrC   s    r   rF   z+V1ObjectReference.to_dict.<locals>.<lambda>  s    $q'7747+;+;!< r!   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r   rB   resultattr_valuerC   s    `    @r   r<   zV1ObjectReference.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V1ObjectReference.to_str  s    ~dllnn---r!   c                 *    |                                  S )zFor `print` and `pprint`)r[   r$   s    r   __repr__zV1ObjectReference.__repr__  s    {{}}r!   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrO   r   r<   r   others     r   __eq__zV1ObjectReference.__eq__!  s5    %!233 	5||~~00r!   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr_   r`   s     r   __ne__zV1ObjectReference.__ne__(  s5    %!233 	4||~~00r!   )NNNNNNNN)F)__name__
__module____qualname____doc__rK   rM   r    propertyr	   setterr
   r   r   r   r   r   r<   r[   r]   rb   rd   rE   r!   r   r   r      s^         ! M $! - M   < ! ! X! 	( 	( 	(     X  	& 	& 	&   X 
[	 	 [	   X 
[	 	 [	   X 	$ 	$ 	$ & & X& 	2 	2 	2   X 	Z	 	 Z	   @. . .  1 1 11 1 1 1 1r!   r   )rh   inspectr   ImportErrorr   rY   rerI   'kubernetes_asyncio.client.configurationr   objectr   rE   r!   r   <module>rp      s    5&&&&&&& 5 5 5444444445  				 



 A A A A A AU1 U1 U1 U1 U1 U1 U1 U1 U1 U1s    