Search Results for

    Show / Hide Table of Contents

    Class DocumentContentData

    Inheritance
    object
    DocumentContentData
    Implements
    IContentData
    IBase64Source
    IUrlSource
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class DocumentContentData : IContentData, IBase64Source, IUrlSource

    Properties

    | Edit this page View Source

    Base64String

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

    DocumentId

    Required. The ID of an uploaded document to use as input.

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

    DocumentJson

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

    DocumentName

    Optional. The name of the document.

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

    DocumentText

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

    FileBytes

    Declaration
    public byte[] FileBytes { get; set; }
    Property Value
    Type Description
    byte[]
    | Edit this page View Source

    Url

    Declaration
    public string Url { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    GetBase64String()

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

    GetDownloadUrl()

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

    IsBase64()

    Declaration
    public bool IsBase64()
    Returns
    Type Description
    bool
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IContentData
    IBase64Source
    IUrlSource

    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)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation