3 fY5,@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 @sFeZdZdZd-ddZeddZejddZedd Zejd d Zed d Z e jd d Z eddZ e jddZ eddZ e jddZ eddZ e jddZ eddZ e jddZ eddZejddZeddZejddZed d!Zejd"d!Zd#d$Zd%d&Zd'd(Zd)d*Zd+d,ZdS).V1ScaleIOVolumeSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Nc Csxddddddddddd |_ddddd d d d d dd |_||_||_||_||_||_||_||_||_ | |_ | |_ dS)aK V1ScaleIOVolumeSource - 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. strboolV1LocalObjectReference) fs_typegatewayprotection_domain read_only secret_ref ssl_enabled storage_mode storage_poolsystem volume_namefsTyper ZprotectionDomainreadOnly secretRefZ sslEnabledZ storageModeZ storagePoolr volumeNameN) swagger_types attribute_map_fs_type_gateway_protection_domain _read_only _secret_ref _ssl_enabled _storage_mode _storage_pool_system _volume_name) selfrr r r r r rrrrr#c/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_scale_io_volume_source.py__init__s<   zV1ScaleIOVolumeSource.__init__cCs|jS)aB Gets the fs_type of this V1ScaleIOVolumeSource. Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. :return: The fs_type of this V1ScaleIOVolumeSource. :rtype: str )r)r"r#r#r$rFs zV1ScaleIOVolumeSource.fs_typecCs ||_dS)aH Sets the fs_type of this V1ScaleIOVolumeSource. Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. :param fs_type: The fs_type of this V1ScaleIOVolumeSource. :type: str N)r)r"rr#r#r$rQs cCs|jS)z Gets the gateway of this V1ScaleIOVolumeSource. The host address of the ScaleIO API Gateway. :return: The gateway of this V1ScaleIOVolumeSource. :rtype: str )r)r"r#r#r$r ]s zV1ScaleIOVolumeSource.gatewaycCs|dkrtd||_dS)z Sets the gateway of this V1ScaleIOVolumeSource. The host address of the ScaleIO API Gateway. :param gateway: The gateway of this V1ScaleIOVolumeSource. :type: str Nz/Invalid value for `gateway`, must not be `None`) ValueErrorr)r"r r#r#r$r hs cCs|jS)a Gets the protection_domain of this V1ScaleIOVolumeSource. The name of the Protection Domain for the configured storage (defaults to "default"). :return: The protection_domain of this V1ScaleIOVolumeSource. :rtype: str )r)r"r#r#r$r vs z'V1ScaleIOVolumeSource.protection_domaincCs ||_dS)a Sets the protection_domain of this V1ScaleIOVolumeSource. The name of the Protection Domain for the configured storage (defaults to "default"). :param protection_domain: The protection_domain of this V1ScaleIOVolumeSource. :type: str N)r)r"r r#r#r$r s cCs|jS)z Gets the read_only of this V1ScaleIOVolumeSource. Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. :return: The read_only of this V1ScaleIOVolumeSource. :rtype: bool )r)r"r#r#r$r s zV1ScaleIOVolumeSource.read_onlycCs ||_dS)a Sets the read_only of this V1ScaleIOVolumeSource. Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. :param read_only: The read_only of this V1ScaleIOVolumeSource. :type: bool N)r)r"r r#r#r$r s cCs|jS)a< Gets the secret_ref of this V1ScaleIOVolumeSource. SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. :return: The secret_ref of this V1ScaleIOVolumeSource. :rtype: V1LocalObjectReference )r)r"r#r#r$r s z V1ScaleIOVolumeSource.secret_refcCs|dkrtd||_dS)aE Sets the secret_ref of this V1ScaleIOVolumeSource. SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. :param secret_ref: The secret_ref of this V1ScaleIOVolumeSource. :type: V1LocalObjectReference Nz2Invalid value for `secret_ref`, must not be `None`)r&r)r"r r#r#r$r s cCs|jS)z Gets the ssl_enabled of this V1ScaleIOVolumeSource. Flag to enable/disable SSL communication with Gateway, default false :return: The ssl_enabled of this V1ScaleIOVolumeSource. :rtype: bool )r)r"r#r#r$r s z!V1ScaleIOVolumeSource.ssl_enabledcCs ||_dS)z Sets the ssl_enabled of this V1ScaleIOVolumeSource. Flag to enable/disable SSL communication with Gateway, default false :param ssl_enabled: The ssl_enabled of this V1ScaleIOVolumeSource. :type: bool N)r)r"r r#r#r$r s cCs|jS)z Gets the storage_mode of this V1ScaleIOVolumeSource. Indicates whether the storage for a volume should be thick or thin (defaults to "thin"). :return: The storage_mode of this V1ScaleIOVolumeSource. :rtype: str )r)r"r#r#r$rs z"V1ScaleIOVolumeSource.storage_modecCs ||_dS)a Sets the storage_mode of this V1ScaleIOVolumeSource. Indicates whether the storage for a volume should be thick or thin (defaults to "thin"). :param storage_mode: The storage_mode of this V1ScaleIOVolumeSource. :type: str N)r)r"rr#r#r$rs cCs|jS)z Gets the storage_pool of this V1ScaleIOVolumeSource. The Storage Pool associated with the protection domain (defaults to "default"). :return: The storage_pool of this V1ScaleIOVolumeSource. :rtype: str )r)r"r#r#r$rs z"V1ScaleIOVolumeSource.storage_poolcCs ||_dS)z Sets the storage_pool of this V1ScaleIOVolumeSource. The Storage Pool associated with the protection domain (defaults to "default"). :param storage_pool: The storage_pool of this V1ScaleIOVolumeSource. :type: str N)r)r"rr#r#r$rs cCs|jS)z Gets the system of this V1ScaleIOVolumeSource. The name of the storage system as configured in ScaleIO. :return: The system of this V1ScaleIOVolumeSource. :rtype: str )r )r"r#r#r$rs zV1ScaleIOVolumeSource.systemcCs|dkrtd||_dS)z Sets the system of this V1ScaleIOVolumeSource. The name of the storage system as configured in ScaleIO. :param system: The system of this V1ScaleIOVolumeSource. :type: str Nz.Invalid value for `system`, must not be `None`)r&r )r"rr#r#r$r s cCs|jS)a  Gets the volume_name of this V1ScaleIOVolumeSource. The name of a volume already created in the ScaleIO system that is associated with this volume source. :return: The volume_name of this V1ScaleIOVolumeSource. :rtype: str )r!)r"r#r#r$rs z!V1ScaleIOVolumeSource.volume_namecCs ||_dS)a Sets the volume_name of this V1ScaleIOVolumeSource. The name of a volume already created in the ScaleIO system that is associated with this volume source. :param volume_name: The volume_name of this V1ScaleIOVolumeSource. :type: str N)r!)r"rr#r#r$r&s 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')xr#r#r$<sz/V1ScaleIOVolumeSource.to_dict..r'cSs&t|ddr"|d|djfS|S)Nr'r)r(r')itemr#r#r$r*Cs) rrgetattr isinstancelistmapr(r'dictitems)r"resultattr_valuer#r#r$r'2s     zV1ScaleIOVolumeSource.to_dictcCs t|jS)z@ Returns the string representation of the model )rr')r"r#r#r$to_strLszV1ScaleIOVolumeSource.to_strcCs|jS)z* For `print` and `pprint` )r7)r"r#r#r$__repr__RszV1ScaleIOVolumeSource.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)r.r__dict__)r"otherr#r#r$__eq__Xs zV1ScaleIOVolumeSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r#)r"r:r#r#r$__ne__aszV1ScaleIOVolumeSource.__ne__) NNNNNNNNNN)__name__ __module__ __qualname____doc__r%propertyrsetterr r r r r rrrrr'r7r8r;r<r#r#r#r$rs6 .            r)r@pprintrsixrreobjectrr#r#r#r$ s