TaxonomySubCategory Class
- java.
lang. Object - com.
azure. ai. projects. models. TaxonomySubCategory
- com.
Implements
public final class TaxonomySubCategory
implements JsonSerializable<TaxonomySubCategory>
Taxonomy sub-category definition.
Constructor Summary
| Constructor | Description |
|---|---|
| TaxonomySubCategory(String id, String name, boolean enabled) |
Creates an instance of Taxonomy |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Taxonomy |
fromJson(JsonReader jsonReader)
Reads an instance of Taxonomy |
| String |
getDescription()
Get the description property: Description of the taxonomy sub-category. |
| String |
getId()
Get the id property: Unique identifier of the taxonomy sub-category. |
| String |
getName()
Get the name property: Name of the taxonomy sub-category. |
| Map<String,String> |
getProperties()
Get the properties property: Additional properties for the taxonomy sub-category. |
| boolean |
isEnabled()
Get the enabled property: List of taxonomy items under this sub-category. |
|
Taxonomy |
setDescription(String description)
Set the description property: Description of the taxonomy sub-category. |
|
Taxonomy |
setProperties(Map<String,String> properties)
Set the properties property: Additional properties for the taxonomy sub-category. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
TaxonomySubCategory
public TaxonomySubCategory(String id, String name, boolean enabled)
Creates an instance of TaxonomySubCategory class.
Parameters:
Method Details
fromJson
public static TaxonomySubCategory fromJson(JsonReader jsonReader)
Reads an instance of TaxonomySubCategory from the JsonReader.
Parameters:
Returns:
Throws:
getDescription
public String getDescription()
Get the description property: Description of the taxonomy sub-category.
Returns:
getId
public String getId()
Get the id property: Unique identifier of the taxonomy sub-category.
Returns:
getName
public String getName()
Get the name property: Name of the taxonomy sub-category.
Returns:
getProperties
public Map<String,String> getProperties()
Get the properties property: Additional properties for the taxonomy sub-category.
Returns:
isEnabled
public boolean isEnabled()
Get the enabled property: List of taxonomy items under this sub-category.
Returns:
setDescription
public TaxonomySubCategory setDescription(String description)
Set the description property: Description of the taxonomy sub-category.
Parameters:
Returns:
setProperties
public TaxonomySubCategory setProperties(Map<String,String> properties)
Set the properties property: Additional properties for the taxonomy sub-category.
Parameters:
Returns: