
    [j9                     |    d Z 	 ddlmZ n# e$ r	 ddlmZ Y nw xY wddlZddlZddlZddlm	Z	  G d de
          ZdS )z
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: release-1.36
    Generated by: https://openapi-generator.tech
    )getfullargspec)
getargspecN)Configurationc                      e Zd ZdZ	 ddddddddddddZdd	d
dddddddddZd1dZed             Zej	        d             Zed             Z
e
j	        d             Z
ed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d              Zed!             Zej	        d"             Zed#             Zej	        d$             Zed%             Zej	        d&             Zed'             Zej	        d(             Zed)             Zej	        d*             Zd2d,Zd- Zd. Zd/ Zd0 ZdS )3V1ISCSIVolumeSourcezNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    boolstrintz	list[str]V1LocalObjectReference)chap_auth_discoverychap_auth_sessionfs_typeinitiator_nameiqniscsi_interfacelunportals	read_only
secret_reftarget_portalchapAuthDiscoverychapAuthSessionfsTypeinitiatorNamer   iscsiInterfacer   r   readOnly	secretReftargetPortalNc                    |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        || _        ||| _        || _        ||| _        |	|	| _        |
|
| _        || _        dS )z0V1ISCSIVolumeSource - a model defined in OpenAPIN)r   get_default_copylocal_vars_configuration_chap_auth_discovery_chap_auth_session_fs_type_initiator_name_iqn_iscsi_interface_lun_portals
_read_only_secret_ref_target_portaldiscriminatorr   r   r   r   r   r   r   r   r   r   r   )selfr   r   r   r   r   r   r   r   r   r   r   r!   s                l/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_iscsi_volume_source.py__init__zV1ISCSIVolumeSource.__init__B   s   #+'4'E'G'G$(@%$(!"&#	 $	"!*':D$(%6D""DL%"0D&#2D "DL &DN!(DO*    c                     | j         S )a  Gets the chap_auth_discovery of this V1ISCSIVolumeSource.  # noqa: E501

        chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication  # noqa: E501

        :return: The chap_auth_discovery of this V1ISCSIVolumeSource.  # noqa: E501
        :rtype: bool
        r"   r.   s    r/   r   z'V1ISCSIVolumeSource.chap_auth_discoveryi   s     ((r1   c                     || _         dS )a7  Sets the chap_auth_discovery of this V1ISCSIVolumeSource.

        chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication  # noqa: E501

        :param chap_auth_discovery: The chap_auth_discovery of this V1ISCSIVolumeSource.  # noqa: E501
        :type chap_auth_discovery: bool
        Nr3   )r.   r   s     r/   r   z'V1ISCSIVolumeSource.chap_auth_discoveryt   s     %8!!!r1   c                     | j         S )a  Gets the chap_auth_session of this V1ISCSIVolumeSource.  # noqa: E501

        chapAuthSession defines whether support iSCSI Session CHAP authentication  # noqa: E501

        :return: The chap_auth_session of this V1ISCSIVolumeSource.  # noqa: E501
        :rtype: bool
        r#   r4   s    r/   r   z%V1ISCSIVolumeSource.chap_auth_session   s     &&r1   c                     || _         dS )a+  Sets the chap_auth_session of this V1ISCSIVolumeSource.

        chapAuthSession defines whether support iSCSI Session CHAP authentication  # noqa: E501

        :param chap_auth_session: The chap_auth_session of this V1ISCSIVolumeSource.  # noqa: E501
        :type chap_auth_session: bool
        Nr7   )r.   r   s     r/   r   z%V1ISCSIVolumeSource.chap_auth_session   s     #4r1   c                     | j         S )a  Gets the fs_type of this V1ISCSIVolumeSource.  # noqa: E501

        fsType is the 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  # noqa: E501

        :return: The fs_type of this V1ISCSIVolumeSource.  # noqa: E501
        :rtype: str
        r$   r4   s    r/   r   zV1ISCSIVolumeSource.fs_type        }r1   c                     || _         dS )a  Sets the fs_type of this V1ISCSIVolumeSource.

        fsType is the 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  # noqa: E501

        :param fs_type: The fs_type of this V1ISCSIVolumeSource.  # noqa: E501
        :type fs_type: str
        Nr:   )r.   r   s     r/   r   zV1ISCSIVolumeSource.fs_type         r1   c                     | j         S )a  Gets the initiator_name of this V1ISCSIVolumeSource.  # noqa: E501

        initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.  # noqa: E501

        :return: The initiator_name of this V1ISCSIVolumeSource.  # noqa: E501
        :rtype: str
        r%   r4   s    r/   r   z"V1ISCSIVolumeSource.initiator_name   s     ##r1   c                     || _         dS )a  Sets the initiator_name of this V1ISCSIVolumeSource.

        initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.  # noqa: E501

        :param initiator_name: The initiator_name of this V1ISCSIVolumeSource.  # noqa: E501
        :type initiator_name: str
        Nr?   )r.   r   s     r/   r   z"V1ISCSIVolumeSource.initiator_name   s      .r1   c                     | j         S )zGets the iqn of this V1ISCSIVolumeSource.  # noqa: E501

        iqn is the target iSCSI Qualified Name.  # noqa: E501

        :return: The iqn of this V1ISCSIVolumeSource.  # noqa: E501
        :rtype: str
        )r&   r4   s    r/   r   zV1ISCSIVolumeSource.iqn        yr1   c                 N    | j         j        r|t          d          || _        dS )zSets the iqn of this V1ISCSIVolumeSource.

        iqn is the target iSCSI Qualified Name.  # noqa: E501

        :param iqn: The iqn of this V1ISCSIVolumeSource.  # noqa: E501
        :type iqn: str
        Nz+Invalid value for `iqn`, must not be `None`)r!   client_side_validation
ValueErrorr&   )r.   r   s     r/   r   zV1ISCSIVolumeSource.iqn   1     (? 	LCKJKKK			r1   c                     | j         S )a(  Gets the iscsi_interface of this V1ISCSIVolumeSource.  # noqa: E501

        iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).  # noqa: E501

        :return: The iscsi_interface of this V1ISCSIVolumeSource.  # noqa: E501
        :rtype: str
        r'   r4   s    r/   r   z#V1ISCSIVolumeSource.iscsi_interface   s     $$r1   c                     || _         dS )a8  Sets the iscsi_interface of this V1ISCSIVolumeSource.

        iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).  # noqa: E501

        :param iscsi_interface: The iscsi_interface of this V1ISCSIVolumeSource.  # noqa: E501
        :type iscsi_interface: str
        NrH   )r.   r   s     r/   r   z#V1ISCSIVolumeSource.iscsi_interface   s     !0r1   c                     | j         S )zGets the lun of this V1ISCSIVolumeSource.  # noqa: E501

        lun represents iSCSI Target Lun number.  # noqa: E501

        :return: The lun of this V1ISCSIVolumeSource.  # noqa: E501
        :rtype: int
        )r(   r4   s    r/   r   zV1ISCSIVolumeSource.lun   rB   r1   c                 N    | j         j        r|t          d          || _        dS )zSets the lun of this V1ISCSIVolumeSource.

        lun represents iSCSI Target Lun number.  # noqa: E501

        :param lun: The lun of this V1ISCSIVolumeSource.  # noqa: E501
        :type lun: int
        Nz+Invalid value for `lun`, must not be `None`)r!   rD   rE   r(   )r.   r   s     r/   r   zV1ISCSIVolumeSource.lun   rF   r1   c                     | j         S )aX  Gets the portals of this V1ISCSIVolumeSource.  # noqa: E501

        portals is the 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).  # noqa: E501

        :return: The portals of this V1ISCSIVolumeSource.  # noqa: E501
        :rtype: list[str]
        r)   r4   s    r/   r   zV1ISCSIVolumeSource.portals  r;   r1   c                     || _         dS )aX  Sets the portals of this V1ISCSIVolumeSource.

        portals is the 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).  # noqa: E501

        :param portals: The portals of this V1ISCSIVolumeSource.  # noqa: E501
        :type portals: list[str]
        NrM   )r.   r   s     r/   r   zV1ISCSIVolumeSource.portals  r=   r1   c                     | j         S )a  Gets the read_only of this V1ISCSIVolumeSource.  # noqa: E501

        readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.  # noqa: E501

        :return: The read_only of this V1ISCSIVolumeSource.  # noqa: E501
        :rtype: bool
        r*   r4   s    r/   r   zV1ISCSIVolumeSource.read_only%  s     r1   c                     || _         dS )a  Sets the read_only of this V1ISCSIVolumeSource.

        readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.  # noqa: E501

        :param read_only: The read_only of this V1ISCSIVolumeSource.  # noqa: E501
        :type read_only: bool
        NrP   )r.   r   s     r/   r   zV1ISCSIVolumeSource.read_only0  s     $r1   c                     | j         S )zGets the secret_ref of this V1ISCSIVolumeSource.  # noqa: E501


        :return: The secret_ref of this V1ISCSIVolumeSource.  # noqa: E501
        :rtype: V1LocalObjectReference
        r+   r4   s    r/   r   zV1ISCSIVolumeSource.secret_ref<  s     r1   c                     || _         dS )zSets the secret_ref of this V1ISCSIVolumeSource.


        :param secret_ref: The secret_ref of this V1ISCSIVolumeSource.  # noqa: E501
        :type secret_ref: V1LocalObjectReference
        NrS   )r.   r   s     r/   r   zV1ISCSIVolumeSource.secret_refF  s     &r1   c                     | j         S )aZ  Gets the target_portal of this V1ISCSIVolumeSource.  # noqa: E501

        targetPortal is 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).  # noqa: E501

        :return: The target_portal of this V1ISCSIVolumeSource.  # noqa: E501
        :rtype: str
        )r,   r4   s    r/   r   z!V1ISCSIVolumeSource.target_portalQ  s     ""r1   c                 N    | j         j        r|t          d          || _        dS )af  Sets the target_portal of this V1ISCSIVolumeSource.

        targetPortal is 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).  # noqa: E501

        :param target_portal: The target_portal of this V1ISCSIVolumeSource.  # noqa: E501
        :type target_portal: str
        Nz5Invalid value for `target_portal`, must not be `None`)r!   rD   rE   r,   )r.   r   s     r/   r   z!V1ISCSIVolumeSource.target_portal\  s5     (? 	VMDYTUUU+r1   Fc                    i }fdt          j        | j                  D ]\  }}t          | |          }r| j                            ||          n|}t          |t                    r$t          t          fd|                    ||<   mt          |t                    r6t          t          fd|
                                                    ||<    |          ||<   |S )z&Returns the model properties as a dictc                     t          | d          rUt          | j                  j        }t	          |          dk    r|                                 S |                               S | S )Nto_dict   )hasattrr   rY   argslen)xr\   	serializes     r/   convertz,V1ISCSIVolumeSource.to_dict.<locals>.convertn  s[    q)$$ %ai005t99>>99;;&99Y///r1   c                      |           S )N )r^   r`   s    r/   <lambda>z-V1ISCSIVolumeSource.to_dict.<locals>.<lambda>}  s    ggajj r1   c                 6    | d          | d                   fS )Nr   rZ   rb   )itemr`   s    r/   rc   z-V1ISCSIVolumeSource.to_dict.<locals>.<lambda>  s    $q'7747+;+;!< r1   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r.   r_   resultattr_valuer`   s    `    @r/   rY   zV1ISCSIVolumeSource.to_dictj  s   	 	 	 	 	 }T%788 	. 	.GD!D$''E9BL4%))$555D%&& .#C((((% %    t E4(( .#C<<<<KKMM% %    t
  'wu~~tr1   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrY   r4   s    r/   to_strzV1ISCSIVolumeSource.to_str  s    ~dllnn---r1   c                 *    |                                  S )zFor `print` and `pprint`)rx   r4   s    r/   __repr__zV1ISCSIVolumeSource.__repr__  s    {{}}r1   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrl   r   rY   r.   others     r/   __eq__zV1ISCSIVolumeSource.__eq__  s5    %!455 	5||~~00r1   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr|   r}   s     r/   __ne__zV1ISCSIVolumeSource.__ne__  s5    %!455 	4||~~00r1   )NNNNNNNNNNNN)F)__name__
__module____qualname____doc__rh   rj   r0   propertyr   setterr   r   r   r   r   r   r   r   r   r   rY   rx   rz   r   r   rb   r1   r/   r   r      s]          &# . M  3.)+!' M%+ %+ %+ %+N ) ) X) 	8 	8  	8 ' ' X' 	4 	4 	4   X ^	  	  ^	  $ $ X$ 	. 	. 	.   X 	Z  Z % % X% 	0 	0 	0   X 	Z  Z   X ^	  	  ^	    X 	$ 	$ 	$     X  & & & # # X# , , ,   @. . .  1 1 11 1 1 1 1r1   r   )r   inspectr   ImportErrorr   rv   rerf   kubernetes.client.configurationr   objectr   rb   r1   r/   <module>r      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9F1 F1 F1 F1 F1& F1 F1 F1 F1 F1s    