EvaluationTaxonomy Class

  • java.lang.Object
    • com.azure.ai.projects.models.EvaluationTaxonomy

Implements

public final class EvaluationTaxonomy
implements JsonSerializable<EvaluationTaxonomy>

Evaluation Taxonomy Definition.

Constructor Summary

Constructor Description
EvaluationTaxonomy(EvaluationTaxonomyInput taxonomyInput)

Creates an instance of EvaluationTaxonomy class.

Method Summary

Modifier and Type Method and Description
static EvaluationTaxonomy fromJson(JsonReader jsonReader)

Reads an instance of EvaluationTaxonomy from the JsonReader.

String getDescription()

Get the description property: The asset description text.

String getId()

Get the id property: Asset ID, a unique identifier for the asset.

String getName()

Get the name property: The name of the resource.

Map<String,String> getProperties()

Get the properties property: Additional properties for the evaluation taxonomy.

Map<String,String> getTags()

Get the tags property: Tag dictionary.

List<TaxonomyCategory> getTaxonomyCategories()

Get the taxonomyCategories property: List of taxonomy categories.

EvaluationTaxonomyInput getTaxonomyInput()

Get the taxonomyInput property: Input configuration for the evaluation taxonomy.

String getVersion()

Get the version property: The version of the resource.

EvaluationTaxonomy setDescription(String description)

Set the description property: The asset description text.

EvaluationTaxonomy setProperties(Map<String,String> properties)

Set the properties property: Additional properties for the evaluation taxonomy.

EvaluationTaxonomy setTags(Map<String,String> tags)

Set the tags property: Tag dictionary.

EvaluationTaxonomy setTaxonomyCategories(List<TaxonomyCategory> taxonomyCategories)

Set the taxonomyCategories property: List of taxonomy categories.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

EvaluationTaxonomy

public EvaluationTaxonomy(EvaluationTaxonomyInput taxonomyInput)

Creates an instance of EvaluationTaxonomy class.

Parameters:

taxonomyInput - the taxonomyInput value to set.

Method Details

fromJson

public static EvaluationTaxonomy fromJson(JsonReader jsonReader)

Reads an instance of EvaluationTaxonomy from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EvaluationTaxonomy if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getDescription

public String getDescription()

Get the description property: The asset description text.

Returns:

the description value.

getId

public String getId()

Get the id property: Asset ID, a unique identifier for the asset.

Returns:

the id value.

getName

public String getName()

Get the name property: The name of the resource.

Returns:

the name value.

getProperties

public Map<String,String> getProperties()

Get the properties property: Additional properties for the evaluation taxonomy.

Returns:

the properties value.

getTags

public Map<String,String> getTags()

Get the tags property: Tag dictionary. Tags can be added, removed, and updated.

Returns:

the tags value.

getTaxonomyCategories

public List<TaxonomyCategory> getTaxonomyCategories()

Get the taxonomyCategories property: List of taxonomy categories.

Returns:

the taxonomyCategories value.

getTaxonomyInput

public EvaluationTaxonomyInput getTaxonomyInput()

Get the taxonomyInput property: Input configuration for the evaluation taxonomy.

Returns:

the taxonomyInput value.

getVersion

public String getVersion()

Get the version property: The version of the resource.

Returns:

the version value.

setDescription

public EvaluationTaxonomy setDescription(String description)

Set the description property: The asset description text.

Parameters:

description - the description value to set.

Returns:

the EvaluationTaxonomy object itself.

setProperties

public EvaluationTaxonomy setProperties(Map<String,String> properties)

Set the properties property: Additional properties for the evaluation taxonomy.

Parameters:

properties - the properties value to set.

Returns:

the EvaluationTaxonomy object itself.

setTags

public EvaluationTaxonomy setTags(Map<String,String> tags)

Set the tags property: Tag dictionary. Tags can be added, removed, and updated.

Parameters:

tags - the tags value to set.

Returns:

the EvaluationTaxonomy object itself.

setTaxonomyCategories

public EvaluationTaxonomy setTaxonomyCategories(List<TaxonomyCategory> taxonomyCategories)

Set the taxonomyCategories property: List of taxonomy categories.

Parameters:

taxonomyCategories - the taxonomyCategories value to set.

Returns:

the EvaluationTaxonomy object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to