openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
OpenAI.Responses/src/Custom/Items/ImageGenerationTool/ImageGenerationCallResponseItem.cs
14lines · modecode
| 1 | using Microsoft.TypeSpec.Generator.Customizations; |
| 2 | |
| 3 | namespace OpenAI.Responses; |
| 4 | |
| 5 | // CUSTOM: Renamed. |
| 6 | [CodeGenType("ImageGenToolCallItemResource")] |
| 7 | public partial class ImageGenerationCallResponseItem |
| 8 | { |
| 9 | // CUSTOM: |
| 10 | // - Made nullable because this is an optional property. |
| 11 | // - Added setter because this is an optional property in an input/output type. |
| 12 | [CodeGenMember("Status")] |
| 13 | public ImageGenerationCallStatus? Status { get; set; } |
| 14 | } |
| 15 | |