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)ÚV1EnvVarzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2ddddœ|_ddddœ|_||_||_||_dS)a> V1EnvVar - 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ÚV1EnvVarSource)ÚnameÚvalueÚ value_fromrrZ valueFromN)Ú swagger_typesÚ attribute_mapÚ_nameÚ_valueÚ _value_from)Úselfrrr ©rúT/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_env_var.pyÚ__init__s   zV1EnvVar.__init__cCs|jS)z´ Gets the name of this V1EnvVar. Name of the environment variable. Must be a C_IDENTIFIER. :return: The name of this V1EnvVar. :rtype: str )r )rrrrr1s z V1EnvVar.namecCs|dkrtdƒ‚||_dS)z· Sets the name of this V1EnvVar. Name of the environment variable. Must be a C_IDENTIFIER. :param name: The name of this V1EnvVar. :type: str Nz,Invalid value for `name`, must not be `None`)Ú ValueErrorr )rrrrrr<s cCs|jS)a  Gets the value of this V1EnvVar. Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". :return: The value of this V1EnvVar. :rtype: str )r )rrrrrJs zV1EnvVar.valuecCs ||_dS)a$ Sets the value of this V1EnvVar. Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". :param value: The value of this V1EnvVar. :type: str N)r )rrrrrrUs cCs|jS)zä Gets the value_from of this V1EnvVar. Source for the environment variable's value. Cannot be used if value is not empty. :return: The value_from of this V1EnvVar. :rtype: V1EnvVarSource )r)rrrrr as zV1EnvVar.value_fromcCs ||_dS)zí Sets the value_from of this V1EnvVar. Source for the environment variable's value. Cannot be used if value is not empty. :param value_from: The value_from of this V1EnvVar. :type: V1EnvVarSource N)r)rr rrrr ls 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"V1EnvVar.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Ú_rrrrrxs     zV1EnvVar.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_str’szV1EnvVar.to_strcCs|jƒS)z* For `print` and `pprint` )r#)rrrrÚ__repr__˜szV1EnvVar.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__žs zV1EnvVar.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr&rrrÚ__ne__§szV1EnvVar.__ne__)NNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrr rr#r$r'r(rrrrrs      r)r,ÚpprintrÚsixrÚreÚobjectrrrrrÚ s