openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Custom/Files/OpenAIFileInfo.cs
14lines · modecode
| 1 | namespace OpenAI.Files; |
| 2 | |
| 3 | [CodeGenModel("OpenAIFile")] |
| 4 | public 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 | |