RestoreObjectsDetails

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

Bases: object

RestoreObjectsDetails model.

__init__(**kwargs)

Initializes a new RestoreObjectsDetails 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 RestoreObjectsDetails.
  • hours (int) -- The value to assign to the hours property of this RestoreObjectsDetails.
hours

Gets the hours of this RestoreObjectsDetails. The number of hours for which this object will be restored. By default objects will be restored for 24 hours. You can instead configure the duration using the hours parameter.

Returns:The hours of this RestoreObjectsDetails.
Return type:int
object_name

[Required] Gets the object_name of this RestoreObjectsDetails. An object that is in an archive storage tier and needs to be restored.

Returns:The object_name of this RestoreObjectsDetails.
Return type:str