
    U/                     >    d Z ddlmZ ddlmZ ddlZ G d de      Zy)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                      e Zd ZdZ	 ddddddddd	d
ddZddddddddddddZ	 	 	 	 	 	 	 	 	 	 	 d5dZed        Zej                  d        Zed        Z
e
j                  d        Z
ed        Zej                  d        Zed         Zej                  d!        Zed"        Zej                  d#        Zed$        Zej                  d%        Zed&        Zej                  d'        Zed(        Zej                  d)        Zed*        Zej                  d+        Zed,        Zej                  d-        Zed.        Zej                  d/        Zd0 Zd1 Zd2 Zd3 Zd4 Zy)6V1NodeStatuszw
    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   d| _         d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        |	|	| _        |
|
| _        ||| _        yy)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__zV1NodeStatus.__init__:   s      DODDNDDL!DDLDODK!DDD dn$ddm"dodk#.ddk dndj#.d!*d "    c                     | j                   S )aE  
        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   zV1NodeStatus.addressesn   s     ??r*   c                     || _         y)aM  
        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   zV1NodeStatus.addresses{   s      DOr*   c                     | j                   S )a  
        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   zV1NodeStatus.allocatable   s     r*   c                     || _         y)a  
        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)
        Nr0   )r'   r   s     r(   r   zV1NodeStatus.allocatable   s     $Dr*   c                     | j                   S )a#  
        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   zV1NodeStatus.capacity   s     >>r*   c                     || _         y)a*  
        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)
        Nr3   )r'   r   s     r(   r   zV1NodeStatus.capacity   s     DNr*   c                     | j                   S )a)  
        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   zV1NodeStatus.conditions   s     r*   c                     || _         y)a2  
        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]
        Nr6   )r'   r   s     r(   r   zV1NodeStatus.conditions   s     "Dr*   c                     | j                   S )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   zV1NodeStatus.config   s     <<r*   c                     || _         y)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
        Nr9   )r'   r   s     r(   r   zV1NodeStatus.config   s     DLr*   c                     | j                   S )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   zV1NodeStatus.daemon_endpoints        !!!r*   c                     || _         y)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
        Nr<   )r'   r   s     r(   r   zV1NodeStatus.daemon_endpoints        .Dr*   c                     | j                   S )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   zV1NodeStatus.images  s     <<r*   c                     || _         y)z
        Sets the images of this V1NodeStatus.
        List of container images on this node

        :param images: The images of this V1NodeStatus.
        :type: list[V1ContainerImage]
        NrA   )r'   r   s     r(   r   zV1NodeStatus.images  s     DLr*   c                     | j                   S )a  
        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   zV1NodeStatus.node_info  s     ??r*   c                     || _         y)a  
        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
        NrD   )r'   r   s     r(   r   zV1NodeStatus.node_info'  s      DOr*   c                     | j                   S )aJ  
        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   zV1NodeStatus.phase4  s     ;;r*   c                     || _         y)aN  
        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
        NrG   )r'   r   s     r(   r   zV1NodeStatus.phaseA  s     DKr*   c                     | j                   S )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   zV1NodeStatus.volumes_attachedO  r=   r*   c                     || _         y)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]
        NrJ   )r'   r   s     r(   r   zV1NodeStatus.volumes_attachedZ  r?   r*   c                     | j                   S )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   zV1NodeStatus.volumes_in_usef  s     r*   c                     || _         y)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]
        NrM   )r'   r   s     r(   r   zV1NodeStatus.volumes_in_useq  s     *Dr*   c                 j   i }t        | j                        D ]  \  }}t        | |      }t        |t              rt	        t        d |            ||<   <t        |d      r|j                         ||<   \t        |t              r(t        t        d |j                                     ||<   |||<    |S )z8
        Returns the model properties as a dict
        c                 >    t        | d      r| j                         S | S )Nto_dicthasattrrQ   )xs    r(   <lambda>z&V1NodeStatus.to_dict.<locals>.<lambda>  s    I)>!))+EAEr*   rQ   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   rQ   r   rR   )items    r(   rU   z&V1NodeStatus.to_dict.<locals>.<lambda>  s6    47I. #1gtAw'89 9489r*   )
r   swagger_typesgetattr
isinstancelistmaprS   rQ   dictitems)r'   resultattr_values        r(   rQ   zV1NodeStatus.to_dict}  s     FT//0adD!e	E4	 EuMOt5)$}}teT"9:?++-IJt
 t 1 Mr*   c                 4    t        | j                               S )z@
        Returns the string representation of the model
        )r   rQ   r-   s    r(   to_strzV1NodeStatus.to_str  s     4<<>""r*   c                 "    | j                         S )z*
        For `print` and `pprint`
        )re   r-   s    r(   __repr__zV1NodeStatus.__repr__  s     ;;=r*   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)r[   r   __dict__r'   others     r(   __eq__zV1NodeStatus.__eq__  s$     e\*==ENN**r*   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rj   s     r(   __ne__zV1NodeStatus.__ne__  s     u}r*   )NNNNNNNNNNN)__name__
__module____qualname____doc__rY   attribute_mapr)   propertyr   setterr   r   r   r   r   r   r   r   r   r   rQ   re   rg   rl   ro   rn   r*   r(   r   r      s    )%"+$1(%2#- " ++&-  $ $"2+h 
 
     	 	 
$ 
$ 	 	 ??
 
 	 	 
" 
" 	 	 
==
 
 " " 	. 	.   
==	 	 	 	 
  
  
 
 	<<  " " 	. 	.     	* 	*.#+r*   r   )rs   pprintr   sixr   reobjectr   rn   r*   r(   <module>r{      s#   	   	[6 [r*   