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@seZdZdZd!ddZeddZejddZedd Zejd d Zed d Z e jd d Z eddZ e jddZ eddZ e jddZ eddZ e jddZ ddZ ddZddZddZdd ZdS)"V1Secretzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsPddddddd|_ddddd d d|_||_||_||_||_||_||_d S) a> V1Secret - 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. strzdict(str, str) V1ObjectMeta) api_versiondatakindmetadata string_datatype apiVersionrr r Z stringDatar N) swagger_types attribute_map _api_version_data_kind _metadata _string_data_type)selfrrr r r r rS/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_secret.py__init__s$   zV1Secret.__init__cCs|jS)a Gets the api_version of this V1Secret. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :return: The api_version of this V1Secret. :rtype: str )r)rrrrr:s zV1Secret.api_versioncCs ||_dS)a Sets the api_version of this V1Secret. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources :param api_version: The api_version of this V1Secret. :type: str N)r)rrrrrrEs cCs|jS)a Gets the data of this V1Secret. Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 :return: The data of this V1Secret. :rtype: dict(str, str) )r)rrrrrQs z V1Secret.datacCs ||_dS)a Sets the data of this V1Secret. Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 :param data: The data of this V1Secret. :type: dict(str, str) N)r)rrrrrr\s cCs|jS)a Gets the kind of this V1Secret. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1Secret. :rtype: str )r)rrrrr hs z V1Secret.kindcCs ||_dS)a Sets the kind of this V1Secret. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1Secret. :type: str N)r)rr rrrr ss cCs|jS)z Gets the metadata of this V1Secret. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata :return: The metadata of this V1Secret. :rtype: V1ObjectMeta )r)rrrrr s zV1Secret.metadatacCs ||_dS)a Sets the metadata of this V1Secret. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata :param metadata: The metadata of this V1Secret. :type: V1ObjectMeta N)r)rr rrrr s cCs|jS)a Gets the string_data of this V1Secret. stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. :return: The string_data of this V1Secret. :rtype: dict(str, str) )r)rrrrr s zV1Secret.string_datacCs ||_dS)a Sets the string_data of this V1Secret. stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. :param string_data: The string_data of this V1Secret. :type: dict(str, str) N)r)rr rrrr s cCs|jS)z Gets the type of this V1Secret. Used to facilitate programmatic handling of secret data. :return: The type of this V1Secret. :rtype: str )r)rrrrr s z V1Secret.typecCs ||_dS)z Sets the type of this V1Secret. Used to facilitate programmatic handling of secret data. :param type: The type of this V1Secret. :type: str N)r)rr rrrr s 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"V1Secret.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rrgetattr isinstancelistmaprrdictitems)rresultattr_valuerrrrs     zV1Secret.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1Secret.to_strcCs|jS)z* For `print` and `pprint` )r*)rrrr__repr__szV1Secret.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)r!r__dict__)rotherrrr__eq__s zV1Secret.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr-rrr__ne__szV1Secret.__ne__)NNNNNN)__name__ __module__ __qualname____doc__rpropertyrsetterrr r r r rr*r+r.r/rrrrrs& "        r)r3pprintrsixrreobjectrrrrr s