ItemContentRefusal.DeserializeItemContentRefusal Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentRefusal DeserializeItemContentRefusal(System.Text.Json.JsonElement element, System.ClientModel.Primitives.ModelReaderWriterOptions options = default);
static member DeserializeItemContentRefusal : System.Text.Json.JsonElement * System.ClientModel.Primitives.ModelReaderWriterOptions -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentRefusal
Public Shared Function DeserializeItemContentRefusal (element As JsonElement, Optional options As ModelReaderWriterOptions = Nothing) As ItemContentRefusal
Parameters
- element
- JsonElement
- options
- ModelReaderWriterOptions