Ë
    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)ÚV1alpha3DisruptionMode)ÚV1alpha3PodGroupResourceClaim)Ú%V1alpha3PodGroupSchedulingConstraints)Ú V1alpha3PodGroupSchedulingPolicy)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       úy/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/kubernetes/client/models/v1alpha3_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ÚV1alpha3PodGroupTemplatea[  
    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[V1alpha3DisruptionMode]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[V1alpha3PodGroupResourceClaim]]ÚschedulingConstraintsÚscheduling_constraintsz/Optional[V1alpha3PodGroupSchedulingConstraints]ÚschedulingPolicyÚscheduling_policy)r9   r:   r   r   ÚstrÚintz#List[V1alpha3PodGroupResourceClaim]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]]Ú%_V1alpha3PodGroupTemplate__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_namesz1V1alpha3PodGroupTemplate.__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V1alpha3PodGroupTemplate.to_str³   s   € ä�~‰~˜dŸl™l›nÓ-Ð-r%   c                ó"   — | j                  «       S )zFor print and pprint)ra   r_   s    r#   Ú__repr__z!V1alpha3PodGroupTemplate.__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V1alpha3PodGroupTemplate.__eq__»   s'   € ä˜%Ô!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V1alpha3PodGroupTemplate.__ne__Â   s   € ä˜%Ô!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 V1alpha3PodGroupTemplate.to_jsonÊ   sG   € ä.¨tÓ4ˆØÐ&Ü—:‘:Ô0±ÀÓ1FÓGÓHÐHÜ�z‰zÔ,¨T¯\©\«^Ó<Ó=Ð=r%   c                óJ   — | j                  t        j                  |«      «      S )zACreate an instance of V1alpha3PodGroupTemplate from a JSON string)Ú	from_dictrk   Úloads)rQ   Újson_strs     r#   Ú	from_jsonz"V1alpha3PodGroupTemplate.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 V1alpha3PodGroupTemplate.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>V1alpha3PodGroupTemplate.__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 )z:Create an instance of V1alpha3PodGroupTemplate from a dictNT)rS   r6   r<   r=   r?   r@   rB   rD   rF   rL   )r*   r,   Úmodel_validateÚ_castr   rH   r   Ú1_V1alpha3PodGroupTemplate__preprocess_input_namesÚgetr   ro   r   r   r   )rQ   rR   Ú_itemÚ_objs       r#   ro   z"V1alpha3PodGroupTemplate.from_dict  s�  € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*äÜ””c�‰NØ×(Ñ(ØØ,0ð )ó ó
ˆð ×!Ñ!ØY\×Y`ÑY`ÐaqÓYrÐY~Ô4×>Ñ>¸sÐCSÑ?TÔUð  EIØ—G‘G˜F“OØ #§¡Ð(:Ó ;ØŸ™ 
Ó+Ø!$§¡Ð)<Ó!=Øux×u|Ñu|ð  ~Nó  vOð  v[Ð[^Ð_oÑ[pÖqÐRWÔ<×FÑFÀuÕMÓqð  aeØvy×v}Ñv}ð  Vó  wWð  wcÔ%J×%TÑ%TÐUXÐYpÑUqÔ%rð  imØgj×gnÑgnð  pBó  hCð  hOÔ @× JÑ JÈ3ÐOaÑKbÔ cð  UYñ	#
ó 	ˆð ˆùò	 r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   Ú>_V1alpha3PodGroupTemplate__openapi_generator_modern_projectionÚsetattrr   ro   rV   r%   r#   r5   r5   d   s¬  … ññ 9>ÀdÑ]iÐjzð  }Nó  ^Oð  euô  9v€OÐ5ó  vÙð  )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ÙEJÐSWÑjvð  xHð  J[ó  k\ð  rBð  PZ
ô  F[
€OÐBó  [
ÙNSÐ\`Ñsð  AXð  Zró  tsð  I`ô  OaÐÐKó  aÙ:?ÑQ]Ð^pð  sFó  RGð  ]oô  ;pÐÐ7ó  pà3ØØ"ØØ$Ø@Ø"IØ?ñ	/€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‚   Ú1kubernetes.client.models.v1alpha3_disruption_moder   Ú:kubernetes.client.models.v1alpha3_pod_group_resource_claimr   ÚBkubernetes.client.models.v1alpha3_pod_group_scheduling_constraintsr   Ú=kubernetes.client.models.v1alpha3_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Ý TÝ dÝ tÝ jß  Ý "Ý ,ð :Ð óó6ó
-óô I˜yõ Ir%   