openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
OpenAI_2.1.0

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/Custom/Assistants/AssistantCollectionOrder.cs

17lines · modecode

1using System.Diagnostics.CodeAnalysis;
2
3namespace OpenAI.Assistants;
4
5// CUSTOM: Renamed.
6[Experimental("OPENAI001")]
7[CodeGenModel("ListAssistantsRequestOrder")]
8public readonly partial struct AssistantCollectionOrder
9{
10 // CUSTOM: Renamed.
11 [CodeGenMember("Asc")]
12 public static AssistantCollectionOrder Ascending { get; } = new AssistantCollectionOrder(AscendingValue);
13
14 // CUSTOM: Renamed.
15 [CodeGenMember("Desc")]
16 public static AssistantCollectionOrder Descending { get; } = new AssistantCollectionOrder(DescendingValue);
17}
18