Ë
    dQêjtC  ã                  óò   — 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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)ÚV1alpha3PartitionTypeStatus)ÚV1alpha3ShareableSummaryStatus)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       úv/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/kubernetes/aio/client/models/v1alpha3_pool_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.   E   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!   r0   r0   R   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                  óJ  — e Zd ZU dZ ed edd«      dd¬«      Zded<    ed edd	«      dd
¬«      Zded	<    ed¬«      Z	ded<    e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 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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+d-¬«      Zded,<   d.d.d/d.d/d0d/d.d1d.d.d/d2œZd3ed4<   ddddddddd!d%d(d+d2œZd3ed5<   g d6¢Zd7ed8<   e	 dG	 	 	 	 	 dHd:„«       Z ed9d9d9d;d<¬=«      ZdId>„ZdId?„ZdJd@„ZdJdA„ZdIdB„ZedKdC„«       ZdLdMdD„Z dNdE„Z! e"e e#e!«        e"e!e#e «       [!edOdF„«       Z$y)PÚV1alpha3PoolStatusaK  
    PoolStatus contains status information for a single resource pool.

    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ÚallocatedDevicesÚallocated_deviceszŸAllocatedDevices is the number of devices currently allocated to claims. A value of 0 means no devices are allocated. May be unset when validationError is set.)ÚdefaultÚvalidation_aliasÚserialization_aliasÚdescriptionzOptional[StrictInt]ÚavailableDevicesÚavailable_deviceszæAvailableDevices is the number of devices available for allocation. This equals TotalDevices - AllocatedDevices - UnavailableDevices. A value of 0 means no devices are currently available. May be unset when validationError is set.z_Driver is the DRA driver name for this pool. Must be a DNS subdomain (e.g., "gpu.example.com").)r9   r
   Údrivera  Generation is the pool generation observed across all ResourceSlices in this pool. Only the latest generation is reported. During a generation rollout, if not all slices at the latest generation have been published, the pool is included with a validationError and device counts unset.r	   Ú
generationÚnodeNameÚ	node_namezŸNodeName is the node this pool is associated with. When omitted, the pool is not associated with a specific node. Must be a valid DNS subdomain name (RFC1123).zOptional[StrictStr]ÚpartitionSummaryÚpartition_summarya  PartitionSummary reports allocatability per (attribute, partition type) for a partitionable pool that publishes SharedCounters. Each entry names the grouping attribute it was resolved from: the PartitionTypeAttribute declared by a device's own slice, or for devices whose slice declares none, the default named in the request. A pool that mixes partitions declared under different attributes reports each independently. When no slice declares an attribute and the request names no default, the pool reports no partition summary.z+Optional[List[V1alpha3PartitionTypeStatus]]ÚpoolNameÚ	pool_namezgPoolName is the name of the pool. Must be a valid resource pool name (DNS subdomains separated by "/").)r7   r8   r9   ÚresourceSliceCountÚresource_slice_countztResourceSliceCount is the number of ResourceSlices that make up this pool. May be unset when validationError is set.ÚshareableSummaryÚshareable_summary)r6   r7   r8   z(Optional[V1alpha3ShareableSummaryStatus]ÚtotalDevicesÚtotal_devicesz TotalDevices is the total number of devices in the pool across all slices. A value of 0 means the pool has no devices. May be unset when validationError is set.ÚunavailableDevicesÚunavailable_deviceszàUnavailableDevices is the number of devices that are not available due to taints or other conditions, but are not allocated. A value of 0 means all unallocated devices are available. May be unset when validationError is set.ÚvalidationErrorÚvalidation_errorz±ValidationError is set when the pool's data could not be fully validated (e.g., incomplete slice publication). When set, device count fields and ResourceSliceCount may be unset.ÚintÚstrz!List[V1alpha3PartitionTypeStatus]r   )r5   r;   r<   r=   r?   rA   rC   rE   rG   rI   rK   rM   zClassVar[Dict[str, str]]Úopenapi_typesÚattribute_map©r4   r:   r<   r=   r>   r@   rB   rD   rF   rH   rJ   rL   zClassVar[List[str]]Ú_V1alpha3PoolStatus__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 «       d|vrd|v r|d   |d<   |j                  dd «       d|vrd|v r|d   |d<   |j                  dd «       |S )Nr4   r5   r:   r;   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   )r(   Ú_Mappingr*   Úpop)ÚclsÚobjÚremove_hidden_storage_namess      r!   Ú__preprocess_input_namesz+V1alpha3PoolStatus.__preprocess_input_names—   só  € ô ˜#œxÔ(ØˆJÜ�3‹iˆØ SÑ(Ð-@ÀCÑ-GØ&)Ð*=Ñ&>ˆCÐ"Ñ#Ø�‰Ð# TÔ*Ø SÑ(Ð-@ÀCÑ-GØ&)Ð*=Ñ&>ˆCÐ"Ñ#Ø�‰Ð# TÔ*Ø˜SÑ  [°CÑ%7Ø! +Ñ.ˆC�
‰OØ�‰�˜TÔ"Ø SÑ(Ð-@ÀCÑ-GØ&)Ð*=Ñ&>ˆCÐ"Ñ#Ø�‰Ð# TÔ*Ø˜SÑ  [°CÑ%7Ø! +Ñ.ˆC�
‰OØ�‰�˜TÔ"Ø sÑ*Ð/EÈÑ/LØ(+Ð,BÑ(CˆCÐ$Ñ%Ø�‰Ð&¨Ô-Ø SÑ(Ð-@ÀCÑ-GØ&)Ð*=Ñ&>ˆCÐ"Ñ#Ø�‰Ð# TÔ*Ø Ñ$¨¸CÑ)?Ø"% oÑ"6ˆC�ÑØ�‰� Ô&Ø sÑ*Ð/DÈÑ/KØ(+Ð,AÑ(BˆCÐ$Ñ%Ø�‰Ð% tÔ,Ø CÑ'Ð,>À#Ñ,EØ%(Ð);Ñ%<ˆCÐ!Ñ"Ø�‰Ð" DÔ)Øˆ
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V1alpha3PoolStatus.to_strÉ   s   € ä�~‰~˜dŸl™l›nÓ-Ð-r#   c                ó"   — | j                  «       S )zFor print and pprint)rg   re   s    r!   Ú__repr__zV1alpha3PoolStatus.__repr__Í   s   € à�{‰{‹}Ðr#   c                óf   — t        |t        «      sy| j                  «       |j                  «       k(  S )z&Returns true if both objects are equalF)r(   r3   r   ©rf   Úothers     r!   Ú__eq__zV1alpha3PoolStatus.__eq__Ñ   s'   € ä˜%Ô!3Ô4Øà�|‰|‹~ §¡£Ñ0Ð0r#   c                ó0   — t        |t        «      sy| |k(   S )z*Returns true if both objects are not equalT)r(   r3   rk   s     r!   Ú__ne__zV1alpha3PoolStatus.__ne__Ø   s   € ä˜%Ô!3Ô4Øà˜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   )rf   r1   s     r!   Úto_jsonzV1alpha3PoolStatus.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 V1alpha3PoolStatus from a JSON string)Ú	from_dictrq   Úloads)rW   Újson_strs     r!   Ú	from_jsonzV1alpha3PoolStatus.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«      |«      |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.r4   r5   Nr:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   )r.   r   )rf   r%   s     r!   r   zV1alpha3PoolStatus.to_dictì   s  € ñ $-ÑÐ2EÔHXÔY`ÐaeÐgzð  }Aó  ZBð  DMó  INÙ#,ÑÐ2EÔHXÔY`ÐaeÐgzð  }Aó  ZBð  DMó  INÙ"‰X¨Ô3CÄGÈDÐRZÐ\`ÓDaÐclÓ3mÙ&‰\¨LÔ;KÌGÐTXÐZfÐhlÓLmÐoxÓ;yÙ$‰Z¨+Ô8HÌÐQUÐWbÐdhÓIiÐktÓ8uÙ#,ÑÐ2EÔHXÔY`ÐaeÐgzð  }Aó  ZBð  DMó  INÙ$‰Z¨+Ô8HÌÐQUÐWbÐdhÓIiÐktÓ8uÙ%.Ñ!Ð4JÔM]Ô^eÐfjð  mCð  EIó  _Jð  LUó  NVÙ#,ÑÐ2EÔHXÔY`ÐaeÐgzð  }Aó  ZBð  DMó  INÙ(‰^¨oÔ@PÔQXÐY]Ð_nÐptÓQuð  xAó  ABÙ%.Ñ!Ð4IÔL\Ô]dÐeið  lAð  CGó  ^Hð  JSó  MTÙ"+ÑÐ1CÔFVÔW^Ð_cÐewÐy}ÓW~ð  AJó  GKð
ð 	
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@   rF   )ÚsetÚ
model_dumprA   Úappendr0   rG   )rf   Úexcluded_fieldsÚ_dictÚ_itemsÚ_item_partition_summarys        r!   Ú%__openapi_generator_modern_projectionz8V1alpha3PoolStatus.__openapi_generator_modern_projectioný   s¤   € ô %(ð )
ó %ˆð —‘ØØ#Øð  ó 
ˆð ˆØ×!Ò!Ø+/×+AÑ+Aò {Ð'Ø—‘ÐLcÐLoÔ/Ð0GÔHÐuyÕ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«      |j                  d«      |j                  d«      |j                  d«      |j                  d«      |j                  d	«      �&|d	   D �cg c]  }t        j                  |«      ‘Œ c}nd|j                  d
«      |j                  d«      |j                  d«      �t        j                  |d   «      nd|j                  d«      |j                  d«      |j                  d«      dœ«      }|S c c}w )z4Create an instance of V1alpha3PoolStatus from a dictNT)rY   r4   r:   r<   r=   r>   r@   rB   rD   rF   rH   rJ   rL   rR   )r(   r*   Úmodel_validateÚ_castr   rO   r   Ú+_V1alpha3PoolStatus__preprocess_input_namesÚgetr   ru   r   )rW   rX   Ú_itemÚ_objs       r!   ru   zV1alpha3PoolStatus.from_dict&  sq  € ð ˆ;Øä˜#œtÔ$Ø×%Ñ% cÓ*Ð*äÜ””c�‰NØ×(Ñ(ØØ,0ð )ó ó
ˆð ×!Ñ!Ø #§¡Ð(:Ó ;Ø #§¡Ð(:Ó ;Ø—g‘g˜hÓ'ØŸ'™' ,Ó/ØŸ™ 
Ó+Øwz×w~Ñw~ð  @Ró  xSð  x_Ð[^Ð_qÑ[rÖ sÐRWÔ!<×!FÑ!FÀuÕ!MÓ sð  eiØŸ™ 
Ó+Ø"%§'¡'Ð*>Ó"?Øeh×elÑelÐmó  fAð  fMÔ >× HÑ HÈÐM_ÑI`Ô að  SWØŸG™G NÓ3Ø"%§'¡'Ð*>Ó"?Ø"Ÿw™wÐ'8Ó9ñ#
ó ˆð ˆùò !ts   ÃE))T)rX   r   rY   ÚboolÚreturnr   )rŽ   rO   )rl   ÚobjectrŽ   r�   )rw   rO   rŽ   úOptional[Self])F)r%   r�   rŽ   úDict[str, Any])rŽ   r‘   )rX   zOptional[Dict[str, Any]]rŽ   r�   )%Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r5   Ú__annotations__r;   r<   r=   r?   rA   rC   rE   rG   rI   rK   rM   rP   rQ   rS   Úclassmethodr‰   r   Úmodel_configrg   ri   rm   ro   rs   rx   r   Ú8_V1alpha3PoolStatus__openapi_generator_modern_projectionÚsetattrr   ru   r\   r#   r!   r3   r3   b   s�  … ññ .3¸4ÑR^Ð_qð  tGó  SHð  ^pð  ~_ô  .`ÐÐ*ó  `Ù-2¸4ÑR^Ð_qð  tGó  SHð  ^pð  ~fô  .gÐÐ*ó  gÙð  +Nô  O€FˆIó  OÙ!ð  /Mô  N€J�	ó  NÙ%*°4É,ÐWaÐcnÓJoð  FPð  ^ô  &@€IÐ"ó  @ÙEJÐSWÑjvð  xJð  L_ó  k`ð  vHð  Vhô  FiÐÐBó  iÙ ±,¸zÈ;Ó2WÐmwð  Fqô  r€Iˆyó  rÙ05¸dÑUaÐbvð  yOó  VPð  fzð  H~ô  1ÐÐ-ó  ÙBGÐPTÑgsð  uGð  I\ó  h]ð  sEô  CFÐÐ?ó  FÙ).°tÉlÐ[iÐkzÓN{ð  R`ð  nPô  *Q€MÐ&ó  QÙ/4¸TÑT`Ðauð  xMó  UNð  dxð  Fhô  0iÐÐ,ó  iÙ,1¸$ÑQ]Ð^oð  rDó  REð  [lð  zmô  -nÐÐ)ó  nà"Ø"ØØØØ@ØØ %Ø=ØØ$Ø!ñ/€MÐ+ó ð  0Ø/ØØ"ØØ/ØØ 4Ø/Ø'Ø3Ø-ñ/€MÐ+ó ò )x€LÐ%ó  xàð -1ð&àð&ð &*ð&ð 
ò	&ó ð&ñP ØØØ ØØô€Ló.óó1ó#ó>ð ò3ó ð3ô
ó"ñ: ØØ"Ø-ôñ
 Ø-Ø"Øôð
 	.àòó ñr#   r3   )r   r   rŽ   r   )r   r   r%   r�   rŽ   r   )'r•   Ú
__future__r   rc   Úrerq   Úcollections.abcr   rU   Úpydanticr   r   r   r   r	   r
   Útypingr   r   r   r   r   r   rˆ   Ú;kubernetes.aio.client.models.v1alpha3_partition_type_statusr   Ú>kubernetes.aio.client.models.v1alpha3_shareable_summary_statusr   r   Útyping_extensionsr   Úpydantic_corer   r   r"   r&   r.   r0   r3   r\   r#   r!   ú<module>r¤      s`   ðñ	õ #Û Û 	Û å /ß U× Uß E× EÝ cÝ iß  Ý "Ý ,ð :Ð óó6ó
-óô c˜õ cr#   