SafetyCheck 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.
Safety check that has been acknowledged by the developer.
public class SafetyCheck : System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.SafetyCheck>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.SafetyCheck>
type SafetyCheck = class
interface IJsonModel<SafetyCheck>
interface IPersistableModel<SafetyCheck>
Public Class SafetyCheck
Implements IJsonModel(Of SafetyCheck), IPersistableModel(Of SafetyCheck)
- Inheritance
-
SafetyCheck
- Implements
Constructors
| Name | Description |
|---|---|
| SafetyCheck(String) |
Initializes a new instance of SafetyCheck. |
Properties
| Name | Description |
|---|---|
| Code |
The type of the pending safety check. |
| Id |
The ID of the pending safety check. |
| Message |
Details about the pending safety check. |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<SafetyCheck>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<SafetyCheck>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<SafetyCheck>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<SafetyCheck>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<SafetyCheck>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |