
    W                     >    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.r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 rS rS rS rS rSrg)!V1OwnerReference   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strbool)api_versionblock_owner_deletion
controllerkindnameuid
apiVersionblockOwnerDeletionr   r   r   r   Nc                     SU l         SU l        SU l        SU l        SU l        SU l        SU l        Xl        Ub  X l        Ub  X0l	        X@l
        XPl        X`l        g)z/
V1OwnerReference - a model defined in Swagger
N)_api_version_block_owner_deletion_controller_kind_name_uiddiscriminatorr
   r   r   r   r   r   )selfr
   r   r   r   r   r   s          >lib/third_party/kubernetes/client/models/v1_owner_reference.py__init__V1OwnerReference.__init__0   se     D!%DDDJDJDID"'"6"oIIH    c                     U R                   $ )z
Gets the api_version of this V1OwnerReference.
API version of the referent.

:return: The api_version of this V1OwnerReference.
:rtype: str
)r   r   s    r   r
   V1OwnerReference.api_versionL   s     r   c                 ,    Uc  [        S5      eXl        g)z
Sets the api_version of this V1OwnerReference.
API version of the referent.

:param api_version: The api_version of this V1OwnerReference.
:type: str
Nz3Invalid value for `api_version`, must not be `None`)
ValueErrorr   )r   r
   s     r   r
   r!   W   s     LMM#r   c                     U R                   $ )a  
Gets the block_owner_deletion of this V1OwnerReference.
If true, AND if the owner has the "foregroundDeletion" finalizer, then
the owner cannot be deleted from the key-value store until this
reference is removed. Defaults to false. To set this field, a user needs
"delete" permission of the owner, otherwise 422 (Unprocessable Entity)
will be returned.

:return: The block_owner_deletion of this V1OwnerReference.
:rtype: bool
r   r    s    r   r   %V1OwnerReference.block_owner_deletione   s     %%%r   c                     Xl         g)a  
Sets the block_owner_deletion of this V1OwnerReference.
If true, AND if the owner has the "foregroundDeletion" finalizer, then
the owner cannot be deleted from the key-value store until this
reference is removed. Defaults to false. To set this field, a user needs
"delete" permission of the owner, otherwise 422 (Unprocessable Entity)
will be returned.

:param block_owner_deletion: The block_owner_deletion of this
V1OwnerReference.
:type: bool
Nr%   )r   r   s     r   r   r&   t   s
     "6r   c                     U R                   $ )z
Gets the controller of this V1OwnerReference.
If true, this reference points to the managing controller.

:return: The controller of this V1OwnerReference.
:rtype: bool
r   r    s    r   r   V1OwnerReference.controller   s     r   c                     Xl         g)z
Sets the controller of this V1OwnerReference.
If true, this reference points to the managing controller.

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

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

:param kind: The kind of this V1OwnerReference.
:type: str
Nz,Invalid value for `kind`, must not be `None`)r#   r   )r   r   s     r   r   r-           |EFFJr   c                     U R                   $ )z
Gets the name of this V1OwnerReference.
Name of the referent. More info:
http://kubernetes.io/docs/user-guide/identifiers#names

:return: The name of this V1OwnerReference.
:rtype: str
)r   r    s    r   r   V1OwnerReference.name   r.   r   c                 ,    Uc  [        S5      eXl        g)z
Sets the name of this V1OwnerReference.
Name of the referent. More info:
http://kubernetes.io/docs/user-guide/identifiers#names

:param name: The name of this V1OwnerReference.
:type: str
Nz,Invalid value for `name`, must not be `None`)r#   r   )r   r   s     r   r   r2      r0   r   c                     U R                   $ )z
Gets the uid of this V1OwnerReference.
UID of the referent. More info:
http://kubernetes.io/docs/user-guide/identifiers#uids

:return: The uid of this V1OwnerReference.
:rtype: str
)r   r    s    r   r   V1OwnerReference.uid   s     99r   c                 ,    Uc  [        S5      eXl        g)z
Sets the uid of this V1OwnerReference.
UID of the referent. More info:
http://kubernetes.io/docs/user-guide/identifiers#uids

:param uid: The uid of this V1OwnerReference.
:type: str
Nz+Invalid value for `uid`, must not be `None`)r#   r   )r   r   s     r   r   r5      s     {DEE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hasattrr9   )xs    r   <lambda>*V1OwnerReference.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r9   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r9   r   r:   )items    r   r=   r>      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr;   r9   dictitems)r   resultattr_values        r   r9   V1OwnerReference.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   r9   r    s    r   to_strV1OwnerReference.to_str  s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rO   r    s    r   __repr__V1OwnerReference.__repr__
  s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rD   r   __dict__r   others     r   __eq__V1OwnerReference.__eq__  s(     e-..==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rV   s     r   __ne__V1OwnerReference.__ne__  s     r   )r   r   r   r   r   r   r
   r   r   r   r   r   r   )NNNNNN)__name__
__module____qualname____firstlineno____doc__rB   attribute_mapr   propertyr
   setterr   r   r   r   r   r9   rO   rR   rX   r\   __static_attributes__r[   r   r   r   r      s    $- "2 -  $(8   $ $ & & 6 6    	" 	" 	 	 ;;  	 	 ;;  	 	 :: .#+r   r   )rb   pprintr   sixr   reobjectr   r[   r   r   <module>rk      s#   	   	Kv Kr   