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)V1PersistentVolumeStatuszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS)aN V1PersistentVolumeStatus - 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)messagephasereasonrrrN) swagger_types attribute_map_message_phase_reason)selfrrrre/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_persistent_volume_status.py__init__s   z!V1PersistentVolumeStatus.__init__cCs|jS)z Gets the message of this V1PersistentVolumeStatus. A human-readable message indicating details about why the volume is in this state. :return: The message of this V1PersistentVolumeStatus. :rtype: str )r )rrrrr1s z V1PersistentVolumeStatus.messagecCs ||_dS)z Sets the message of this V1PersistentVolumeStatus. A human-readable message indicating details about why the volume is in this state. :param message: The message of this V1PersistentVolumeStatus. :type: str N)r )rrrrrr<s cCs|jS)a@ Gets the phase of this V1PersistentVolumeStatus. Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase :return: The phase of this V1PersistentVolumeStatus. :rtype: str )r )rrrrrHs zV1PersistentVolumeStatus.phasecCs ||_dS)aD Sets the phase of this V1PersistentVolumeStatus. Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase :param phase: The phase of this V1PersistentVolumeStatus. :type: str N)r )rrrrrrSs cCs|jS)a Gets the reason of this V1PersistentVolumeStatus. Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI. :return: The reason of this V1PersistentVolumeStatus. :rtype: str )r )rrrrr_s zV1PersistentVolumeStatus.reasoncCs ||_dS)a Sets the reason of this V1PersistentVolumeStatus. Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI. :param reason: The reason of this V1PersistentVolumeStatus. :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)xrrrsz2V1PersistentVolumeStatus.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrvs     z V1PersistentVolumeStatus.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1PersistentVolumeStatus.to_strcCs|jS)z* For `print` and `pprint` )r")rrrr__repr__sz!V1PersistentVolumeStatus.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1PersistentVolumeStatus.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr%rrr__ne__szV1PersistentVolumeStatus.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterrrrr"r#r&r'rrrrrs      r)r+pprintrsixrreobjectrrrrr s