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 dd„Z dd„Z dd„Z dd„Z dd„ZdS)ÚV1EnvFromSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2ddddœ|_ddddœ|_||_||_||_dS) aE V1EnvFromSource - 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. ÚV1ConfigMapEnvSourceÚstrÚV1SecretEnvSource)Úconfig_map_refÚprefixÚ secret_refZ configMapRefr Ú secretRefN)Ú swagger_typesÚ attribute_mapÚ_config_map_refÚ_prefixÚ _secret_ref)Úselfrr r ©rú\/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_env_from_source.pyÚ__init__s   zV1EnvFromSource.__init__cCs|jS)zÊ Gets the config_map_ref of this V1EnvFromSource. The ConfigMap to select from :return: The config_map_ref of this V1EnvFromSource. :rtype: V1ConfigMapEnvSource )r)rrrrr1s zV1EnvFromSource.config_map_refcCs ||_dS)z× Sets the config_map_ref of this V1EnvFromSource. The ConfigMap to select from :param config_map_ref: The config_map_ref of this V1EnvFromSource. :type: V1ConfigMapEnvSource N)r)rrrrrr<s cCs|jS)zã Gets the prefix of this V1EnvFromSource. An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. :return: The prefix of this V1EnvFromSource. :rtype: str )r)rrrrr Hs zV1EnvFromSource.prefixcCs ||_dS)zè Sets the prefix of this V1EnvFromSource. An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. :param prefix: The prefix of this V1EnvFromSource. :type: str N)r)rr rrrr Ss cCs|jS)z¼ Gets the secret_ref of this V1EnvFromSource. The Secret to select from :return: The secret_ref of this V1EnvFromSource. :rtype: V1SecretEnvSource )r)rrrrr _s zV1EnvFromSource.secret_refcCs ||_dS)zÅ Sets the secret_ref of this V1EnvFromSource. The Secret to select from :param secret_ref: The secret_ref of this V1EnvFromSource. :type: V1SecretEnvSource N)r)rr rrrr js 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)V1EnvFromSource.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Ú_Úvaluerrrrvs     zV1EnvFromSource.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_str�szV1EnvFromSource.to_strcCs|jƒS)z* For `print` and `pprint` )r%)rrrrÚ__repr__–szV1EnvFromSource.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__œs zV1EnvFromSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr(rrrÚ__ne__¥szV1EnvFromSource.__ne__)NNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterr r rr%r&r)r*rrrrrs      r)r.ÚpprintrÚsixrÚreÚobjectrrrrrÚ s