o
    ɶdn                     @   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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d0d1 Z%e%jd2d1 Z%ed3d4 Z&e&jd5d4 Z&ed6d7 Z'e'jd8d7 Z'ed9d: Z(e(jd;d: Z(ed<d= Z)e)jd>d= Z)ed?d@ Z*e*jdAd@ Z*edBdC Z+e+jdDdC Z+edEdF Z,e,jdGdF Z,edHdI Z-e-jdJdI Z-edKdL Z.e.jdMdL Z.edNdO Z/e/jdPdO Z/edQdR Z0e0jdSdR Z0edTdU Z1e1jdVdU Z1dWdX Z2dYdZ Z3d[d\ Z4d]S )^TransferAppliancez"
    TransferAppliance model.
    	REQUESTEDORACLE_PREPARINGSHIPPING	DELIVERED	PREPARING	FINALIZEDRETURN_LABEL_REQUESTEDRETURN_LABEL_GENERATINGRETURN_LABEL_AVAILABLERETURN_DELAYEDRETURN_SHIPPEDRETURN_SHIPPED_CANCELLEDORACLE_RECEIVEDORACLE_RECEIVED_CANCELLED
PROCESSINGCOMPLETECUSTOMER_NEVER_RECEIVEDORACLE_NEVER_RECEIVEDCUSTOMER_LOST	CANCELLEDDELETEDREJECTEDERRORc                 K   sl  i 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ddddddddddd| _ i 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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*| _d*| _d*| _d*| _d*| _d*S )+aj  
        Initializes a new TransferAppliance object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this TransferAppliance.
            Allowed values for this property are: "REQUESTED", "ORACLE_PREPARING", "SHIPPING", "DELIVERED", "PREPARING", "FINALIZED", "RETURN_LABEL_REQUESTED", "RETURN_LABEL_GENERATING", "RETURN_LABEL_AVAILABLE", "RETURN_DELAYED", "RETURN_SHIPPED", "RETURN_SHIPPED_CANCELLED", "ORACLE_RECEIVED", "ORACLE_RECEIVED_CANCELLED", "PROCESSING", "COMPLETE", "CUSTOMER_NEVER_RECEIVED", "ORACLE_NEVER_RECEIVED", "CUSTOMER_LOST", "CANCELLED", "DELETED", "REJECTED", "ERROR", '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 TransferAppliance.
        :type transfer_job_id: str

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

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

        :param customer_received_time:
            The value to assign to the customer_received_time property of this TransferAppliance.
        :type customer_received_time: datetime

        :param customer_returned_time:
            The value to assign to the customer_returned_time property of this TransferAppliance.
        :type customer_returned_time: datetime

        :param next_billing_time:
            The value to assign to the next_billing_time property of this TransferAppliance.
        :type next_billing_time: datetime

        :param delivery_security_tie_id:
            The value to assign to the delivery_security_tie_id property of this TransferAppliance.
        :type delivery_security_tie_id: str

        :param return_security_tie_id:
            The value to assign to the return_security_tie_id property of this TransferAppliance.
        :type return_security_tie_id: str

        :param appliance_delivery_tracking_number:
            The value to assign to the appliance_delivery_tracking_number property of this TransferAppliance.
        :type appliance_delivery_tracking_number: str

        :param appliance_return_delivery_tracking_number:
            The value to assign to the appliance_return_delivery_tracking_number property of this TransferAppliance.
        :type appliance_return_delivery_tracking_number: str

        :param appliance_delivery_vendor:
            The value to assign to the appliance_delivery_vendor property of this TransferAppliance.
        :type appliance_delivery_vendor: str

        :param customer_shipping_address:
            The value to assign to the customer_shipping_address property of this TransferAppliance.
        :type customer_shipping_address: oci.dts.models.ShippingAddress

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

        :param return_shipping_label_uri:
            The value to assign to the return_shipping_label_uri property of this TransferAppliance.
        :type return_shipping_label_uri: str

        :param expected_return_date:
            The value to assign to the expected_return_date property of this TransferAppliance.
        :type expected_return_date: datetime

        :param pickup_window_start_time:
            The value to assign to the pickup_window_start_time property of this TransferAppliance.
        :type pickup_window_start_time: datetime

        :param pickup_window_end_time:
            The value to assign to the pickup_window_end_time property of this TransferAppliance.
        :type pickup_window_end_time: datetime

        :param minimum_storage_capacity_in_terabytes:
            The value to assign to the minimum_storage_capacity_in_terabytes property of this TransferAppliance.
        :type minimum_storage_capacity_in_terabytes: int

        labelstrlifecycle_statetransfer_job_idserial_numbercreation_timedatetimecustomer_received_timecustomer_returned_timenext_billing_timedelivery_security_tie_idreturn_security_tie_id"appliance_delivery_tracking_number)appliance_return_delivery_tracking_numberappliance_delivery_vendorcustomer_shipping_addressZShippingAddressupload_status_log_urireturn_shipping_label_uriexpected_return_dateint)pickup_window_start_timepickup_window_end_time%minimum_storage_capacity_in_terabytesZlifecycleStateZtransferJobIdZserialNumberZcreationTimeZcustomerReceivedTimeZcustomerReturnedTimeZnextBillingTimeZdeliverySecurityTieIdZreturnSecurityTieIdZapplianceDeliveryTrackingNumberZ%applianceReturnDeliveryTrackingNumberZapplianceDeliveryVendorZcustomerShippingAddressZuploadStatusLogUriZreturnShippingLabelUriZexpectedReturnDateZpickupWindowStartTimeZpickupWindowEndTimeZ!minimumStorageCapacityInTerabytesN)Zswagger_typesZattribute_map_label_lifecycle_state_transfer_job_id_serial_number_creation_time_customer_received_time_customer_returned_time_next_billing_time_delivery_security_tie_id_return_security_tie_id#_appliance_delivery_tracking_number*_appliance_return_delivery_tracking_number_appliance_delivery_vendor_customer_shipping_address_upload_status_log_uri_return_shipping_label_uri_expected_return_date_pickup_window_start_time_pickup_window_end_time&_minimum_storage_capacity_in_terabytes)selfkwargs rK   Eusr/lib/python3.10/site-packages/oci/dts/models/transfer_appliance.py__init__n   s   X	

	


zTransferAppliance.__init__c                 C      | j S )z
        **[Required]** Gets the label of this TransferAppliance.
        Unique alpha-numeric identifier for a transfer appliance auto generated during create.


        :return: The label of this TransferAppliance.
        :rtype: str
        r5   rI   rK   rK   rL   r   	     
zTransferAppliance.labelc                 C   
   || _ dS )z
        Sets the label of this TransferAppliance.
        Unique alpha-numeric identifier for a transfer appliance auto generated during create.


        :param label: The label of this TransferAppliance.
        :type: str
        NrO   )rI   r   rK   rK   rL   r        

c                 C   rN   )a  
        Gets the lifecycle_state of this TransferAppliance.
        Allowed values for this property are: "REQUESTED", "ORACLE_PREPARING", "SHIPPING", "DELIVERED", "PREPARING", "FINALIZED", "RETURN_LABEL_REQUESTED", "RETURN_LABEL_GENERATING", "RETURN_LABEL_AVAILABLE", "RETURN_DELAYED", "RETURN_SHIPPED", "RETURN_SHIPPED_CANCELLED", "ORACLE_RECEIVED", "ORACLE_RECEIVED_CANCELLED", "PROCESSING", "COMPLETE", "CUSTOMER_NEVER_RECEIVED", "ORACLE_NEVER_RECEIVED", "CUSTOMER_LOST", "CANCELLED", "DELETED", "REJECTED", "ERROR", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this TransferAppliance.
        :rtype: str
        )r6   rP   rK   rK   rL   r    !  s   z!TransferAppliance.lifecycle_statec                 C   s    g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this TransferAppliance.

        :param lifecycle_state: The lifecycle_state of this TransferAppliance.
        :type: str
        )r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   ZUNKNOWN_ENUM_VALUEN)r   r6   )rI   r    Zallowed_valuesrK   rK   rL   r    .  s   

c                 C   rN   )z
        Gets the transfer_job_id of this TransferAppliance.

        :return: The transfer_job_id of this TransferAppliance.
        :rtype: str
        r7   rP   rK   rK   rL   r!   ;     z!TransferAppliance.transfer_job_idc                 C   rR   )z
        Sets the transfer_job_id of this TransferAppliance.

        :param transfer_job_id: The transfer_job_id of this TransferAppliance.
        :type: str
        NrT   )rI   r!   rK   rK   rL   r!   E     
c                 C   rN   )z
        Gets the serial_number of this TransferAppliance.

        :return: The serial_number of this TransferAppliance.
        :rtype: str
        r8   rP   rK   rK   rL   r"   O  rU   zTransferAppliance.serial_numberc                 C   rR   )z
        Sets the serial_number of this TransferAppliance.

        :param serial_number: The serial_number of this TransferAppliance.
        :type: str
        NrW   )rI   r"   rK   rK   rL   r"   Y  rV   c                 C   rN   )z
        Gets the creation_time of this TransferAppliance.

        :return: The creation_time of this TransferAppliance.
        :rtype: datetime
        r9   rP   rK   rK   rL   r#   c  rU   zTransferAppliance.creation_timec                 C   rR   )z
        Sets the creation_time of this TransferAppliance.

        :param creation_time: The creation_time of this TransferAppliance.
        :type: datetime
        NrX   )rI   r#   rK   rK   rL   r#   m  rV   c                 C   rN   )z
        Gets the customer_received_time of this TransferAppliance.

        :return: The customer_received_time of this TransferAppliance.
        :rtype: datetime
        r:   rP   rK   rK   rL   r%   w  rU   z(TransferAppliance.customer_received_timec                 C   rR   )z
        Sets the customer_received_time of this TransferAppliance.

        :param customer_received_time: The customer_received_time of this TransferAppliance.
        :type: datetime
        NrY   )rI   r%   rK   rK   rL   r%     rV   c                 C   rN   )z
        Gets the customer_returned_time of this TransferAppliance.

        :return: The customer_returned_time of this TransferAppliance.
        :rtype: datetime
        r;   rP   rK   rK   rL   r&     rU   z(TransferAppliance.customer_returned_timec                 C   rR   )z
        Sets the customer_returned_time of this TransferAppliance.

        :param customer_returned_time: The customer_returned_time of this TransferAppliance.
        :type: datetime
        NrZ   )rI   r&   rK   rK   rL   r&     rV   c                 C   rN   )z
        Gets the next_billing_time of this TransferAppliance.

        :return: The next_billing_time of this TransferAppliance.
        :rtype: datetime
        r<   rP   rK   rK   rL   r'     rU   z#TransferAppliance.next_billing_timec                 C   rR   )z
        Sets the next_billing_time of this TransferAppliance.

        :param next_billing_time: The next_billing_time of this TransferAppliance.
        :type: datetime
        Nr[   )rI   r'   rK   rK   rL   r'     rV   c                 C   rN   )z
        Gets the delivery_security_tie_id of this TransferAppliance.

        :return: The delivery_security_tie_id of this TransferAppliance.
        :rtype: str
        r=   rP   rK   rK   rL   r(     rU   z*TransferAppliance.delivery_security_tie_idc                 C   rR   )z
        Sets the delivery_security_tie_id of this TransferAppliance.

        :param delivery_security_tie_id: The delivery_security_tie_id of this TransferAppliance.
        :type: str
        Nr\   )rI   r(   rK   rK   rL   r(     rV   c                 C   rN   )z
        Gets the return_security_tie_id of this TransferAppliance.

        :return: The return_security_tie_id of this TransferAppliance.
        :rtype: str
        r>   rP   rK   rK   rL   r)     rU   z(TransferAppliance.return_security_tie_idc                 C   rR   )z
        Sets the return_security_tie_id of this TransferAppliance.

        :param return_security_tie_id: The return_security_tie_id of this TransferAppliance.
        :type: str
        Nr]   )rI   r)   rK   rK   rL   r)     rV   c                 C   rN   )z
        Gets the appliance_delivery_tracking_number of this TransferAppliance.

        :return: The appliance_delivery_tracking_number of this TransferAppliance.
        :rtype: str
        r?   rP   rK   rK   rL   r*     rU   z4TransferAppliance.appliance_delivery_tracking_numberc                 C   rR   )z
        Sets the appliance_delivery_tracking_number of this TransferAppliance.

        :param appliance_delivery_tracking_number: The appliance_delivery_tracking_number of this TransferAppliance.
        :type: str
        Nr^   )rI   r*   rK   rK   rL   r*     rV   c                 C   rN   )z
        Gets the appliance_return_delivery_tracking_number of this TransferAppliance.

        :return: The appliance_return_delivery_tracking_number of this TransferAppliance.
        :rtype: str
        r@   rP   rK   rK   rL   r+     rU   z;TransferAppliance.appliance_return_delivery_tracking_numberc                 C   rR   )z
        Sets the appliance_return_delivery_tracking_number of this TransferAppliance.

        :param appliance_return_delivery_tracking_number: The appliance_return_delivery_tracking_number of this TransferAppliance.
        :type: str
        Nr_   )rI   r+   rK   rK   rL   r+     rV   c                 C   rN   )z
        Gets the appliance_delivery_vendor of this TransferAppliance.

        :return: The appliance_delivery_vendor of this TransferAppliance.
        :rtype: str
        rA   rP   rK   rK   rL   r,     rU   z+TransferAppliance.appliance_delivery_vendorc                 C   rR   )z
        Sets the appliance_delivery_vendor of this TransferAppliance.

        :param appliance_delivery_vendor: The appliance_delivery_vendor of this TransferAppliance.
        :type: str
        Nr`   )rI   r,   rK   rK   rL   r,     rV   c                 C   rN   )z
        Gets the customer_shipping_address of this TransferAppliance.

        :return: The customer_shipping_address of this TransferAppliance.
        :rtype: oci.dts.models.ShippingAddress
        rB   rP   rK   rK   rL   r-     rU   z+TransferAppliance.customer_shipping_addressc                 C   rR   )z
        Sets the customer_shipping_address of this TransferAppliance.

        :param customer_shipping_address: The customer_shipping_address of this TransferAppliance.
        :type: oci.dts.models.ShippingAddress
        Nra   )rI   r-   rK   rK   rL   r-   !  rV   c                 C   rN   )z
        Gets the upload_status_log_uri of this TransferAppliance.

        :return: The upload_status_log_uri of this TransferAppliance.
        :rtype: str
        rC   rP   rK   rK   rL   r.   +  rU   z'TransferAppliance.upload_status_log_uric                 C   rR   )z
        Sets the upload_status_log_uri of this TransferAppliance.

        :param upload_status_log_uri: The upload_status_log_uri of this TransferAppliance.
        :type: str
        Nrb   )rI   r.   rK   rK   rL   r.   5  rV   c                 C   rN   )z
        Gets the return_shipping_label_uri of this TransferAppliance.

        :return: The return_shipping_label_uri of this TransferAppliance.
        :rtype: str
        rD   rP   rK   rK   rL   r/   ?  rU   z+TransferAppliance.return_shipping_label_uric                 C   rR   )z
        Sets the return_shipping_label_uri of this TransferAppliance.

        :param return_shipping_label_uri: The return_shipping_label_uri of this TransferAppliance.
        :type: str
        Nrc   )rI   r/   rK   rK   rL   r/   I  rV   c                 C   rN   )a  
        Gets the expected_return_date of this TransferAppliance.
        Expected return date from customer for the device, time portion should be zero.


        :return: The expected_return_date of this TransferAppliance.
        :rtype: datetime
        rE   rP   rK   rK   rL   r0   S  rQ   z&TransferAppliance.expected_return_datec                 C   rR   )a  
        Sets the expected_return_date of this TransferAppliance.
        Expected return date from customer for the device, time portion should be zero.


        :param expected_return_date: The expected_return_date of this TransferAppliance.
        :type: datetime
        Nrd   )rI   r0   rK   rK   rL   r0   _  rS   c                 C   rN   )z
        Gets the pickup_window_start_time of this TransferAppliance.
        Start time for the window to pickup the device from customer.


        :return: The pickup_window_start_time of this TransferAppliance.
        :rtype: datetime
        rF   rP   rK   rK   rL   r2   k  rQ   z*TransferAppliance.pickup_window_start_timec                 C   rR   )a  
        Sets the pickup_window_start_time of this TransferAppliance.
        Start time for the window to pickup the device from customer.


        :param pickup_window_start_time: The pickup_window_start_time of this TransferAppliance.
        :type: datetime
        Nre   )rI   r2   rK   rK   rL   r2   w  rS   c                 C   rN   )z
        Gets the pickup_window_end_time of this TransferAppliance.
        End time for the window to pickup the device from customer.


        :return: The pickup_window_end_time of this TransferAppliance.
        :rtype: datetime
        rG   rP   rK   rK   rL   r3     rQ   z(TransferAppliance.pickup_window_end_timec                 C   rR   )a  
        Sets the pickup_window_end_time of this TransferAppliance.
        End time for the window to pickup the device from customer.


        :param pickup_window_end_time: The pickup_window_end_time of this TransferAppliance.
        :type: datetime
        Nrf   )rI   r3   rK   rK   rL   r3     rS   c                 C   rN   )a'  
        Gets the minimum_storage_capacity_in_terabytes of this TransferAppliance.
        Minimum storage capacity of the device, in terabytes. Valid options are 50, 95 and 150.


        :return: The minimum_storage_capacity_in_terabytes of this TransferAppliance.
        :rtype: int
        rH   rP   rK   rK   rL   r4     rQ   z7TransferAppliance.minimum_storage_capacity_in_terabytesc                 C   rR   )aK  
        Sets the minimum_storage_capacity_in_terabytes of this TransferAppliance.
        Minimum storage capacity of the device, in terabytes. Valid options are 50, 95 and 150.


        :param minimum_storage_capacity_in_terabytes: The minimum_storage_capacity_in_terabytes of this TransferAppliance.
        :type: int
        Nrg   )rI   r4   rK   rK   rL   r4     rS   c                 C   s   t | S N)r   rP   rK   rK   rL   __repr__  s   zTransferAppliance.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__rI   otherrK   rK   rL   __eq__  s   zTransferAppliance.__eq__c                 C   s
   | |k S rh   rK   rk   rK   rK   rL   __ne__  s   
zTransferAppliance.__ne__N)5__name__
__module____qualname____doc__ZLIFECYCLE_STATE_REQUESTEDZ LIFECYCLE_STATE_ORACLE_PREPARINGZLIFECYCLE_STATE_SHIPPINGZLIFECYCLE_STATE_DELIVEREDZLIFECYCLE_STATE_PREPARINGZLIFECYCLE_STATE_FINALIZEDZ&LIFECYCLE_STATE_RETURN_LABEL_REQUESTEDZ'LIFECYCLE_STATE_RETURN_LABEL_GENERATINGZ&LIFECYCLE_STATE_RETURN_LABEL_AVAILABLEZLIFECYCLE_STATE_RETURN_DELAYEDZLIFECYCLE_STATE_RETURN_SHIPPEDZ(LIFECYCLE_STATE_RETURN_SHIPPED_CANCELLEDZLIFECYCLE_STATE_ORACLE_RECEIVEDZ)LIFECYCLE_STATE_ORACLE_RECEIVED_CANCELLEDZLIFECYCLE_STATE_PROCESSINGZLIFECYCLE_STATE_COMPLETEZ'LIFECYCLE_STATE_CUSTOMER_NEVER_RECEIVEDZ%LIFECYCLE_STATE_ORACLE_NEVER_RECEIVEDZLIFECYCLE_STATE_CUSTOMER_LOSTZLIFECYCLE_STATE_CANCELLEDZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_REJECTEDZLIFECYCLE_STATE_ERRORrM   propertyr   setterr    r!   r"   r#   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r2   r3   r4   ri   rm   rn   rK   rK   rK   rL   r      s     




	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	







r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   rK   rK   rK   rL   <module>   s   