
    !                     >    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)V1beta1RuleWithOperations   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
z	list[str]str)
api_groupsapi_versions
operations	resourcesscope	apiGroupsapiVersionsr   r   r   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        Ub  X@l	        Ub  XPl
        gg)z8
V1beta1RuleWithOperations - a model defined in Swagger
N)_api_groups_api_versions_operations
_resources_scopediscriminatorr	   r
   r   r   r   )selfr	   r
   r   r   r   s         Hlib/third_party/kubernetes/client/models/v1beta1_rule_with_operations.py__init__"V1beta1RuleWithOperations.__init__.   so     DDDDODKD"o&"o nj     c                     U R                   $ )a  
Gets the api_groups of this V1beta1RuleWithOperations.
APIGroups is the API groups the resources belong to. '*' is all groups.
If '*' is present, the length of the slice must be one. Required.

:return: The api_groups of this V1beta1RuleWithOperations.
:rtype: list[str]
r   r   s    r   r	   $V1beta1RuleWithOperations.api_groupsJ   s     r   c                     Xl         g)a  
Sets the api_groups of this V1beta1RuleWithOperations.
APIGroups is the API groups the resources belong to. '*' is all groups.
If '*' is present, the length of the slice must be one. Required.

:param api_groups: The api_groups of this V1beta1RuleWithOperations.
:type: list[str]
Nr   )r   r	   s     r   r	   r   V   s
     "r   c                     U R                   $ )a  
Gets the api_versions of this V1beta1RuleWithOperations.
APIVersions is the API versions the resources belong to. '*' is all
versions. If '*' is present, the length of the slice must be one.
Required.

:return: The api_versions of this V1beta1RuleWithOperations.
:rtype: list[str]
r   r   s    r   r
   &V1beta1RuleWithOperations.api_versionsc   s     r   c                     Xl         g)a%  
Sets the api_versions of this V1beta1RuleWithOperations.
APIVersions is the API versions the resources belong to. '*' is all
versions. If '*' is present, the length of the slice must be one.
Required.

:param api_versions: The api_versions of this V1beta1RuleWithOperations.
:type: list[str]
Nr"   )r   r
   s     r   r
   r#   p   s
     &r   c                     U R                   $ )a/  
Gets the operations of this V1beta1RuleWithOperations.
Operations is the operations the admission hook cares about - CREATE,
UPDATE, or * for all operations. If '*' is present, the length of the
slice must be one. Required.

:return: The operations of this V1beta1RuleWithOperations.
:rtype: list[str]
r   r   s    r   r   $V1beta1RuleWithOperations.operations~   s     r   c                     Xl         g)a8  
Sets the operations of this V1beta1RuleWithOperations.
Operations is the operations the admission hook cares about - CREATE,
UPDATE, or * for all operations. If '*' is present, the length of the
slice must be one. Required.

:param operations: The operations of this V1beta1RuleWithOperations.
:type: list[str]
Nr&   )r   r   s     r   r   r'      s
     "r   c                     U R                   $ )ao  
Gets the resources of this V1beta1RuleWithOperations.
Resources is a list of resources this rule applies to.  For example:
'pods' means pods. 'pods/log' means the log subresource of pods. '*'
means all resources, but not subresources. 'pods/*' means all
subresources of pods. '*/scale' means all scale subresources. '*/*'
means all resources and their subresources.  If wildcard is present, the
validation rule will ensure resources do not overlap with each other.
Depending on the enclosing object, subresources might not be allowed.
Required.

:return: The resources of this V1beta1RuleWithOperations.
:rtype: list[str]
r   r   s    r   r   #V1beta1RuleWithOperations.resources   s      ??r   c                     Xl         g)aw  
Sets the resources of this V1beta1RuleWithOperations.
Resources is a list of resources this rule applies to.  For example:
'pods' means pods. 'pods/log' means the log subresource of pods. '*'
means all resources, but not subresources. 'pods/*' means all
subresources of pods. '*/scale' means all scale subresources. '*/*'
means all resources and their subresources.  If wildcard is present, the
validation rule will ensure resources do not overlap with each other.
Depending on the enclosing object, subresources might not be allowed.
Required.

:param resources: The resources of this V1beta1RuleWithOperations.
:type: list[str]
Nr*   )r   r   s     r   r   r+      s	    "  Or   c                     U R                   $ )a  
Gets the scope of this V1beta1RuleWithOperations.
scope specifies the scope of this rule. Valid values are "Cluster",
"Namespaced", and "*" "Cluster" means that only cluster-scoped
resources will match this rule. Namespace API objects are
cluster-scoped. "Namespaced" means that only namespaced resources will
match this rule. "*" means that there are no scope restrictions.
Subresources match the scope of their parent resource. Default is "*".

:return: The scope of this V1beta1RuleWithOperations.
:rtype: str
r   r   s    r   r   V1beta1RuleWithOperations.scope   s     ;;r   c                     Xl         g)a  
Sets the scope of this V1beta1RuleWithOperations.
scope specifies the scope of this rule. Valid values are "Cluster",
"Namespaced", and "*" "Cluster" means that only cluster-scoped
resources will match this rule. Namespace API objects are
cluster-scoped. "Namespaced" means that only namespaced resources will
match this rule. "*" means that there are no scope restrictions.
Subresources match the scope of their parent resource. Default is "*".

:param scope: The scope of this V1beta1RuleWithOperations.
:type: str
Nr.   )r   r   s     r   r   r/      s	     Kr   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hasattrr3   )xs    r   <lambda>3V1beta1RuleWithOperations.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r3   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r3   r   r4   )items    r   r7   r8      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr5   r3   dictitems)r   resultattr_values        r   r3   !V1beta1RuleWithOperations.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   r3   r   s    r   to_str V1beta1RuleWithOperations.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rI   r   s    r   __repr__"V1beta1RuleWithOperations.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r>   r   __dict__r   others     r   __eq__ V1beta1RuleWithOperations.__eq__  s(     e677==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rP   s     r   __ne__ V1beta1RuleWithOperations.__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   r3   rI   rL   rR   rV   __static_attributes__rU   r   r   r   r      sO     !-  # -  8 	 	 
" 
" 
 
 & & 
 
 " "  "    $   	<<  .#+r   r   )r\   pprintr   sixr   reobjectr   rU   r   r   <module>re      s#   	   	} }r   