Class Reference
java.lang.Object
com.vaadin.appsec.backend.model.osv.response.Reference
DTO for the OSV API reference property.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionNo args constructor for use in serialization.Reference(Reference.Type type, URI url) Instantiates a new reference. -
Method Summary
Modifier and TypeMethodDescriptiongetType()Gets the type.getUrl()Gets the url.voidsetType(Reference.Type type) Sets the type.voidSets the url.toString()
-
Constructor Details
-
Reference
public Reference()No args constructor for use in serialization. -
Reference
Instantiates a new reference.- Parameters:
type- the typeurl- the url
-
-
Method Details