o
    ɶd|)                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s(  e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zed d! Zejd"d! Zed#d$ Zejd%d$ Zd&d' Zd(d) Zd*d+ Zd,S )-TransferDevicez
    TransferDevice model.
    	PREPARINGREADYPACKAGEDACTIVE
PROCESSINGCOMPLETEMISSINGERRORDELETED	CANCELLEDc              	   K   sd   ddddddddd| _ dddddd	d
dd| _d| _d| _d| _d| _d| _d| _d| _d| _	dS )a  
        Initializes a new TransferDevice object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param serial_number:
            The value to assign to the serial_number property of this TransferDevice.
        :type serial_number: str

        :param iscsi_iqn:
            The value to assign to the iscsi_iqn property of this TransferDevice.
        :type iscsi_iqn: str

        :param label:
            The value to assign to the label property of this TransferDevice.
        :type label: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this TransferDevice.
            Allowed values for this property are: "PREPARING", "READY", "PACKAGED", "ACTIVE", "PROCESSING", "COMPLETE", "MISSING", "ERROR", "DELETED", "CANCELLED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param transfer_job_id:
            The value to assign to the transfer_job_id property of this TransferDevice.
        :type transfer_job_id: str

        :param attached_transfer_package_label:
            The value to assign to the attached_transfer_package_label property of this TransferDevice.
        :type attached_transfer_package_label: str

        :param creation_time:
            The value to assign to the creation_time property of this TransferDevice.
        :type creation_time: datetime

        :param upload_status_log_uri:
            The value to assign to the upload_status_log_uri property of this TransferDevice.
        :type upload_status_log_uri: str

        strdatetime)serial_number	iscsi_iqnlabellifecycle_statetransfer_job_idattached_transfer_package_labelcreation_timeupload_status_log_uriZserialNumberZiscsiIQNr   ZlifecycleStateZtransferJobIdZattachedTransferPackageLabelZcreationTimeZuploadStatusLogUriN)
Zswagger_typesZattribute_map_serial_number
_iscsi_iqn_label_lifecycle_state_transfer_job_id _attached_transfer_package_label_creation_time_upload_status_log_uri)selfkwargs r%   Busr/lib/python3.10/site-packages/oci/dts/models/transfer_device.py__init__:   s4   )
zTransferDevice.__init__c                 C      | j S )z
        Gets the serial_number of this TransferDevice.

        :return: The serial_number of this TransferDevice.
        :rtype: str
        r   r#   r%   r%   r&   r         zTransferDevice.serial_numberc                 C   
   || _ dS )z
        Sets the serial_number of this TransferDevice.

        :param serial_number: The serial_number of this TransferDevice.
        :type: str
        Nr)   )r#   r   r%   r%   r&   r         
c                 C   r(   )z
        Gets the iscsi_iqn of this TransferDevice.

        :return: The iscsi_iqn of this TransferDevice.
        :rtype: str
        r   r*   r%   r%   r&   r      r+   zTransferDevice.iscsi_iqnc                 C   r,   )z
        Sets the iscsi_iqn of this TransferDevice.

        :param iscsi_iqn: The iscsi_iqn of this TransferDevice.
        :type: str
        Nr.   )r#   r   r%   r%   r&   r      r-   c                 C   r(   )z
        **[Required]** Gets the label of this TransferDevice.

        :return: The label of this TransferDevice.
        :rtype: str
        r   r*   r%   r%   r&   r      r+   zTransferDevice.labelc                 C   r,   )z
        Sets the label of this TransferDevice.

        :param label: The label of this TransferDevice.
        :type: str
        Nr/   )r#   r   r%   r%   r&   r      r-   c                 C   r(   )a  
        Gets the lifecycle_state of this TransferDevice.
        Allowed values for this property are: "PREPARING", "READY", "PACKAGED", "ACTIVE", "PROCESSING", "COMPLETE", "MISSING", "ERROR", "DELETED", "CANCELLED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this TransferDevice.
        :rtype: str
        )r   r*   r%   r%   r&   r      s   zTransferDevice.lifecycle_statec                 C   s    g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this TransferDevice.

        :param lifecycle_state: The lifecycle_state of this TransferDevice.
        :type: str
        )
r   r   r	   r
   r   r   r   r   r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r#   r   Zallowed_valuesr%   r%   r&   r      s   

c                 C   r(   )z
        Gets the transfer_job_id of this TransferDevice.

        :return: The transfer_job_id of this TransferDevice.
        :rtype: str
        r   r*   r%   r%   r&   r      r+   zTransferDevice.transfer_job_idc                 C   r,   )z
        Sets the transfer_job_id of this TransferDevice.

        :param transfer_job_id: The transfer_job_id of this TransferDevice.
        :type: str
        Nr0   )r#   r   r%   r%   r&   r      r-   c                 C   r(   )z
        Gets the attached_transfer_package_label of this TransferDevice.

        :return: The attached_transfer_package_label of this TransferDevice.
        :rtype: str
        r    r*   r%   r%   r&   r      r+   z.TransferDevice.attached_transfer_package_labelc                 C   r,   )z
        Sets the attached_transfer_package_label of this TransferDevice.

        :param attached_transfer_package_label: The attached_transfer_package_label of this TransferDevice.
        :type: str
        Nr1   )r#   r   r%   r%   r&   r      r-   c                 C   r(   )z
        Gets the creation_time of this TransferDevice.

        :return: The creation_time of this TransferDevice.
        :rtype: datetime
        r!   r*   r%   r%   r&   r      r+   zTransferDevice.creation_timec                 C   r,   )z
        Sets the creation_time of this TransferDevice.

        :param creation_time: The creation_time of this TransferDevice.
        :type: datetime
        Nr2   )r#   r   r%   r%   r&   r   	  r-   c                 C   r(   )z
        Gets the upload_status_log_uri of this TransferDevice.

        :return: The upload_status_log_uri of this TransferDevice.
        :rtype: str
        r"   r*   r%   r%   r&   r     r+   z$TransferDevice.upload_status_log_uric                 C   r,   )z
        Sets the upload_status_log_uri of this TransferDevice.

        :param upload_status_log_uri: The upload_status_log_uri of this TransferDevice.
        :type: str
        Nr3   )r#   r   r%   r%   r&   r     r-   c                 C   s   t | S N)r   r*   r%   r%   r&   __repr__'  s   zTransferDevice.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r#   otherr%   r%   r&   __eq__*  s   zTransferDevice.__eq__c                 C   s
   | |k S r4   r%   r7   r%   r%   r&   __ne__0  s   
zTransferDevice.__ne__N)__name__
__module____qualname____doc__ZLIFECYCLE_STATE_PREPARINGZLIFECYCLE_STATE_READYZLIFECYCLE_STATE_PACKAGEDZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_PROCESSINGZLIFECYCLE_STATE_COMPLETEZLIFECYCLE_STATE_MISSINGZLIFECYCLE_STATE_ERRORZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_CANCELLEDr'   propertyr   setterr   r   r   r   r   r   r   r5   r9   r:   r%   r%   r%   r&   r      s`    G
	
	
	
	
	
	


	
	
	
	
	
	
	
	r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r%   r%   r%   r&   <module>   s   