Class Asset#
Defined in File Asset.cs
Inheritance Relationships#
Base Type#
public xbe.sdk.EntityBase
(Class EntityBase)
Class Documentation#
- class xbe.sdk.Models.Asset : xbe.sdk.EntityBase#
Describes a single digital asset that has been stored on a remote storage provider.
REQUIRES: Asset Services
Properties
- string Checksum { get; set; }#
The checksum of the asset’s contents. The value is of the form
<alg>:<hash>
where<alg>
is the hash algorithm used and<hash>
is the value of the asset’s checksum. e.g.sha512:f03298r0982309r8320r8028f3oajfoiqiuf093q2uf908u2fjqfa980yu9
represents aSHA512
hash with valuef03298r0982309r8320r8028f3oajfoiqiuf093q2uf908u2fjqfa980yu9
.
- Object Metadata { get; set; }#
An map of key-value pairs containing additional metadata about the asset.
- string Mimetype { get; set; }#
The type of data that the asset contains.
- string Name { get; set; }#
The unique name of the asset.
- Guid OwnerUid { get; set; }#
The universally unique identifier of the user that owns the asset.
- int Size { get; set; }#
The total size of the asset in bytes.
- string Url { get; set; }#
The universal resource location of the asset. e.g. it’s location on the Internet or local filesystem.
Public Static Functions
- new Asset Parse (string json)#
Parses the given JSON encoded string into a new Achievement instance.
- Param json:
- Return: