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)V1SecretProjectionzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS) aH V1SecretProjection - 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. zlist[V1KeyToPath]strbool)itemsnameoptionalrrr N) swagger_types attribute_map_items_name _optional)selfrrr r^/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_secret_projection.py__init__s   zV1SecretProjection.__init__cCs|jS)a{ Gets the items of this V1SecretProjection. If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. :return: The items of this V1SecretProjection. :rtype: list[V1KeyToPath] )r )rrrrr1s zV1SecretProjection.itemscCs ||_dS)a Sets the items of this V1SecretProjection. If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. :param items: The items of this V1SecretProjection. :type: list[V1KeyToPath] N)r )rrrrrr<s cCs|jS)z Gets the name of this V1SecretProjection. Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names :return: The name of this V1SecretProjection. :rtype: str )r )rrrrrHs zV1SecretProjection.namecCs ||_dS)a Sets the name of this V1SecretProjection. Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names :param name: The name of this V1SecretProjection. :type: str N)r )rrrrrrSs cCs|jS)z Gets the optional of this V1SecretProjection. Specify whether the Secret or its key must be defined :return: The optional of this V1SecretProjection. :rtype: bool )r)rrrrr _s zV1SecretProjection.optionalcCs ||_dS)z Sets the optional of this V1SecretProjection. Specify whether the Secret or its key must be defined :param optional: The optional of this V1SecretProjection. :type: bool 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,V1SecretProjection.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictr)rresultattr_valuerrrrvs     zV1SecretProjection.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1SecretProjection.to_strcCs|jS)z* For `print` and `pprint` )r")rrrr__repr__szV1SecretProjection.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1SecretProjection.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr%rrr__ne__szV1SecretProjection.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterrr rr"r#r&r'rrrrrs      r)r+pprintrsixrreobjectrrrrr s