
    0                     >    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
Zdddddd	d
dddd
Z	 	 	 	 	 	 	 	 	 	 d)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d$ Zd% Zd& Zd' Zd( Zy)*V1NodeSystemInfozw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    str)
architectureboot_idcontainer_runtime_versionkernel_versionkube_proxy_versionkubelet_version
machine_idoperating_systemos_imagesystem_uuidr   bootIDcontainerRuntimeVersionkernelVersionkubeProxyVersionkubeletVersion	machineIDoperatingSystemosImage
systemUUIDNc                 *   d| _         d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        || _        || _        || _        || _        || _        || _        || _        || _        |	| _        |
| _        y)z?
        V1NodeSystemInfo - a model defined in Swagger
        N)_architecture_boot_id_container_runtime_version_kernel_version_kube_proxy_version_kubelet_version_machine_id_operating_system	_os_image_system_uuiddiscriminatorr   r	   r
   r   r   r   r   r   r   r   )selfr   r	   r
   r   r   r   r   r   r   r   s              ?lib/third_party/kubernetes/client/models/v1_node_system_info.py__init__zV1NodeSystemInfo.__init__8   s     DDM&*D#D#D DD!DDNDD$DDL%>D"(D0D*D DO,DDM"D    c                     | j                   S )z
        Gets the architecture of this V1NodeSystemInfo.
        The Architecture reported by the node

        :return: The architecture of this V1NodeSystemInfo.
        :rtype: str
        )r   r'   s    r(   r   zV1NodeSystemInfo.architecture^   s     r*   c                 ,    |t        d      || _        y)z
        Sets the architecture of this V1NodeSystemInfo.
        The Architecture reported by the node

        :param architecture: The architecture of this V1NodeSystemInfo.
        :type: str
        Nz4Invalid value for `architecture`, must not be `None`)
ValueErrorr   )r'   r   s     r(   r   zV1NodeSystemInfo.architecturei   s     MNN%Dr*   c                     | j                   S )z
        Gets the boot_id of this V1NodeSystemInfo.
        Boot ID reported by the node.

        :return: The boot_id of this V1NodeSystemInfo.
        :rtype: str
        )r   r,   s    r(   r	   zV1NodeSystemInfo.boot_idw   s     ==r*   c                 ,    |t        d      || _        y)z
        Sets the boot_id of this V1NodeSystemInfo.
        Boot ID reported by the node.

        :param boot_id: The boot_id of this V1NodeSystemInfo.
        :type: str
        Nz/Invalid value for `boot_id`, must not be `None`)r.   r   )r'   r	   s     r(   r	   zV1NodeSystemInfo.boot_id   s     HIIDMr*   c                     | j                   S )a  
        Gets the container_runtime_version of this V1NodeSystemInfo.
        ContainerRuntime Version reported by the node through runtime remote API
        (e.g. docker://1.5.0).

        :return: The container_runtime_version of this V1NodeSystemInfo.
        :rtype: str
        )r   r,   s    r(   r
   z*V1NodeSystemInfo.container_runtime_version   s     ***r*   c                 ,    |t        d      || _        y)a<  
        Sets the container_runtime_version of this V1NodeSystemInfo.
        ContainerRuntime Version reported by the node through runtime remote API
        (e.g. docker://1.5.0).

        :param container_runtime_version: The container_runtime_version of this
        V1NodeSystemInfo.
        :type: str
        NzAInvalid value for `container_runtime_version`, must not be `None`)r.   r   )r'   r
   s     r(   r
   z*V1NodeSystemInfo.container_runtime_version   s'     !(
MO O '@D#r*   c                     | j                   S )z
        Gets the kernel_version of this V1NodeSystemInfo.
        Kernel Version reported by the node from 'uname -r' (e.g.
        3.16.0-0.bpo.4-amd64).

        :return: The kernel_version of this V1NodeSystemInfo.
        :rtype: str
        )r   r,   s    r(   r   zV1NodeSystemInfo.kernel_version   s     r*   c                 ,    |t        d      || _        y)a  
        Sets the kernel_version of this V1NodeSystemInfo.
        Kernel Version reported by the node from 'uname -r' (e.g.
        3.16.0-0.bpo.4-amd64).

        :param kernel_version: The kernel_version of this V1NodeSystemInfo.
        :type: str
        Nz6Invalid value for `kernel_version`, must not be `None`)r.   r   )r'   r   s     r(   r   zV1NodeSystemInfo.kernel_version   s     OPP)Dr*   c                     | j                   S )z
        Gets the kube_proxy_version of this V1NodeSystemInfo.
        KubeProxy Version reported by the node.

        :return: The kube_proxy_version of this V1NodeSystemInfo.
        :rtype: str
        )r    r,   s    r(   r   z#V1NodeSystemInfo.kube_proxy_version   s     ###r*   c                 ,    |t        d      || _        y)z
        Sets the kube_proxy_version of this V1NodeSystemInfo.
        KubeProxy Version reported by the node.

        :param kube_proxy_version: The kube_proxy_version of this
        V1NodeSystemInfo.
        :type: str
        Nz:Invalid value for `kube_proxy_version`, must not be `None`)r.   r    )r'   r   s     r(   r   z#V1NodeSystemInfo.kube_proxy_version   s&     !
FH H  2Dr*   c                     | j                   S )z
        Gets the kubelet_version of this V1NodeSystemInfo.
        Kubelet Version reported by the node.

        :return: The kubelet_version of this V1NodeSystemInfo.
        :rtype: str
        )r!   r,   s    r(   r   z V1NodeSystemInfo.kubelet_version   s        r*   c                 ,    |t        d      || _        y)z
        Sets the kubelet_version of this V1NodeSystemInfo.
        Kubelet Version reported by the node.

        :param kubelet_version: The kubelet_version of this V1NodeSystemInfo.
        :type: str
        Nz7Invalid value for `kubelet_version`, must not be `None`)r.   r!   )r'   r   s     r(   r   z V1NodeSystemInfo.kubelet_version   s&     
CE E ,Dr*   c                     | j                   S )aj  
        Gets the machine_id of this V1NodeSystemInfo.
        MachineID reported by the node. For unique machine identification in the
        cluster this field is preferred. Learn more from man(5) machine-id:
        http://man7.org/linux/man-pages/man5/machine-id.5.html

        :return: The machine_id of this V1NodeSystemInfo.
        :rtype: str
        )r"   r,   s    r(   r   zV1NodeSystemInfo.machine_id   s     r*   c                 ,    |t        d      || _        y)as  
        Sets the machine_id of this V1NodeSystemInfo.
        MachineID reported by the node. For unique machine identification in the
        cluster this field is preferred. Learn more from man(5) machine-id:
        http://man7.org/linux/man-pages/man5/machine-id.5.html

        :param machine_id: The machine_id of this V1NodeSystemInfo.
        :type: str
        Nz2Invalid value for `machine_id`, must not be `None`)r.   r"   )r'   r   s     r(   r   zV1NodeSystemInfo.machine_id
  s     KLL!Dr*   c                     | j                   S )z
        Gets the operating_system of this V1NodeSystemInfo.
        The Operating System reported by the node

        :return: The operating_system of this V1NodeSystemInfo.
        :rtype: str
        )r#   r,   s    r(   r   z!V1NodeSystemInfo.operating_system  s     !!!r*   c                 ,    |t        d      || _        y)z
        Sets the operating_system of this V1NodeSystemInfo.
        The Operating System reported by the node

        :param operating_system: The operating_system of this V1NodeSystemInfo.
        :type: str
        Nz8Invalid value for `operating_system`, must not be `None`)r.   r#   )r'   r   s     r(   r   z!V1NodeSystemInfo.operating_system%  s&     
DF F .Dr*   c                     | j                   S )z
        Gets the os_image of this V1NodeSystemInfo.
        OS Image reported by the node from /etc/os-release (e.g. Debian
        GNU/Linux 7 (wheezy)).

        :return: The os_image of this V1NodeSystemInfo.
        :rtype: str
        )r$   r,   s    r(   r   zV1NodeSystemInfo.os_image4  s     >>r*   c                 ,    |t        d      || _        y)z
        Sets the os_image of this V1NodeSystemInfo.
        OS Image reported by the node from /etc/os-release (e.g. Debian
        GNU/Linux 7 (wheezy)).

        :param os_image: The os_image of this V1NodeSystemInfo.
        :type: str
        Nz0Invalid value for `os_image`, must not be `None`)r.   r$   )r'   r   s     r(   r   zV1NodeSystemInfo.os_image@  s     IJJDNr*   c                     | j                   S )a  
        Gets the system_uuid of this V1NodeSystemInfo.
        SystemUUID reported by the node. For unique machine identification
        MachineID is preferred. This field is specific to Red Hat hosts
        https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html

        :return: The system_uuid of this V1NodeSystemInfo.
        :rtype: str
        )r%   r,   s    r(   r   zV1NodeSystemInfo.system_uuidO  s     r*   c                 ,    |t        d      || _        y)a  
        Sets the system_uuid of this V1NodeSystemInfo.
        SystemUUID reported by the node. For unique machine identification
        MachineID is preferred. This field is specific to Red Hat hosts
        https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html

        :param system_uuid: The system_uuid of this V1NodeSystemInfo.
        :type: str
        Nz3Invalid value for `system_uuid`, must not be `None`)r.   r%   )r'   r   s     r(   r   zV1NodeSystemInfo.system_uuid\  s     LMM#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hasattrrC   )xs    r(   <lambda>z*V1NodeSystemInfo.to_dict.<locals>.<lambda>v  s    I)>!))+EAEr*   rC   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   rC   r   rD   )items    r(   rG   z*V1NodeSystemInfo.to_dict.<locals>.<lambda>|  s6    47I. #1gtAw'89 9489r*   )
r   swagger_typesgetattr
isinstancelistmaprE   rC   dictitems)r'   resultattr_values        r(   rC   zV1NodeSystemInfo.to_dictl  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   rC   r,   s    r(   to_strzV1NodeSystemInfo.to_str  s     4<<>""r*   c                 "    | j                         S )z*
        For `print` and `pprint`
        )rW   r,   s    r(   __repr__zV1NodeSystemInfo.__repr__  s     ;;=r*   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)rM   r   __dict__r'   others     r(   __eq__zV1NodeSystemInfo.__eq__  s%     e-.==ENN**r*   c                     | |k(   S )z<
        Returns true if both objects are not equal
         r\   s     r(   __ne__zV1NodeSystemInfo.__ne__  s     u}r*   )
NNNNNNNNNN)__name__
__module____qualname____doc__rK   attribute_mapr)   propertyr   setterr	   r
   r   r   r   r   r   r   r   rC   rW   rY   r^   ra   r`   r*   r(   r   r      sc    #(!- %#<'.)+!- !)-""&# $$#L   & &   >>  	+ 	+ ##@ $@  	  	  * * $ $ 2 2 ! ! , , 
 
 " " " " . . 	 	 ??  
 
 $ $.#+r*   r   )re   pprintr   sixr   reobjectr   r`   r*   r(   <module>rm      s#   	   	Jv Jr*   