openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/customize-openairesponsescontext-attribute

Branches

Tags

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

Clone

HTTPS

Download ZIP

OpenAI/src/Custom/Assistants/AssistantDeletionResult.cs

16lines · modecode

1using Microsoft.TypeSpec.Generator.Customizations;
2
3namespace OpenAI.Assistants;
4
5[CodeGenType("DeleteAssistantResponse")]
6public partial class AssistantDeletionResult
7{
8 // CUSTOM: Renamed.
9 [CodeGenMember("Id")]
10 public string AssistantId { get; }
11
12 // CUSTOM: Made internal.
13 /// <summary> The object type, which is always `assistant.deleted`. </summary>
14 [CodeGenMember("Object")]
15 internal string Object { get; } = "assistant.deleted";
16}
17