
    <g                     B    d Z ddlZddlZddlZddlmZ  G d de      Zy)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.32
    Generated by: https://openapi-generator.tech
    N)Configurationc                   \   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)V1FCVolumeSourcezNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strintboolz	list[str])fs_typelun	read_onlytarget_ww_nswwidsfsTyper
   readOnly
targetWWNsr   Nc                     |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _	        ||| _
        ||| _        ||| _        yy)z-V1FCVolumeSource - a model defined in OpenAPIN)r   local_vars_configuration_fs_type_lun
_read_only_target_ww_ns_wwidsdiscriminatorr	   r
   r   r   r   )selfr	   r
   r   r   r   r   s          a/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_fc_volume_source.py__init__zV1FCVolumeSource.__init__3   s    #+'4$(@%	!!"DL?DH &DN# ,DDJ     c                     | j                   S )ah  Gets the fs_type of this V1FCVolumeSource.  # noqa: E501

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

        :return: The fs_type of this V1FCVolumeSource.  # noqa: E501
        :rtype: str
        r   r   s    r   r	   zV1FCVolumeSource.fs_typeK   s     }}r   c                     || _         y)a`  Sets the fs_type of this V1FCVolumeSource.

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

        :param fs_type: The fs_type of this V1FCVolumeSource.  # noqa: E501
        :type: str
        Nr   )r   r	   s     r   r	   zV1FCVolumeSource.fs_typeV   s      r   c                     | j                   S )zGets the lun of this V1FCVolumeSource.  # noqa: E501

        lun is Optional: FC target lun number  # noqa: E501

        :return: The lun of this V1FCVolumeSource.  # noqa: E501
        :rtype: int
        r   r   s    r   r
   zV1FCVolumeSource.lunb   s     yyr   c                     || _         y)zSets the lun of this V1FCVolumeSource.

        lun is Optional: FC target lun number  # noqa: E501

        :param lun: The lun of this V1FCVolumeSource.  # noqa: E501
        :type: int
        Nr"   )r   r
   s     r   r
   zV1FCVolumeSource.lunm   s     	r   c                     | j                   S )a,  Gets the read_only of this V1FCVolumeSource.  # noqa: E501

        readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.  # noqa: E501

        :return: The read_only of this V1FCVolumeSource.  # noqa: E501
        :rtype: bool
        r   r   s    r   r   zV1FCVolumeSource.read_onlyy   s     r   c                     || _         y)a&  Sets the read_only of this V1FCVolumeSource.

        readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.  # noqa: E501

        :param read_only: The read_only of this V1FCVolumeSource.  # noqa: E501
        :type: bool
        Nr%   )r   r   s     r   r   zV1FCVolumeSource.read_only   s     $r   c                     | j                   S )zGets the target_ww_ns of this V1FCVolumeSource.  # noqa: E501

        targetWWNs is Optional: FC target worldwide names (WWNs)  # noqa: E501

        :return: The target_ww_ns of this V1FCVolumeSource.  # noqa: E501
        :rtype: list[str]
        r   r   s    r   r   zV1FCVolumeSource.target_ww_ns   s     !!!r   c                     || _         y)zSets the target_ww_ns of this V1FCVolumeSource.

        targetWWNs is Optional: FC target worldwide names (WWNs)  # noqa: E501

        :param target_ww_ns: The target_ww_ns of this V1FCVolumeSource.  # noqa: E501
        :type: list[str]
        Nr(   )r   r   s     r   r   zV1FCVolumeSource.target_ww_ns   s     *r   c                     | j                   S )aI  Gets the wwids of this V1FCVolumeSource.  # noqa: E501

        wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.  # noqa: E501

        :return: The wwids of this V1FCVolumeSource.  # noqa: E501
        :rtype: list[str]
        r   r   s    r   r   zV1FCVolumeSource.wwids   s     {{r   c                     || _         y)a?  Sets the wwids of this V1FCVolumeSource.

        wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.  # noqa: E501

        :param wwids: The wwids of this V1FCVolumeSource.  # noqa: E501
        :type: list[str]
        Nr+   )r   r   s     r   r   zV1FCVolumeSource.wwids   s     r   c                 ~   i }t        j                  | j                        D ]  \  }}t        | |      }t	        |t
              rt        t        d |            ||<   <t        |d      r|j                         ||<   \t	        |t              r(t        t        d |j                                     ||<   |||<    |S )z&Returns the model properties as a dictc                 >    t        | d      r| j                         S | S )Nto_dicthasattrr/   )xs    r   <lambda>z*V1FCVolumeSource.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   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    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr1   r/   dictitems)r   resultattr_values        r   r/   zV1FCVolumeSource.to_dict   s    }}T%7%78GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  t  %t! 9$ r   c                 H    t        j                  | j                               S )z.Returns the string representation of the model)pprintpformatr/   r   s    r   to_strzV1FCVolumeSource.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rG   r   s    r   __repr__zV1FCVolumeSource.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr;   r   r/   r   others     r   __eq__zV1FCVolumeSource.__eq__   s'    %!12||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrK   rL   s     r   __ne__zV1FCVolumeSource.__ne__   s'    %!12||~00r   )NNNNNN)__name__
__module____qualname____doc__r9   attribute_mapr   propertyr	   setterr
   r   r   r   r/   rG   rI   rN   rP    r   r   r   r      s:    #M $M0   ^^	  	    	ZZ	 	   	$ 	$ " " 	* 	*   \\	 	0.11r   r   )rT   rE   rer7   kubernetes.client.configurationr   objectr   rX   r   r   <module>r\      s&     	 
 9U1v U1r   