Share via


CvssScore Class

Definition

Common Vulnerability Scoring System values.

public class CvssScore : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotFirmwareDefense.Models.CvssScore>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotFirmwareDefense.Models.CvssScore>
type CvssScore = class
    interface IJsonModel<CvssScore>
    interface IPersistableModel<CvssScore>
Public Class CvssScore
Implements IJsonModel(Of CvssScore), IPersistableModel(Of CvssScore)
Inheritance
CvssScore
Implements

Constructors

CvssScore(Int32)

Initializes a new instance of CvssScore.

Properties

Score

The score of the CVE according to the CVSS specified.

Version

The version of the Common Vulnerability Scoring System (CVSS).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CvssScore>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CvssScore>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CvssScore>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CvssScore>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CvssScore>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to