AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class GeneratedAsset<TAsset, TFile>

    Base class for generated assets: images, audios, and videos. These assets are 'files' that can be downloaded and used in the application.

    Inheritance
    object
    Result
    RESTResponse
    GeneratedResult<TAsset>
    GeneratedAsset<TAsset, TFile>
    GeneratedAudio
    GeneratedImage
    GeneratedVideo
    Implements
    IGenerated
    Inherited Members
    GeneratedResult<TAsset>.Count
    GeneratedResult<TAsset>.Values
    GeneratedResult<TAsset>.values
    GeneratedResult<TAsset>.Usage
    GeneratedResult<TAsset>.usage
    GeneratedResult<TAsset>.this[int]
    Namespace: Glitch9.AIDevKit
    Assembly: .dll
    Syntax
    public abstract class GeneratedAsset<TAsset, TFile> : GeneratedResult<TAsset>, IGenerated where TFile : UniFileBase<TAsset>
    Type Parameters
    Name Description
    TAsset
    TFile

    Constructors

    GeneratedAsset(TAsset, string, Usage)

    Declaration
    protected GeneratedAsset(TAsset asset, string path, Usage usage = null)
    Parameters
    Type Name Description
    TAsset asset
    string path
    Usage usage

    GeneratedAsset(TAsset[], string[], Usage)

    Declaration
    protected GeneratedAsset(TAsset[] asset, string[] paths, Usage usage = null)
    Parameters
    Type Name Description
    TAsset[] asset
    string[] paths
    Usage usage

    Properties

    this[string]

    Declaration
    public string this[string path] { get; }
    Parameters
    Type Name Description
    string path
    Property Value
    Type Description
    string

    Paths

    Declaration
    public string[] Paths { get; }
    Property Value
    Type Description
    string[]

    Methods

    ToFiles()

    Declaration
    public abstract TFile[] ToFiles()
    Returns
    Type Description
    TFile[]

    Implements

    IGenerated

    Extension Methods

    AssistantsAPIResultExtensions.Convert(IResult)
    In this article
    Back to top Generated by DocFX