
    3i$                     B    S r SSKrSSKrSSKrSSKJr   " S S\5      rg)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.34
Generated by: https://openapi-generator.tech
    N)Configurationc                   f   \ 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)V1RuleWithOperations   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
z	list[str]str)
api_groupsapi_versions
operations	resourcesscope	apiGroupsapiVersionsr
   r   r   Nc                     Uc
  [        5       nX`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        gg)z1V1RuleWithOperations - a model defined in OpenAPIN)r   local_vars_configuration_api_groups_api_versions_operations
_resources_scopediscriminatorr   r	   r
   r   r   )selfr   r	   r
   r   r   r   s          j/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1_rule_with_operations.py__init__V1RuleWithOperations.__init__3   s    #+'4$(@%!!!(O# ,!(O &NJ     c                     U R                   $ )a0  Gets the api_groups of this V1RuleWithOperations.  # noqa: E501

APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.  # noqa: E501

:return: The api_groups of this V1RuleWithOperations.  # noqa: E501
:rtype: list[str]
r   r   s    r   r   V1RuleWithOperations.api_groupsK        r   c                     Xl         g)a+  Sets the api_groups of this V1RuleWithOperations.

APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.  # noqa: E501

:param api_groups: The api_groups of this V1RuleWithOperations.  # noqa: E501
:type: list[str]
Nr   )r   r   s     r   r   r   V   
     &r   c                     U R                   $ )a:  Gets the api_versions of this V1RuleWithOperations.  # noqa: E501

APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.  # noqa: E501

:return: The api_versions of this V1RuleWithOperations.  # noqa: E501
:rtype: list[str]
r   r   s    r   r	   !V1RuleWithOperations.api_versionsb   s     !!!r   c                     Xl         g)a7  Sets the api_versions of this V1RuleWithOperations.

APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.  # noqa: E501

:param api_versions: The api_versions of this V1RuleWithOperations.  # noqa: E501
:type: list[str]
Nr$   )r   r	   s     r   r	   r%   m   s
     *r   c                     U R                   $ )a  Gets the operations of this V1RuleWithOperations.  # noqa: E501

Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.  # noqa: E501

:return: The operations of this V1RuleWithOperations.  # noqa: E501
:rtype: list[str]
r   r   s    r   r
   V1RuleWithOperations.operationsy   r    r   c                     Xl         g)a  Sets the operations of this V1RuleWithOperations.

Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.  # noqa: E501

:param operations: The operations of this V1RuleWithOperations.  # noqa: E501
:type: list[str]
Nr(   )r   r
   s     r   r
   r)      r"   r   c                     U R                   $ )a  Gets the resources of this V1RuleWithOperations.  # noqa: E501

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.  # noqa: E501

:return: The resources of this V1RuleWithOperations.  # noqa: E501
:rtype: list[str]
r   r   s    r   r   V1RuleWithOperations.resources   s     r   c                     Xl         g)a  Sets the resources of this V1RuleWithOperations.

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.  # noqa: E501

:param resources: The resources of this V1RuleWithOperations.  # noqa: E501
:type: list[str]
Nr,   )r   r   s     r   r   r-      s	     $r   c                     U R                   $ )a"  Gets the scope of this V1RuleWithOperations.  # noqa: E501

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 "*".  # noqa: E501

:return: The scope of this V1RuleWithOperations.  # noqa: E501
:rtype: str
r   r   s    r   r   V1RuleWithOperations.scope   s     {{r   c                     Xl         g)a  Sets the scope of this V1RuleWithOperations.

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 "*".  # noqa: E501

:param scope: The scope of this V1RuleWithOperations.  # noqa: E501
:type: str
Nr0   )r   r   s     r   r   r1      s	     r   c                    0 n[         R                  " 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 dictc                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrr5   )xs    r   <lambda>.V1RuleWithOperations.to_dict.<locals>.<lambda>   s    WQ	-B-BaiikIIr   r5   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r5   r   r6   )items    r   r9   r:      s9    tAw	22 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr7   r5   dictitems)r   resultattr_values        r   r5   V1RuleWithOperations.to_dict   s    }}T%7%78GDD'E%&&#CI%   	**$}}E4((#C=KKM%    %t! 9$ r   c                 J    [         R                  " U R                  5       5      $ )z.Returns the string representation of the model)pprintpformatr5   r   s    r   to_strV1RuleWithOperations.to_str   s    ~~dlln--r   c                 "    U R                  5       $ )zFor `print` and `pprint`)rO   r   s    r   __repr__V1RuleWithOperations.__repr__   s    {{}r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFrB   r   r5   r   others     r   __eq__V1RuleWithOperations.__eq__   s*    %!566||~00r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :g  $ )z*Returns true if both objects are not equalTrU   rV   s     r   __ne__V1RuleWithOperations.__ne__   s*    %!566||~00r   )r   r   r   r   r   r   r	   r   r   r
   r   r   )NNNNNN)__name__
__module____qualname____firstlineno____doc__r@   attribute_mapr   propertyr   setterr	   r
   r   r   r5   rO   rR   rX   r[   __static_attributes__ r   r   r   r      s>    "#! M "%" M0     	& 	& " " 	* 	*     	& 	&   	$ 	$   \\	 	0.11r   r   )ra   rM   rer>   kubernetes.client.configurationr   objectr   rf   r   r   <module>rj      s&     	 
 9U16 U1r   