Delen via


TargetRelation Class

Definition

Represents the relation between assessments and/or targets.

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

Properties

Ref

The JSON pointer indicating the linked object.

RelationType

The type related to the target.

Explicit Interface Implementations

IJsonModel<TargetRelation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TargetRelation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TargetRelation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TargetRelation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TargetRelation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to