3 f÷ÔY°#ã@s8dZddlmZddlmZddlZGdd„deƒZdS)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@søeZdZdZd$dd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ dd„Zdd„Zdd„Zd d!„Zd"d#„ZdS)%ÚV1ObjectReferencezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsZddddddddœ|_ddddddd dœ|_||_||_||_||_||_||_||_d S) aG V1ObjectReference - 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_versionÚ field_pathÚkindÚnameÚ namespaceÚresource_versionÚuidÚ apiVersionÚ fieldPathrr r ÚresourceVersionr N) Ú swagger_typesÚ attribute_mapÚ _api_versionÚ _field_pathÚ_kindÚ_nameÚ _namespaceÚ_resource_versionÚ_uid)Úselfrrrr r r r ©rú]/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_object_reference.pyÚ__init__s*   zV1ObjectReference.__init__cCs|jS)z· Gets the api_version of this V1ObjectReference. API version of the referent. :return: The api_version of this V1ObjectReference. :rtype: str )r)rrrrr=s zV1ObjectReference.api_versioncCs ||_dS)zÁ Sets the api_version of this V1ObjectReference. API version of the referent. :param api_version: The api_version of this V1ObjectReference. :type: str N)r)rrrrrrHs cCs|jS)aÑ Gets the field_path of this V1ObjectReference. If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. :return: The field_path of this V1ObjectReference. :rtype: str )r)rrrrrTs zV1ObjectReference.field_pathcCs ||_dS)aÚ Sets the field_path of this V1ObjectReference. If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. :param field_path: The field_path of this V1ObjectReference. :type: str N)r)rrrrrr_s cCs|jS)zü Gets the kind of this V1ObjectReference. Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :return: The kind of this V1ObjectReference. :rtype: str )r)rrrrrks zV1ObjectReference.kindcCs ||_dS)zÿ Sets the kind of this V1ObjectReference. Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds :param kind: The kind of this V1ObjectReference. :type: str N)r)rrrrrrvs cCs|jS)zü Gets the name of this V1ObjectReference. Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names :return: The name of this V1ObjectReference. :rtype: str )r)rrrrr ‚s zV1ObjectReference.namecCs ||_dS)zÿ Sets the name of this V1ObjectReference. Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names :param name: The name of this V1ObjectReference. :type: str N)r)rr rrrr �s cCs|jS)a  Gets the namespace of this V1ObjectReference. Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ :return: The namespace of this V1ObjectReference. :rtype: str )r)rrrrr ™s zV1ObjectReference.namespacecCs ||_dS)a Sets the namespace of this V1ObjectReference. Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ :param namespace: The namespace of this V1ObjectReference. :type: str N)r)rr rrrr ¤s cCs|jS)aX Gets the resource_version of this V1ObjectReference. Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency :return: The resource_version of this V1ObjectReference. :rtype: str )r)rrrrr °s z"V1ObjectReference.resource_versioncCs ||_dS)ag Sets the resource_version of this V1ObjectReference. Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency :param resource_version: The resource_version of this V1ObjectReference. :type: str N)r)rr rrrr »s cCs|jS)zø Gets the uid of this V1ObjectReference. UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids :return: The uid of this V1ObjectReference. :rtype: str )r)rrrrr Çs zV1ObjectReference.uidcCs ||_dS)zú Sets the uid of this V1ObjectReference. UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids :param uid: The uid of this V1ObjectReference. :type: str N)r)rr rrrr Òs cCs’i}xˆt|jƒD]z\}}t||ƒ}t|tƒrDttdd„|ƒƒ||<qt|dƒr\|jƒ||<qt|tƒr‚ttdd„|j ƒƒƒ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dƒr|jƒS|S)NÚto_dict)Úhasattrr)ÚxrrrÚèsz+V1ObjectReference.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrr ïs) rrÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)rÚresultÚattrÚ_ÚvaluerrrrÞs     zV1ObjectReference.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strøszV1ObjectReference.to_strcCs|jƒS)z* For `print` and `pprint` )r-)rrrrÚ__repr__þszV1ObjectReference.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r$rÚ__dict__)rÚotherrrrÚ__eq__s zV1ObjectReference.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr0rrrÚ__ne__ szV1ObjectReference.__ne__)NNNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr r r r rr-r.r1r2rrrrrs* %         r)r6ÚpprintrÚsixrÚreÚobjectrrrrrÚ s