Class ObjectVersionSummary
To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.
Inherited Members
Namespace: Oci.ObjectstorageService.Models
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class ObjectVersionSummary
Properties
ArchivalState
Declaration
[JsonProperty(PropertyName = "archivalState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ArchivalState? ArchivalState { get; set; }
Property Value
Type | Description |
---|---|
ArchivalState? | Archival state of an object. This field is set only for objects in Archive tier. |
Etag
Declaration
[JsonProperty(PropertyName = "etag")]
public string Etag { get; set; }
Property Value
Type | Description |
---|---|
string | The current entity tag (ETag) for the object. |
IsDeleteMarker
Declaration
[Required(ErrorMessage = "IsDeleteMarker is required.")]
[JsonProperty(PropertyName = "isDeleteMarker")]
public bool? IsDeleteMarker { get; set; }
Property Value
Type | Description |
---|---|
bool? | This flag will indicate if the version is deleted or not. |
Remarks
Required
Md5
Declaration
[JsonProperty(PropertyName = "md5")]
public string Md5 { get; set; }
Property Value
Type | Description |
---|---|
string | Base64-encoded MD5 hash of the object data. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the object. Avoid entering confidential information. Example: test/object1.log |
Remarks
Required
Size
Declaration
[JsonProperty(PropertyName = "size")]
public long? Size { get; set; }
Property Value
Type | Description |
---|---|
long? | Size of the object in bytes. |
StorageTier
Declaration
[JsonProperty(PropertyName = "storageTier")]
[JsonConverter(typeof(ResponseEnumConverter))]
public StorageTier? StorageTier { get; set; }
Property Value
Type | Description |
---|---|
StorageTier? | The storage tier that the object is stored in. |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the object was created, as described in RFC 2616. |
TimeModified
Declaration
[Required(ErrorMessage = "TimeModified is required.")]
[JsonProperty(PropertyName = "timeModified")]
public DateTime? TimeModified { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the object was modified, as described in RFC 2616. |
Remarks
Required
VersionId
Declaration
[Required(ErrorMessage = "VersionId is required.")]
[JsonProperty(PropertyName = "versionId")]
public string VersionId { get; set; }
Property Value
Type | Description |
---|---|
string | VersionId of the object. |
Remarks
Required