
    1                     >    S r SSKJr  SSKJr  SSKr " S S\5      rg)z
Kubernetes

No description provided (generated by Swagger Codegen
https://github.com/swagger-api/swagger-codegen)

OpenAPI spec version: v1.14.4

Generated by: https://github.com/swagger-api/swagger-codegen.git
    )pformat)	iteritemsNc                      \ rS rSrSr SSSSSSSSSSSS.rS	S
SSSSSSSSSS.r           S2S jr\S 5       r	\	R                  S 5       r	\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S  5       r\R                  S! 5       r\S" 5       r\R                  S# 5       r\S$ 5       r\R                  S% 5       r\S& 5       r\R                  S' 5       r\S( 5       r\R                  S) 5       r\S* 5       r\R                  S+ 5       rS, rS- rS. rS/ rS0 rS1rg)3V1ISCSIVolumeSource   zk
NOTE: This class is auto generated by the swagger code generator program.
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                 `   SU l         SU l        SU l        SU l        SU l        SU l        SU l        SU l        SU l        SU l	        SU l
        SU l        Ub  Xl        Ub  X l        Ub  X0l        Ub  X@l        XPl        Ub  X`l        Xpl        Ub  Xl        U	b  Xl        U
b  Xl        Xl        g)z2
V1ISCSIVolumeSource - a model defined in Swagger
N)_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   s               Blib/third_party/kubernetes/client/models/v1_iscsi_volume_source.py__init__V1ISCSIVolumeSource.__init__:   s      !%D"DDMDDI DDIDMDODDD&!4$0l!*H",Hl n"o&    c                     U R                   $ )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,   s    r-   r   'V1ISCSIVolumeSource.chap_auth_discoveryk   s     $$$r0   c                     Xl         g)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
Nr2   )r,   r   s     r-   r   r4   v   s
     !4r0   c                     U R                   $ )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!   r3   s    r-   r   %V1ISCSIVolumeSource.chap_auth_session   s     """r0   c                     Xl         g)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
Nr7   )r,   r   s     r-   r   r8      s
     0r0   c                     U R                   $ )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"   r3   s    r-   r   V1ISCSIVolumeSource.fs_type   s     ==r0   c                     Xl         g)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
Nr;   )r,   r   s     r-   r   r<      s	     Mr0   c                     U R                   $ )a1  
Gets the initiator_name of this V1ISCSIVolumeSource.
Custom iSCSI Initiator Name. If initiatorName is specified with
iscsiInterface simultaneously, new iSCSI interface <target
portal>:<volume name> will be created for the connection.

:return: The initiator_name of this V1ISCSIVolumeSource.
:rtype: str
r#   r3   s    r-   r   "V1ISCSIVolumeSource.initiator_name   s     r0   c                     Xl         g)a>  
Sets the initiator_name of this V1ISCSIVolumeSource.
Custom iSCSI Initiator Name. If initiatorName is specified with
iscsiInterface simultaneously, new iSCSI interface <target
portal>:<volume name> will be created for the connection.

:param initiator_name: The initiator_name of this V1ISCSIVolumeSource.
:type: str
Nr?   )r,   r   s     r-   r   r@      s
     *r0   c                     U R                   $ )z
Gets the iqn of this V1ISCSIVolumeSource.
Target iSCSI Qualified Name.

:return: The iqn of this V1ISCSIVolumeSource.
:rtype: str
)r$   r3   s    r-   r   V1ISCSIVolumeSource.iqn        99r0   c                 ,    Uc  [        S5      eXl        g)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   s     r-   r   rC           {DEEIr0   c                     U R                   $ )z
Gets the iscsi_interface of this V1ISCSIVolumeSource.
iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default'
(tcp).

:return: The iscsi_interface of this V1ISCSIVolumeSource.
:rtype: str
r%   r3   s    r-   r   #V1ISCSIVolumeSource.iscsi_interface   s        r0   c                     Xl         g)z
Sets the iscsi_interface of this V1ISCSIVolumeSource.
iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default'
(tcp).

:param iscsi_interface: The iscsi_interface of this V1ISCSIVolumeSource.
:type: str
NrI   )r,   r   s     r-   r   rJ      s
     ,r0   c                     U R                   $ )z
Gets the lun of this V1ISCSIVolumeSource.
iSCSI Target Lun number.

:return: The lun of this V1ISCSIVolumeSource.
:rtype: int
)r&   r3   s    r-   r   V1ISCSIVolumeSource.lun  rD   r0   c                 ,    Uc  [        S5      eXl        g)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`)rF   r&   )r,   r   s     r-   r   rM     rG   r0   c                     U R                   $ )z
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'   r3   s    r-   r   V1ISCSIVolumeSource.portals   s     ==r0   c                     Xl         g)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]
NrP   )r,   r   s     r-   r   rQ   ,  s	     Mr0   c                     U R                   $ )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(   r3   s    r-   r   V1ISCSIVolumeSource.read_only9  s     ??r0   c                     Xl         g)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
NrT   )r,   r   s     r-   r   rU   E  s	      Or0   c                     U R                   $ )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)   r3   s    r-   r   V1ISCSIVolumeSource.secret_refR  s     r0   c                     Xl         g)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
NrX   )r,   r   s     r-   r   rY   ]  s
     "r0   c                     U R                   $ )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*   r3   s    r-   r   !V1ISCSIVolumeSource.target_portali  s     r0   c                 ,    Uc  [        S5      eXl        g)a  
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`)rF   r*   )r,   r   s     r-   r   r\   u  s     NOO'r0   c                    0 n[        U R                  5       H  u  p#[        X5      n[        U[        5      (       a  [	        [        S U5      5      X'   M?  [        US5      (       a  UR                  5       X'   Md  [        U[        5      (       a(  [        [        S UR                  5       5      5      X'   M  XAU'   M     U$ )z(
Returns the model properties as a dict
c                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrr`   )xs    r-   <lambda>-V1ISCSIVolumeSource.to_dict.<locals>.<lambda>  s    I)>)>!))+EAEr0   r`   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r`   r   ra   )items    r-   rd   re     s9    47I.. #1gtAw'89 9489r0   )
r   swagger_typesgetattr
isinstancelistmaprb   r`   dictitems)r,   resultattr_values        r-   r`   V1ISCSIVolumeSource.to_dict  s     FT//0d!e	E4	 	 EuMO5)$$}}eT""9:?++-IJ
 t 1 Mr0   c                 4    [        U R                  5       5      $ )z0
Returns the string representation of the model
)r   r`   r3   s    r-   to_strV1ISCSIVolumeSource.to_str  s     4<<>""r0   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rv   r3   s    r-   __repr__V1ISCSIVolumeSource.__repr__  s     ;;=r0   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rk   r   __dict__r,   others     r-   __eq__V1ISCSIVolumeSource.__eq__  s(     e011==ENN**r0   c                     X:X  + $ )z,
Returns true if both objects are not equal
 r}   s     r-   __ne__V1ISCSIVolumeSource.__ne__  s     r0   )r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r   r   r+   r   r   r   r   r   r   r   r   r   )NNNNNNNNNNN)__name__
__module____qualname____firstlineno____doc__ri   attribute_mapr.   propertyr   setterr   r   r   r   r   r   r   r   r   r   r`   rv   ry   r   r   __static_attributes__r   r0   r-   r   r      s    $!,- 1,')%- $(!%"#!/'b % % 
4 
4 # # 
0 
0   >>  
  
  * *   ::  	! 	! 
, 
,   ::  	 	 >>
 
 	 	 
  
    	" 	" 	 	 ( (.#+r0   r   )r   pprintr   sixr   reobjectr   r   r0   r-   <module>r      s#   	   	b& br0   