Class AtlasRelatedCategoryHeader
java.lang.Object
com.azure.analytics.purview.datamap.models.AtlasRelatedCategoryHeader
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AtlasRelatedCategoryHeader>
public final class AtlasRelatedCategoryHeader
extends Object
implements com.azure.json.JsonSerializable<AtlasRelatedCategoryHeader>
The header of the related category.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AtlasRelatedCategoryHeader class. -
Method Summary
Modifier and TypeMethodDescriptionstatic AtlasRelatedCategoryHeaderfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AtlasRelatedCategoryHeader from the JsonReader.Get the categoryGuid property: The GUID of the category.Get the description property: The description of the category header.Get the displayText property: The display text.Get the parentCategoryGuid property: The GUID of the parent category.Get the relationGuid property: The GUID of the relationship.setCategoryGuid(String categoryGuid) Set the categoryGuid property: The GUID of the category.setDescription(String description) Set the description property: The description of the category header.setDisplayText(String displayText) Set the displayText property: The display text.setParentCategoryGuid(String parentCategoryGuid) Set the parentCategoryGuid property: The GUID of the parent category.setRelationGuid(String relationGuid) Set the relationGuid property: The GUID of the relationship.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AtlasRelatedCategoryHeader
public AtlasRelatedCategoryHeader()Creates an instance of AtlasRelatedCategoryHeader class.
-
-
Method Details
-
getCategoryGuid
Get the categoryGuid property: The GUID of the category.- Returns:
- the categoryGuid value.
-
setCategoryGuid
Set the categoryGuid property: The GUID of the category.- Parameters:
categoryGuid- the categoryGuid value to set.- Returns:
- the AtlasRelatedCategoryHeader object itself.
-
getDescription
Get the description property: The description of the category header.- Returns:
- the description value.
-
setDescription
Set the description property: The description of the category header.- Parameters:
description- the description value to set.- Returns:
- the AtlasRelatedCategoryHeader object itself.
-
getDisplayText
Get the displayText property: The display text.- Returns:
- the displayText value.
-
setDisplayText
Set the displayText property: The display text.- Parameters:
displayText- the displayText value to set.- Returns:
- the AtlasRelatedCategoryHeader object itself.
-
getParentCategoryGuid
Get the parentCategoryGuid property: The GUID of the parent category.- Returns:
- the parentCategoryGuid value.
-
setParentCategoryGuid
Set the parentCategoryGuid property: The GUID of the parent category.- Parameters:
parentCategoryGuid- the parentCategoryGuid value to set.- Returns:
- the AtlasRelatedCategoryHeader object itself.
-
getRelationGuid
Get the relationGuid property: The GUID of the relationship.- Returns:
- the relationGuid value.
-
setRelationGuid
Set the relationGuid property: The GUID of the relationship.- Parameters:
relationGuid- the relationGuid value to set.- Returns:
- the AtlasRelatedCategoryHeader object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AtlasRelatedCategoryHeader>- Throws:
IOException
-
fromJson
public static AtlasRelatedCategoryHeader fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AtlasRelatedCategoryHeader from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AtlasRelatedCategoryHeader if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the AtlasRelatedCategoryHeader.
-