FailedObjectResult

class oci.object_storage.models.FailedObjectResult(**kwargs)

Bases: object

Failed object details.

Methods:

__init__(**kwargs)

Initializes a new FailedObjectResult object with values from keyword arguments.

Attributes:

error_message

[Required] Gets the error_message of this FailedObjectResult.

object_name

[Required] Gets the object_name of this FailedObjectResult.

status_code

[Required] Gets the status_code of this FailedObjectResult.

__init__(**kwargs)

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

Parameters
  • object_name (str) – The value to assign to the object_name property of this FailedObjectResult.

  • status_code (int) – The value to assign to the status_code property of this FailedObjectResult.

  • error_message (str) – The value to assign to the error_message property of this FailedObjectResult.

property error_message

[Required] Gets the error_message of this FailedObjectResult. Detailed error message on why the delete/update was failed.

Returns

The error_message of this FailedObjectResult.

Return type

str

property object_name

[Required] Gets the object_name of this FailedObjectResult. The name of the object. Example: test/object1.log

Returns

The object_name of this FailedObjectResult.

Return type

str

property status_code

[Required] Gets the status_code of this FailedObjectResult. HTTP status code for the failure. Example: 409

Returns

The status_code of this FailedObjectResult.

Return type

int