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@sÄeZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ dd„Z dd„Z dd„Zdd„Zdd„ZdS)ÚV1alpha1PodPresetSpeczw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsFddddddœ|_ddd d d dœ|_||_||_||_||_||_d S) aK V1alpha1PodPresetSpec - 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. zlist[V1EnvVar]zlist[V1EnvFromSource]ÚV1LabelSelectorzlist[V1VolumeMount]zlist[V1Volume])ÚenvÚenv_fromÚselectorÚ volume_mountsÚvolumesrÚenvFromrÚ volumeMountsr N)Ú swagger_typesÚ attribute_mapÚ_envÚ _env_fromÚ _selectorÚ_volume_mountsÚ_volumes)Úselfrrrr r ©rúb/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1alpha1_pod_preset_spec.pyÚ__init__s   zV1alpha1PodPresetSpec.__init__cCs|jS)zÝ Gets the env of this V1alpha1PodPresetSpec. Env defines the collection of EnvVar to inject into containers. :return: The env of this V1alpha1PodPresetSpec. :rtype: list[V1EnvVar] )r)rrrrr7s zV1alpha1PodPresetSpec.envcCs ||_dS)zß Sets the env of this V1alpha1PodPresetSpec. Env defines the collection of EnvVar to inject into containers. :param env: The env of this V1alpha1PodPresetSpec. :type: list[V1EnvVar] N)r)rrrrrrBs cCs|jS)zù Gets the env_from of this V1alpha1PodPresetSpec. EnvFrom defines the collection of EnvFromSource to inject into containers. :return: The env_from of this V1alpha1PodPresetSpec. :rtype: list[V1EnvFromSource] )r)rrrrrNs zV1alpha1PodPresetSpec.env_fromcCs ||_dS)a Sets the env_from of this V1alpha1PodPresetSpec. EnvFrom defines the collection of EnvFromSource to inject into containers. :param env_from: The env_from of this V1alpha1PodPresetSpec. :type: list[V1EnvFromSource] N)r)rrrrrrYs cCs|jS)zø Gets the selector of this V1alpha1PodPresetSpec. Selector is a label query over a set of resources, in this case pods. Required. :return: The selector of this V1alpha1PodPresetSpec. :rtype: V1LabelSelector )r)rrrrres zV1alpha1PodPresetSpec.selectorcCs ||_dS)zÿ Sets the selector of this V1alpha1PodPresetSpec. Selector is a label query over a set of resources, in this case pods. Required. :param selector: The selector of this V1alpha1PodPresetSpec. :type: V1LabelSelector N)r)rrrrrrps cCs|jS)a Gets the volume_mounts of this V1alpha1PodPresetSpec. VolumeMounts defines the collection of VolumeMount to inject into containers. :return: The volume_mounts of this V1alpha1PodPresetSpec. :rtype: list[V1VolumeMount] )r)rrrrr |s z#V1alpha1PodPresetSpec.volume_mountscCs ||_dS)a Sets the volume_mounts of this V1alpha1PodPresetSpec. VolumeMounts defines the collection of VolumeMount to inject into containers. :param volume_mounts: The volume_mounts of this V1alpha1PodPresetSpec. :type: list[V1VolumeMount] N)r)rr rrrr ‡s cCs|jS)zæ Gets the volumes of this V1alpha1PodPresetSpec. Volumes defines the collection of Volume to inject into the pod. :return: The volumes of this V1alpha1PodPresetSpec. :rtype: list[V1Volume] )r)rrrrr “s zV1alpha1PodPresetSpec.volumescCs ||_dS)zì Sets the volumes of this V1alpha1PodPresetSpec. Volumes defines the collection of Volume to inject into the pod. :param volumes: The volumes of this V1alpha1PodPresetSpec. :type: list[V1Volume] N)r)rr rrrr žs 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Ú´sz/V1alpha1PodPresetSpec.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrr»s) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)rÚresultÚattrÚ_Úvaluerrrrªs     zV1alpha1PodPresetSpec.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strÄszV1alpha1PodPresetSpec.to_strcCs|jƒS)z* For `print` and `pprint` )r()rrrrÚ__repr__ÊszV1alpha1PodPresetSpec.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__Ðs zV1alpha1PodPresetSpec.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr+rrrÚ__ne__ÙszV1alpha1PodPresetSpec.__ne__)NNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr r rr(r)r,r-rrrrrs"        r)r1ÚpprintrÚsixrÚreÚobjectrrrrrÚ s