Class GetObjectResponse
Implements
Inherited Members
Namespace: Oci.ObjectstorageService.Responses
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class GetObjectResponse : 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. |
ContentRange
Declaration
[HttpConverter(TargetEnum.Header, "content-range")]
public Range ContentRange { get; set; }
Property Value
| Type | Description |
|---|---|
| Range | Content-Range header for range requests, per RFC 7233. |
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. |
Expires
Declaration
[HttpConverter(TargetEnum.Header, "expires")]
public DateTime? Expires { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time after which the object is no longer cached by a browser, proxy, or other caching entity. See RFC 2616. |
InputStream
Declaration
[HttpConverter(TargetEnum.Body)]
public Stream InputStream { get; set; }
Property Value
| Type | Description |
|---|---|
| Stream | The returned System.IO.Stream instance, or null if {@link #isNotModified()} is true. Caller must always close the stream to avoid holding resources. |
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. |
OpcContentCrc32c
Declaration
[HttpConverter(TargetEnum.Header, "opc-content-crc32c")]
public string OpcContentCrc32c { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the object. Even for objects uploaded using multipart upload, this header returns the CRC32C (Castagnoli) checksum of the complete reconstructed object. |
OpcContentSha256
Declaration
[HttpConverter(TargetEnum.Header, "opc-content-sha256")]
public string OpcContentSha256 { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Applicable only if SHA256 was specified in the opc-checksum-algorithm request header during upload. The base64-encoded SHA256 hash of the object as computed during upload. Unavailable for objects uploaded using multipart upload. |
OpcContentSha384
Declaration
[HttpConverter(TargetEnum.Header, "opc-content-sha384")]
public string OpcContentSha384 { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Applicable only if SHA384 was specified in the opc-checksum-algorithm request header during upload. The base64-encoded SHA384 hash of the object as computed during upload. Unavailable for objects uploaded using multipart upload. |
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. |
OpcMultipartSha256
Declaration
[HttpConverter(TargetEnum.Header, "opc-multipart-sha256")]
public string OpcMultipartSha256 { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Only applicable to objects uploaded using multipart upload. Applicable only if SHA256 was specified in the opc-checksum-algorithm request header during upload. Base-64 representation of the multipart object SHA256 hash. The multipart object hash is calculated by taking the SHA256 hashes of the parts, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the SHA256 hash of the concatenated values. |
OpcMultipartSha384
Declaration
[HttpConverter(TargetEnum.Header, "opc-multipart-sha384")]
public string OpcMultipartSha384 { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Only applicable to objects uploaded using multipart upload. Applicable only if SHA384 was specified in the opc-checksum-algorithm request header during upload. Base-64 representation of the multipart object SHA384 hash. The multipart object hash is calculated by taking the SHA384 hashes of the parts, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the SHA384 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 |