3 fYj@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)V1CrossVersionObjectReferencezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS)aS V1CrossVersionObjectReference - 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. str) api_versionkindname apiVersionrrN) swagger_types attribute_map _api_version_kind_name)selfrrrrk/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_cross_version_object_reference.py__init__s   z&V1CrossVersionObjectReference.__init__cCs|jS)z Gets the api_version of this V1CrossVersionObjectReference. API version of the referent :return: The api_version of this V1CrossVersionObjectReference. :rtype: str )r )rrrrr1s z)V1CrossVersionObjectReference.api_versioncCs ||_dS)z Sets the api_version of this V1CrossVersionObjectReference. API version of the referent :param api_version: The api_version of this V1CrossVersionObjectReference. :type: str N)r )rrrrrr<s cCs|jS)a Gets the kind of this V1CrossVersionObjectReference. Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds" :return: The kind of this V1CrossVersionObjectReference. :rtype: str )r )rrrrrHs z"V1CrossVersionObjectReference.kindcCs|dkrtd||_dS)a Sets the kind of this V1CrossVersionObjectReference. Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds" :param kind: The kind of this V1CrossVersionObjectReference. :type: str Nz,Invalid value for `kind`, must not be `None`) ValueErrorr )rrrrrrSs cCs|jS)z Gets the name of this V1CrossVersionObjectReference. Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names :return: The name of this V1CrossVersionObjectReference. :rtype: str )r)rrrrras z"V1CrossVersionObjectReference.namecCs|dkrtd||_dS)z Sets the name of this V1CrossVersionObjectReference. Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names :param name: The name of this V1CrossVersionObjectReference. :type: str Nz,Invalid value for `name`, must not be `None`)rr)rrrrrrls 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)xrrrsz7V1CrossVersionObjectReference.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrzs     z%V1CrossVersionObjectReference.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strsz$V1CrossVersionObjectReference.to_strcCs|jS)z* For `print` and `pprint` )r$)rrrr__repr__sz&V1CrossVersionObjectReference.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s z$V1CrossVersionObjectReference.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr'rrr__ne__sz$V1CrossVersionObjectReference.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterrrrr$r%r(r)rrrrrs     r)r-pprintrsixrreobjectrrrrr s