
    BvhG(                     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.33
    Generated by: https://openapi-generator.tech
    N)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 Zd Zd Zd Zd Zy)!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	                    |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        yy)z.V1ObjectReference - a model defined in OpenAPIN)r   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	            V/RAG/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_object_reference.py__init__zV1ObjectReference.__init__7   s    #+'4$(@% 

!%	!"*D!(DODIDI &DN'$4D!?DH     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_versionU   s        r   c                     || _         y)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: str
        Nr    )r   r   s     r   r   zV1ObjectReference.api_version`   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_pathl   s     r   c                     || _         y)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: str
        Nr$   )r   r   s     r   r   zV1ObjectReference.field_pathw   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        zzr   c                     || _         y)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: 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                     || _         y)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: 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                     || _         y)a&  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: str
        Nr/   )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                     || _         y)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: str
        Nr2   )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     yyr   c                     || _         y)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: str
        Nr5   )r   r   s     r   r   zV1ObjectReference.uid   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hasattrr9   )xs    r   <lambda>z+V1ObjectReference.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   r9   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r9   r   r:   )items    r   r=   z+V1ObjectReference.to_dict.<locals>.<lambda>  s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr;   r9   dictitems)r   resultattr_values        r   r9   zV1ObjectReference.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pformatr9   r!   s    r   to_strzV1ObjectReference.to_str  s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rQ   r!   s    r   __repr__zV1ObjectReference.__repr__  s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFrE   r   r9   r   others     r   __eq__zV1ObjectReference.__eq__  s'    %!23||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrU   rV   s     r   __ne__zV1ObjectReference.__ne__  s'    %!23||~00r   )NNNNNNNN)__name__
__module____qualname____doc__rC   attribute_mapr   propertyr   setterr   r	   r
   r   r   r   r9   rQ   rS   rX   rZ    r   r   r   r      s    !M $! -M< ! ! 	( 	(     	& 	&   
[[	 	   
[[	 	   	$ 	$ & & 	2 	2   	ZZ	 	0.11r   r   )r^   rO   rerA   kubernetes.client.configurationr   objectr   rb   r   r   <module>rf      s&     	 
 9M1 M1r   