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)"V1OwnerReferencezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsPddddddd|_dddddd d|_||_||_||_||_||_||_d S) aF V1OwnerReference - 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) api_versionblock_owner_deletion controllerkindnameuid apiVersionZblockOwnerDeletionr r r r N) swagger_types attribute_map _api_version_block_owner_deletion _controller_kind_name_uid)selfrrr r r r r\/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_owner_reference.py__init__s$   zV1OwnerReference.__init__cCs|jS)z Gets the api_version of this V1OwnerReference. API version of the referent. :return: The api_version of this V1OwnerReference. :rtype: str )r)rrrrr:s zV1OwnerReference.api_versioncCs|dkrtd||_dS)z Sets the api_version of this V1OwnerReference. API version of the referent. :param api_version: The api_version of this V1OwnerReference. :type: str Nz3Invalid value for `api_version`, must not be `None`) ValueErrorr)rrrrrrEs cCs|jS)a Gets the block_owner_deletion of this V1OwnerReference. If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. :return: The block_owner_deletion of this V1OwnerReference. :rtype: bool )r)rrrrrSs z%V1OwnerReference.block_owner_deletioncCs ||_dS)a Sets the block_owner_deletion of this V1OwnerReference. If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. :param block_owner_deletion: The block_owner_deletion of this V1OwnerReference. :type: bool N)r)rrrrrr^s cCs|jS)z Gets the controller of this V1OwnerReference. If true, this reference points to the managing controller. :return: The controller of this V1OwnerReference. :rtype: bool )r)rrrrr js zV1OwnerReference.controllercCs ||_dS)z Sets the controller of this V1OwnerReference. If true, this reference points to the managing controller. :param controller: The controller of this V1OwnerReference. :type: bool N)r)rr rrrr us cCs|jS)z Gets the kind of this V1OwnerReference. Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1OwnerReference. :rtype: str )r)rrrrr s zV1OwnerReference.kindcCs|dkrtd||_dS)z Sets the kind of this V1OwnerReference. Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1OwnerReference. :type: str Nz,Invalid value for `kind`, must not be `None`)rr)rr rrrr s cCs|jS)z Gets the name of this V1OwnerReference. Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names :return: The name of this V1OwnerReference. :rtype: str )r)rrrrr s zV1OwnerReference.namecCs|dkrtd||_dS)z Sets the name of this V1OwnerReference. Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names :param name: The name of this V1OwnerReference. :type: str Nz,Invalid value for `name`, must not be `None`)rr)rr rrrr s cCs|jS)z Gets the uid of this V1OwnerReference. UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids :return: The uid of this V1OwnerReference. :rtype: str )r)rrrrr s zV1OwnerReference.uidcCs|dkrtd||_dS)z Sets the uid of this V1OwnerReference. UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids :param uid: The uid of this V1OwnerReference. :type: str Nz+Invalid value for `uid`, must not be `None`)rr)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*V1OwnerReference.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rrgetattr isinstancelistmaprrdictitems)rresultattr_valuerrrrs     zV1OwnerReference.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1OwnerReference.to_strcCs|jS)z* For `print` and `pprint` )r+)rrrr__repr__szV1OwnerReference.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)r"r__dict__)rotherrrr__eq__s zV1OwnerReference.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr.rrr__ne__szV1OwnerReference.__ne__)NNNNNN)__name__ __module__ __qualname____doc__rpropertyrsetterrr r r r rr+r,r/r0rrrrrs& "       r)r4pprintrsixrreobjectrrrrr s