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 Details

    • ListIndexStatsSummary

      public ListIndexStatsSummary(List<IndexStatisticsSummary> indexesStatistics)
      Creates an instance of ListIndexStatsSummary class.
      Parameters:
      indexesStatistics - the indexesStatistics value to set.
  • Method Details

    • getIndexesStatistics

      public List<IndexStatisticsSummary> getIndexesStatistics()
      Get the indexesStatistics property: The Statistics summary of all indexes in the Search service.
      Returns:
      the indexesStatistics value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.