
    l$                     >    S r SSKJr  SSKJr  SSKr " S S\5      rg)z
Kubernetes

No description provided (generated by Swagger Codegen
https://github.com/swagger-api/swagger-codegen)

OpenAPI spec version: v1.14.4

Generated by: https://github.com/swagger-api/swagger-codegen.git
    )pformat)	iteritemsNc                      \ rS rSrSr SSSSSSSS.rSSSSS	S
SS.r       S"S jr\S 5       r	\	R                  S 5       r	\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       rS rS rS rS rS  rS!rg)#V1ObjectReference   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
str)api_version
field_pathkindname	namespaceresource_versionuid
apiVersion	fieldPathr   r   r   resourceVersionr   Nc                     SU l         SU l        SU l        SU l        SU l        SU l        SU l        SU l        Ub  Xl        Ub  X l	        Ub  X0l
        Ub  X@l        Ub  XPl        Ub  X`l        Ub  Xpl        gg)z0
V1ObjectReference - a model defined in Swagger
N)_api_version_field_path_kind_name
_namespace_resource_version_uiddiscriminatorr	   r
   r   r   r   r   r   )selfr	   r
   r   r   r   r   r   s           ?lib/third_party/kubernetes/client/models/v1_object_reference.py__init__V1ObjectReference.__init__2   s     DDDJDJDO!DDID$"oii n#.
h     c                     U R                   $ )z
Gets the api_version of this V1ObjectReference.
API version of the referent.

:return: The api_version of this V1ObjectReference.
:rtype: str
r   r   s    r   r	   V1ObjectReference.api_versionV   s     r    c                     Xl         g)z
Sets the api_version of this V1ObjectReference.
API version of the referent.

:param api_version: The api_version of this V1ObjectReference.
:type: str
Nr"   )r   r	   s     r   r	   r$   a   s
     $r    c                     U R                   $ )a  
Gets 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.

:return: The field_path of this V1ObjectReference.
:rtype: str
r   r#   s    r   r
   V1ObjectReference.field_pathm   s    " r    c                     Xl         g)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.

:param field_path: The field_path of this V1ObjectReference.
:type: str
Nr'   )r   r
   s     r   r
   r(      s
    $ "r    c                     U R                   $ )z
Gets the kind of this V1ObjectReference.
Kind of the referent. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

:return: The kind of this V1ObjectReference.
:rtype: str
r   r#   s    r   r   V1ObjectReference.kind        ::r    c                     Xl         g)z
Sets the kind of this V1ObjectReference.
Kind of the referent. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

:param kind: The kind of this V1ObjectReference.
:type: str
Nr+   )r   r   s     r   r   r,      	     Jr    c                     U R                   $ )z
Gets the name of this V1ObjectReference.
Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

:return: The name of this V1ObjectReference.
:rtype: str
r   r#   s    r   r   V1ObjectReference.name   r-   r    c                     Xl         g)z
Sets the name of this V1ObjectReference.
Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

:param name: The name of this V1ObjectReference.
:type: str
Nr1   )r   r   s     r   r   r2      r/   r    c                     U R                   $ )z
Gets the namespace of this V1ObjectReference.
Namespace of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

:return: The namespace of this V1ObjectReference.
:rtype: str
r   r#   s    r   r   V1ObjectReference.namespace   s     ??r    c                     Xl         g)z
Sets the namespace of this V1ObjectReference.
Namespace of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

:param namespace: The namespace of this V1ObjectReference.
:type: str
Nr5   )r   r   s     r   r   r6      s	      Or    c                     U R                   $ )a0  
Gets 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/api-conventions.md#concurrency-control-and-consistency

:return: The resource_version of this V1ObjectReference.
:rtype: str
r   r#   s    r   r   "V1ObjectReference.resource_version   s     !!!r    c                     Xl         g)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/api-conventions.md#concurrency-control-and-consistency

:param resource_version: The resource_version of this V1ObjectReference.
:type: str
Nr9   )r   r   s     r   r   r:      s
     .r    c                     U R                   $ )z
Gets the uid of this V1ObjectReference.
UID of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids

:return: The uid of this V1ObjectReference.
:rtype: str
r   r#   s    r   r   V1ObjectReference.uid   s     99r    c                     Xl         g)z
Sets the uid of this V1ObjectReference.
UID of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids

:param uid: The uid of this V1ObjectReference.
:type: str
Nr=   )r   r   s     r   r   r>     s	     Ir    c                    0 n[        U R                  5       H  u  p#[        X5      n[        U[        5      (       a  [	        [        S U5      5      X'   M?  [        US5      (       a  UR                  5       X'   Md  [        U[        5      (       a(  [        [        S UR                  5       5      5      X'   M  XAU'   M     U$ )z(
Returns the model properties as a dict
c                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrrB   )xs    r   <lambda>+V1ObjectReference.to_dict.<locals>.<lambda>  s    I)>)>!))+EAEr    rB   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rB   r   rC   )items    r   rF   rG   #  s9    47I.. #1gtAw'89 9489r    )
r   swagger_typesgetattr
isinstancelistmaprD   rB   dictitems)r   resultattr_values        r   rB   V1ObjectReference.to_dict  s     FT//0d!e	E4	 	 EuMO5)$$}}eT""9:?++-IJ
 t 1 Mr    c                 4    [        U R                  5       5      $ )z0
Returns the string representation of the model
)r   rB   r#   s    r   to_strV1ObjectReference.to_str*  s     4<<>""r    c                 "    U R                  5       $ )z
For `print` and `pprint`
)rX   r#   s    r   __repr__V1ObjectReference.__repr__0  s     ;;=r    c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rM   r   __dict__r   others     r   __eq__V1ObjectReference.__eq__6  s(     e.//==ENN**r    c                     X:X  + $ )z,
Returns true if both objects are not equal
 r_   s     r   __ne__V1ObjectReference.__ne__?  s     r    )r   r   r   r   r   r   r   r	   r   r
   r   r   r   r   r   )NNNNNNN)__name__
__module____qualname____firstlineno____doc__rK   attribute_mapr   propertyr	   setterr
   r   r   r   r   r   rB   rX   r[   ra   re   __static_attributes__rd   r    r   r   r      s    - "+-   $"H   	$ 	$  $ " "& 	 	 ;;
 
 	 	 ;;
 
 	 	 
  
  
" 
" . . 	 	 ::
 
.#+r    r   )rk   pprintr   sixr   reobjectr   rd   r    r   <module>rt      s#   	   	q qr    