Share via


TaxonomyCategory Class

Definition

Taxonomy category definition.

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

Constructors

Name Description
TaxonomyCategory(String, String, RiskCategory, IEnumerable<TaxonomySubCategory>)

Initializes a new instance of TaxonomyCategory.

Properties

Name Description
Description

Description of the taxonomy category.

Id

Unique identifier of the taxonomy category.

Name

Name of the taxonomy category.

Properties

Additional properties for the taxonomy category.

RiskCategory

Risk category associated with this taxonomy category.

SubCategories

List of taxonomy sub categories.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<TaxonomyCategory>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<TaxonomyCategory>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<TaxonomyCategory>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<TaxonomyCategory>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<TaxonomyCategory>.Write(ModelReaderWriterOptions)

Applies to