Ë
    eQêji?  ã                  óþ   — 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	 ddl
mZ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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)Údatetime)ÚAliasChoicesÚ	BaseModelÚ
ConfigDictÚFieldÚ	StrictIntÚ	StrictStr)ÚAnyÚClassVarÚDictÚListÚOptionalÚcast)ÚV1JobCondition)ÚV1UncountedTerminatedPods)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       úk/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/kubernetes/client/models/v1_job_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/   F   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   S   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 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<    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!¬#«      Zd$ed"<   d%d&d'd(d%d&d%d'd%d%d)d*œZd+ed,<   dddddddddd d!d*œZd+ed-<   g d.¢Zd/ed0<   e	 d?	 	 	 	 	 d@d2„«       Z ed1d1d1d3d4¬5«      ZdAd6„ZdAd7„ZdBd8„ZdBd9„ZdAd:„ZedCd;„«       ZdDdEd<„ZdFd=„Z  e!ee"e «        e!e e"e«       [ edGd>„«       Z#y)HÚV1JobStatusa9  
    JobStatus represents the current state of a Job.

    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.
    Nz„The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.)ÚdefaultÚdescriptionzOptional[StrictInt]ÚactiveÚcompletedIndexesÚcompleted_indexesa¹  completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".)r5   Úvalidation_aliasÚserialization_aliasr6   zOptional[StrictStr]ÚcompletionTimeÚcompletion_timeaq  Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.zOptional[datetime]a%  The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.  A job is considered finished when it is in a terminal condition, either "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions. Additionally, it cannot be in the "Complete" and "FailureTarget" conditions. The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.  More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/zOptional[List[V1JobCondition]]Ú
conditionszQThe number of pods which reached phase Failed. The value increases monotonically.ÚfailedÚfailedIndexesÚfailed_indexesa?  FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.zmThe number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).ÚreadyÚ	startTimeÚ
start_timea¦  Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.  Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.z±The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.Ú	succeededzdThe number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).ÚterminatingÚuncountedTerminatedPodsÚuncounted_terminated_pods)r5   r:   r;   z#Optional[V1UncountedTerminatedPods]ÚintÚstrr   zList[V1JobCondition]r   )r7   r9   r=   r>   r?   rA   rB   rD   rE   rF   rH   zClassVar[Dict[str, str]]Úopenapi_typesÚattribute_map©r7   r8   r<   r>   r?   r@   rB   rC   rE   rF   rG   zClassVar[List[str]]Ú_V1JobStatus__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 «       d|vrd|v r|d   |d<   |j                  dd «       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@   rA   rC   rD   rG   rH   )r)   Ú_Mappingr+   Úpop)ÚclsÚobjÚremove_hidden_storage_namess      r"   Ú__preprocess_input_namesz$V1JobStatus.__preprocess_input_names•   s  € ô ˜#œxÔ(ØˆJÜ�3‹iˆØ SÑ(Ð-@ÀCÑ-GØ&)Ð*=Ñ&>ˆCÐ"Ñ#Ø�‰Ð# TÔ*Ø 3Ñ&Ð+<ÀÑ+CØ$'Ð(9Ñ$:ˆCÐ Ñ!Ø�‰Ð! 4Ô(Ø #Ñ%Ð*:¸cÑ*AØ#&Ð'7Ñ#8ˆC�Ñ Ø�‰Ð  $Ô'Ø˜cÑ! l°cÑ&9Ø" <Ñ0ˆC�ÑØ�‰�˜dÔ#Ø$¨CÑ/Ð4OÐSVÑ4VØ-0Ð1LÑ-MˆCÐ)Ñ*Ø�‰Ð+¨TÔ2Øˆ
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V1JobStatus.to_str¸   s   € ä�~‰~˜dŸl™l›nÓ-Ð-r$   c                ó"   — | j                  «       S )zFor print and pprint)rb   r`   s    r"   Ú__repr__zV1JobStatus.__repr__¼   s   € à�{‰{‹}Ðr$   c                óf   — t        |t        «      sy| j                  «       |j                  «       k(  S )z&Returns true if both objects are equalF)r)   r4   r   ©ra   Úothers     r"   Ú__eq__zV1JobStatus.__eq__À   s&   € ä˜%¤Ô-Øà�|‰|‹~ §¡£Ñ0Ð0r$   c                ó0   — t        |t        «      sy| |k(   S )z*Returns true if both objects are not equalT)r)   r4   rf   s     r"   Ú__ne__zV1JobStatus.__ne__Ç   s   € ä˜%¤Ô-Øà˜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   )ra   r2   s     r"   Úto_jsonzV1JobStatus.to_jsonÏ   sG   € ä.¨tÓ4ˆØÐ&Ü—:‘:Ô0±ÀÓ1FÓGÓHÐHÜ�z‰zÔ,¨T¯\©\«^Ó<Ó=Ð=r$   c                óJ   — | j                  t        j                  |«      «      S )z4Create an instance of V1JobStatus from a JSON string)Ú	from_dictrl   Úloads)rR   Újson_strs     r"   Ú	from_jsonzV1JobStatus.from_jsonÖ   s   € ð �}‰}œTŸZ™Z¨Ó1Ó2Ð2r$   c                óX  — |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«      |«      |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«      |«      |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@   rA   rB   rC   rD   rE   rF   rG   rH   )r/   r   )ra   r&   s     r"   r   zV1JobStatus.to_dictÛ   s”  € ñ #‰X¨Ô3CÄGÈDÐRZÐ\`ÓDaÐclÓ3mÙ#,ÑÐ2EÔHXÔY`ÐaeÐgzð  }Aó  ZBð  DMó  INÙ!*ÑÐ0AÔDTÔU\Ð]aÐctÐvzÓU{ð  ~Gó  EHÙ&‰\¨LÔ;KÌGÐTXÐZfÐhlÓLmÐoxÓ;yÙ"‰X¨Ô3CÄGÈDÐRZÐ\`ÓDaÐclÓ3mÙ )‰_Ð/?ÔBRÔSZÐ[_ÐaqÐswÓSxð  {Dó  CEÙ!‰W wÔ1AÄ'È$ÐPWÐY]ÓB^Ð`iÓ1jÙ%‰[¨<Ô:JÌ7ÐSWÐYeÐgkÓKlÐnwÓ:xÙ%‰[¨;Ô9IÌ'ÐRVÐXcÐeiÓJjÐluÓ9vÙ'‰]¨]Ô=MÌgÐVZÐ\iÐkoÓNpÐr{Ó=|Ù*3Ñ&Ð9TÔWgÔhoÐptð  wRð  TXó  iYð  [dó  Xeð
ð 	
r$   c                ó  — t        g «      }| j                  d|d¬«      }g }| j                  r4| j                  D ]   }|j                  |�t	        |«      nd«       Œ" ||d<   | j
                  rt	        | j
                  «      |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_noneNr>   rG   )ÚsetÚ
model_dumpr>   Úappendr1   rH   )ra   Úexcluded_fieldsÚ_dictÚ_itemsÚ_item_conditionss        r"   Ú%__openapi_generator_modern_projectionz1V1JobStatus.__openapi_generator_modern_projectionë   sŸ   € ô %(ð )
ó %ˆð —‘ØØ#Øð  ó 
ˆð ˆØ�?Š?Ø$(§O¡Oò mÐ Ø—‘ÐEUÐEaÔ/Ð0@ÔAÐgkÕlðmà"(ˆE�,Ñà×)Ò)Ü/@À×A_ÑA_Ó/`ˆEÐ+Ñ,Øˆr$   c                ó¼  — |€yt        |t        «      s| j                  |«      S t        t        t
        t        f   | j                  |d¬«      «      }| j                  |j                  d«      |j                  d«      |j                  d«      |j                  d«      �&|d   D �cg c]  }t        j                  |«      ‘Œ c}nd|j                  d«      |j                  d	«      |j                  d
«      |j                  d«      |j                  d«      |j                  d«      |j                  d«      �t        j                  |d   «      nddœ«      }|S c c}w )z-Create an instance of V1JobStatus from a dictNT)rT   r7   r8   r<   r>   r?   r@   rB   rC   rE   rF   rG   rM   )r)   r+   Úmodel_validateÚ_castr   rJ   r   Ú$_V1JobStatus__preprocess_input_namesÚgetr   rp   r   )rR   rS   Ú_itemÚ_objs       r"   rp   zV1JobStatus.from_dict  sV  € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*äÜ””c�‰NØ×(Ñ(ØØ,0ð )ó ó
ˆð ×!Ñ!Ø—g‘g˜hÓ'Ø #§¡Ð(:Ó ;Ø!Ÿg™gÐ&6Ó7Ø^a×^eÑ^eÐfrÓ^sÐ^ÈÈLÑHYÖZ¸uœ>×3Ñ3°EÕ:ÓZð  FJØ—g‘g˜hÓ'Ø ŸW™W _Ó5Ø—W‘W˜WÓ%ØŸ™ Ó-ØŸ™ Ó-ØŸ7™7 =Ó1Ønq×nuÑnuð  wPó  oQð  o]Ô'@×'JÑ'JÈ3ÐOhÑKiÔ'jð  cgñ#
ó ˆð ˆùò [s   Â&E)T)rS   r   rT   ÚboolÚreturnr   )r‰   rJ   )rg   Úobjectr‰   rˆ   )rr   rJ   r‰   úOptional[Self])F)r&   rˆ   r‰   úDict[str, Any])r‰   rŒ   )rS   zOptional[Dict[str, Any]]r‰   r‹   )$Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   r7   Ú__annotations__r   r9   r=   r>   r?   rA   rB   rD   rE   rF   rH   rK   rL   rN   Úclassmethodr„   r   Úmodel_configrb   rd   rh   rj   rn   rs   r   Ú1_V1JobStatus__openapi_generator_modern_projectionÚsetattrr   rp   rW   r$   r"   r4   r4   c   sî  … ññ #(°ð  CIô  #J€FÐó  JÙ-2¸4ÑR^Ð_qð  tGó  SHð  ^pð  ~}	ô  .~	ÐÐ*ó  ~	Ù*/¸É|Ð\lÐnó  PAð  Wgð  uhô  +i€OÐ'ó  iÙ16¸tð  RQô  2R€JÐ.ó  RÙ"'°ð  CVô  #W€FÐó  WÙ*/¸É|Ð\kÐm}ÓO~ð  Udð  ruô  +v€NÐ'ó  vÙ!&¨tð  Bqô  "r€EÐó  rÙ%*°4É,ÐWbÐdpÓJqð  HSð  aI	ô  &J	€JÐ"ó  J	Ù%*°4ð  Fyô  &z€IÐ"ó  zÙ',°Tð  Hnô  (o€KÐ$ó  oÙEJÐSWÑjvð  xQð  Snó  koð  E^ô  F_ÐÐBó  _àØ"Ø%Ø,ØØØØ ØØØ%@ñ/€MÐ+ó ð Ø/Ø+Ø"ØØ)ØØ!Ø Ø$Ø%>ñ/€MÐ+ó ò )O€LÐ%ó  Oàð -1ðàðð &*ðð 
ò	ó ðñ2 ØØØ ØØô€Ló.óó1ó#ó>ð ò3ó ð3ô
ó ñ: ØØ"Ø-ôñ
 Ø-Ø"Øôð
 	.àòó ñr$   r4   )r   r   r‰   r   )r   r   r&   rˆ   r‰   r   )(r�   Ú
__future__r   r^   Úrerl   Úcollections.abcr   rP   r   Úpydanticr   r   r   r	   r
   r   Útypingr   r   r   r   r   r   rƒ   Ú)kubernetes.client.models.v1_job_conditionr   Ú5kubernetes.client.models.v1_uncounted_terminated_podsr   r   Útyping_extensionsr   Úpydantic_corer   r   r#   r'   r/   r1   r4   rW   r$   r"   ú<module>rŸ      sc   ðñ	õ #Û Û 	Û å /Ý ß U× Uß E× EÝ DÝ [ß  Ý "Ý ,ð :Ð óó6ó
-óô O�)õ Or$   