QueryCheck Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.QueryCheck

Implements

public final class QueryCheck
implements JsonSerializable<QueryCheck>

The rule query details.

Method Summary

Modifier and Type Method and Description
List<String> columnNames()

Get the columnNames property: Column names of expected result.

List<List<String>> expectedResult()

Get the expectedResult property: Expected result.

static QueryCheck fromJson(JsonReader jsonReader)

Reads an instance of QueryCheck from the JsonReader.

String query()

Get the query property: The rule query.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

columnNames

public List<String> columnNames()

Get the columnNames property: Column names of expected result.

Returns:

the columnNames value.

expectedResult

public List<List<String>> expectedResult()

Get the expectedResult property: Expected result.

Returns:

the expectedResult value.

fromJson

public static QueryCheck fromJson(JsonReader jsonReader)

Reads an instance of QueryCheck from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of QueryCheck 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 QueryCheck.

query

public String query()

Get the query property: The rule query.

Returns:

the query value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to