QueryResultsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.QueryResultsInner

Implements

public final class QueryResultsInner
implements JsonSerializable<QueryResultsInner>

Query result.

Constructor Summary

Constructor Description
QueryResultsInner()

Creates an instance of QueryResultsInner class.

Method Summary

Modifier and Type Method and Description
static QueryResultsInner fromJson(JsonReader jsonReader)

Reads an instance of QueryResultsInner from the JsonReader.

Long matchingRecordsCount()

Get the matchingRecordsCount property: Number of total records matching the query.

List<SingleQueryResult> signatures()

Get the signatures property: Array containing the results of the query.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

QueryResultsInner withMatchingRecordsCount(Long matchingRecordsCount)

Set the matchingRecordsCount property: Number of total records matching the query.

QueryResultsInner withSignatures(List<SingleQueryResult> signatures)

Set the signatures property: Array containing the results of the query.

Methods inherited from java.lang.Object

Constructor Details

QueryResultsInner

public QueryResultsInner()

Creates an instance of QueryResultsInner class.

Method Details

fromJson

public static QueryResultsInner fromJson(JsonReader jsonReader)

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.

matchingRecordsCount

public Long matchingRecordsCount()

Get the matchingRecordsCount property: Number of total records matching the query.

Returns:

the matchingRecordsCount value.

signatures

public List signatures()

Get the signatures property: Array containing the results of the query.

Returns:

the signatures value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withSignatures

public QueryResultsInner withSignatures(List signatures)

Set the signatures property: Array containing the results of the query.

Parameters:

signatures - the signatures value to set.

Returns:

the QueryResultsInner object itself.

Applies to