3 fYc@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) V1KeyToPathzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS)aA V1KeyToPath - 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. strint)keymodepathrrr N) swagger_types attribute_map_key_mode_path)selfrrr rX/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_key_to_path.py__init__s   zV1KeyToPath.__init__cCs|jS)z Gets the key of this V1KeyToPath. The key to project. :return: The key of this V1KeyToPath. :rtype: str )r )rrrrr1s zV1KeyToPath.keycCs|dkrtd||_dS)z Sets the key of this V1KeyToPath. The key to project. :param key: The key of this V1KeyToPath. :type: str Nz+Invalid value for `key`, must not be `None`) ValueErrorr )rrrrrr<s cCs|jS)a Gets the mode of this V1KeyToPath. Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. :return: The mode of this V1KeyToPath. :rtype: int )r )rrrrrJs zV1KeyToPath.modecCs ||_dS)a Sets the mode of this V1KeyToPath. Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. :param mode: The mode of this V1KeyToPath. :type: int N)r )rrrrrrUs cCs|jS)a Gets the path of this V1KeyToPath. The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. :return: The path of this V1KeyToPath. :rtype: str )r)rrrrr as zV1KeyToPath.pathcCs|dkrtd||_dS)a Sets the path of this V1KeyToPath. The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. :param path: The path of this V1KeyToPath. :type: str Nz,Invalid value for `path`, must not be `None`)rr)rr rrrr ls 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%V1KeyToPath.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrzs     zV1KeyToPath.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1KeyToPath.to_strcCs|jS)z* For `print` and `pprint` )r$)rrrr__repr__szV1KeyToPath.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1KeyToPath.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr'rrr__ne__szV1KeyToPath.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterrr rr$r%r(r)rrrrrs     r)r-pprintrsixrreobjectrrrrr s