Class QueryResultsInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.QueryResultsInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<QueryResultsInner>

public final class QueryResultsInner extends Object implements com.azure.json.JsonSerializable<QueryResultsInner>
Query result.
  • Constructor Details

    • QueryResultsInner

      public QueryResultsInner()
      Creates an instance of QueryResultsInner class.
  • Method Details

    • matchingRecordsCount

      public Long matchingRecordsCount()
      Get the matchingRecordsCount property: Number of total records matching the query.
      Returns:
      the matchingRecordsCount value.
    • withMatchingRecordsCount

      public QueryResultsInner withMatchingRecordsCount(Long matchingRecordsCount)
      Set the matchingRecordsCount property: Number of total records matching the query.
      Parameters:
      matchingRecordsCount - the matchingRecordsCount value to set.
      Returns:
      the QueryResultsInner object itself.
    • signatures

      public List<SingleQueryResult> signatures()
      Get the signatures property: Array containing the results of the query.
      Returns:
      the signatures value.
    • withSignatures

      public QueryResultsInner withSignatures(List<SingleQueryResult> signatures)
      Set the signatures property: Array containing the results of the query.
      Parameters:
      signatures - the signatures value to set.
      Returns:
      the QueryResultsInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<QueryResultsInner>
      Throws:
      IOException
    • fromJson

      public static QueryResultsInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of QueryResultsInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of QueryResultsInner 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 QueryResultsInner.