Show / Hide Table of Contents

Class RestoreObjectsDetails

Inheritance
object
RestoreObjectsDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ObjectstorageService.Models
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class RestoreObjectsDetails

Properties

Hours

Declaration
[JsonProperty(PropertyName = "hours")]
public int? Hours { get; set; }
Property Value
Type Description
int?

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.

ObjectName

Declaration
[Required(ErrorMessage = "ObjectName is required.")]
[JsonProperty(PropertyName = "objectName")]
public string ObjectName { get; set; }
Property Value
Type Description
string

An object that is in an archive storage tier and needs to be restored.

Remarks

Required

VersionId

Declaration
[JsonProperty(PropertyName = "versionId")]
public string VersionId { get; set; }
Property Value
Type Description
string

The versionId of the object to restore. Current object version is used by default.

In this article
Back to top