
                          >    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            
       N   e Zd ZdZ	 dddddddddd	Z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d! Zd" Zd# Zd$ Zd% Zy)'VersionInfozw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    str)	
build_datecompiler
git_commitgit_tree_stategit_version
go_versionmajorminorplatform	buildDater	   	gitCommitgitTreeState
gitVersion	goVersionr   r   r   Nc
                    d| _         d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        || _
        || _        || _        || _        || _        || _        || _        || _        |	| _        y)z:
        VersionInfo - a model defined in Swagger
        N)_build_date	_compiler_git_commit_git_tree_state_git_version_go_version_major_minor	_platformdiscriminatorr   r	   r
   r   r   r   r   r   r   )
selfr   r	   r
   r   r   r   r   r   r   s
             8lib/third_party/kubernetes/client/models/version_info.py__init__zVersionInfo.__init__6   s     DDNDDDDDKDKDND DODM DO(D"D DODJDJDM    c                     | j                   S )z
        Gets the build_date of this VersionInfo.

        :return: The build_date of this VersionInfo.
        :rtype: str
        )r   r!   s    r"   r   zVersionInfo.build_dateY        r$   c                 ,    |t        d      || _        y)z
        Sets the build_date of this VersionInfo.

        :param build_date: The build_date of this VersionInfo.
        :type: str
        Nz2Invalid value for `build_date`, must not be `None`)
ValueErrorr   )r!   r   s     r"   r   zVersionInfo.build_datec        KLL!Dr$   c                     | j                   S )z
        Gets the compiler of this VersionInfo.

        :return: The compiler of this VersionInfo.
        :rtype: str
        )r   r&   s    r"   r	   zVersionInfo.compilerp        >>r$   c                 ,    |t        d      || _        y)z
        Sets the compiler of this VersionInfo.

        :param compiler: The compiler of this VersionInfo.
        :type: str
        Nz0Invalid value for `compiler`, must not be `None`)r)   r   )r!   r	   s     r"   r	   zVersionInfo.compilerz        IJJDNr$   c                     | j                   S )z
        Gets the git_commit of this VersionInfo.

        :return: The git_commit of this VersionInfo.
        :rtype: str
        )r   r&   s    r"   r
   zVersionInfo.git_commit   r'   r$   c                 ,    |t        d      || _        y)z
        Sets the git_commit of this VersionInfo.

        :param git_commit: The git_commit of this VersionInfo.
        :type: str
        Nz2Invalid value for `git_commit`, must not be `None`)r)   r   )r!   r
   s     r"   r
   zVersionInfo.git_commit   r*   r$   c                     | j                   S )z
        Gets the git_tree_state of this VersionInfo.

        :return: The git_tree_state of this VersionInfo.
        :rtype: str
        )r   r&   s    r"   r   zVersionInfo.git_tree_state   s     r$   c                 ,    |t        d      || _        y)z
        Sets the git_tree_state of this VersionInfo.

        :param git_tree_state: The git_tree_state of this VersionInfo.
        :type: str
        Nz6Invalid value for `git_tree_state`, must not be `None`)r)   r   )r!   r   s     r"   r   zVersionInfo.git_tree_state   s     OPP)Dr$   c                     | j                   S )z
        Gets the git_version of this VersionInfo.

        :return: The git_version of this VersionInfo.
        :rtype: str
        )r   r&   s    r"   r   zVersionInfo.git_version   s     r$   c                 ,    |t        d      || _        y)z
        Sets the git_version of this VersionInfo.

        :param git_version: The git_version of this VersionInfo.
        :type: str
        Nz3Invalid value for `git_version`, must not be `None`)r)   r   )r!   r   s     r"   r   zVersionInfo.git_version   s     LMM#Dr$   c                     | j                   S )z
        Gets the go_version of this VersionInfo.

        :return: The go_version of this VersionInfo.
        :rtype: str
        )r   r&   s    r"   r   zVersionInfo.go_version   r'   r$   c                 ,    |t        d      || _        y)z
        Sets the go_version of this VersionInfo.

        :param go_version: The go_version of this VersionInfo.
        :type: str
        Nz2Invalid value for `go_version`, must not be `None`)r)   r   )r!   r   s     r"   r   zVersionInfo.go_version   r*   r$   c                     | j                   S )zz
        Gets the major of this VersionInfo.

        :return: The major of this VersionInfo.
        :rtype: str
        )r   r&   s    r"   r   zVersionInfo.major        ;;r$   c                 ,    |t        d      || _        y)z~
        Sets the major of this VersionInfo.

        :param major: The major of this VersionInfo.
        :type: str
        Nz-Invalid value for `major`, must not be `None`)r)   r   )r!   r   s     r"   r   zVersionInfo.major        }FGGDKr$   c                     | j                   S )zz
        Gets the minor of this VersionInfo.

        :return: The minor of this VersionInfo.
        :rtype: str
        )r   r&   s    r"   r   zVersionInfo.minor   r8   r$   c                 ,    |t        d      || _        y)z~
        Sets the minor of this VersionInfo.

        :param minor: The minor of this VersionInfo.
        :type: str
        Nz-Invalid value for `minor`, must not be `None`)r)   r   )r!   r   s     r"   r   zVersionInfo.minor  r:   r$   c                     | j                   S )z
        Gets the platform of this VersionInfo.

        :return: The platform of this VersionInfo.
        :rtype: str
        )r   r&   s    r"   r   zVersionInfo.platform  r,   r$   c                 ,    |t        d      || _        y)z
        Sets the platform of this VersionInfo.

        :param platform: The platform of this VersionInfo.
        :type: str
        Nz0Invalid value for `platform`, must not be `None`)r)   r   )r!   r   s     r"   r   zVersionInfo.platform  r.   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hasattrrA   )xs    r"   <lambda>z%VersionInfo.to_dict.<locals>.<lambda>2  s    I)>!))+EAEr$   rA   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   rA   r   rB   )items    r"   rE   z%VersionInfo.to_dict.<locals>.<lambda>8  s6    47I. #1gtAw'89 9489r$   )
r   swagger_typesgetattr
isinstancelistmaprC   rA   dictitems)r!   resultattr_values        r"   rA   zVersionInfo.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   rA   r&   s    r"   to_strzVersionInfo.to_str?  s     4<<>""r$   c                 "    | j                         S )z*
        For `print` and `pprint`
        )rU   r&   s    r"   __repr__zVersionInfo.__repr__E  s     ;;=r$   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)rK   r   __dict__r!   others     r"   __eq__zVersionInfo.__eq__K  s$     e[)==ENN**r$   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rZ   s     r"   __ne__zVersionInfo.__ne__T  s     u}r$   )	NNNNNNNNN)__name__
__module____qualname____doc__rI   attribute_mapr#   propertyr   setterr	   r
   r   r   r   r   r   r   rA   rU   rW   r\   r_   r^   r$   r"   r   r      s&    
-  &!
- "!F   
" 
"   ??
 
   
" 
"     
* 
*   
$ 
$   
" 
"   	<<
 
   	<<
 
   ??
 
.#+r$   r   )rc   pprintr   sixr   reobjectr   r^   r$   r"   <module>rk      s#   	   	F& Fr$   