3 fY0@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)V1SecretKeySelectorzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS)aI V1SecretKeySelector - 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. strbool)keynameoptionalrrr N) swagger_types attribute_map_key_name _optional)selfrrr r`/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_secret_key_selector.py__init__s   zV1SecretKeySelector.__init__cCs|jS)z Gets the key of this V1SecretKeySelector. The key of the secret to select from. Must be a valid secret key. :return: The key of this V1SecretKeySelector. :rtype: str )r )rrrrr1s zV1SecretKeySelector.keycCs|dkrtd||_dS)z Sets the key of this V1SecretKeySelector. The key of the secret to select from. Must be a valid secret key. :param key: The key of this V1SecretKeySelector. :type: str Nz+Invalid value for `key`, must not be `None`) ValueErrorr )rrrrrr<s cCs|jS)a Gets the name of this V1SecretKeySelector. Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names :return: The name of this V1SecretKeySelector. :rtype: str )r )rrrrrJs zV1SecretKeySelector.namecCs ||_dS)a Sets the name of this V1SecretKeySelector. Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names :param name: The name of this V1SecretKeySelector. :type: str N)r )rrrrrrUs cCs|jS)z Gets the optional of this V1SecretKeySelector. Specify whether the Secret or it's key must be defined :return: The optional of this V1SecretKeySelector. :rtype: bool )r)rrrrr as zV1SecretKeySelector.optionalcCs ||_dS)z Sets the optional of this V1SecretKeySelector. Specify whether the Secret or it's key must be defined :param optional: The optional of this V1SecretKeySelector. :type: bool N)r)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-V1SecretKeySelector.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrxs     zV1SecretKeySelector.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1SecretKeySelector.to_strcCs|jS)z* For `print` and `pprint` )r$)rrrr__repr__szV1SecretKeySelector.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1SecretKeySelector.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr'rrr__ne__szV1SecretKeySelector.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterrr rr$r%r(r)rrrrrs      r)r-pprintrsixrreobjectrrrrr s