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)V1AzureFileVolumeSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs2dddd|_dddd|_||_||_||_dS)aM V1AzureFileVolumeSource - 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. boolstr) read_only secret_name share_namereadOnlyZ secretNameZ shareNameN) swagger_types attribute_map _read_only _secret_name _share_name)selfrrr re/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_azure_file_volume_source.py__init__s   z V1AzureFileVolumeSource.__init__cCs|jS)a Gets the read_only of this V1AzureFileVolumeSource. Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. :return: The read_only of this V1AzureFileVolumeSource. :rtype: bool )r )rrrrr1s z!V1AzureFileVolumeSource.read_onlycCs ||_dS)a  Sets the read_only of this V1AzureFileVolumeSource. Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. :param read_only: The read_only of this V1AzureFileVolumeSource. :type: bool N)r )rrrrrr<s cCs|jS)z Gets the secret_name of this V1AzureFileVolumeSource. the name of secret that contains Azure Storage Account Name and Key :return: The secret_name of this V1AzureFileVolumeSource. :rtype: str )r)rrrrrHs z#V1AzureFileVolumeSource.secret_namecCs|dkrtd||_dS)z Sets the secret_name of this V1AzureFileVolumeSource. the name of secret that contains Azure Storage Account Name and Key :param secret_name: The secret_name of this V1AzureFileVolumeSource. :type: str Nz3Invalid value for `secret_name`, must not be `None`) ValueErrorr)rrrrrrSs cCs|jS)z Gets the share_name of this V1AzureFileVolumeSource. Share Name :return: The share_name of this V1AzureFileVolumeSource. :rtype: str )r)rrrrr as z"V1AzureFileVolumeSource.share_namecCs|dkrtd||_dS)z Sets the share_name of this V1AzureFileVolumeSource. Share Name :param share_name: The share_name of this V1AzureFileVolumeSource. :type: str Nz2Invalid value for `share_name`, 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)xrrrsz1V1AzureFileVolumeSource.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrzs     zV1AzureFileVolumeSource.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1AzureFileVolumeSource.to_strcCs|jS)z* For `print` and `pprint` )r%)rrrr__repr__sz V1AzureFileVolumeSource.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)rr__dict__)rotherrrr__eq__s zV1AzureFileVolumeSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr(rrr__ne__szV1AzureFileVolumeSource.__ne__)NNN)__name__ __module__ __qualname____doc__rpropertyrsetterrr rr%r&r)r*rrrrrs     r)r.pprintrsixrreobjectrrrrr s