ItemContentRefusal Class
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.
A refusal from the model.
public class ItemContentRefusal : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentRefusal>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentRefusal>
type ItemContentRefusal = class
inherit ItemContent
interface IUtf8JsonSerializable
interface IJsonModel<ItemContentRefusal>
interface IPersistableModel<ItemContentRefusal>
Public Class ItemContentRefusal
Inherits ItemContent
Implements IJsonModel(Of ItemContentRefusal), IPersistableModel(Of ItemContentRefusal)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ItemContentRefusal() |
Initializes a new instance of ItemContentRefusal for deserialization. |
| ItemContentRefusal(ItemContentType, IDictionary<String,BinaryData>, String) |
Initializes a new instance of ItemContentRefusal. |
| ItemContentRefusal(String) |
Initializes a new instance of ItemContentRefusal. |
Properties
| Name | Description |
|---|---|
| Refusal |
The refusal explanationfrom the model. |
| Type |
Gets or sets the type. (Inherited from ItemContent) |
Methods
| Name | Description |
|---|---|
| DeserializeItemContentRefusal(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |