Ë
    eQêj C  ã                  ó  — 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! 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)ÚV1alpha3WorkloadReference)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       úu/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/kubernetes/client/models/v1alpha3_pod_group_spec.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_valuer1   H   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/   r0   Úto_openapi_dictr   s        r$   r3   r3   U   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 ed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 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<    ed ed!d"«      d!¬«      Zd#e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*œ	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ÚV1alpha3PodGroupSpeca>  
    PodGroupSpec defines the desired state of a PodGroup.

    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]ÚparentCompositePodGroupNameÚparent_composite_pod_group_namea'  parentCompositePodGroupName contains the name of the parent composite pod group within the same namespace as this pod group. If it's nil, then this pod group is a root of a workload's hierarchy. This field is used only when the CompositePodGroup feature gate is enabled. This field is immutable.)r9   r:   r;   ÚdescriptionzOptional[StrictStr]ÚpreemptionPolicyÚpreemption_policya¹  preemptionPolicy is the Policy for preempting pods/podgroups with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. When Priority Admission Controller is enabled, it populates this field from PriorityClassName, and defaults to PreemptLowerPriority if value is unset in PriorityClass. This field is immutable. This field is available only when the PodGroupPreemptionPolicy feature gate is enabled.al  priority is the value of priority of this pod group. Various system components use this field to find the priority of the pod group. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. This field is immutable.)r9   r>   zOptional[StrictInt]ÚpriorityÚpriorityClassNameÚpriority_class_nameaÙ  priorityClassName defines the priority that should be considered when scheduling this pod group. Controllers are expected to fill this field by copying it from a PodGroupTemplate. Otherwise, it is validated and resolved similarly to the PriorityClassName on PodGroupTemplate (i.e. if no priority class is specified, admission control can set this to the global default priority class if it exists. Otherwise, the pod group's priority will be zero). 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)r:   r;   r   ÚworkloadRefÚworkload_refz#Optional[V1alpha3WorkloadReference]r   ÚstrÚintz#List[V1alpha3PodGroupResourceClaim]r   r   )	r8   r=   r@   rA   rC   rE   rG   rI   rK   zClassVar[Dict[str, str]]Úopenapi_typesÚattribute_map©	r7   r<   r?   rA   rB   rD   rF   rH   rJ   zClassVar[List[str]]Ú!_V1alpha3PodGroupSpec__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 «       d|vrd|v r|d   |d<   |j                  dd «       d|vrd|v r|d   |d<   |j                  dd «       |S )Nr7   r8   r<   r=   r?   r@   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   )r+   Ú_Mappingr-   Úpop)ÚclsÚobjÚremove_hidden_storage_namess      r$   Ú__preprocess_input_namesz-V1alpha3PodGroupSpec.__preprocess_input_names‘   sž  € ô ˜#œxÔ(ØˆJÜ�3‹iˆØ 3Ñ&Ð+<ÀÑ+CØ$'Ð(9Ñ$:ˆCÐ Ñ!Ø�‰Ð! 4Ô(Ø(°Ñ3Ð8YÐ]`Ñ8`Ø14Ð5VÑ1WˆCÐ-Ñ.Ø�‰Ð1°4Ô8Ø 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Ô*Ø Ñ#¨¸#Ñ(=Ø!$ ^Ñ!4ˆC�ÑØ�‰� Ô%Øˆ
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V1alpha3PodGroupSpec.to_str½   s   € ä�~‰~˜dŸl™l›nÓ-Ð-r&   c                ó"   — | j                  «       S )zFor print and pprint)re   rc   s    r$   Ú__repr__zV1alpha3PodGroupSpec.__repr__Á   s   € à�{‰{‹}Ðr&   c                óf   — t        |t        «      sy| j                  «       |j                  «       k(  S )z&Returns true if both objects are equalF)r+   r6   r   ©rd   Úothers     r$   Ú__eq__zV1alpha3PodGroupSpec.__eq__Å   s'   € ä˜%Ô!5Ô6Øà�|‰|‹~ §¡£Ñ0Ð0r&   c                ó0   — t        |t        «      sy| |k(   S )z*Returns true if both objects are not equalT)r+   r6   ri   s     r$   Ú__ne__zV1alpha3PodGroupSpec.__ne__Ì   s   € ä˜%Ô!5Ô6Øà˜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   )rd   r4   s     r$   Úto_jsonzV1alpha3PodGroupSpec.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 V1alpha3PodGroupSpec from a JSON string)Ú	from_dictro   Úloads)rU   Újson_strs     r$   Ú	from_jsonzV1alpha3PodGroupSpec.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«      |«      |rdndt        t        | dd«      |«      i	S )z<Return all declared model fields using public or wire names.r7   r8   Nr<   r=   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   )r1   r   )rd   r(   s     r$   r   zV1alpha3PodGroupSpec.to_dictà   s™  € ñ "+ÑÐ0AÔDTÔU\Ð]aÐctÐvzÓU{ð  ~Gó  EHÙ.7Ñ*Ð=^ÔaqÔryÐz~ð  Abð  dhó  sið  któ  buÙ#,ÑÐ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Ù'‰]¨^Ô>NÌwÐW[Ð]kÐmqÓOrÐt}Ó>~ð

ð 
	
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<   | 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_noner7   NrD   rF   rH   rJ   )	ÚsetÚ
model_dumpr8   r3   rE   ÚappendrG   rI   rK   )rd   Úexcluded_fieldsÚ_dictÚ_itemsÚ_item_resource_claimss        r$   Ú%__openapi_generator_modern_projectionz:V1alpha3PodGroupSpec.__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Ð$Ñ%à×ÒÜ#4°T×5FÑ5FÓ#Gˆ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|j                  d«      �t        j                  |d   «      nddœ	«      }|S c c}w )z6Create an instance of V1alpha3PodGroupSpec from a dictNT)rW   r7   r<   r?   rA   rB   rD   rF   rH   rJ   rP   )r+   r-   Úmodel_validateÚ_castr   rL   r   Ú-_V1alpha3PodGroupSpec__preprocess_input_namesÚgetr   rs   r   r   r   r   )rU   rV   Ú_itemÚ_objs       r$   rs   zV1alpha3PodGroupSpec.from_dict   s¾  € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*äÜ””c�‰NØ×(Ñ(ØØ,0ð )ó ó
ˆð ×!Ñ!ØY\×Y`ÑY`ÐaqÓYrÐY~Ô4×>Ñ>¸sÐCSÑ?TÔUð  EIØ+.¯7©7Ð3PÓ+QØ #§¡Ð(:Ó ;ØŸ™ 
Ó+Ø!$§¡Ð)<Ó!=Ø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ØVY×V]ÑV]Ð^kÓVlÐVxÔ4×>Ñ>¸sÀ=Ñ?QÔRð  Cñ
#
ó 
ˆð ˆùò rs   Ã F)T)rV   r   rW   ÚboolÚreturnr   )rŒ   rL   )rj   ÚobjectrŒ   r‹   )ru   rL   rŒ   úOptional[Self])F)r(   r‹   rŒ   úDict[str, Any])rŒ   r�   )rV   zOptional[Dict[str, Any]]rŒ   rŽ   )"Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r8   Ú__annotations__r=   r@   rA   rC   rE   rG   rI   rK   rN   rO   rQ   Úclassmethodr‡   r   Úmodel_configre   rg   rk   rm   rq   rv   r   Ú:_V1alpha3PodGroupSpec__openapi_generator_modern_projectionÚsetattrr    rs   rZ   r&   r$   r6   r6   e   s  … ññ 9>ÀdÑ]iÐjzð  }Nó  ^Oð  euô  9v€OÐ5ó  vÙ;@ÈÑ`lð  nKð  Mnó  aoð  Ebð  pYô  <ZÐ#Ð%8ó  ZÙ-2¸4ÑR^Ð_qð  tGó  SHð  ^pð  ~y	ô  .z	ÐÐ*ó  z	Ù$)°$ð  Esô  %t€HÐ!ó  tÙ/4¸TÑT`Ðatð  wLó  UMð  cvð  D_
ô  0`
ÐÐ,ó  `
Ù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Ù8=ÀdÑ]iÐjwð  zHó  ^Ið  _lô  9m€LÐ5ó  mà3Ø+0Ø"ØØ$Ø@Ø"IØ?Ø3ñ
/€MÐ+ó 
ð ,Ø+HØ/ØØ2Ø+Ø"9Ø/Ø%ñ
/€MÐ+ó 
ò )]€LÐ%ó  ]àð -1ð àð ð &*ð ð 
ò	 ó ð ñD ØØØ ØØô€Ló.óó1ó#ó>ð ò3ó ð3ô
ó$ñL ØØ"Ø-ôñ
 Ø-Ø"Øôð
 	.àòó ñr&   r6   )r!   r   rŒ   r   )r!   r   r(   r‹   rŒ   r   )-r“   Ú
__future__r   ra   Úrero   Úcollections.abcr   rS   Ú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   Ú4kubernetes.client.models.v1alpha3_workload_referencer   r   Útyping_extensionsr   Úpydantic_corer   r    r%   r)   r1   r3   r6   rZ   r&   r$   ú<module>r¥      si   ðñ	õ #Û Û 	Û å /ß U× Uß E× EÝ TÝ dÝ tÝ jÝ Zß  Ý "Ý ,ð :Ð óó6ó
-óô W˜9õ Wr&   