Class SecurityEventSqlInjectionAdditionalProperties
java.lang.Object
com.azure.resourcemanager.sql.models.SecurityEventSqlInjectionAdditionalProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SecurityEventSqlInjectionAdditionalProperties>
public final class SecurityEventSqlInjectionAdditionalProperties
extends Object
implements com.azure.json.JsonSerializable<SecurityEventSqlInjectionAdditionalProperties>
The properties of a security event sql injection additional properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SecurityEventSqlInjectionAdditionalProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the errorCode property: The sql error code.Get the errorMessage property: The sql error message.Get the errorSeverity property: The sql error severity.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SecurityEventSqlInjectionAdditionalProperties from the JsonReader.Get the statement property: The statement.Get the statementHighlightLength property: The statement highlight length.Get the statementHighlightOffset property: The statement highlight offset.threatId()Get the threatId property: The threat ID.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SecurityEventSqlInjectionAdditionalProperties
public SecurityEventSqlInjectionAdditionalProperties()Creates an instance of SecurityEventSqlInjectionAdditionalProperties class.
-
-
Method Details
-
threatId
-
statement
-
statementHighlightOffset
Get the statementHighlightOffset property: The statement highlight offset.- Returns:
- the statementHighlightOffset value.
-
statementHighlightLength
Get the statementHighlightLength property: The statement highlight length.- Returns:
- the statementHighlightLength value.
-
errorCode
Get the errorCode property: The sql error code.- Returns:
- the errorCode value.
-
errorSeverity
Get the errorSeverity property: The sql error severity.- Returns:
- the errorSeverity value.
-
errorMessage
Get the errorMessage property: The sql error message.- Returns:
- the errorMessage value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SecurityEventSqlInjectionAdditionalProperties>- Throws:
IOException
-
fromJson
public static SecurityEventSqlInjectionAdditionalProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-