Search Results for

    Show / Hide Table of Contents

    Class MediaAsset

    A media asset (image, document, ...) attached to a product.

    Inheritance
    object
    MediaAsset
    Implements
    IEquatable<MediaAsset>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Activout.Blue5
    Assembly: Activout.Blue5.dll
    Syntax
    public sealed record MediaAsset : IEquatable<MediaAsset>
    Remarks

    Blue5 only describes the asset. Fetch DownloadUri yourself to get the file.

    Properties

    | Edit this page View Source

    Attributes

    The asset's own attribute values, indexed by attribute number.

    Declaration
    public ProductAttributes Attributes { get; init; }
    Property Value
    Type Description
    ProductAttributes
    | Edit this page View Source

    ContentType

    MIME type, such as image/webp.

    Declaration
    public string ContentType { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    CreateDate

    When the asset was created.

    Declaration
    public DateTimeOffset? CreateDate { get; init; }
    Property Value
    Type Description
    DateTimeOffset?
    | Edit this page View Source

    Description

    Asset description, if any.

    Declaration
    public string? Description { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    DownloadUri

    URL of the original file.

    Declaration
    public required Uri DownloadUri { get; init; }
    Property Value
    Type Description
    Uri
    | Edit this page View Source

    FileName

    Original file name, if known.

    Declaration
    public string? FileName { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Id

    Asset identifier.

    Declaration
    public string? Id { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Labels

    Label names.

    Declaration
    public IReadOnlyList<string> Labels { get; init; }
    Property Value
    Type Description
    IReadOnlyList<string>
    | Edit this page View Source

    Name

    Asset name.

    Declaration
    public string Name { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Number

    Asset business key. Always a string.

    Declaration
    public string? Number { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    PreviewUri

    URL of a small preview rendition (a 400px-wide JPEG for images).

    Declaration
    public required Uri PreviewUri { get; init; }
    Property Value
    Type Description
    Uri
    | Edit this page View Source

    UpdateDate

    When the asset was last updated.

    Declaration
    public DateTimeOffset? UpdateDate { get; init; }
    Property Value
    Type Description
    DateTimeOffset?

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX