Class Severity
java.lang.Object
com.vaadin.appsec.backend.model.osv.response.Severity
DTO for the OSV API severity property.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSeverity()No args constructor for use in serialization.Severity(Severity.Type type, String score) Instantiates a new severity. -
Method Summary
Modifier and TypeMethodDescriptiongetScore()Gets the score.getType()Gets the type.voidSets the score.voidsetType(Severity.Type type) Sets the type.toString()
-
Constructor Details
-
Severity
public Severity()No args constructor for use in serialization. -
Severity
Instantiates a new severity.- Parameters:
type- the typescore- the score
-
-
Method Details