3 f÷ÔYã@s8dZddlmZddlmZddlZGdd„deƒZdS)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@sveZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZd d „Z d d„Z dd„Z dd„Z dd„Z dS)ÚV1PodTemplateSpeczw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs(dddœ|_dddœ|_||_||_dS)aG V1PodTemplateSpec - 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. Ú V1ObjectMetaÚ V1PodSpec)ÚmetadataÚspecrrN)Ú swagger_typesÚ attribute_mapÚ _metadataÚ_spec)Úselfrr©rú^/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_pod_template_spec.pyÚ__init__s   zV1PodTemplateSpec.__init__cCs|jS)a Gets the metadata of this V1PodTemplateSpec. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata :return: The metadata of this V1PodTemplateSpec. :rtype: V1ObjectMeta )r )r rrrr.s zV1PodTemplateSpec.metadatacCs ||_dS)a Sets the metadata of this V1PodTemplateSpec. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata :param metadata: The metadata of this V1PodTemplateSpec. :type: V1ObjectMeta N)r )r rrrrr9s cCs|jS)a" Gets the spec of this V1PodTemplateSpec. Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status :return: The spec of this V1PodTemplateSpec. :rtype: V1PodSpec )r )r rrrrEs zV1PodTemplateSpec.speccCs ||_dS)a% Sets the spec of this V1PodTemplateSpec. Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status :param spec: The spec of this V1PodTemplateSpec. :type: V1PodSpec N)r )r rrrrrPs cCs’i}xˆt|jƒD]z\}}t||ƒ}t|tƒrDttdd„|ƒƒ||<qt|dƒr\|jƒ||<qt|tƒr‚ttdd„|j ƒƒƒ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dƒr|jƒS|S)NÚto_dict)Úhasattrr)ÚxrrrÚfsz+V1PodTemplateSpec.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrrms) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)r ÚresultÚattrÚ_Úvaluerrrr\s     zV1PodTemplateSpec.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)r rrrÚto_strvszV1PodTemplateSpec.to_strcCs|jƒS)z* For `print` and `pprint` )r!)r rrrÚ__repr__|szV1PodTemplateSpec.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)r ÚotherrrrÚ__eq__‚s zV1PodTemplateSpec.__eq__cCs ||k S)z< Returns true if both objects are not equal r)r r$rrrÚ__ne__‹szV1PodTemplateSpec.__ne__)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr!r"r%r&rrrrrs     r)r*ÚpprintrÚsixrÚreÚobjectrrrrrÚ s