
    s                     >    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                   p   \ rS rSrSr SSSSSS.r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 rS rS rS rS rSrg) V1alpha1RoleBinding   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strV1ObjectMetaV1alpha1RoleRefzlist[V1alpha1Subject])api_versionkindmetadatarole_refsubjects
apiVersionr   r   roleRefr   Nc                     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        X@l	        Ub  XPl
        gg)z2
V1alpha1RoleBinding - a model defined in Swagger
N)_api_version_kind	_metadata	_role_ref	_subjectsdiscriminatorr   r   r   r   r   )selfr   r   r   r   r   s         Alib/third_party/kubernetes/client/models/v1alpha1_role_binding.py__init__V1alpha1RoleBinding.__init__.   sg     DDJDNDNDND$imMm     c                     U R                   $ )a  
Gets the api_version of this V1alpha1RoleBinding.
APIVersion defines the versioned schema of this representation of an
object. Servers should convert recognized schemas to the latest internal
value, and may reject unrecognized values. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

:return: The api_version of this V1alpha1RoleBinding.
:rtype: str
r   r   s    r   r   V1alpha1RoleBinding.api_versionI   s     r   c                     Xl         g)a  
Sets the api_version of this V1alpha1RoleBinding.
APIVersion defines the versioned schema of this representation of an
object. Servers should convert recognized schemas to the latest internal
value, and may reject unrecognized values. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

:param api_version: The api_version of this V1alpha1RoleBinding.
:type: str
Nr   )r   r   s     r   r   r!   W   s
     $r   c                     U R                   $ )az  
Gets the kind of this V1alpha1RoleBinding.
Kind is a string value representing the REST resource this object
represents. Servers may infer this from the endpoint the client submits
requests to. Cannot be updated. In CamelCase. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

:return: The kind of this V1alpha1RoleBinding.
:rtype: str
r   r    s    r   r   V1alpha1RoleBinding.kindf   s     ::r   c                     Xl         g)a}  
Sets the kind of this V1alpha1RoleBinding.
Kind is a string value representing the REST resource this object
represents. Servers may infer this from the endpoint the client submits
requests to. Cannot be updated. In CamelCase. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

:param kind: The kind of this V1alpha1RoleBinding.
:type: str
Nr$   )r   r   s     r   r   r%   t   s	     Jr   c                     U R                   $ )z
Gets the metadata of this V1alpha1RoleBinding.
Standard object's metadata.

:return: The metadata of this V1alpha1RoleBinding.
:rtype: V1ObjectMeta
r   r    s    r   r   V1alpha1RoleBinding.metadata        >>r   c                     Xl         g)z
Sets the metadata of this V1alpha1RoleBinding.
Standard object's metadata.

:param metadata: The metadata of this V1alpha1RoleBinding.
:type: V1ObjectMeta
Nr(   )r   r   s     r   r   r)      	     Nr   c                     U R                   $ )a$  
Gets the role_ref of this V1alpha1RoleBinding.
RoleRef can reference a Role in the current namespace or a ClusterRole
in the global namespace. If the RoleRef cannot be resolved, the
Authorizer must return an error.

:return: The role_ref of this V1alpha1RoleBinding.
:rtype: V1alpha1RoleRef
)r   r    s    r   r   V1alpha1RoleBinding.role_ref   s     >>r   c                 ,    Uc  [        S5      eXl        g)a+  
Sets the role_ref of this V1alpha1RoleBinding.
RoleRef can reference a Role in the current namespace or a ClusterRole
in the global namespace. If the RoleRef cannot be resolved, the
Authorizer must return an error.

:param role_ref: The role_ref of this V1alpha1RoleBinding.
:type: V1alpha1RoleRef
Nz0Invalid value for `role_ref`, must not be `None`)
ValueErrorr   )r   r   s     r   r   r.      s     IJJNr   c                     U R                   $ )z
Gets the subjects of this V1alpha1RoleBinding.
Subjects holds references to the objects the role applies to.

:return: The subjects of this V1alpha1RoleBinding.
:rtype: list[V1alpha1Subject]
r   r    s    r   r   V1alpha1RoleBinding.subjects   r*   r   c                     Xl         g)z
Sets the subjects of this V1alpha1RoleBinding.
Subjects holds references to the objects the role applies to.

:param subjects: The subjects of this V1alpha1RoleBinding.
:type: list[V1alpha1Subject]
Nr2   )r   r   s     r   r   r3      r,   r   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hasattrr7   )xs    r   <lambda>-V1alpha1RoleBinding.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r7   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r7   r   r8   )items    r   r;   r<      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr9   r7   dictitems)r   resultattr_values        r   r7   V1alpha1RoleBinding.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   r7   r    s    r   to_strV1alpha1RoleBinding.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rM   r    s    r   __repr__V1alpha1RoleBinding.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rB   r   __dict__r   others     r   __eq__V1alpha1RoleBinding.__eq__   s(     e011==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rT   s     r   __ne__V1alpha1RoleBinding.__ne__   s     r   )r   r   r   r   r   r   r   r   r   r   r   )NNNNN)__name__
__module____qualname____firstlineno____doc__r@   attribute_mapr   propertyr   setterr   r   r   r   r7   rM   rP   rV   rZ   __static_attributes__rY   r   r   r   r      sI     #)- "-  6   $ $   ;;    ??	 	 
 
 ??    ??	 	.#+r   r   )r`   pprintr   sixr   reobjectr   rY   r   r   <module>ri      s#   	   	l& lr   