o
    g'                     @   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.32
    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	Zdddddd	d
ddd	Zd5d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d+d, Zd-d. Zd/d0 Zd1d2 Zd3d4 ZdS )6VersionInfozNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    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                 C   s   |
du rt  }
|
| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _|| _|| _|| _|| _|| _|| _|| _|| _|	| _dS )z(VersionInfo - a model defined in OpenAPIN)r   local_vars_configuration_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   r    r   \/var/www/visachat/venv/lib/python3.10/site-packages/kubernetes/client/models/version_info.py__init__;   s,   
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   V      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   `      
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   m   r$   zVersionInfo.compilerc                 C   r%   )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   r&   r'   r   )r   r   r   r   r    r   w   r(   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      r$   zVersionInfo.git_commitc                 C   r%   )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   r&   r'   r   )r   r   r   r   r    r      r(   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      r$   zVersionInfo.git_tree_statec                 C   r%   )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   r&   r'   r   )r   r   r   r   r    r      r(   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	      r$   zVersionInfo.git_versionc                 C   r%   )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   r&   r'   r   )r   r	   r   r   r    r	      r(   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
      r$   zVersionInfo.go_versionc                 C   r%   )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   r&   r'   r   )r   r
   r   r   r    r
      r(   c                 C   r"   )zGets the major of this VersionInfo.  # noqa: E501


        :return: The major of this VersionInfo.  # noqa: E501
        :rtype: str
        )r   r#   r   r   r    r      r$   zVersionInfo.majorc                 C   r%   )zSets the major of this VersionInfo.


        :param major: The major of this VersionInfo.  # noqa: E501
        :type: str
        Nz-Invalid value for `major`, must not be `None`)r   r&   r'   r   )r   r   r   r   r    r      r(   c                 C   r"   )zGets the minor of this VersionInfo.  # noqa: E501


        :return: The minor of this VersionInfo.  # noqa: E501
        :rtype: str
        )r   r#   r   r   r    r      r$   zVersionInfo.minorc                 C   r%   )zSets the minor of this VersionInfo.


        :param minor: The minor of this VersionInfo.  # noqa: E501
        :type: str
        Nz-Invalid value for `minor`, must not be `None`)r   r&   r'   r   )r   r   r   r   r    r     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     r$   zVersionInfo.platformc                 C   r%   )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   r&   r'   r   )r   r   r   r   r    r     r(   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    r-   4  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`)r?   r#   r   r   r    __repr__A  s   zVersionInfo.__repr__c                 C   s   t |tsdS |  | kS )z&Returns true if both objects are equalFr4   r   r)   r   otherr   r   r    __eq__E     
zVersionInfo.__eq__c                 C   s   t |tsdS |  | kS )z*Returns true if both objects are not equalTrA   rB   r   r   r    __ne__L  rE   zVersionInfo.__ne__)
NNNNNNNNNN)__name__
__module____qualname____doc__r2   attribute_mapr!   propertyr   setterr   r   r   r	   r
   r   r   r   r)   r?   r@   rD   rF   r   r   r   r    r      s    

	

	

	

	

	

	

	

	

	
r   )rJ   r=   rer0   kubernetes.client.configurationr   objectr   r   r   r   r    <module>   s   
