Share via


AccessoryItem Class

Definition

Accessory item and corresponding confidence level.

public class AccessoryItem : System.ClientModel.Primitives.IJsonModel<Azure.AI.Vision.Face.AccessoryItem>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Vision.Face.AccessoryItem>
type AccessoryItem = class
    interface IJsonModel<AccessoryItem>
    interface IPersistableModel<AccessoryItem>
Public Class AccessoryItem
Implements IJsonModel(Of AccessoryItem), IPersistableModel(Of AccessoryItem)
Inheritance
AccessoryItem
Implements

Properties

Confidence

Confidence level of the accessory type. Range between [0,1].

Type

Type of the accessory.

Explicit Interface Implementations

IJsonModel<AccessoryItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AccessoryItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AccessoryItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AccessoryItem>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AccessoryItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to