Cvss Class

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

Implements

public final class Cvss
implements JsonSerializable<Cvss>

CVSS details.

Method Summary

Modifier and Type Method and Description
Float base()

Get the base property: CVSS base.

static Cvss fromJson(JsonReader jsonReader)

Reads an instance of Cvss from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

base

public Float base()

Get the base property: CVSS base.

Returns:

the base value.

fromJson

public static Cvss fromJson(JsonReader jsonReader)

Reads an instance of Cvss from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to