Class HeadObjectResponse
Implements
Inherited Members
Namespace: Oci.ObjectstorageService.Responses
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class HeadObjectResponse : OciResponse, IOciResponse
Properties
ArchivalState
Declaration
[HttpConverter(TargetEnum.Header, "archival-state")]
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. |
CacheControl
Declaration
[HttpConverter(TargetEnum.Header, "cache-control")]
public string CacheControl { get; set; }
Property Value
Type | Description |
---|---|
string | Cache-Control header, as described in RFC 2616. |
ContentDisposition
Declaration
[HttpConverter(TargetEnum.Header, "content-disposition")]
public string ContentDisposition { get; set; }
Property Value
Type | Description |
---|---|
string | Content-Disposition header, as described in RFC 2616. |
ContentEncoding
Declaration
[HttpConverter(TargetEnum.Header, "content-encoding")]
public string ContentEncoding { get; set; }
Property Value
Type | Description |
---|---|
string | Content-Encoding header, as described in RFC 2616. |
ContentLanguage
Declaration
[HttpConverter(TargetEnum.Header, "content-language")]
public string ContentLanguage { get; set; }
Property Value
Type | Description |
---|---|
string | Content-Language header, as described in RFC 2616. |
ContentLength
Declaration
[HttpConverter(TargetEnum.Header, "content-length")]
public long? ContentLength { get; set; }
Property Value
Type | Description |
---|---|
long? | The object size in bytes. |
ContentMd5
Declaration
[HttpConverter(TargetEnum.Header, "content-md5")]
public string ContentMd5 { get; set; }
Property Value
Type | Description |
---|---|
string | Content-MD5 header, as described in RFC 2616. Unavailable for objects uploaded using multipart upload. |
ContentType
Declaration
[HttpConverter(TargetEnum.Header, "content-type")]
public string ContentType { get; set; }
Property Value
Type | Description |
---|---|
string | Content-Type header, as described in RFC 2616. |
ETag
Declaration
[HttpConverter(TargetEnum.Header, "ETag")]
public string ETag { get; set; }
Property Value
Type | Description |
---|---|
string | The entity tag (ETag) for the object. |
IsNotModified
Declaration
public bool IsNotModified { get; set; }
Property Value
Type | Description |
---|---|
bool | Flag to indicate whether or not the object was modified. If this is true, the getter for the object itself will return null. Callers should check this if they specified one of the request params that might result in a conditional response (like 'if-match'/'if-none-match'). |
LastModified
Declaration
[HttpConverter(TargetEnum.Header, "last-modified")]
public DateTime? LastModified { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The object modification time, as described in RFC 2616. |
OpcClientRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-client-request-id")]
public string OpcClientRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging. |
OpcMeta
Declaration
[HttpConverter(TargetEnum.Header, "opc-meta-")]
public Dictionary<string, string> OpcMeta { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | The user-defined metadata for the object. |
OpcMultipartMd5
Declaration
[HttpConverter(TargetEnum.Header, "opc-multipart-md5")]
public string OpcMultipartMd5 { get; set; }
Property Value
Type | Description |
---|---|
string | Only applicable to objects uploaded using multipart upload. Base-64 representation of the multipart object hash. The multipart object hash is calculated by taking the MD5 hashes of the parts, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the MD5 hash of the concatenated values. |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide this request ID. |
StorageTier
Declaration
[HttpConverter(TargetEnum.Header, "storage-tier")]
public StorageTier? StorageTier { get; set; }
Property Value
Type | Description |
---|---|
StorageTier? | The storage tier that the object is stored in. |
TimeOfArchival
Declaration
[HttpConverter(TargetEnum.Header, "time-of-archival")]
public DateTime? TimeOfArchival { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time that the object is returned to the archived state. This field is only present for restored objects. |
VersionId
Declaration
[HttpConverter(TargetEnum.Header, "version-id")]
public string VersionId { get; set; }
Property Value
Type | Description |
---|---|
string | VersionId of the object requested |