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@seZdZdZdddZeddZejddZedd Zejd d Zed d Z e jd d Z ddZ ddZ ddZ ddZ ddZdS)V1PersistentVolumeClaimStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS) aS V1PersistentVolumeClaimStatus - 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]zdict(str, str)str) access_modescapacityphase accessModesrrN) swagger_types attribute_map _access_modes _capacity_phase)selfrrrrk/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_persistent_volume_claim_status.py__init__s   z&V1PersistentVolumeClaimStatus.__init__cCs|jS)a` Gets the access_modes of this V1PersistentVolumeClaimStatus. AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 :return: The access_modes of this V1PersistentVolumeClaimStatus. :rtype: list[str] )r )rrrrr1s z*V1PersistentVolumeClaimStatus.access_modescCs ||_dS)ak Sets the access_modes of this V1PersistentVolumeClaimStatus. AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 :param access_modes: The access_modes of this V1PersistentVolumeClaimStatus. :type: list[str] N)r )rrrrrr<s cCs|jS)z Gets the capacity of this V1PersistentVolumeClaimStatus. Represents the actual resources of the underlying volume. :return: The capacity of this V1PersistentVolumeClaimStatus. :rtype: dict(str, str) )r )rrrrrHs z&V1PersistentVolumeClaimStatus.capacitycCs ||_dS)z Sets the capacity of this V1PersistentVolumeClaimStatus. Represents the actual resources of the underlying volume. :param capacity: The capacity of this V1PersistentVolumeClaimStatus. :type: dict(str, str) N)r )rrrrrrSs cCs|jS)z Gets the phase of this V1PersistentVolumeClaimStatus. Phase represents the current phase of PersistentVolumeClaim. :return: The phase of this V1PersistentVolumeClaimStatus. :rtype: str )r)rrrrr_s z#V1PersistentVolumeClaimStatus.phasecCs ||_dS)z Sets the phase of this V1PersistentVolumeClaimStatus. Phase represents the current phase of PersistentVolumeClaim. :param phase: The phase of this V1PersistentVolumeClaimStatus. :type: str N)r)rrrrrrjs 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)xrrrsz7V1PersistentVolumeClaimStatus.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrvs     z%V1PersistentVolumeClaimStatus.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strsz$V1PersistentVolumeClaimStatus.to_strcCs|jS)z* For `print` and `pprint` )r#)rrrr__repr__sz&V1PersistentVolumeClaimStatus.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s z$V1PersistentVolumeClaimStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr&rrr__ne__sz$V1PersistentVolumeClaimStatus.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterrrrr#r$r'r(rrrrrs      r)r,pprintrsixrreobjectrrrrr s