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)V1NFSVolumeSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS)aG V1NFSVolumeSource - 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. strbool)path read_onlyserverrreadOnlyr N) swagger_types attribute_map_path _read_only_server)selfrrr r^/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_nfs_volume_source.py__init__s   zV1NFSVolumeSource.__init__cCs|jS)z Gets the path of this V1NFSVolumeSource. Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs :return: The path of this V1NFSVolumeSource. :rtype: str )r )rrrrr1s zV1NFSVolumeSource.pathcCs|dkrtd||_dS)z Sets the path of this V1NFSVolumeSource. Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs :param path: The path of this V1NFSVolumeSource. :type: str Nz,Invalid value for `path`, must not be `None`) ValueErrorr )rrrrrr<s cCs|jS)a? Gets the read_only of this V1NFSVolumeSource. ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs :return: The read_only of this V1NFSVolumeSource. :rtype: bool )r)rrrrrJs zV1NFSVolumeSource.read_onlycCs ||_dS)aG Sets the read_only of this V1NFSVolumeSource. ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs :param read_only: The read_only of this V1NFSVolumeSource. :type: bool N)r)rrrrrrUs cCs|jS)a  Gets the server of this V1NFSVolumeSource. Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs :return: The server of this V1NFSVolumeSource. :rtype: str )r)rrrrr as zV1NFSVolumeSource.servercCs|dkrtd||_dS)a Sets the server of this V1NFSVolumeSource. Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs :param server: The server of this V1NFSVolumeSource. :type: str Nz.Invalid value for `server`, must not be `None`)rr)rr rrrr ls 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+V1NFSVolumeSource.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrzs     zV1NFSVolumeSource.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1NFSVolumeSource.to_strcCs|jS)z* For `print` and `pprint` )r%)rrrr__repr__szV1NFSVolumeSource.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1NFSVolumeSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr(rrr__ne__szV1NFSVolumeSource.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterrr rr%r&r)r*rrrrrs     r)r.pprintrsixrreobjectrrrrr s