TransferPackage

class oci.dts.models.TransferPackage(**kwargs)

Bases: object

TransferPackage model.

LIFECYCLE_STATE_CANCELLED = 'CANCELLED'

A constant which can be used with the lifecycle_state property of a TransferPackage. This constant has a value of "CANCELLED"

LIFECYCLE_STATE_CANCELLED_RETURNED = 'CANCELLED_RETURNED'

A constant which can be used with the lifecycle_state property of a TransferPackage. This constant has a value of "CANCELLED_RETURNED"

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a TransferPackage. This constant has a value of "DELETED"

LIFECYCLE_STATE_PREPARING = 'PREPARING'

A constant which can be used with the lifecycle_state property of a TransferPackage. This constant has a value of "PREPARING"

LIFECYCLE_STATE_PROCESSED = 'PROCESSED'

A constant which can be used with the lifecycle_state property of a TransferPackage. This constant has a value of "PROCESSED"

LIFECYCLE_STATE_PROCESSING = 'PROCESSING'

A constant which can be used with the lifecycle_state property of a TransferPackage. This constant has a value of "PROCESSING"

LIFECYCLE_STATE_RECEIVED = 'RECEIVED'

A constant which can be used with the lifecycle_state property of a TransferPackage. This constant has a value of "RECEIVED"

LIFECYCLE_STATE_RETURNED = 'RETURNED'

A constant which can be used with the lifecycle_state property of a TransferPackage. This constant has a value of "RETURNED"

LIFECYCLE_STATE_SHIPPING = 'SHIPPING'

A constant which can be used with the lifecycle_state property of a TransferPackage. This constant has a value of "SHIPPING"

__init__(**kwargs)

Initializes a new TransferPackage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • label (str) -- The value to assign to the label property of this TransferPackage.
  • lifecycle_state (str) -- The value to assign to the lifecycle_state property of this TransferPackage. Allowed values for this property are: "PREPARING", "SHIPPING", "RECEIVED", "PROCESSING", "PROCESSED", "RETURNED", "DELETED", "CANCELLED", "CANCELLED_RETURNED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • transfer_job_id (str) -- The value to assign to the transfer_job_id property of this TransferPackage.
  • creation_time (datetime) -- The value to assign to the creation_time property of this TransferPackage.
  • original_package_delivery_tracking_number (str) -- The value to assign to the original_package_delivery_tracking_number property of this TransferPackage.
  • return_package_delivery_tracking_number (str) -- The value to assign to the return_package_delivery_tracking_number property of this TransferPackage.
  • package_delivery_vendor (str) -- The value to assign to the package_delivery_vendor property of this TransferPackage.
  • transfer_site_shipping_address (str) -- The value to assign to the transfer_site_shipping_address property of this TransferPackage.
  • attached_transfer_device_labels (list[str]) -- The value to assign to the attached_transfer_device_labels property of this TransferPackage.
attached_transfer_device_labels

Gets the attached_transfer_device_labels of this TransferPackage. Transfer Devices attached to this Transfer Package

Returns:The attached_transfer_device_labels of this TransferPackage.
Return type:list[str]
creation_time

Gets the creation_time of this TransferPackage.

Returns:The creation_time of this TransferPackage.
Return type:datetime
label

[Required] Gets the label of this TransferPackage.

Returns:The label of this TransferPackage.
Return type:str
lifecycle_state

Gets the lifecycle_state of this TransferPackage. Allowed values for this property are: "PREPARING", "SHIPPING", "RECEIVED", "PROCESSING", "PROCESSED", "RETURNED", "DELETED", "CANCELLED", "CANCELLED_RETURNED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The lifecycle_state of this TransferPackage.
Return type:str
original_package_delivery_tracking_number

Gets the original_package_delivery_tracking_number of this TransferPackage.

Returns:The original_package_delivery_tracking_number of this TransferPackage.
Return type:str
package_delivery_vendor

Gets the package_delivery_vendor of this TransferPackage.

Returns:The package_delivery_vendor of this TransferPackage.
Return type:str
return_package_delivery_tracking_number

Gets the return_package_delivery_tracking_number of this TransferPackage.

Returns:The return_package_delivery_tracking_number of this TransferPackage.
Return type:str
transfer_job_id

Gets the transfer_job_id of this TransferPackage.

Returns:The transfer_job_id of this TransferPackage.
Return type:str
transfer_site_shipping_address

Gets the transfer_site_shipping_address of this TransferPackage.

Returns:The transfer_site_shipping_address of this TransferPackage.
Return type:str