o
    3IhW9                     @   s<   d Z ddlZddlZddlZddlmZ G dd deZdS )z
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: release-1.33
    Generated by: https://openapi-generator.tech
    N)Configurationc                   @   s  e Zd ZdZ	 dd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ddZdEddZedd Zej	dd Zedd Z
e
j	dd Z
edd Zej	dd Zedd Zej	dd Zed d! Zej	d"d! Zed#d$ Zej	d%d$ Zed&d' Zej	d(d' Zed)d* Zej	d+d* Zed,d- Zej	d.d- Zed/d0 Zej	d1d0 Zed2d3 Zej	d4d3 Zed5d6 Zej	d7d6 Zed8d9 Zej	d:d9 Zd;d< Zd=d> Zd?d@ ZdAdB ZdCdD ZdS )FVersionInfozNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    str)
build_datecompileremulation_majoremulation_minor
git_commitgit_tree_stategit_version
go_versionmajormin_compatibility_majormin_compatibility_minorminorplatform	buildDater   emulationMajoremulationMinor	gitCommitgitTreeState
gitVersion	goVersionr   minCompatibilityMajorminCompatibilityMinorr   r   Nc                 C   s   |du rt  }|| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _d| _d| _d| _d| _|| _|| _|durA|| _|durH|| _|| _|| _|| _|| _|	| _|
dur^|
| _|dure|| _|| _|| _dS )z(VersionInfo - a model defined in OpenAPIN)r   local_vars_configuration_build_date	_compiler_emulation_major_emulation_minor_git_commit_git_tree_state_git_version_go_version_major_min_compatibility_major_min_compatibility_minor_minor	_platformdiscriminatorr   r   r   r   r	   r
   r   r   r   r   r   r   r   )selfr   r   r   r   r	   r
   r   r   r   r   r   r   r   r    r+   e/home/air/sanwanet/gpt-api/venv/lib/python3.10/site-packages/kubernetes/client/models/version_info.py__init__C   sD   
zVersionInfo.__init__c                 C      | j S )zGets the build_date of this VersionInfo.  # noqa: E501


        :return: The build_date of this VersionInfo.  # noqa: E501
        :rtype: str
        )r   r*   r+   r+   r,   r   j      zVersionInfo.build_datec                 C   "   | j jr|du rtd|| _dS )zSets the build_date of this VersionInfo.


        :param build_date: The build_date of this VersionInfo.  # noqa: E501
        :type: str
        Nz2Invalid value for `build_date`, must not be `None`)r   client_side_validation
ValueErrorr   )r*   r   r+   r+   r,   r   t      
c                 C   r.   )zGets the compiler of this VersionInfo.  # noqa: E501


        :return: The compiler of this VersionInfo.  # noqa: E501
        :rtype: str
        )r   r/   r+   r+   r,   r      r0   zVersionInfo.compilerc                 C   r1   )zSets the compiler of this VersionInfo.


        :param compiler: The compiler of this VersionInfo.  # noqa: E501
        :type: str
        Nz0Invalid value for `compiler`, must not be `None`)r   r2   r3   r   )r*   r   r+   r+   r,   r      r4   c                 C   r.   )zGets the emulation_major of this VersionInfo.  # noqa: E501

        EmulationMajor is the major version of the emulation version  # noqa: E501

        :return: The emulation_major of this VersionInfo.  # noqa: E501
        :rtype: str
        r   r/   r+   r+   r,   r         	zVersionInfo.emulation_majorc                 C   
   || _ dS )zSets the emulation_major of this VersionInfo.

        EmulationMajor is the major version of the emulation version  # noqa: E501

        :param emulation_major: The emulation_major of this VersionInfo.  # noqa: E501
        :type: str
        Nr5   )r*   r   r+   r+   r,   r         

c                 C   r.   )zGets the emulation_minor of this VersionInfo.  # noqa: E501

        EmulationMinor is the minor version of the emulation version  # noqa: E501

        :return: The emulation_minor of this VersionInfo.  # noqa: E501
        :rtype: str
        r   r/   r+   r+   r,   r      r6   zVersionInfo.emulation_minorc                 C   r7   )zSets the emulation_minor of this VersionInfo.

        EmulationMinor is the minor version of the emulation version  # noqa: E501

        :param emulation_minor: The emulation_minor of this VersionInfo.  # noqa: E501
        :type: str
        Nr9   )r*   r   r+   r+   r,   r      r8   c                 C   r.   )zGets the git_commit of this VersionInfo.  # noqa: E501


        :return: The git_commit of this VersionInfo.  # noqa: E501
        :rtype: str
        )r    r/   r+   r+   r,   r	      r0   zVersionInfo.git_commitc                 C   r1   )zSets the git_commit of this VersionInfo.


        :param git_commit: The git_commit of this VersionInfo.  # noqa: E501
        :type: str
        Nz2Invalid value for `git_commit`, must not be `None`)r   r2   r3   r    )r*   r	   r+   r+   r,   r	      r4   c                 C   r.   )zGets the git_tree_state of this VersionInfo.  # noqa: E501


        :return: The git_tree_state of this VersionInfo.  # noqa: E501
        :rtype: str
        )r!   r/   r+   r+   r,   r
      r0   zVersionInfo.git_tree_statec                 C   r1   )zSets the git_tree_state of this VersionInfo.


        :param git_tree_state: The git_tree_state of this VersionInfo.  # noqa: E501
        :type: str
        Nz6Invalid value for `git_tree_state`, must not be `None`)r   r2   r3   r!   )r*   r
   r+   r+   r,   r
      r4   c                 C   r.   )zGets the git_version of this VersionInfo.  # noqa: E501


        :return: The git_version of this VersionInfo.  # noqa: E501
        :rtype: str
        )r"   r/   r+   r+   r,   r      r0   zVersionInfo.git_versionc                 C   r1   )zSets the git_version of this VersionInfo.


        :param git_version: The git_version of this VersionInfo.  # noqa: E501
        :type: str
        Nz3Invalid value for `git_version`, must not be `None`)r   r2   r3   r"   )r*   r   r+   r+   r,   r      r4   c                 C   r.   )zGets the go_version of this VersionInfo.  # noqa: E501


        :return: The go_version of this VersionInfo.  # noqa: E501
        :rtype: str
        )r#   r/   r+   r+   r,   r     r0   zVersionInfo.go_versionc                 C   r1   )zSets the go_version of this VersionInfo.


        :param go_version: The go_version of this VersionInfo.  # noqa: E501
        :type: str
        Nz2Invalid value for `go_version`, must not be `None`)r   r2   r3   r#   )r*   r   r+   r+   r,   r     r4   c                 C   r.   )zGets the major of this VersionInfo.  # noqa: E501

        Major is the major version of the binary version  # noqa: E501

        :return: The major of this VersionInfo.  # noqa: E501
        :rtype: str
        )r$   r/   r+   r+   r,   r   "  r6   zVersionInfo.majorc                 C   r1   )zSets the major of this VersionInfo.

        Major is the major version of the binary version  # noqa: E501

        :param major: The major of this VersionInfo.  # noqa: E501
        :type: str
        Nz-Invalid value for `major`, must not be `None`)r   r2   r3   r$   )r*   r   r+   r+   r,   r   -     	
c                 C   r.   )a  Gets the min_compatibility_major of this VersionInfo.  # noqa: E501

        MinCompatibilityMajor is the major version of the minimum compatibility version  # noqa: E501

        :return: The min_compatibility_major of this VersionInfo.  # noqa: E501
        :rtype: str
        r%   r/   r+   r+   r,   r   ;  r6   z#VersionInfo.min_compatibility_majorc                 C   r7   )a   Sets the min_compatibility_major of this VersionInfo.

        MinCompatibilityMajor is the major version of the minimum compatibility version  # noqa: E501

        :param min_compatibility_major: The min_compatibility_major of this VersionInfo.  # noqa: E501
        :type: str
        Nr;   )r*   r   r+   r+   r,   r   F  r8   c                 C   r.   )a  Gets the min_compatibility_minor of this VersionInfo.  # noqa: E501

        MinCompatibilityMinor is the minor version of the minimum compatibility version  # noqa: E501

        :return: The min_compatibility_minor of this VersionInfo.  # noqa: E501
        :rtype: str
        r&   r/   r+   r+   r,   r   R  r6   z#VersionInfo.min_compatibility_minorc                 C   r7   )a   Sets the min_compatibility_minor of this VersionInfo.

        MinCompatibilityMinor is the minor version of the minimum compatibility version  # noqa: E501

        :param min_compatibility_minor: The min_compatibility_minor of this VersionInfo.  # noqa: E501
        :type: str
        Nr<   )r*   r   r+   r+   r,   r   ]  r8   c                 C   r.   )zGets the minor of this VersionInfo.  # noqa: E501

        Minor is the minor version of the binary version  # noqa: E501

        :return: The minor of this VersionInfo.  # noqa: E501
        :rtype: str
        )r'   r/   r+   r+   r,   r   i  r6   zVersionInfo.minorc                 C   r1   )zSets the minor of this VersionInfo.

        Minor is the minor version of the binary version  # noqa: E501

        :param minor: The minor of this VersionInfo.  # noqa: E501
        :type: str
        Nz-Invalid value for `minor`, must not be `None`)r   r2   r3   r'   )r*   r   r+   r+   r,   r   t  r:   c                 C   r.   )zGets the platform of this VersionInfo.  # noqa: E501


        :return: The platform of this VersionInfo.  # noqa: E501
        :rtype: str
        )r(   r/   r+   r+   r,   r     r0   zVersionInfo.platformc                 C   r1   )zSets the platform of this VersionInfo.


        :param platform: The platform of this VersionInfo.  # noqa: E501
        :type: str
        Nz0Invalid value for `platform`, must not be `None`)r   r2   r3   r(   )r*   r   r+   r+   r,   r     r4   c                 C   s   i }t | jD ]=\}}t| |}t|tr"ttdd |||< qt|dr.| ||< qt|t	rAt	tdd |
 ||< q|||< q|S )z&Returns the model properties as a dictc                 S   s   t | dr	|  S | S )Nto_dicthasattrr=   )xr+   r+   r,   <lambda>  s    z%VersionInfo.to_dict.<locals>.<lambda>r=   c                 S   s&   t | d dr| d | d  fS | S )N   r=   r   r>   )itemr+   r+   r,   rA     s   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr?   r=   dictitems)r*   resultattr_valuer+   r+   r,   r=     s"   




zVersionInfo.to_dictc                 C   s   t |  S )z.Returns the string representation of the model)pprintpformatr=   r/   r+   r+   r,   to_str  s   zVersionInfo.to_strc                 C   s   |   S )zFor `print` and `pprint`)rS   r/   r+   r+   r,   __repr__  s   zVersionInfo.__repr__c                 C   s   t |tsdS |  | kS )z&Returns true if both objects are equalFrH   r   r=   r*   otherr+   r+   r,   __eq__     
zVersionInfo.__eq__c                 C   s   t |tsdS |  | kS )z*Returns true if both objects are not equalTrU   rV   r+   r+   r,   __ne__  rY   zVersionInfo.__ne__)NNNNNNNNNNNNNN)__name__
__module____qualname____doc__rF   attribute_mapr-   propertyr   setterr   r   r   r	   r
   r   r   r   r   r   r   r   r=   rS   rT   rX   rZ   r+   r+   r+   r,   r      s    
'
	

	







	

	

	

	













	
r   )r^   rQ   rerD   kubernetes.client.configurationr   objectr   r+   r+   r+   r,   <module>   s   
