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.Responses/src/Custom/Items/ImageGenerationTool/ImageGenerationCallResponseItem.cs

14lines · modecode

1using Microsoft.TypeSpec.Generator.Customizations;
2
3namespace OpenAI.Responses;
4
5// CUSTOM: Renamed.
6[CodeGenType("ImageGenToolCallItemResource")]
7public 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