
                         >    d Z ddlmZ ddlmZ ddlZ G d de      Zy)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                   f   e Zd ZdZ	 ddddddZddd	d
ddZ	 	 	 	 	 d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d Zd Zd Zd Zd Zy)V1FCVolumeSourcezw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    strintboolz	list[str])fs_typelun	read_onlytarget_ww_nswwidsfsTyper   readOnly
targetWWNsr   Nc                     d| _         d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _	        ||| _
        yy)z?
        V1FCVolumeSource - a model defined in Swagger
        N)_fs_type_lun
_read_only_target_ww_ns_wwidsdiscriminatorr
   r   r   r   r   )selfr
   r   r   r   r   s         ?lib/third_party/kubernetes/client/models/v1_fc_volume_source.py__init__zV1FCVolumeSource.__init__.   sv     DMDIDODDKDdl
dh dn&ddj     c                     | j                   S )aH  
        Gets the fs_type of this V1FCVolumeSource.
        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 V1FCVolumeSource.
        :rtype: str
        r   r   s    r   r
   zV1FCVolumeSource.fs_typeJ   s     ==r   c                     || _         y)aN  
        Sets the fs_type of this V1FCVolumeSource.
        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 V1FCVolumeSource.
        :type: str
        Nr   )r   r
   s     r   r
   zV1FCVolumeSource.fs_typeW   s     DMr   c                     | j                   S )z
        Gets the lun of this V1FCVolumeSource.
        Optional: FC target lun number

        :return: The lun of this V1FCVolumeSource.
        :rtype: int
        r   r   s    r   r   zV1FCVolumeSource.lune   s     99r   c                     || _         y)z
        Sets the lun of this V1FCVolumeSource.
        Optional: FC target lun number

        :param lun: The lun of this V1FCVolumeSource.
        :type: int
        Nr"   )r   r   s     r   r   zV1FCVolumeSource.lunp   s     DIr   c                     | j                   S )a  
        Gets the read_only of this V1FCVolumeSource.
        Optional: Defaults to false (read/write). ReadOnly here will force the
        ReadOnly setting in VolumeMounts.

        :return: The read_only of this V1FCVolumeSource.
        :rtype: bool
        r   r   s    r   r   zV1FCVolumeSource.read_only|   s     ??r   c                     || _         y)a  
        Sets the read_only of this V1FCVolumeSource.
        Optional: Defaults to false (read/write). ReadOnly here will force the
        ReadOnly setting in VolumeMounts.

        :param read_only: The read_only of this V1FCVolumeSource.
        :type: bool
        Nr%   )r   r   s     r   r   zV1FCVolumeSource.read_only   s      DOr   c                     | j                   S )z
        Gets the target_ww_ns of this V1FCVolumeSource.
        Optional: FC target worldwide names (WWNs)

        :return: The target_ww_ns of this V1FCVolumeSource.
        :rtype: list[str]
        r   r   s    r   r   zV1FCVolumeSource.target_ww_ns   s     r   c                     || _         y)z
        Sets the target_ww_ns of this V1FCVolumeSource.
        Optional: FC target worldwide names (WWNs)

        :param target_ww_ns: The target_ww_ns of this V1FCVolumeSource.
        :type: list[str]
        Nr(   )r   r   s     r   r   zV1FCVolumeSource.target_ww_ns   s     &Dr   c                     | j                   S )a1  
        Gets the wwids of this V1FCVolumeSource.
        Optional: FC volume world wide identifiers (wwids) Either wwids or
        combination of targetWWNs and lun must be set, but not both
        simultaneously.

        :return: The wwids of this V1FCVolumeSource.
        :rtype: list[str]
        r   r   s    r   r   zV1FCVolumeSource.wwids   s     ;;r   c                     || _         y)a5  
        Sets the wwids of this V1FCVolumeSource.
        Optional: FC volume world wide identifiers (wwids) Either wwids or
        combination of targetWWNs and lun must be set, but not both
        simultaneously.

        :param wwids: The wwids of this V1FCVolumeSource.
        :type: list[str]
        Nr+   )r   r   s     r   r   zV1FCVolumeSource.wwids   s     DKr   c                 j   i }t        | j                        D ]  \  }}t        | |      }t        |t              rt	        t        d |            ||<   <t        |d      r|j                         ||<   \t        |t              r(t        t        d |j                                     ||<   |||<    |S )z8
        Returns the model properties as a dict
        c                 >    t        | d      r| j                         S | S )Nto_dicthasattrr/   )xs    r   <lambda>z*V1FCVolumeSource.to_dict.<locals>.<lambda>   s    I)>!))+EAEr   r/   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r/   r   r0   )items    r   r3   z*V1FCVolumeSource.to_dict.<locals>.<lambda>   s6    47I. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr1   r/   dictitems)r   resultattr_values        r   r/   zV1FCVolumeSource.to_dict   s     FT//0adD!e	E4	 EuMOt5)$}}teT"9:?++-IJt
 t 1 Mr   c                 4    t        | j                               S )z@
        Returns the string representation of the model
        )r   r/   r   s    r   to_strzV1FCVolumeSource.to_str   s     4<<>""r   c                 "    | j                         S )z*
        For `print` and `pprint`
        )rC   r   s    r   __repr__zV1FCVolumeSource.__repr__   s     ;;=r   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)r9   r   __dict__r   others     r   __eq__zV1FCVolumeSource.__eq__   s%     e-.==ENN**r   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rH   s     r   __ne__zV1FCVolumeSource.__ne__   s     u}r   )NNNNN)__name__
__module____qualname____doc__r7   attribute_mapr   propertyr
   setterr   r   r   r   r/   rC   rE   rJ   rM   rL   r   r   r   r      sK    !- "-  8 
 
 >>    ::	 	 	 	 
  
    	& 	& 
 
 	<< .#+r   r   )rQ   pprintr   sixr   reobjectr   rL   r   r   <module>rY      s#   	   	ev er   