3 f÷ÔYHã@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)ÚV1PersistentVolumeClaimSpeczw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsFddddddœ|_dddd d dœ|_||_||_||_||_||_d S) aQ V1PersistentVolumeClaimSpec - 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. z list[str]ÚV1ResourceRequirementsÚV1LabelSelectorÚstr)Ú access_modesÚ resourcesÚselectorÚstorage_class_nameÚ volume_nameZ accessModesr r ZstorageClassNameZ volumeNameN)Ú swagger_typesÚ attribute_mapÚ _access_modesÚ _resourcesÚ _selectorÚ_storage_class_nameÚ _volume_name)Úselfrr r r r ©rúi/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_persistent_volume_claim_spec.pyÚ__init__s   z$V1PersistentVolumeClaimSpec.__init__cCs|jS)aU Gets the access_modes of this V1PersistentVolumeClaimSpec. AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 :return: The access_modes of this V1PersistentVolumeClaimSpec. :rtype: list[str] )r)rrrrr7s z(V1PersistentVolumeClaimSpec.access_modescCs ||_dS)a` Sets the access_modes of this V1PersistentVolumeClaimSpec. AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 :param access_modes: The access_modes of this V1PersistentVolumeClaimSpec. :type: list[str] N)r)rrrrrrBs cCs|jS)aT Gets the resources of this V1PersistentVolumeClaimSpec. Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources :return: The resources of this V1PersistentVolumeClaimSpec. :rtype: V1ResourceRequirements )r)rrrrr Ns z%V1PersistentVolumeClaimSpec.resourcescCs ||_dS)a\ Sets the resources of this V1PersistentVolumeClaimSpec. Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources :param resources: The resources of this V1PersistentVolumeClaimSpec. :type: V1ResourceRequirements N)r)rr rrrr Ys cCs|jS)zè Gets the selector of this V1PersistentVolumeClaimSpec. A label query over volumes to consider for binding. :return: The selector of this V1PersistentVolumeClaimSpec. :rtype: V1LabelSelector )r)rrrrr es z$V1PersistentVolumeClaimSpec.selectorcCs ||_dS)zï Sets the selector of this V1PersistentVolumeClaimSpec. A label query over volumes to consider for binding. :param selector: The selector of this V1PersistentVolumeClaimSpec. :type: V1LabelSelector N)r)rr rrrr ps cCs|jS)a> Gets the storage_class_name of this V1PersistentVolumeClaimSpec. Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 :return: The storage_class_name of this V1PersistentVolumeClaimSpec. :rtype: str )r)rrrrr |s z.V1PersistentVolumeClaimSpec.storage_class_namecCs ||_dS)aO Sets the storage_class_name of this V1PersistentVolumeClaimSpec. Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 :param storage_class_name: The storage_class_name of this V1PersistentVolumeClaimSpec. :type: str N)r)rr rrrr ‡s cCs|jS)zþ Gets the volume_name of this V1PersistentVolumeClaimSpec. VolumeName is the binding reference to the PersistentVolume backing this claim. :return: The volume_name of this V1PersistentVolumeClaimSpec. :rtype: str )r)rrrrr “s z'V1PersistentVolumeClaimSpec.volume_namecCs ||_dS)a Sets the volume_name of this V1PersistentVolumeClaimSpec. VolumeName is the binding reference to the PersistentVolume backing this claim. :param volume_name: The volume_name of this V1PersistentVolumeClaimSpec. :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Ú´sz5V1PersistentVolumeClaimSpec.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     z#V1PersistentVolumeClaimSpec.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strÄsz"V1PersistentVolumeClaimSpec.to_strcCs|jƒS)z* For `print` and `pprint` )r()rrrrÚ__repr__Êsz$V1PersistentVolumeClaimSpec.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__Ðs z"V1PersistentVolumeClaimSpec.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr+rrrÚ__ne__Ùsz"V1PersistentVolumeClaimSpec.__ne__)NNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterr r r r rr(r)r,r-rrrrrs"        r)r1ÚpprintrÚsixrÚreÚobjectrrrrrÚ s