
    6                     >    S r SSKJr  SSKJr  SSKr " S S\5      rg)z
Kubernetes

No description provided (generated by Swagger Codegen
https://github.com/swagger-api/swagger-codegen)

OpenAPI spec version: v1.14.4

Generated by: https://github.com/swagger-api/swagger-codegen.git
    )pformat)	iteritemsNc                      \ rS rSrSr SSSSSSS.rSS	S
SSSS.r      S"S jr\S 5       r	\	R                  S 5       r	\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       rS rS rS rS rS  rS!rg)#
V1NodeSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
V1NodeConfigSourcestrzlist[V1Taint]bool)config_sourceexternal_idpod_cidrprovider_idtaintsunschedulableconfigSource
externalIDpodCIDR
providerIDr   r   Nc                     SU l         SU l        SU l        SU l        SU l        SU l        SU l        Ub  Xl        Ub  X l        Ub  X0l	        Ub  X@l
        Ub  XPl        Ub  X`l        gg)z)
V1NodeSpec - a model defined in Swagger
N)_config_source_external_id	_pod_cidr_provider_id_taints_unschedulablediscriminatorr   r   r   r   r   r   )selfr   r   r   r   r   r   s          8lib/third_party/kubernetes/client/models/v1_node_spec.py__init__V1NodeSpec.__init__0   s     DDDNDDLDD ($m$k ( !    c                     U R                   $ )a  
Gets the config_source of this V1NodeSpec.
If specified, the source to get node configuration from The
DynamicKubeletConfig feature gate must be enabled for the Kubelet to use
this field

:return: The config_source of this V1NodeSpec.
:rtype: V1NodeConfigSource
r   r   s    r   r   V1NodeSpec.config_sourceP        r!   c                     Xl         g)a  
Sets the config_source of this V1NodeSpec.
If specified, the source to get node configuration from The
DynamicKubeletConfig feature gate must be enabled for the Kubelet to use
this field

:param config_source: The config_source of this V1NodeSpec.
:type: V1NodeConfigSource
Nr#   )r   r   s     r   r   r%   ]   
     (r!   c                     U R                   $ )z
Gets the external_id of this V1NodeSpec.
Deprecated. Not all kubelets will set this field. Remove field after
1.13. see: https://issues.k8s.io/61966

:return: The external_id of this V1NodeSpec.
:rtype: str
r   r$   s    r   r   V1NodeSpec.external_idk        r!   c                     Xl         g)z
Sets the external_id of this V1NodeSpec.
Deprecated. Not all kubelets will set this field. Remove field after
1.13. see: https://issues.k8s.io/61966

:param external_id: The external_id of this V1NodeSpec.
:type: str
Nr*   )r   r   s     r   r   r+   w   
     $r!   c                     U R                   $ )z
Gets the pod_cidr of this V1NodeSpec.
PodCIDR represents the pod IP range assigned to the node.

:return: The pod_cidr of this V1NodeSpec.
:rtype: str
r   r$   s    r   r   V1NodeSpec.pod_cidr   s     >>r!   c                     Xl         g)z
Sets the pod_cidr of this V1NodeSpec.
PodCIDR represents the pod IP range assigned to the node.

:param pod_cidr: The pod_cidr of this V1NodeSpec.
:type: str
Nr0   )r   r   s     r   r   r1      s	     Nr!   c                     U R                   $ )z
Gets the provider_id of this V1NodeSpec.
ID of the node assigned by the cloud provider in the format:
<ProviderName>://<ProviderSpecificNodeID>

:return: The provider_id of this V1NodeSpec.
:rtype: str
r   r$   s    r   r   V1NodeSpec.provider_id   r,   r!   c                     Xl         g)z
Sets the provider_id of this V1NodeSpec.
ID of the node assigned by the cloud provider in the format:
<ProviderName>://<ProviderSpecificNodeID>

:param provider_id: The provider_id of this V1NodeSpec.
:type: str
Nr4   )r   r   s     r   r   r5      r.   r!   c                     U R                   $ )z
Gets the taints of this V1NodeSpec.
If specified, the node's taints.

:return: The taints of this V1NodeSpec.
:rtype: list[V1Taint]
r   r$   s    r   r   V1NodeSpec.taints   s     <<r!   c                     Xl         g)z
Sets the taints of this V1NodeSpec.
If specified, the node's taints.

:param taints: The taints of this V1NodeSpec.
:type: list[V1Taint]
Nr8   )r   r   s     r   r   r9      s	     Lr!   c                     U R                   $ )a  
Gets the unschedulable of this V1NodeSpec.
Unschedulable controls node schedulability of new pods. By default, node
is schedulable. More info:
https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration

:return: The unschedulable of this V1NodeSpec.
:rtype: bool
r   r$   s    r   r   V1NodeSpec.unschedulable   r&   r!   c                     Xl         g)a$  
Sets the unschedulable of this V1NodeSpec.
Unschedulable controls node schedulability of new pods. By default, node
is schedulable. More info:
https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration

:param unschedulable: The unschedulable of this V1NodeSpec.
:type: bool
Nr<   )r   r   s     r   r   r=      r(   r!   c                    0 n[        U R                  5       H  u  p#[        X5      n[        U[        5      (       a  [	        [        S U5      5      X'   M?  [        US5      (       a  UR                  5       X'   Md  [        U[        5      (       a(  [        [        S UR                  5       5      5      X'   M  XAU'   M     U$ )z(
Returns the model properties as a dict
c                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrrA   )xs    r   <lambda>$V1NodeSpec.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr!   rA   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rA   r   rB   )items    r   rE   rF      s9    47I.. #1gtAw'89 9489r!   )
r   swagger_typesgetattr
isinstancelistmaprC   rA   dictitems)r   resultattr_values        r   rA   V1NodeSpec.to_dict   s     FT//0d!e	E4	 	 EuMO5)$$}}eT""9:?++-IJ
 t 1 Mr!   c                 4    [        U R                  5       5      $ )z0
Returns the string representation of the model
)r   rA   r$   s    r   to_strV1NodeSpec.to_str   s     4<<>""r!   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rW   r$   s    r   __repr__V1NodeSpec.__repr__  s     ;;=r!   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rL   r   __dict__r   others     r   __eq__V1NodeSpec.__eq__	  s'     eZ((==ENN**r!   c                     X:X  + $ )z,
Returns true if both objects are not equal
 r^   s     r   __ne__V1NodeSpec.__ne__  s     r!   )r   r   r   r   r   r   r   r   r   r   r   r   r   )NNNNNN)__name__
__module____qualname____firstlineno____doc__rJ   attribute_mapr   propertyr   setterr   r   r   r   r   rA   rW   rZ   r`   rd   __static_attributes__rc   r!   r   r   r      s    ,- &!!&- "!)@ 
 
 ( ( 	 	 
$ 
$   ??	 	 	 	 
$ 
$   
==	 	 
 
 ( (.#+r!   r   )rj   pprintr   sixr   reobjectr   rc   r!   r   <module>rs      s#   	   	D Dr!   