SecurityEventSqlInjectionAdditionalProperties Class

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

Implements

public final class SecurityEventSqlInjectionAdditionalProperties
implements JsonSerializable<SecurityEventSqlInjectionAdditionalProperties>

The properties of a security event sql injection additional properties.

Method Summary

Modifier and Type Method and Description
Integer errorCode()

Get the errorCode property: The sql error code.

String errorMessage()

Get the errorMessage property: The sql error message.

Integer errorSeverity()

Get the errorSeverity property: The sql error severity.

static SecurityEventSqlInjectionAdditionalProperties fromJson(JsonReader jsonReader)

Reads an instance of SecurityEventSqlInjectionAdditionalProperties from the JsonReader.

String statement()

Get the statement property: The statement.

Integer statementHighlightLength()

Get the statementHighlightLength property: The statement highlight length.

Integer statementHighlightOffset()

Get the statementHighlightOffset property: The statement highlight offset.

String threatId()

Get the threatId property: The threat ID.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

errorCode

public Integer errorCode()

Get the errorCode property: The sql error code.

Returns:

the errorCode value.

errorMessage

public String errorMessage()

Get the errorMessage property: The sql error message.

Returns:

the errorMessage value.

errorSeverity

public Integer errorSeverity()

Get the errorSeverity property: The sql error severity.

Returns:

the errorSeverity value.

fromJson

public static SecurityEventSqlInjectionAdditionalProperties fromJson(JsonReader jsonReader)

Reads an instance of SecurityEventSqlInjectionAdditionalProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

statement

public String statement()

Get the statement property: The statement.

Returns:

the statement value.

statementHighlightLength

public Integer statementHighlightLength()

Get the statementHighlightLength property: The statement highlight length.

Returns:

the statementHighlightLength value.

statementHighlightOffset

public Integer statementHighlightOffset()

Get the statementHighlightOffset property: The statement highlight offset.

Returns:

the statementHighlightOffset value.

threatId

public String threatId()

Get the threatId property: The threat ID.

Returns:

the threatId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to