
    3iG                     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.r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 rS rS rS rS rSrg)V1QueuingConfiguration   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
int)	hand_sizequeue_length_limitqueueshandSizequeueLengthLimitr
   Nc                     Uc
  [        5       nX@l        SU l        SU l        SU l        SU l        Ub  Xl        Ub  X l        Ub  X0l        gg)z3V1QueuingConfiguration - a model defined in OpenAPIN)	r   local_vars_configuration
_hand_size_queue_length_limit_queuesdiscriminatorr   r	   r
   )selfr   r	   r
   r   s        k/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1_queuing_configuration.py__init__V1QueuingConfiguration.__init__/   s[    #+'4$(@%#' ! &N)&8# K     c                     U R                   $ )a"  Gets the hand_size of this V1QueuingConfiguration.  # noqa: E501

`handSize` is a small positive number that configures the shuffle sharding of requests into queues.  When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here.  The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues).  See the user-facing documentation for more extensive guidance on setting this field.  This field has a default value of 8.  # noqa: E501

:return: The hand_size of this V1QueuingConfiguration.  # noqa: E501
:rtype: int
r   r   s    r   r    V1QueuingConfiguration.hand_sizeA   s     r   c                     Xl         g)a  Sets the hand_size of this V1QueuingConfiguration.

`handSize` is a small positive number that configures the shuffle sharding of requests into queues.  When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here.  The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues).  See the user-facing documentation for more extensive guidance on setting this field.  This field has a default value of 8.  # noqa: E501

:param hand_size: The hand_size of this V1QueuingConfiguration.  # noqa: E501
:type: int
Nr   )r   r   s     r   r   r   L   s	     $r   c                     U R                   $ )a  Gets the queue_length_limit of this V1QueuingConfiguration.  # noqa: E501

`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected.  This value must be positive.  If not specified, it will be defaulted to 50.  # noqa: E501

:return: The queue_length_limit of this V1QueuingConfiguration.  # noqa: E501
:rtype: int
r   r   s    r   r	   )V1QueuingConfiguration.queue_length_limitX   s     '''r   c                     Xl         g)a  Sets the queue_length_limit of this V1QueuingConfiguration.

`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected.  This value must be positive.  If not specified, it will be defaulted to 50.  # noqa: E501

:param queue_length_limit: The queue_length_limit of this V1QueuingConfiguration.  # noqa: E501
:type: int
Nr   )r   r	   s     r   r	   r   c   s
     $6 r   c                     U R                   $ )a  Gets the queues of this V1QueuingConfiguration.  # noqa: E501

`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive.  Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant.  This field has a default value of 64.  # noqa: E501

:return: The queues of this V1QueuingConfiguration.  # noqa: E501
:rtype: int
r   r   s    r   r
   V1QueuingConfiguration.queueso   s     ||r   c                     Xl         g)a  Sets the queues of this V1QueuingConfiguration.

`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive.  Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant.  This field has a default value of 64.  # noqa: E501

:param queues: The queues of this V1QueuingConfiguration.  # noqa: E501
:type: int
Nr"   )r   r
   s     r   r
   r#   z   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hasattrr'   )xs    r   <lambda>0V1QueuingConfiguration.to_dict.<locals>.<lambda>   s    WQ	-B-BaiikIIr   r'   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r'   r   r(   )items    r   r+   r,      s9    tAw	22 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr)   r'   dictitems)r   resultattr_values        r   r'   V1QueuingConfiguration.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pformatr'   r   s    r   to_strV1QueuingConfiguration.to_str   s    ~~dlln--r   c                 "    U R                  5       $ )zFor `print` and `pprint`)rA   r   s    r   __repr__V1QueuingConfiguration.__repr__   s    {{}r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFr4   r   r'   r   others     r   __eq__V1QueuingConfiguration.__eq__   s*    %!788||~00r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :g  $ )z*Returns true if both objects are not equalTrG   rH   s     r   __ne__V1QueuingConfiguration.__ne__   s*    %!788||~00r   )r   r   r   r   r   r   r	   r
   )NNNN)__name__
__module____qualname____firstlineno____doc__r2   attribute_mapr   propertyr   setterr	   r
   r'   rA   rD   rJ   rM   __static_attributes__ r   r   r   r      s     #M  0M!$   	$ 	$ ( ( 	6 	6   ]]	 	0.11r   r   )rS   r?   rer0   kubernetes.client.configurationr   objectr   rX   r   r   <module>r\      s&     	 
 9]1V ]1r   