openai/openai-dotnet

Public

mirrored from https://github.com/openai/openai-dotnetAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
OpenAI_2.0.0-beta.12

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/Custom/Assistants/AssistantCollectionOrder.cs

17lines · modepreview

using System.Diagnostics.CodeAnalysis;

namespace OpenAI.Assistants;

// CUSTOM: Renamed.
[Experimental("OPENAI001")]
[CodeGenModel("ListAssistantsRequestOrder")]
public readonly partial struct AssistantCollectionOrder
{
    // CUSTOM: Renamed.
    [CodeGenMember("Asc")]
    public static AssistantCollectionOrder Ascending { get; } = new AssistantCollectionOrder(AscendingValue);

    // CUSTOM: Renamed.
    [CodeGenMember("Desc")]
    public static AssistantCollectionOrder Descending { get; } = new AssistantCollectionOrder(DescendingValue);
}