Class ListIndexStatsSummary
java.lang.Object
com.azure.search.documents.indexes.models.ListIndexStatsSummary
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ListIndexStatsSummary>
public final class ListIndexStatsSummary
extends Object
implements com.azure.json.JsonSerializable<ListIndexStatsSummary>
Response from a request to retrieve stats summary of all indexes. If successful, it includes the stats of each index
in the service.
-
Constructor Summary
ConstructorsConstructorDescriptionListIndexStatsSummary(List<IndexStatisticsSummary> indexesStatistics) Creates an instance of ListIndexStatsSummary class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ListIndexStatsSummaryfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ListIndexStatsSummary from the JsonReader.Get the indexesStatistics property: The Statistics summary of all indexes in the Search service.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
-
ListIndexStatsSummary
Creates an instance of ListIndexStatsSummary class.- Parameters:
indexesStatistics- the indexesStatistics value to set.
-
-
Method Details
-
getIndexesStatistics
Get the indexesStatistics property: The Statistics summary of all indexes in the Search service.- Returns:
- the indexesStatistics value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ListIndexStatsSummary>- Throws:
IOException
-
fromJson
public static ListIndexStatsSummary fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ListIndexStatsSummary from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ListIndexStatsSummary if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ListIndexStatsSummary.
-