java.lang.Object
com.vaadin.appsec.backend.model.osv.response.Credit

public class Credit extends Object
DTO for credit informations returned by the OSV API.
  • Constructor Details

    • Credit

      public Credit()
      No args constructor for use in serialization.
    • Credit

      public Credit(String name, List<String> contact, Credit.Type type)
      Instantiates a new credit.
      Parameters:
      name - the name
      contact - the contact
      type - the type
  • Method Details

    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the new name
    • getContact

      public List<String> getContact()
      Gets the contact.
      Returns:
      the contact
    • setContact

      public void setContact(List<String> contact)
      Sets the contact.
      Parameters:
      contact - the new contact
    • getType

      public Credit.Type getType()
      Gets the type.
      Returns:
      the type
    • setType

      public void setType(Credit.Type type)
      Sets the type.
      Parameters:
      type - the new type
    • toString

      public String toString()
      Overrides:
      toString in class Object