Class AtlasClassifications
java.lang.Object
com.azure.analytics.purview.datamap.models.AtlasClassifications
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AtlasClassifications>
public final class AtlasClassifications
extends Object
implements com.azure.json.JsonSerializable<AtlasClassifications>
REST serialization friendly list.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AtlasClassificationsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AtlasClassifications from the JsonReader.List<com.azure.core.util.BinaryData> getList()Get the list property: An array of objects.Get the pageSize property: The size of the page.Get the sortBy property: The sorted by field.Get the sortType property: to specify whether the result should be sorted?Get the startIndex property: The start index of the page.Get the totalCount property: The total count of items.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
-
Method Details
-
getList
Get the list property: An array of objects.- Returns:
- the list value.
-
getPageSize
Get the pageSize property: The size of the page.- Returns:
- the pageSize value.
-
getSortBy
Get the sortBy property: The sorted by field.- Returns:
- the sortBy value.
-
getSortType
Get the sortType property: to specify whether the result should be sorted? If yes, whether asc or desc.- Returns:
- the sortType value.
-
getStartIndex
Get the startIndex property: The start index of the page.- Returns:
- the startIndex value.
-
getTotalCount
Get the totalCount property: The total count of items.- Returns:
- the totalCount value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AtlasClassifications>- Throws:
IOException
-
fromJson
public static AtlasClassifications fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AtlasClassifications from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AtlasClassifications 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 AtlasClassifications.
-