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@seZdZdZdddZeddZejddZedd Zejd d Zed d Z e jd d Z ddZ ddZ ddZ ddZ ddZdS)V1VolumeProjectionzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS) aH V1VolumeProjection - 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. V1ConfigMapProjectionV1DownwardAPIProjectionV1SecretProjection) config_map downward_apisecret configMap downwardAPIr N) swagger_types attribute_map _config_map _downward_api_secret)selfrr r r^/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_volume_projection.py__init__s   zV1VolumeProjection.__init__cCs|jS)z Gets the config_map of this V1VolumeProjection. information about the configMap data to project :return: The config_map of this V1VolumeProjection. :rtype: V1ConfigMapProjection )r)rrrrr1s zV1VolumeProjection.config_mapcCs ||_dS)z Sets the config_map of this V1VolumeProjection. information about the configMap data to project :param config_map: The config_map of this V1VolumeProjection. :type: V1ConfigMapProjection N)r)rrrrrr<s cCs|jS)z Gets the downward_api of this V1VolumeProjection. information about the downwardAPI data to project :return: The downward_api of this V1VolumeProjection. :rtype: V1DownwardAPIProjection )r)rrrrr Hs zV1VolumeProjection.downward_apicCs ||_dS)z Sets the downward_api of this V1VolumeProjection. information about the downwardAPI data to project :param downward_api: The downward_api of this V1VolumeProjection. :type: V1DownwardAPIProjection N)r)rr rrrr Ss cCs|jS)z Gets the secret of this V1VolumeProjection. information about the secret data to project :return: The secret of this V1VolumeProjection. :rtype: V1SecretProjection )r)rrrrr _s zV1VolumeProjection.secretcCs ||_dS)z Sets the secret of this V1VolumeProjection. information about the secret data to project :param secret: The secret of this V1VolumeProjection. :type: V1SecretProjection N)r)rr rrrr js cCsi}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,V1VolumeProjection.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrvs     zV1VolumeProjection.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1VolumeProjection.to_strcCs|jS)z* For `print` and `pprint` )r&)rrrr__repr__szV1VolumeProjection.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1VolumeProjection.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr)rrr__ne__szV1VolumeProjection.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterr r rr&r'r*r+rrrrrs      r)r/pprintrsixrreobjectrrrrr s