3 fYG@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)V1GlusterfsVolumeSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS)aM V1GlusterfsVolumeSource - 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) endpointspath read_onlyrrreadOnlyN) swagger_types attribute_map _endpoints_path _read_only)selfrrr rd/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_glusterfs_volume_source.py__init__s   z V1GlusterfsVolumeSource.__init__cCs|jS)a@ Gets the endpoints of this V1GlusterfsVolumeSource. EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod :return: The endpoints of this V1GlusterfsVolumeSource. :rtype: str )r )rrrrr1s z!V1GlusterfsVolumeSource.endpointscCs|dkrtd||_dS)aH Sets the endpoints of this V1GlusterfsVolumeSource. EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod :param endpoints: The endpoints of this V1GlusterfsVolumeSource. :type: str Nz1Invalid value for `endpoints`, must not be `None`) ValueErrorr )rrrrrr<s cCs|jS)a Gets the path of this V1GlusterfsVolumeSource. Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod :return: The path of this V1GlusterfsVolumeSource. :rtype: str )r)rrrrrJs zV1GlusterfsVolumeSource.pathcCs|dkrtd||_dS)a Sets the path of this V1GlusterfsVolumeSource. Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod :param path: The path of this V1GlusterfsVolumeSource. :type: str Nz,Invalid value for `path`, must not be `None`)rr)rrrrrrUs cCs|jS)ah Gets the read_only of this V1GlusterfsVolumeSource. ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod :return: The read_only of this V1GlusterfsVolumeSource. :rtype: bool )r)rrrrr cs z!V1GlusterfsVolumeSource.read_onlycCs ||_dS)ap Sets the read_only of this V1GlusterfsVolumeSource. ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod :param read_only: The read_only of this V1GlusterfsVolumeSource. :type: bool N)r)rr rrrr ns 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)xrrrsz1V1GlusterfsVolumeSource.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrzs     zV1GlusterfsVolumeSource.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1GlusterfsVolumeSource.to_strcCs|jS)z* For `print` and `pprint` )r%)rrrr__repr__sz V1GlusterfsVolumeSource.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1GlusterfsVolumeSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr(rrr__ne__szV1GlusterfsVolumeSource.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterrr rr%r&r)r*rrrrrs      r)r.pprintrsixrreobjectrrrrr s