3 f÷ÔY,ã@s8dZddlmZddlmZddlZGdd„deƒZdS)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-dd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZejdd„ƒZedd„ƒZejdd„ƒZed d!„ƒZejd"d!„ƒZd#d$„Zd%d&„Zd'd(„Zd)d*„Zd+d,„ZdS).ÚV1ISCSIVolumeSourcezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Nc Csxdddddddddddœ |_ddd d d d d ddddœ |_||_||_||_||_||_||_||_||_ | |_ | |_ dS)aI V1ISCSIVolumeSource - 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. ÚboolÚstrÚintz list[str]ÚV1LocalObjectReference) Úchap_auth_discoveryÚchap_auth_sessionÚfs_typeÚiqnÚiscsi_interfaceÚlunÚportalsÚ read_onlyÚ secret_refÚ target_portalZchapAuthDiscoveryZchapAuthSessionÚfsTyper ZiscsiInterfacerrÚreadOnlyÚ secretRefZ targetPortalN) Ú swagger_typesÚ attribute_mapÚ_chap_auth_discoveryÚ_chap_auth_sessionÚ_fs_typeÚ_iqnÚ_iscsi_interfaceÚ_lunÚ_portalsÚ _read_onlyÚ _secret_refÚ_target_portal) Úselfr r r r r rrrrr©r#ú`/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_iscsi_volume_source.pyÚ__init__s<   zV1ISCSIVolumeSource.__init__cCs|jS)zã Gets the chap_auth_discovery of this V1ISCSIVolumeSource. whether support iSCSI Discovery CHAP authentication :return: The chap_auth_discovery of this V1ISCSIVolumeSource. :rtype: bool )r)r"r#r#r$r Fs z'V1ISCSIVolumeSource.chap_auth_discoverycCs ||_dS)zõ Sets the chap_auth_discovery of this V1ISCSIVolumeSource. whether support iSCSI Discovery CHAP authentication :param chap_auth_discovery: The chap_auth_discovery of this V1ISCSIVolumeSource. :type: bool N)r)r"r r#r#r$r Qs cCs|jS)zÝ Gets the chap_auth_session of this V1ISCSIVolumeSource. whether support iSCSI Session CHAP authentication :return: The chap_auth_session of this V1ISCSIVolumeSource. :rtype: bool )r)r"r#r#r$r ]s z%V1ISCSIVolumeSource.chap_auth_sessioncCs ||_dS)zí Sets the chap_auth_session of this V1ISCSIVolumeSource. whether support iSCSI Session CHAP authentication :param chap_auth_session: The chap_auth_session of this V1ISCSIVolumeSource. :type: bool N)r)r"r r#r#r$r hs cCs|jS)a³ Gets the fs_type of this V1ISCSIVolumeSource. Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi :return: The fs_type of this V1ISCSIVolumeSource. :rtype: str )r)r"r#r#r$r ts zV1ISCSIVolumeSource.fs_typecCs ||_dS)a¹ Sets the fs_type of this V1ISCSIVolumeSource. Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi :param fs_type: The fs_type of this V1ISCSIVolumeSource. :type: str N)r)r"r r#r#r$r s cCs|jS)z« Gets the iqn of this V1ISCSIVolumeSource. Target iSCSI Qualified Name. :return: The iqn of this V1ISCSIVolumeSource. :rtype: str )r)r"r#r#r$r ‹s zV1ISCSIVolumeSource.iqncCs|dkrtdƒ‚||_dS)z­ Sets the iqn of this V1ISCSIVolumeSource. Target iSCSI Qualified Name. :param iqn: The iqn of this V1ISCSIVolumeSource. :type: str Nz+Invalid value for `iqn`, must not be `None`)Ú ValueErrorr)r"r r#r#r$r –s cCs|jS)a Gets the iscsi_interface of this V1ISCSIVolumeSource. Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport. :return: The iscsi_interface of this V1ISCSIVolumeSource. :rtype: str )r)r"r#r#r$r ¤s z#V1ISCSIVolumeSource.iscsi_interfacecCs ||_dS)a Sets the iscsi_interface of this V1ISCSIVolumeSource. Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport. :param iscsi_interface: The iscsi_interface of this V1ISCSIVolumeSource. :type: str N)r)r"r r#r#r$r ¯s cCs|jS)z§ Gets the lun of this V1ISCSIVolumeSource. iSCSI target lun number. :return: The lun of this V1ISCSIVolumeSource. :rtype: int )r)r"r#r#r$r»s zV1ISCSIVolumeSource.luncCs|dkrtdƒ‚||_dS)z© Sets the lun of this V1ISCSIVolumeSource. iSCSI target lun number. :param lun: The lun of this V1ISCSIVolumeSource. :type: int Nz+Invalid value for `lun`, must not be `None`)r&r)r"rr#r#r$rÆs cCs|jS)a' Gets the portals of this V1ISCSIVolumeSource. iSCSI target portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). :return: The portals of this V1ISCSIVolumeSource. :rtype: list[str] )r)r"r#r#r$rÔs zV1ISCSIVolumeSource.portalscCs ||_dS)a- Sets the portals of this V1ISCSIVolumeSource. iSCSI target portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). :param portals: The portals of this V1ISCSIVolumeSource. :type: list[str] N)r)r"rr#r#r$rßs cCs|jS)zí Gets the read_only of this V1ISCSIVolumeSource. ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. :return: The read_only of this V1ISCSIVolumeSource. :rtype: bool )r)r"r#r#r$rës zV1ISCSIVolumeSource.read_onlycCs ||_dS)zõ Sets the read_only of this V1ISCSIVolumeSource. ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. :param read_only: The read_only of this V1ISCSIVolumeSource. :type: bool N)r)r"rr#r#r$rös cCs|jS)zé Gets the secret_ref of this V1ISCSIVolumeSource. CHAP secret for iSCSI target and initiator authentication :return: The secret_ref of this V1ISCSIVolumeSource. :rtype: V1LocalObjectReference )r )r"r#r#r$rs zV1ISCSIVolumeSource.secret_refcCs ||_dS)zò Sets the secret_ref of this V1ISCSIVolumeSource. CHAP secret for iSCSI target and initiator authentication :param secret_ref: The secret_ref of this V1ISCSIVolumeSource. :type: V1LocalObjectReference N)r )r"rr#r#r$r s cCs|jS)a( Gets the target_portal of this V1ISCSIVolumeSource. iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). :return: The target_portal of this V1ISCSIVolumeSource. :rtype: str )r!)r"r#r#r$rs z!V1ISCSIVolumeSource.target_portalcCs|dkrtdƒ‚||_dS)a4 Sets the target_portal of this V1ISCSIVolumeSource. iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). :param target_portal: The target_portal of this V1ISCSIVolumeSource. :type: str Nz5Invalid value for `target_portal`, must not be `None`)r&r!)r"rr#r#r$r$s cCs’i}xˆt|jƒD]z\}}t||ƒ}t|tƒrDttdd„|ƒƒ||<qt|dƒr\|jƒ||<qt|tƒr‚ttdd„|j ƒƒƒ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dƒr|jƒS|S)NÚto_dict)Úhasattrr')Úxr#r#r$Ú<sz-V1ISCSIVolumeSource.to_dict..r'cSs&t|ddƒr"|d|djƒfS|S)Nér'r)r(r')Úitemr#r#r$r*Cs) rrÚgetattrÚ isinstanceÚlistÚmapr(r'ÚdictÚitems)r"ÚresultÚattrÚ_Úvaluer#r#r$r'2s     zV1ISCSIVolumeSource.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr')r"r#r#r$Úto_strLszV1ISCSIVolumeSource.to_strcCs|jƒS)z* For `print` and `pprint` )r7)r"r#r#r$Ú__repr__RszV1ISCSIVolumeSource.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r.rÚ__dict__)r"Úotherr#r#r$Ú__eq__Xs zV1ISCSIVolumeSource.__eq__cCs ||k S)z< Returns true if both objects are not equal r#)r"r:r#r#r$Ú__ne__aszV1ISCSIVolumeSource.__ne__) NNNNNNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r%Úpropertyr Úsetterr r r r rrrrrr'r7r8r;r<r#r#r#r$rs6 .           r)r@ÚpprintrÚsixrÚreÚobjectrr#r#r#r$Ú s