RetentionOperationDetails

class oci.data_science.models.RetentionOperationDetails(**kwargs)

Bases: object

Retention operation details for the model.

Attributes:

ARCHIVE_STATE_FAILED

A constant which can be used with the archive_state property of a RetentionOperationDetails.

ARCHIVE_STATE_PENDING

A constant which can be used with the archive_state property of a RetentionOperationDetails.

ARCHIVE_STATE_SUCCEEDED

A constant which can be used with the archive_state property of a RetentionOperationDetails.

DELETE_STATE_FAILED

A constant which can be used with the delete_state property of a RetentionOperationDetails.

DELETE_STATE_PENDING

A constant which can be used with the delete_state property of a RetentionOperationDetails.

DELETE_STATE_SUCCEEDED

A constant which can be used with the delete_state property of a RetentionOperationDetails.

archive_state

[Required] Gets the archive_state of this RetentionOperationDetails.

archive_state_details

[Required] Gets the archive_state_details of this RetentionOperationDetails.

delete_state

[Required] Gets the delete_state of this RetentionOperationDetails.

delete_state_details

[Required] Gets the delete_state_details of this RetentionOperationDetails.

time_archival_scheduled

[Required] Gets the time_archival_scheduled of this RetentionOperationDetails.

time_deletion_scheduled

[Required] Gets the time_deletion_scheduled of this RetentionOperationDetails.

Methods:

__init__(**kwargs)

Initializes a new RetentionOperationDetails object with values from keyword arguments.

ARCHIVE_STATE_FAILED = 'FAILED'

A constant which can be used with the archive_state property of a RetentionOperationDetails. This constant has a value of “FAILED”

ARCHIVE_STATE_PENDING = 'PENDING'

A constant which can be used with the archive_state property of a RetentionOperationDetails. This constant has a value of “PENDING”

ARCHIVE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the archive_state property of a RetentionOperationDetails. This constant has a value of “SUCCEEDED”

DELETE_STATE_FAILED = 'FAILED'

A constant which can be used with the delete_state property of a RetentionOperationDetails. This constant has a value of “FAILED”

DELETE_STATE_PENDING = 'PENDING'

A constant which can be used with the delete_state property of a RetentionOperationDetails. This constant has a value of “PENDING”

DELETE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the delete_state property of a RetentionOperationDetails. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

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

Parameters
  • archive_state (str) – The value to assign to the archive_state property of this RetentionOperationDetails. Allowed values for this property are: “PENDING”, “FAILED”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • archive_state_details (str) – The value to assign to the archive_state_details property of this RetentionOperationDetails.

  • time_archival_scheduled (datetime) – The value to assign to the time_archival_scheduled property of this RetentionOperationDetails.

  • delete_state (str) – The value to assign to the delete_state property of this RetentionOperationDetails. Allowed values for this property are: “PENDING”, “FAILED”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • delete_state_details (str) – The value to assign to the delete_state_details property of this RetentionOperationDetails.

  • time_deletion_scheduled (datetime) – The value to assign to the time_deletion_scheduled property of this RetentionOperationDetails.

property archive_state

[Required] Gets the archive_state of this RetentionOperationDetails. The archival status of model.

Allowed values for this property are: “PENDING”, “FAILED”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The archive_state of this RetentionOperationDetails.

Return type

str

property archive_state_details

[Required] Gets the archive_state_details of this RetentionOperationDetails. The archival state details of the model.

Returns

The archive_state_details of this RetentionOperationDetails.

Return type

str

property delete_state

[Required] Gets the delete_state of this RetentionOperationDetails. The deletion status of the archived model.

Allowed values for this property are: “PENDING”, “FAILED”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The delete_state of this RetentionOperationDetails.

Return type

str

property delete_state_details

[Required] Gets the delete_state_details of this RetentionOperationDetails. The deletion status details of the archived model.

Returns

The delete_state_details of this RetentionOperationDetails.

Return type

str

property time_archival_scheduled

[Required] Gets the time_archival_scheduled of this RetentionOperationDetails. The estimated archival time of the model based on the provided retention setting.

Returns

The time_archival_scheduled of this RetentionOperationDetails.

Return type

datetime

property time_deletion_scheduled

[Required] Gets the time_deletion_scheduled of this RetentionOperationDetails. The estimated deletion time of the model based on the provided retention setting.

Returns

The time_deletion_scheduled of this RetentionOperationDetails.

Return type

datetime