Search Results for

    Show / Hide Table of Contents

    Class GenerationRecord

    Inheritance
    object
    GenerationRecord
    Implements
    IData
    IHasId<string>
    IHasName
    IFavoritable
    IArchivable
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.History
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class GenerationRecord : IData, IHasId<string>, IHasName, IFavoritable, IArchivable

    Properties

    | Edit this page View Source

    Api

    Declaration
    [JsonIgnore]
    public Api Api { get; }
    Property Value
    Type Description
    Api
    | Edit this page View Source

    CostInUsd

    Declaration
    [JsonIgnore]
    public double CostInUsd { get; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    CreatedAt

    Declaration
    [JsonIgnore]
    public UnixTime CreatedAt { get; }
    Property Value
    Type Description
    UnixTime
    | Edit this page View Source

    Detail

    Declaration
    [JsonProperty("detail")]
    public GenerationRecordDetail Detail { get; }
    Property Value
    Type Description
    GenerationRecordDetail
    | Edit this page View Source

    Header

    Declaration
    [JsonProperty("header")]
    public GenerationRecordHeader Header { get; }
    Property Value
    Type Description
    GenerationRecordHeader
    | Edit this page View Source

    Id

    Declaration
    [JsonIgnore]
    public string Id { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    InputText

    Declaration
    [JsonIgnore]
    public string InputText { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    IsArchived

    Gets or sets whether this object is archived.

    Declaration
    [JsonIgnore]
    public bool IsArchived { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsFavorite

    Gets or sets whether this object is marked as favorite.

    Declaration
    [JsonIgnore]
    public bool IsFavorite { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    ModelId

    Declaration
    [JsonIgnore]
    public string ModelId { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ModelName

    Declaration
    [JsonIgnore]
    public string ModelName { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    N

    Declaration
    [JsonIgnore]
    public int N { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Name

    Gets the name of this object.

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

    OutputFiles

    Declaration
    [JsonIgnore]
    public SerializableFile[] OutputFiles { get; }
    Property Value
    Type Description
    SerializableFile[]
    | Edit this page View Source

    OutputPreviewText

    Declaration
    [JsonIgnore]
    public string OutputPreviewText { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    OutputText

    Declaration
    [JsonIgnore]
    public string OutputText { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    OutputTexts

    Declaration
    [JsonIgnore]
    public string[] OutputTexts { get; }
    Property Value
    Type Description
    string[]
    | Edit this page View Source

    Prompt

    Declaration
    [JsonIgnore]
    public IPrompt Prompt { get; }
    Property Value
    Type Description
    IPrompt
    | Edit this page View Source

    PromptText

    Declaration
    [JsonIgnore]
    public string PromptText { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    RequestContext

    Declaration
    [JsonIgnore]
    public CurlContext RequestContext { get; }
    Property Value
    Type Description
    CurlContext
    | Edit this page View Source

    RequestType

    Declaration
    [JsonIgnore]
    public RequestType RequestType { get; }
    Property Value
    Type Description
    RequestType
    | Edit this page View Source

    ResponseMimeType

    Declaration
    [JsonIgnore]
    public MimeType ResponseMimeType { get; }
    Property Value
    Type Description
    MimeType
    | Edit this page View Source

    Sender

    Declaration
    [JsonIgnore]
    public string Sender { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TimeTakenSeconds

    Declaration
    [JsonIgnore]
    public float? TimeTakenSeconds { get; set; }
    Property Value
    Type Description
    float?
    | Edit this page View Source

    Usage

    Declaration
    [JsonIgnore]
    public Usage Usage { get; }
    Property Value
    Type Description
    Usage
    | Edit this page View Source

    VoiceId

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

    Methods

    | Edit this page View Source

    Equals(GenerationRecord)

    Declaration
    public bool Equals(GenerationRecord other)
    Parameters
    Type Name Description
    GenerationRecord other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GenerateId()

    Declaration
    public static string GenerateId()
    Returns
    Type Description
    string
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Operators

    | Edit this page View Source

    operator ==(GenerationRecord, GenerationRecord)

    Declaration
    public static bool operator ==(GenerationRecord left, GenerationRecord right)
    Parameters
    Type Name Description
    GenerationRecord left
    GenerationRecord right
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(GenerationRecord, GenerationRecord)

    Declaration
    public static bool operator !=(GenerationRecord left, GenerationRecord right)
    Parameters
    Type Name Description
    GenerationRecord left
    GenerationRecord right
    Returns
    Type Description
    bool

    Implements

    IData
    IHasId<TId>
    IHasName
    IFavoritable
    IArchivable

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    CoreLibTypeExtensions.GetNameOrDash(IData)
    CoreLibTypeExtensions.GetIdOrNull(IHasId<string>)
    CoreLibTypeExtensions.IsNullOrEmptyId(IHasId<string>)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation