| StorageObject Class |
Namespace: Oracle.Cloud.Mobile.Storage
The StorageObject type exposes the following members.
| Name | Description | |
|---|---|---|
| StorageObject |
Creates a new StorageObject to be associated with a Storage Collection. The StorageObject's content needs to be
populated before being uploaded to the Service.
|
| Name | Description | |
|---|---|---|
| CanonicalLink |
Relative URI of the underlying StorageObject resource.
| |
| ContentLength |
The length of data content in bytes stored in the StorageObject.
| |
| ContentType |
The media-type associated with the StorageObject.
| |
| CreatedBy |
The name of the user who created the StorageObject.
| |
| CreatedOn |
Server generated timestamp when the StorageObject was created.
| |
| Id |
A service generated ID for the StorageObject. The ID is unique in the StorageCollection.
| |
| ModifiedBy |
The name of the user who last updated the StorageObject.
| |
| ModifiedOn |
Server generated timestamp when the StorageObject was last updated.
| |
| Name |
A user provided name for the StorageObject. A StorageCollection may have multiple StorageObjects with the same name.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| LoadPayload(Byte, String) |
Loads a StorageObject's contents from a byte array.
| |
| LoadPayload(Stream, String) |
Loads a StorageObject's contents from a stream.
| |
| LoadPayload(String, String) |
Loads a StorageObject's contents from a string.
| |
| ReadAsBytesAsync |
Returns the contents of the StorageObject as a byte array. May result in a download from the service if the contents were not previously downloaded.
| |
| ReadAsStreamAsync |
Returns the contents of the StorageObject as a stream. May result in a download from the service if the contents were not previously downloaded.
| |
| ReadAsStringAsync |
Returns the contents of the Storage Object as a string. May result in a download from the service if the contents were not previously downloaded.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |