Table of Contents

Class ItemReference

Namespace
OpenAI.Responses
Assembly
OpenAI-DotNet.dll
public sealed class ItemReference : BaseResponse, IResponseItem, IServerSentEvent, IListItem
Inheritance
ItemReference
Implements
Inherited Members

Constructors

ItemReference()

public ItemReference()

ItemReference(IResponseItem)

public ItemReference(IResponseItem item)

Parameters

item IResponseItem

Properties

Id

The unique ID of this response item.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("id")]
public string Id { get; }

Property Value

string

Object

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("object")]
public string Object { get; }

Property Value

string

Status

The status of the response item.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("status")]
public ResponseStatus Status { get; }

Property Value

ResponseStatus

Type

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("type")]
public ResponseItemType Type { get; }

Property Value

ResponseItemType