Baseline Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.Baseline

Implements

public final class Baseline
implements JsonSerializable<Baseline>

SQL Vulnerability Assessment baseline Details.

Constructor Summary

Constructor Description
Baseline()

Creates an instance of Baseline class.

Method Summary

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

Get the expectedResults property: SQL Vulnerability Assessment baseline expected results.

static Baseline fromJson(JsonReader jsonReader)

Reads an instance of Baseline from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
OffsetDateTime updatedTime()

Get the updatedTime property: SQL Vulnerability Assessment baseline update time (UTC).

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

Baseline

public Baseline()

Creates an instance of Baseline class.

Method Details

expectedResults

public List<List<String>> expectedResults()

Get the expectedResults property: SQL Vulnerability Assessment baseline expected results.

Returns:

the expectedResults value.

fromJson

public static Baseline fromJson(JsonReader jsonReader)

Reads an instance of Baseline from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

updatedTime

public OffsetDateTime updatedTime()

Get the updatedTime property: SQL Vulnerability Assessment baseline update time (UTC).

Returns:

the updatedTime value.

validate

public void validate()

Validates the instance.

Applies to