TransferPackageSummary

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

Bases: object

TransferPackageSummary model.

LIFECYCLE_STATE_CANCELLED = 'CANCELLED'

A constant which can be used with the lifecycle_state property of a TransferPackageSummary. 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 TransferPackageSummary. 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 TransferPackageSummary. This constant has a value of "DELETED"

LIFECYCLE_STATE_PREPARING = 'PREPARING'

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

LIFECYCLE_STATE_PROCESSED = 'PROCESSED'

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

LIFECYCLE_STATE_PROCESSING = 'PROCESSING'

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

LIFECYCLE_STATE_RECEIVED = 'RECEIVED'

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

LIFECYCLE_STATE_RETURNED = 'RETURNED'

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

LIFECYCLE_STATE_SHIPPING = 'SHIPPING'

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

__init__(**kwargs)

Initializes a new TransferPackageSummary 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 TransferPackageSummary.
  • lifecycle_state (str) -- The value to assign to the lifecycle_state property of this TransferPackageSummary. 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'.
  • creation_time (datetime) -- The value to assign to the creation_time property of this TransferPackageSummary.
creation_time

Gets the creation_time of this TransferPackageSummary.

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

Gets the label of this TransferPackageSummary.

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

Gets the lifecycle_state of this TransferPackageSummary. 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 TransferPackageSummary.
Return type:str