Ë
    eQêj~9  ã                  ó
  — 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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Ú	StrictStr)ÚAnyÚClassVarÚDictÚListÚOptionalÚcast)ÚV1beta1DisruptionMode)ÚV1beta1PodGroupResourceClaim)Ú$V1beta1PodGroupSchedulingConstraints)ÚV1beta1PodGroupSchedulingPolicy)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       úx/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/kubernetes/client/models/v1beta1_pod_group_template.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_valuer0   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#   r2   r2   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            	      óx  — e Zd ZU dZ ed edd«      d¬«      Zded<    e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 edd«      dd¬«      Zded<    ed edd«      d¬«      Zded<    e edd«      d¬ «      Zd!ed<   d"d#d#d$d#d%d&d!d'œZd(ed)<   dd
ddddddd'œZd(ed*<   g d+¢Zd,ed-<   e	 d<	 	 	 	 	 d=d/„«       Z ed.d.d.d0d1¬2«      Zd>d3„Zd>d4„Zd?d5„Zd?d6„Zd>d7„Zed@d8„«       ZdAdBd9„ZdCd:„Z eeee«        eeee«       [edDd;„«       Z y)EÚV1beta1PodGroupTemplatea[  
    PodGroupTemplate represents a template for a set of pods with a scheduling policy.

    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.
    NÚdisruptionModeÚdisruption_mode)ÚdefaultÚvalidation_aliasÚserialization_aliaszOptional[V1beta1DisruptionMode]zzname is a unique identifier for the PodGroupTemplate within the Workload. It must be a DNS label. This field is immutable.)Údescriptionr
   ÚnameÚpreemptionPolicyÚpreemption_policyzæpreemptionPolicy is the Policy for preempting pods/podgroups with lower priority. One of Never, PreemptLowerPriority. This field is immutable. This field is available only when the PodGroupPreemptionPolicy feature gate is enabled.)r8   r9   r:   r;   zOptional[StrictStr]zãpriority is the value of priority of pod groups created from this template. Various system components use this field to find the priority of the pod group. The higher the value, the higher the priority. This field is immutable.)r8   r;   zOptional[StrictInt]ÚpriorityÚpriorityClassNameÚpriority_class_namez“priorityClassName indicates the priority that should be considered when scheduling a pod group created from this template. This field is immutable.ÚresourceClaimsÚresource_claimsaÈ  resourceClaims defines which ResourceClaims may be shared among Pods in the group. Pods consume the devices allocated to a PodGroup's claim by defining a claim in its own Spec.ResourceClaims that matches the PodGroup's claim exactly. The claim must have the same name and refer to the same ResourceClaim or ResourceClaimTemplate.  This is a beta-level field and requires that the DRAWorkloadResourceClaims feature gate is enabled.  This field is immutable.z,Optional[List[V1beta1PodGroupResourceClaim]]ÚschedulingConstraintsÚscheduling_constraintsz.Optional[V1beta1PodGroupSchedulingConstraints]ÚschedulingPolicyÚscheduling_policy)r9   r:   r   r   ÚstrÚintz"List[V1beta1PodGroupResourceClaim]r   )r7   r<   r>   r?   rA   rC   rE   rG   zClassVar[Dict[str, str]]Úopenapi_typesÚattribute_map©r6   r<   r=   r?   r@   rB   rD   rF   zClassVar[List[str]]Ú$_V1beta1PodGroupTemplate__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 «       d|vrd|v r|d   |d<   |j                  dd «       |S )Nr6   r7   r=   r>   r@   rA   rB   rC   rD   rE   rF   rG   )r*   Ú_Mappingr,   Úpop)ÚclsÚobjÚremove_hidden_storage_namess      r#   Ú__preprocess_input_namesz0V1beta1PodGroupTemplate.__preprocess_input_names�   sA  € ô ˜#œxÔ(ØˆJÜ�3‹iˆØ 3Ñ&Ð+<ÀÑ+CØ$'Ð(9Ñ$:ˆCÐ Ñ!Ø�‰Ð! 4Ô(Ø SÑ(Ð-@ÀCÑ-GØ&)Ð*=Ñ&>ˆCÐ"Ñ#Ø�‰Ð# TÔ*Ø cÑ)Ð.CÀsÑ.JØ'*Ð+@Ñ'AˆCÐ#Ñ$Ø�‰Ð% tÔ,Ø 3Ñ&Ð+<ÀÑ+CØ$'Ð(9Ñ$:ˆCÐ Ñ!Ø�‰Ð! 4Ô(Ø"¨#Ñ-Ð2JÈcÑ2QØ+.Ð/GÑ+HˆCÐ'Ñ(Ø�‰Ð(¨$Ô/Ø 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V1beta1PodGroupTemplate.to_str³   s   € ä�~‰~˜dŸl™l›nÓ-Ð-r%   c                ó"   — | j                  «       S )zFor print and pprint)ra   r_   s    r#   Ú__repr__z V1beta1PodGroupTemplate.__repr__·   s   € à�{‰{‹}Ðr%   c                óf   — t        |t        «      sy| j                  «       |j                  «       k(  S )z&Returns true if both objects are equalF)r*   r5   r   ©r`   Úothers     r#   Ú__eq__zV1beta1PodGroupTemplate.__eq__»   s'   € ä˜%Ô!8Ô9Øà�|‰|‹~ §¡£Ñ0Ð0r%   c                ó0   — t        |t        «      sy| |k(   S )z*Returns true if both objects are not equalT)r*   r5   re   s     r#   Ú__ne__zV1beta1PodGroupTemplate.__ne__Â   s   € ä˜%Ô!8Ô9Øà˜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   )r`   r3   s     r#   Úto_jsonzV1beta1PodGroupTemplate.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 V1beta1PodGroupTemplate from a JSON string)Ú	from_dictrk   Úloads)rQ   Újson_strs     r#   Ú	from_jsonz!V1beta1PodGroupTemplate.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«      |«      |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.r6   r7   Nr<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   )r0   r   )r`   r'   s     r#   r   zV1beta1PodGroupTemplate.to_dictÖ   sb  € ñ "+ÑÐ0AÔDTÔU\Ð]aÐctÐvzÓU{ð  ~Gó  EHÙ ‰V fÔ/?ÄÈÈfÐVZÓ@[Ð]fÓ/gÙ#,ÑÐ2EÔHXÔY`ÐaeÐgzð  }Aó  ZBð  DMó  INÙ$‰Z¨*Ô7GÌÐPTÐV`ÐbfÓHgÐirÓ7sÙ$-Ñ Ð3HÔK[Ô\cÐdhÐjð  BFó  ]Gð  IRó  LSÙ!*ÑÐ0AÔDTÔU\Ð]aÐctÐvzÓU{ð  ~Gó  EHÙ(1Ñ$Ð7OÔRbÔcjÐkoð  rJð  LPó  dQð  S\ó  S]Ù#,ÑÐ2EÔHXÔY`ÐaeÐgzð  }Aó  ZBð  DMó  INð	
ð 		
r%   c                ó   — t        g «      }| j                  d|d¬«      }| j                  rt        | j                  «      |d<   g }| j                  r4| j                  D ]   }|j                  |�t        |«      nd«       Œ" ||d<   | j                  rt        | j                  «      |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_noner6   NrB   rD   rF   )ÚsetÚ
model_dumpr7   r2   rC   ÚappendrE   rG   )r`   Úexcluded_fieldsÚ_dictÚ_itemsÚ_item_resource_claimss        r#   Ú%__openapi_generator_modern_projectionz=V1beta1PodGroupTemplate.__openapi_generator_modern_projectionã   sâ   € ô %(ð )
ó %ˆð —‘ØØ#Øð  ó 
ˆð ×ÒÜ&7¸×8LÑ8LÓ&MˆEÐ"Ñ#àˆØ×ÒØ)-×)=Ñ)=ò wÐ%Ø—‘ÐJ_ÐJkÔ/Ð0EÔFÐquÕvðwà&,ˆEÐ"Ñ#à×&Ò&Ü->¸t×?ZÑ?ZÓ-[ˆEÐ)Ñ*à×!Ò!Ü(9¸$×:PÑ:PÓ(QˆEÐ$Ñ%Øˆr%   c                óÄ  — |€yt        |t        «      s| j                  |«      S t        t        t
        t        f   | j                  |d¬«      «      }| j                  |j                  d«      �t        j                  |d   «      nd|j                  d«      |j                  d«      |j                  d«      |j                  d«      |j                  d	«      �&|d	   D �cg c]  }t        j                  |«      ‘Œ c}nd|j                  d
«      �t        j                  |d
   «      nd|j                  d«      �t        j                  |d   «      nddœ«      }|S c c}w )z9Create an instance of V1beta1PodGroupTemplate from a dictNT)rS   r6   r<   r=   r?   r@   rB   rD   rF   rL   )r*   r,   Úmodel_validateÚ_castr   rH   r   Ú0_V1beta1PodGroupTemplate__preprocess_input_namesÚgetr   ro   r   r   r   )rQ   rR   Ú_itemÚ_objs       r#   ro   z!V1beta1PodGroupTemplate.from_dict  s�  € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*äÜ””c�‰NØ×(Ñ(ØØ,0ð )ó ó
ˆð ×!Ñ!ØX[×X_ÑX_Ð`pÓXqÐX}Ô3×=Ñ=¸cÐBRÑ>SÔTð  DHØ—G‘G˜F“OØ #§¡Ð(:Ó ;ØŸ™ 
Ó+Ø!$§¡Ð)<Ó!=Øtw×t{Ñt{ð  }Mó  uNð  uZÐZ]Ð^nÑZoÖpÐQVÔ;×EÑEÀeÕLÓpð  `dØux×u|Ñu|ð  ~Uó  vVð  vbÔ%I×%SÑ%SÐTWÐXoÑTpÔ%qð  hlØfi×fmÑfmð  oAó  gBð  gNÔ ?× IÑ IÈ#ÐN`ÑJaÔ bð  TXñ	#
ó 	ˆð ˆùò	 qs   Ã E)T)rR   r   rS   ÚboolÚreturnr   )rˆ   rH   )rf   Úobjectrˆ   r‡   )rq   rH   rˆ   úOptional[Self])F)r'   r‡   rˆ   úDict[str, Any])rˆ   r‹   )rR   zOptional[Dict[str, Any]]rˆ   rŠ   )!Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r7   Ú__annotations__r<   r>   r?   rA   rC   rE   rG   rJ   rK   rM   Úclassmethodrƒ   r   Úmodel_configra   rc   rg   ri   rm   rr   r   Ú=_V1beta1PodGroupTemplate__openapi_generator_modern_projectionÚsetattrr   ro   rV   r%   r#   r5   r5   d   s¬  … ññ 8=ÀTÑ\hÐiyð  |Mó  ]Nð  dtô  8u€OÐ4ó  uÙð  )eô  f€Dˆ)ó  fÙ-2¸4ÑR^Ð_qð  tGó  SHð  ^pð  ~fô  .gÐÐ*ó  gÙ$)°$ð  Ejô  %k€HÐ!ó  kÙ/4¸TÑT`Ðatð  wLó  UMð  cvð  DYô  0ZÐÐ,ó  ZÙDIÐRVÑiuð  wGð  IZó  j[ð  qAð  OY
ô  EZ
€OÐAó  Z
ÙMRÐ[_Ñr~ð  @Wð  Yqó  srð  H_ô  N`ÐÐJó  `Ù9>ÑP\Ð]oð  rEó  QFð  \nô  :oÐÐ6ó  oà2ØØ"ØØ$Ø?Ø"HØ>ñ	/€MÐ+ó 	ð ,ØØ/ØØ2Ø+Ø"9Ø/ñ	/€MÐ+ó 	ò )w€LÐ%ó  wàð -1ðàðð &*ðð 
ò	ó ðñ8 ØØØ ØØô€Ló.óó1ó#ó>ð ò3ó ð3ô
ó!ñF ØØ"Ø-ôñ
 Ø-Ø"Øôð
 	.àòó ñr%   r5   )r    r   rˆ   r   )r    r   r'   r‡   rˆ   r   )+r�   Ú
__future__r   r]   Úrerk   Úcollections.abcr   rO   Úpydanticr   r   r   r   r	   r
   Útypingr   r   r   r   r   r   r‚   Ú0kubernetes.client.models.v1beta1_disruption_moder   Ú9kubernetes.client.models.v1beta1_pod_group_resource_claimr   ÚAkubernetes.client.models.v1beta1_pod_group_scheduling_constraintsr   Ú<kubernetes.client.models.v1beta1_pod_group_scheduling_policyr   r   Útyping_extensionsr   Úpydantic_corer   r   r$   r(   r0   r2   r5   rV   r%   r#   ú<module>r       sf   ðñ	õ #Û Û 	Û å /ß U× Uß E× EÝ RÝ bÝ rÝ hß  Ý "Ý ,ð :Ð óó6ó
-óô I˜iõ Ir%   