3 fY!@s8dZddlmZddlmZddlZGdddeZdS)z Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git )pformat) iteritemsNc @s,eZdZdZd*ddZeddZejddZedd Zejd d Zed d Z e jd d Z eddZ e jddZ eddZ e jddZ eddZ e jddZ eddZ e jddZ eddZejddZeddZejddZd d!Zd"d#Zd$d%Zd&d'Zd(d)ZdS)+ VersionInfozw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Nc Csndddddddddd |_ddddddd d d d |_||_||_||_||_||_||_||_||_ | |_ d S) aA VersionInfo - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. :param dict attributeMap: The key is attribute name and the value is json key in definition. str) build_datecompiler git_commitgit_tree_state git_version go_versionmajorminorplatformZ buildDaterZ gitCommitZ gitTreeStateZ gitVersionZ goVersionr r rN) swagger_types attribute_map _build_date _compiler _git_commit_git_tree_state _git_version _go_version_major_minor _platform) selfrrrr r r r r rrV/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/version_info.py__init__s6   zVersionInfo.__init__cCs|jS)z Gets the build_date of this VersionInfo. :return: The build_date of this VersionInfo. :rtype: str )r)rrrrrCszVersionInfo.build_datecCs|dkrtd||_dS)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)rrrrrrMscCs|jS)z Gets the compiler of this VersionInfo. :return: The compiler of this VersionInfo. :rtype: str )r)rrrrrZszVersionInfo.compilercCs|dkrtd||_dS)z Sets the compiler of this VersionInfo. :param compiler: The compiler of this VersionInfo. :type: str Nz0Invalid value for `compiler`, must not be `None`)rr)rrrrrrdscCs|jS)z Gets the git_commit of this VersionInfo. :return: The git_commit of this VersionInfo. :rtype: str )r)rrrrrqszVersionInfo.git_commitcCs|dkrtd||_dS)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`)rr)rrrrrr{scCs|jS)z Gets the git_tree_state of this VersionInfo. :return: The git_tree_state of this VersionInfo. :rtype: str )r)rrrrr szVersionInfo.git_tree_statecCs|dkrtd||_dS)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`)rr)rr rrrr scCs|jS)z Gets the git_version of this VersionInfo. :return: The git_version of this VersionInfo. :rtype: str )r)rrrrr szVersionInfo.git_versioncCs|dkrtd||_dS)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`)rr)rr rrrr scCs|jS)z Gets the go_version of this VersionInfo. :return: The go_version of this VersionInfo. :rtype: str )r)rrrrr szVersionInfo.go_versioncCs|dkrtd||_dS)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`)rr)rr rrrr scCs|jS)zz Gets the major of this VersionInfo. :return: The major of this VersionInfo. :rtype: str )r)rrrrr szVersionInfo.majorcCs|dkrtd||_dS)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`)rr)rr rrrr scCs|jS)zz Gets the minor of this VersionInfo. :return: The minor of this VersionInfo. :rtype: str )r)rrrrr szVersionInfo.minorcCs|dkrtd||_dS)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`)rr)rr rrrr scCs|jS)z Gets the platform of this VersionInfo. :return: The platform of this VersionInfo. :rtype: str )r)rrrrrszVersionInfo.platformcCs|dkrtd||_dS)z Sets the platform of this VersionInfo. :param platform: The platform of this VersionInfo. :type: str Nz0Invalid value for `platform`, must not be `None`)rr)rrrrrrscCsi}xt|jD]z\}}t||}t|trDttdd|||<qt|dr\|j||<qt|trttdd|j ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dr|jS|S)Nto_dict)hasattrr)xrrrsz%VersionInfo.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)r r)itemrrrr"#s) rrgetattr isinstancelistmapr rdictitems)rresultattr_valuerrrrs     zVersionInfo.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_str,szVersionInfo.to_strcCs|jS)z* For `print` and `pprint` )r/)rrrr__repr__2szVersionInfo.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)r&r__dict__)rotherrrr__eq__8s zVersionInfo.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr2rrr__ne__AszVersionInfo.__ne__) NNNNNNNNN)__name__ __module__ __qualname____doc__rpropertyrsetterrrr r r r r rrr/r0r3r4rrrrrs2 +           r)r8pprintrsixrreobjectrrrrr s