Class Credit
java.lang.Object
com.vaadin.appsec.backend.model.osv.response.Credit
DTO for credit informations returned by the OSV API.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the contact.getName()Gets the name.getType()Gets the type.voidsetContact(List<String> contact) Sets the contact.voidSets the name.voidsetType(Credit.Type type) Sets the type.toString()
-
Constructor Details
-
Credit
public Credit()No args constructor for use in serialization. -
Credit
Instantiates a new credit.- Parameters:
name- the namecontact- the contacttype- the type
-
-
Method Details
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getContact
Gets the contact.- Returns:
- the contact
-
setContact
Sets the contact.- Parameters:
contact- the new contact
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
toString
-