RuleResultsProperties Class

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

Implements

public final class RuleResultsProperties
implements JsonSerializable<RuleResultsProperties>

Rule results properties.

Method Summary

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

Reads an instance of RuleResultsProperties from the JsonReader.

Boolean latestScan()

Get the latestScan property: Take results from latest scan.

List<List<String>> results()

Get the results property: Expected results in the baseline.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static RuleResultsProperties fromJson(JsonReader jsonReader)

Reads an instance of RuleResultsProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

latestScan

public Boolean latestScan()

Get the latestScan property: Take results from latest scan.

Returns:

the latestScan value.

results

public List<List<String>> results()

Get the results property: Expected results in the baseline.

Returns:

the results value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to