
    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                   .   \ rS rSrSr SSSSS.r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 rS rS rS rS rSrg)V1FlowSchemaSpec   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
V1FlowDistinguisherMethodint%V1PriorityLevelConfigurationReferencezlist[V1PolicyRulesWithSubjects])distinguisher_methodmatching_precedencepriority_level_configurationrulesdistinguisherMethodmatchingPrecedencepriorityLevelConfigurationr   Nc                     Uc
  [        5       nXPl        SU l        SU l        SU l        SU l        SU l        Ub  Xl        Ub  X l        X0l	        Ub  X@l
        gg)z-V1FlowSchemaSpec - a model defined in OpenAPIN)r   local_vars_configuration_distinguisher_method_matching_precedence_priority_level_configuration_rulesdiscriminatorr
   r   r   r   )selfr
   r   r   r   r   s         f/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1_flow_schema_spec.py__init__V1FlowSchemaSpec.__init__1   sk    #+'4$(@%%)"$(!-1*!+(<%*':$,H)J     c                     U R                   $ )zGets the distinguisher_method of this V1FlowSchemaSpec.  # noqa: E501


:return: The distinguisher_method of this V1FlowSchemaSpec.  # noqa: E501
:rtype: V1FlowDistinguisherMethod
r   r   s    r   r
   %V1FlowSchemaSpec.distinguisher_methodE   s     )))r   c                     Xl         g)zSets the distinguisher_method of this V1FlowSchemaSpec.


:param distinguisher_method: The distinguisher_method of this V1FlowSchemaSpec.  # noqa: E501
:type: V1FlowDistinguisherMethod
Nr   )r   r
   s     r   r
   r    O   s
     &:"r   c                     U R                   $ )a  Gets the matching_precedence of this V1FlowSchemaSpec.  # noqa: E501

`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence.  Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.  # noqa: E501

:return: The matching_precedence of this V1FlowSchemaSpec.  # noqa: E501
:rtype: int
r   r   s    r   r   $V1FlowSchemaSpec.matching_precedenceZ   s     (((r   c                     Xl         g)a  Sets the matching_precedence of this V1FlowSchemaSpec.

`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence.  Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.  # noqa: E501

:param matching_precedence: The matching_precedence of this V1FlowSchemaSpec.  # noqa: E501
:type: int
Nr#   )r   r   s     r   r   r$   e   s
     %8!r   c                     U R                   $ )zGets the priority_level_configuration of this V1FlowSchemaSpec.  # noqa: E501


:return: The priority_level_configuration of this V1FlowSchemaSpec.  # noqa: E501
:rtype: V1PriorityLevelConfigurationReference
)r   r   s    r   r   -V1FlowSchemaSpec.priority_level_configurationq   s     111r   c                 b    U R                   R                  (       a  Uc  [        S5      eXl        g)zSets the priority_level_configuration of this V1FlowSchemaSpec.


:param priority_level_configuration: The priority_level_configuration of this V1FlowSchemaSpec.  # noqa: E501
:type: V1PriorityLevelConfigurationReference
NzDInvalid value for `priority_level_configuration`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   r'   {   s+     ((??D`Dhcdd-I*r   c                     U R                   $ )a  Gets the rules of this V1FlowSchemaSpec.  # noqa: E501

`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.  # noqa: E501

:return: The rules of this V1FlowSchemaSpec.  # noqa: E501
:rtype: list[V1PolicyRulesWithSubjects]
r   r   s    r   r   V1FlowSchemaSpec.rules   s     {{r   c                     Xl         g)a  Sets the rules of this V1FlowSchemaSpec.

`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.  # noqa: E501

:param rules: The rules of this V1FlowSchemaSpec.  # noqa: E501
:type: list[V1PolicyRulesWithSubjects]
Nr,   )r   r   s     r   r   r-      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hasattrr1   )xs    r   <lambda>*V1FlowSchemaSpec.to_dict.<locals>.<lambda>   s    WQ	-B-BaiikIIr   r1   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r1   r   r2   )items    r   r5   r6      s9    tAw	22 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr3   r1   dictitems)r   resultattr_values        r   r1   V1FlowSchemaSpec.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pformatr1   r   s    r   to_strV1FlowSchemaSpec.to_str   s    ~~dlln--r   c                 "    U R                  5       $ )zFor `print` and `pprint`)rK   r   s    r   __repr__V1FlowSchemaSpec.__repr__   s    {{}r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFr>   r   r1   r   others     r   __eq__V1FlowSchemaSpec.__eq__   s*    %!122||~00r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :g  $ )z*Returns true if both objects are not equalTrQ   rR   s     r   __ne__V1FlowSchemaSpec.__ne__   s*    %!122||~00r   )
r   r   r   r   r   r
   r   r   r   r   )NNNNN)__name__
__module____qualname____firstlineno____doc__r<   attribute_mapr   propertyr
   setterr   r   r   r1   rK   rN   rT   rW   __static_attributes__ r   r   r   r      s    !<$(O2	M !63(D	M( * *   : !: ) ) 	8  	8 2 2 "((
J )
J   \\	 	0.11r   r   )r]   rI   rer:   kubernetes.client.configurationr   objectr   rb   r   r   <module>rf      s&     	 
 9v1v v1r   