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 eddZ e jddZ ddZddZddZd 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_pathkindname namespaceresource_versionuid 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 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+V1ObjectReference.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrr s) rrgetattr isinstancelistmaprrdictitems)rresultattr_valuerrrrs     zV1ObjectReference.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1ObjectReference.to_strcCs|jS)z* For `print` and `pprint` )r-)rrrr__repr__szV1ObjectReference.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)r$r__dict__)rotherrrr__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__rpropertyrsetterrrr r r r rr-r.r1r2rrrrrs* %         r)r6pprintrsixrreobjectrrrrr s