
    U/                     >    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S	S
SSS.rSSSSSSSSSSSS.r           S7S 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' 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                  S0 5       rS1 rS2 rS3 rS4 rS5 rS6rg)8V1NodeStatus   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
zlist[V1NodeAddress]zdict(str, str)zlist[V1NodeCondition]V1NodeConfigStatusV1NodeDaemonEndpointszlist[V1ContainerImage]V1NodeSystemInfostrzlist[V1AttachedVolume]z	list[str])	addressesallocatablecapacity
conditionsconfigdaemon_endpointsimages	node_infophasevolumes_attachedvolumes_in_user   r   r   r   r   daemonEndpointsr   nodeInfor   volumesAttachedvolumesInUseNc                 t   SU l         SU l        SU l        SU l        SU l        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        Ub  Xpl        Ub  Xl        U	b  Xl        U
b  Xl        Ub  Xl        gg)z+
V1NodeStatus - a model defined in Swagger
N)
_addresses_allocatable	_capacity_conditions_config_daemon_endpoints_images
_node_info_phase_volumes_attached_volumes_in_usediscriminatorr   r   r   r   r   r   r   r   r   r   r   )selfr   r   r   r   r   r   r   r   r   r   r   s               :lib/third_party/kubernetes/client/models/v1_node_status.py__init__V1NodeStatus.__init__:   s      DODDNDDL!DDLDODK!DDD n$m"ok#.k nj#.!* "    c                     U R                   $ )a  
Gets the addresses of this V1NodeStatus.
List of addresses reachable to the node. Queried from cloud provider, if
available. More info:
https://kubernetes.io/docs/concepts/nodes/node/#addresses

:return: The addresses of this V1NodeStatus.
:rtype: list[V1NodeAddress]
r   r(   s    r)   r   V1NodeStatus.addressesn   s     ??r,   c                     Xl         g)a  
Sets the addresses of this V1NodeStatus.
List of addresses reachable to the node. Queried from cloud provider, if
available. More info:
https://kubernetes.io/docs/concepts/nodes/node/#addresses

:param addresses: The addresses of this V1NodeStatus.
:type: list[V1NodeAddress]
Nr.   )r(   r   s     r)   r   r0   {   s	      Or,   c                     U R                   $ )z
Gets the allocatable of this V1NodeStatus.
Allocatable represents the resources of a node that are available for
scheduling. Defaults to Capacity.

:return: The allocatable of this V1NodeStatus.
:rtype: dict(str, str)
r   r/   s    r)   r   V1NodeStatus.allocatable   s     r,   c                     Xl         g)z
Sets the allocatable of this V1NodeStatus.
Allocatable represents the resources of a node that are available for
scheduling. Defaults to Capacity.

:param allocatable: The allocatable of this V1NodeStatus.
:type: dict(str, str)
Nr3   )r(   r   s     r)   r   r4      s
     $r,   c                     U R                   $ )z
Gets the capacity of this V1NodeStatus.
Capacity represents the total resources of a node. More info:
https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity

:return: The capacity of this V1NodeStatus.
:rtype: dict(str, str)
r   r/   s    r)   r   V1NodeStatus.capacity   s     >>r,   c                     Xl         g)z
Sets the capacity of this V1NodeStatus.
Capacity represents the total resources of a node. More info:
https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity

:param capacity: The capacity of this V1NodeStatus.
:type: dict(str, str)
Nr7   )r(   r   s     r)   r   r8      s	     Nr,   c                     U R                   $ )z
Gets the conditions of this V1NodeStatus.
Conditions is an array of current observed node conditions. More info:
https://kubernetes.io/docs/concepts/nodes/node/#condition

:return: The conditions of this V1NodeStatus.
:rtype: list[V1NodeCondition]
r   r/   s    r)   r   V1NodeStatus.conditions   s     r,   c                     Xl         g)a  
Sets the conditions of this V1NodeStatus.
Conditions is an array of current observed node conditions. More info:
https://kubernetes.io/docs/concepts/nodes/node/#condition

:param conditions: The conditions of this V1NodeStatus.
:type: list[V1NodeCondition]
Nr;   )r(   r   s     r)   r   r<      s
     "r,   c                     U R                   $ )z
Gets the config of this V1NodeStatus.
Status of the config assigned to the node via the dynamic Kubelet config
feature.

:return: The config of this V1NodeStatus.
:rtype: V1NodeConfigStatus
r    r/   s    r)   r   V1NodeStatus.config   s     <<r,   c                     Xl         g)z
Sets the config of this V1NodeStatus.
Status of the config assigned to the node via the dynamic Kubelet config
feature.

:param config: The config of this V1NodeStatus.
:type: V1NodeConfigStatus
Nr?   )r(   r   s     r)   r   r@      s	     Lr,   c                     U R                   $ )z
Gets the daemon_endpoints of this V1NodeStatus.
Endpoints of daemons running on the Node.

:return: The daemon_endpoints of this V1NodeStatus.
:rtype: V1NodeDaemonEndpoints
r!   r/   s    r)   r   V1NodeStatus.daemon_endpoints        !!!r,   c                     Xl         g)z
Sets the daemon_endpoints of this V1NodeStatus.
Endpoints of daemons running on the Node.

:param daemon_endpoints: The daemon_endpoints of this V1NodeStatus.
:type: V1NodeDaemonEndpoints
NrC   )r(   r   s     r)   r   rD      
     .r,   c                     U R                   $ )z
Gets the images of this V1NodeStatus.
List of container images on this node

:return: The images of this V1NodeStatus.
:rtype: list[V1ContainerImage]
r"   r/   s    r)   r   V1NodeStatus.images  s     <<r,   c                     Xl         g)z
Sets the images of this V1NodeStatus.
List of container images on this node

:param images: The images of this V1NodeStatus.
:type: list[V1ContainerImage]
NrI   )r(   r   s     r)   r   rJ     s	     Lr,   c                     U R                   $ )z
Gets the node_info of this V1NodeStatus.
Set of ids/uuids to uniquely identify the node. More info:
https://kubernetes.io/docs/concepts/nodes/node/#info

:return: The node_info of this V1NodeStatus.
:rtype: V1NodeSystemInfo
r#   r/   s    r)   r   V1NodeStatus.node_info  s     ??r,   c                     Xl         g)z
Sets the node_info of this V1NodeStatus.
Set of ids/uuids to uniquely identify the node. More info:
https://kubernetes.io/docs/concepts/nodes/node/#info

:param node_info: The node_info of this V1NodeStatus.
:type: V1NodeSystemInfo
NrM   )r(   r   s     r)   r   rN   '  s	      Or,   c                     U R                   $ )a  
Gets the phase of this V1NodeStatus.
NodePhase is the recently observed lifecycle phase of the node. More
info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is
never populated, and now is deprecated.

:return: The phase of this V1NodeStatus.
:rtype: str
r$   r/   s    r)   r   V1NodeStatus.phase4  s     ;;r,   c                     Xl         g)a  
Sets the phase of this V1NodeStatus.
NodePhase is the recently observed lifecycle phase of the node. More
info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is
never populated, and now is deprecated.

:param phase: The phase of this V1NodeStatus.
:type: str
NrQ   )r(   r   s     r)   r   rR   A  s	     Kr,   c                     U R                   $ )z
Gets the volumes_attached of this V1NodeStatus.
List of volumes that are attached to the node.

:return: The volumes_attached of this V1NodeStatus.
:rtype: list[V1AttachedVolume]
r%   r/   s    r)   r   V1NodeStatus.volumes_attachedO  rE   r,   c                     Xl         g)z
Sets the volumes_attached of this V1NodeStatus.
List of volumes that are attached to the node.

:param volumes_attached: The volumes_attached of this V1NodeStatus.
:type: list[V1AttachedVolume]
NrU   )r(   r   s     r)   r   rV   Z  rG   r,   c                     U R                   $ )z
Gets the volumes_in_use of this V1NodeStatus.
List of attachable volumes in use (mounted) by the node.

:return: The volumes_in_use of this V1NodeStatus.
:rtype: list[str]
r&   r/   s    r)   r   V1NodeStatus.volumes_in_usef  s     r,   c                     Xl         g)z
Sets the volumes_in_use of this V1NodeStatus.
List of attachable volumes in use (mounted) by the node.

:param volumes_in_use: The volumes_in_use of this V1NodeStatus.
:type: list[str]
NrY   )r(   r   s     r)   r   rZ   q  s
     *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hasattrr^   )xs    r)   <lambda>&V1NodeStatus.to_dict.<locals>.<lambda>  s    I)>)>!))+EAEr,   r^   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r^   r   r_   )items    r)   rb   rc     s9    47I.. #1gtAw'89 9489r,   )
r   swagger_typesgetattr
isinstancelistmapr`   r^   dictitems)r(   resultattr_values        r)   r^   V1NodeStatus.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   r^   r/   s    r)   to_strV1NodeStatus.to_str  s     4<<>""r,   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rt   r/   s    r)   __repr__V1NodeStatus.__repr__  s     ;;=r,   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)ri   r   __dict__r(   others     r)   __eq__V1NodeStatus.__eq__  s'     e\**==ENN**r,   c                     X:X  + $ )z,
Returns true if both objects are not equal
 r{   s     r)   __ne__V1NodeStatus.__ne__  s     r,   )r   r   r   r   r    r!   r"   r#   r$   r%   r&   r   r   r   r   r   r   r'   r   r   r   r   r   )NNNNNNNNNNN)__name__
__module____qualname____firstlineno____doc__rg   attribute_mapr*   propertyr   setterr   r   r   r   r   r   r   r   r   r   r^   rt   rw   r}   r   __static_attributes__r   r,   r)   r   r      s    )%"+$1(%2#- " ++&-  $ $"2+h 
 
     	 	 
$ 
$ 	 	 ??
 
 	 	 
" 
" 	 	 
==
 
 " " 	. 	.   
==	 	 	 	 
  
  
 
 	<<  " " 	. 	.     	* 	*.#+r,   r   )r   pprintr   sixr   reobjectr   r   r,   r)   <module>r      s#   	   	[6 [r,   