Ë
    dQêj	8  ã                  ó  — d Z ddlmZ ddlZddlZddlZddlmZ ddl	m
Z
mZmZmZmZ ddlmZmZmZmZmZmZ ddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZmZ ddl m!Z! ddl"m#Z# dZ$dd„Z%dd„Z&dd„Z'dd„Z( G d„ de«      Z)y)a   
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: release-1.37
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
é    )ÚannotationsN)ÚMapping)ÚAliasChoicesÚ	BaseModelÚ
ConfigDictÚFieldÚ	StrictInt)ÚAnyÚClassVarÚDictÚListÚOptionalÚcast)ÚV1Condition)ÚV1alpha1Requester)ÚV1alpha1ResponderStatus)ÚV1alpha1TargetResponder)r   ÚSet)ÚSelf)Úto_jsonable_pythonÚ_openapi_generator_to_dictc                óâ   — t        | dd «      }t        t        | «      dd «      }t        |«      rt        |dd «      |ury t        |t        d «      }t        |«      rt        |t        d «      |ury |S )NÚto_dictÚ__func__)ÚgetattrÚtypeÚcallableÚ_OPENAPI_GENERATOR_TO_DICT)Úvaluer   Útype_to_dictÚopenapi_to_dicts       úz/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/kubernetes/aio/client/models/v1alpha1_eviction_status.pyÚ_get_openapi_to_dictr#   #   s‚   € ô �e˜Y¨Ó-€GÜœ4 ›;¨	°4Ó8€Lä�WÔÜ�7˜J¨Ó-°\ÑAàäØÔ0°$ó€Oô �_Ô%ÜØÜ&Øó
ð ñ	ð ØÐó    c                ó‚   — t        | dd «      }t        | «      �t        |«      r	 ||¬«      S t        |«      r |«       S | S )Nr   )Ú	serialize)r   r#   r   )r   r&   r   s      r"   Ú_to_legacy_itemr'   >   sB   € Ü�e˜Y¨Ó-€GÜ˜EÓ"Ð.´8¸GÔ3DÙ Ô+Ð+Ü�ÔÙ‹yÐØ€Lr$   c           	     ó   — t        | t        «      r| D �cg c]  }t        ||«      ‘Œ c}S t        | t        «      r.| j	                  «       D ��ci c]  \  }}|t        ||«      “Œ c}}S t        | |«      S c c}w c c}}w )N)Ú
isinstanceÚlistr'   ÚdictÚitems)r   r&   ÚitemÚkeys       r"   Ú_to_legacy_valuer/   G   s}   € ô �%œÔØ=BÖC°T”  iÕ0ÒCÐCÜ�%œÔð #Ÿ[™[›]÷
á��Tð ”  yÓ1Ñ1ó
ð 	
ô ˜5 )Ó,Ð,ùò Dùó
s   •A5ÁA:c                óP  — t        | t        «      r| D �cg c]  }t        |«      ‘Œ c}S t        | t        «      r-| j	                  «       D ��ci c]  \  }}|t        |«      “Œ c}}S t        | «      }|� || «      S t        | dd «      }t        |«      r |«       S | S c c}w c c}}w )Nr   )r)   r*   Ú_to_openapi_valuer+   r,   r#   r   r   )r   r-   r.   Úto_openapi_dictr   s        r"   r1   r1   T   s™   € Ü�%œÔØ49Ö:¨DÔ! $Õ'Ò:Ð:Ü�%œÔØ>C¿k¹k»m×L±°°d�Ô& tÓ,Ñ,ÓLÐLä*¨5Ó1€OØÐ"Ù˜uÓ%Ð%ä�e˜Y¨Ó-€GÜ�ÔÙ‹yÐØ€Lùò ;ùãLs   •BÁB"c                  óÔ  — e Zd ZU dZ edd¬«      Zded<    ed edd«      dd	¬
«      Zded<    edd¬«      Z	ded<    edd¬«      Z
ded<    ed edd«      dd¬
«      Zded<   ddddddœZded<   ddddddœZded<   g d¢Zd ed!<   e	 d0	 	 	 	 	 d1d#„«       Z ed"d"d"d$d%¬&«      Zd2d'„Zd2d(„Zd3d)„Zd3d*„Zd2d+„Zed4d,„«       Zd5d6d-„Zd7d.„Z eeee«        eeee«       [ed8d/„«       Zy)9ÚV1alpha1EvictionStatusaT  
    EvictionStatus represents the last observed status of the eviction request.

    Attributes:
      openapi_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    Na  conditions contain information about the eviction request.  Eviction specific conditions are: TargetEvicted or Failed (managed by evictionrequest-controller). - Failed means that the eviction request is no longer being processed   by any eviction responder. This can happen if the request is canceled or if no responder   managed to evict the target (e.g. terminate or delete a pod). - TargetEvicted means that the target has been evicted (e.g. a pod has been terminated or deleted).   The maximum length of the conditions list is 100.)ÚdefaultÚdescriptionzOptional[List[V1Condition]]Ú
conditionsÚobservedGenerationÚobserved_generationzüobservedGeneration is Eviction's .metadata.generation observed by the evictionrequest-controller. The observed generation value cannot be negative and can only be incremented. The minimum value is 1. This field is managed by evictionrequest-controller.)r5   Úvalidation_aliasÚserialization_aliasr6   zOptional[StrictInt]a6  requesters allow you to identify the entities, that requested the eviction of the target. If all the requesters withdraw their eviction intent, the eviction will be canceled.  The maximum length of the requesters list is 100. If this limit is exceeded, requesters with Withdrawn intent should be dropped first.z!Optional[List[V1alpha1Requester]]Ú
requestersaÊ  responders represents the eviction process status of each declared responder.  The responder list should be the same length and have the same .name fields as .status.targetResponders. Only responders with .name that have Active state in .targetResponders[].state should be updated and can be mutated. First initialization of the list is allowed.  Each ResponderStatus is initialized by evictionrequest-controller and then managed by the designated responder.z'Optional[List[V1alpha1ResponderStatus]]Ú
respondersÚtargetRespondersÚtarget_respondersa¤  targetResponders reference responders that should eventually respond to this eviction to help with the graceful eviction of a target. These responders are selected sequentially, according to their specified priority by setting the Active state to the TargetResponder .state field. The maximum number of active responders allowed is 1. Eventually each responder can end up in an Interrupted, Canceled or, Completed state. Responders should observe these states in order to navigate their lifecycle.  If the target is a pod, the field is populated from Pod's .spec.evictionResponders. Default responders may be added to the list according to the target.  Default responders: - imperative-eviction.k8s.io/evictor responder with a priority of 100 is added to the list if the   target is a pod. It will call the imperative Eviction API (pods/<name>/eviction subresource).   This call may not succeed due to PodDisruptionBudgets, which may block the pod termination.   It will update the responder message and try again with a backoff.  The maximum length of the responders list is 11. The length and keys of the list cannot change once set. This field is managed by evictionrequest-controller.z'Optional[List[V1alpha1TargetResponder]]zList[V1Condition]ÚintzList[V1alpha1Requester]zList[V1alpha1ResponderStatus]zList[V1alpha1TargetResponder])r7   r9   r<   r=   r?   zClassVar[Dict[str, str]]Úopenapi_typesÚattribute_map©r7   r8   r<   r=   r>   zClassVar[List[str]]Ú#_V1alpha1EvictionStatus__propertiesTc                óÈ   — t        |t        «      s|S t        |«      }d|vrd|v r|d   |d<   |j                  dd «       d|vrd|v r|d   |d<   |j                  dd «       |S )Nr8   r9   r>   r?   )r)   Ú_Mappingr+   Úpop)ÚclsÚobjÚremove_hidden_storage_namess      r"   Ú__preprocess_input_namesz/V1alpha1EvictionStatus.__preprocess_input_names„   s�   € ô ˜#œxÔ(ØˆJÜ�3‹iˆØ sÑ*Ð/DÈÑ/KØ(+Ð,AÑ(BˆCÐ$Ñ%Ø�‰Ð% tÔ,Ø SÑ(Ð-@ÀCÑ-GØ&)Ð*=Ñ&>ˆCÐ"Ñ#Ø�‰Ð# TÔ*Øˆ
r$   Úforbid© )Úvalidate_by_nameÚvalidate_by_aliasÚvalidate_assignmentÚextraÚprotected_namespacesc                óH   — t        j                  | j                  «       «      S )z.Returns the string representation of the model)ÚpprintÚpformatr   ©Úselfs    r"   Úto_strzV1alpha1EvictionStatus.to_strž   s   € ä�~‰~˜dŸl™l›nÓ-Ð-r$   c                ó"   — | j                  «       S )zFor print and pprint)rX   rV   s    r"   Ú__repr__zV1alpha1EvictionStatus.__repr__¢   s   € à�{‰{‹}Ðr$   c                óf   — t        |t        «      sy| j                  «       |j                  «       k(  S )z&Returns true if both objects are equalF)r)   r4   r   ©rW   Úothers     r"   Ú__eq__zV1alpha1EvictionStatus.__eq__¦   s'   € ä˜%Ô!7Ô8Øà�|‰|‹~ §¡£Ñ0Ð0r$   c                ó0   — t        |t        «      sy| |k(   S )z*Returns true if both objects are not equalT)r)   r4   r\   s     r"   Ú__ne__zV1alpha1EvictionStatus.__ne__­   s   € ä˜%Ô!7Ô8Øà˜E‘MÐ"Ð"r$   c                ó¼   — t        | «      }|�$t        j                  t         || «      «      «      S t        j                  t        | j	                  «       «      «      S )z8Returns the JSON representation of the model using alias)r#   ÚjsonÚdumpsr   r   )rW   r2   s     r"   Úto_jsonzV1alpha1EvictionStatus.to_jsonµ   sG   € ä.¨tÓ4ˆØÐ&Ü—:‘:Ô0±ÀÓ1FÓGÓHÐHÜ�z‰zÔ,¨T¯\©\«^Ó<Ó=Ð=r$   c                óJ   — | j                  t        j                  |«      «      S )z?Create an instance of V1alpha1EvictionStatus from a JSON string)Ú	from_dictrb   Úloads)rH   Újson_strs     r"   Ú	from_jsonz V1alpha1EvictionStatus.from_json¼   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r$   c                ó  — |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      |rdndt        t        | dd«      |«      iS )	z<Return all declared model fields using public or wire names.r7   Nr8   r9   r<   r=   r>   r?   )r/   r   )rW   r&   s     r"   r   zV1alpha1EvictionStatus.to_dictÁ   sÎ   € ñ '‰\¨LÔ;KÌGÐTXÐZfÐhlÓLmÐoxÓ;yÙ%.Ñ!Ð4IÔL\Ô]dÐeið  lAð  CGó  ^Hð  JSó  MTÙ&‰\¨LÔ;KÌGÐTXÐZfÐhlÓLmÐoxÓ;yÙ&‰\¨LÔ;KÌGÐTXÐZfÐhlÓLmÐoxÓ;yÙ#,ÑÐ2EÔHXÔY`ÐaeÐgzð  }Aó  ZBð  DMó  INð
ð 	
r$   c                óT  — t        g «      }| j                  d|d¬«      }g }| j                  r4| j                  D ]   }|j                  |�t	        |«      nd«       Œ" ||d<   g }| j
                  r4| j
                  D ]   }|j                  |�t	        |«      nd«       Œ" ||d<   g }| j                  r4| j                  D ]   }|j                  |�t	        |«      nd«       Œ" ||d<   g }| j                  r4| j                  D ]   }|j                  |�t	        |«      nd«       Œ" ||d<   |S )ac  Return the dictionary representation of the model using alias.

        This has the following differences from calling pydantic's
        `self.model_dump(by_alias=True)`:

        * `None` is only added to the output dict for nullable fields that
          were set at model initialization. Other fields with value `None`
          are ignored.
        T)Úby_aliasÚexcludeÚexclude_noneNr7   r<   r=   r>   )ÚsetÚ
model_dumpr7   Úappendr1   r<   r=   r?   )rW   Úexcluded_fieldsÚ_dictÚ_itemsÚ_item_conditionsÚ_item_requestersÚ_item_respondersÚ_item_target_responderss           r"   Ú%__openapi_generator_modern_projectionz<V1alpha1EvictionStatus.__openapi_generator_modern_projectionË   s]  € ô %(ð )
ó %ˆð —‘ØØ#Øð  ó 
ˆð ˆØ�?Š?Ø$(§O¡Oò mÐ Ø—‘ÐEUÐEaÔ/Ð0@ÔAÐgkÕlðmà"(ˆE�,ÑàˆØ�?Š?Ø$(§O¡Oò mÐ Ø—‘ÐEUÐEaÔ/Ð0@ÔAÐgkÕlðmà"(ˆE�,ÑàˆØ�?Š?Ø$(§O¡Oò mÐ Ø—‘ÐEUÐEaÔ/Ð0@ÔAÐgkÕlðmà"(ˆE�,ÑàˆØ×!Ò!Ø+/×+AÑ+Aò {Ð'Ø—‘ÐLcÐLoÔ/Ð0GÔHÐuyÕzð{à(.ˆEÐ$Ñ%Øˆr$   c                óÖ  — |€yt        |t        «      s| j                  |«      S t        t        t
        t        f   | j                  |d¬«      «      }| j                  |j                  d«      �&|d   D �cg c]  }t        j                  |«      ‘Œ c}nd|j                  d«      |j                  d«      �&|d   D �cg c]  }t        j                  |«      ‘Œ c}nd|j                  d«      �&|d   D �cg c]  }t        j                  |«      ‘Œ c}nd|j                  d«      �&|d   D �cg c]  }t        j                  |«      ‘Œ c}ndd	œ«      }|S c c}w c c}w c c}w c c}w )
z8Create an instance of V1alpha1EvictionStatus from a dictNT)rJ   r7   r8   r<   r=   r>   rC   )r)   r+   Úmodel_validateÚ_castr   Ústrr
   Ú/_V1alpha1EvictionStatus__preprocess_input_namesÚgetr   rf   r   r   r   )rH   rI   Ú_itemÚ_objs       r"   rf   z V1alpha1EvictionStatus.from_dict  s‚  € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*äÜ””c�‰NØ×(Ñ(ØØ,0ð )ó ó
ˆð ×!Ñ!Ø[^×[bÑ[bÐcoÓ[pÐ[|ÀSÈÑEVÖW¸Eœ;×0Ñ0°Õ7ÓWð  CGØ"%§'¡'Ð*>Ó"?Øad×ahÑahÐiuÓavð  bCÈ3È|ÑK\Ö]À%Ô,×6Ñ6°uÕ=Ó]ð  IMØgj×gnÑgnÐo{Óg|ð  hIÐQTÐUaÑQbÖcÈÔ2×<Ñ<¸UÕCÓcð  OSØsv×szÑszð  |Nó  tOð  t[ÐWZÐ[mÑWnÖ oÈeÔ!8×!BÑ!BÀ5Õ!IÓ oð  aeñ#
ó ˆð ˆùò Xùâ]ùÚcùÚ os   Á6EÂ>EÃ6E!Ä.E&)T)rI   r
   rJ   ÚboolÚreturnr
   )rƒ   r}   )r]   Úobjectrƒ   r‚   )rh   r}   rƒ   úOptional[Self])F)r&   r‚   rƒ   úDict[str, Any])rƒ   r†   )rI   zOptional[Dict[str, Any]]rƒ   r…   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r7   Ú__annotations__r   r9   r<   r=   r?   rA   rB   rD   Úclassmethodr~   r   Úmodel_configrX   rZ   r^   r`   rd   ri   r   Ú<_V1alpha1EvictionStatus__openapi_generator_modern_projectionÚsetattrr   rf   rM   r$   r"   r4   r4   d   sæ  … ññ /4¸Dð  Oh	ô  /i	€JÐ+ó  i	Ù/4¸TÑT`Ðauð  xMó  UNð  dxð  FDô  0EÐÐ,ó  EÙ49À$ð  UMô  5N€JÐ1ó  NÙ:?Èð  [gô  ;h€JÐ7ó  hÙAFÈtÑfrð  tFð  H[ó  g\ð  rDð  Rxô  ByÐÐ>ó  yà)Ø$Ø/Ø5Ø<ñ/€MÐ+ó ð #Ø3Ø"Ø"Ø/ñ/€MÐ+ó ò )}€LÐ%Ó|àð -1ðàðð &*ðð 
ò	ó ðñ  ØØØ ØØô€Ló.óó1ó#ó>ð ò3ó ð3ô
ó*ñX ØØ"Ø-ôñ
 Ø-Ø"Øôð
 	.àòó ñr$   r4   )r   r
   rƒ   r
   )r   r
   r&   r‚   rƒ   r
   )*rŠ   Ú
__future__r   rT   Úrerb   Úcollections.abcr   rF   Úpydanticr   r   r   r   r	   Útypingr
   r   r   r   r   r   r|   Ú)kubernetes.aio.client.models.v1_conditionr   Ú/kubernetes.aio.client.models.v1alpha1_requesterr   Ú6kubernetes.aio.client.models.v1alpha1_responder_statusr   Ú6kubernetes.aio.client.models.v1alpha1_target_responderr   r   Útyping_extensionsr   Úpydantic_corer   r   r#   r'   r/   r1   r4   rM   r$   r"   ú<module>r›      sf   ðñ	õ #Û Û 	Û å /ß JÕ Jß E× EÝ AÝ MÝ ZÝ Zß  Ý "Ý ,ð :Ð óó6ó
-óô w˜Yõ wr$   