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ÄeZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ dd„Z dd„Z dd„Zdd„Zdd„ZdS)ÚV1PersistentVolumezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsFddddddœ|_dddd d dœ|_||_||_||_||_||_d S) aH V1PersistentVolume - 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Ú V1ObjectMetaÚV1PersistentVolumeSpecÚV1PersistentVolumeStatus)Ú api_versionÚkindÚmetadataÚspecÚstatusÚ apiVersionr r r r N)Ú swagger_typesÚ attribute_mapÚ _api_versionÚ_kindÚ _metadataÚ_specÚ_status)Úselfr r r r r ©rú^/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_persistent_volume.pyÚ__init__s   zV1PersistentVolume.__init__cCs|jS)a­ Gets the api_version of this V1PersistentVolume. 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 V1PersistentVolume. :rtype: str )r)rrrrr 7s zV1PersistentVolume.api_versioncCs ||_dS)a· Sets the api_version of this V1PersistentVolume. 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 V1PersistentVolume. :type: str N)r)rr rrrr Bs cCs|jS)a  Gets the kind of this V1PersistentVolume. 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 V1PersistentVolume. :rtype: str )r)rrrrr Ns zV1PersistentVolume.kindcCs ||_dS)a£ Sets the kind of this V1PersistentVolume. 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 V1PersistentVolume. :type: str N)r)rr rrrr Ys cCs|jS)a Gets the metadata of this V1PersistentVolume. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata :return: The metadata of this V1PersistentVolume. :rtype: V1ObjectMeta )r)rrrrr es zV1PersistentVolume.metadatacCs ||_dS)a Sets the metadata of this V1PersistentVolume. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata :param metadata: The metadata of this V1PersistentVolume. :type: V1ObjectMeta N)r)rr rrrr ps cCs|jS)ai Gets the spec of this V1PersistentVolume. Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes :return: The spec of this V1PersistentVolume. :rtype: V1PersistentVolumeSpec )r)rrrrr |s zV1PersistentVolume.speccCs ||_dS)al Sets the spec of this V1PersistentVolume. Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes :param spec: The spec of this V1PersistentVolume. :type: V1PersistentVolumeSpec N)r)rr rrrr ‡s cCs|jS)at Gets the status of this V1PersistentVolume. Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes :return: The status of this V1PersistentVolume. :rtype: V1PersistentVolumeStatus )r)rrrrr “s zV1PersistentVolume.statuscCs ||_dS)ay Sets the status of this V1PersistentVolume. Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes :param status: The status of this V1PersistentVolume. :type: V1PersistentVolumeStatus 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,V1PersistentVolume.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     zV1PersistentVolume.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strÄszV1PersistentVolume.to_strcCs|jƒS)z* For `print` and `pprint` )r*)rrrrÚ__repr__ÊszV1PersistentVolume.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r!rÚ__dict__)rÚotherrrrÚ__eq__Ðs zV1PersistentVolume.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr-rrrÚ__ne__ÙszV1PersistentVolume.__ne__)NNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyr Úsetterr r r r rr*r+r.r/rrrrrs"        r)r3ÚpprintrÚsixrÚreÚobjectrrrrrÚ s