openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
OpenAI_2.0.0-beta.1

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/Custom/Files/OpenAIFileInfo.cs

14lines · modecode

1namespace OpenAI.Files;
2
3[CodeGenModel("OpenAIFile")]
4public partial class OpenAIFileInfo
5{
6 // CUSTOM: Made private. This property does not add value in the context of a strongly-typed class.
7 /// <summary> The object type, which is always "file". </summary>
8 private InternalOpenAIFileObject Object { get; } = InternalOpenAIFileObject.File;
9
10 // CUSTOM: Renamed.
11 /// <summary> The size of the file, in bytes. </summary>
12 [CodeGenMember("Bytes")]
13 public long? SizeInBytes { get; }
14}
15