Class SwhRelease

java.lang.Object
org.spdx.spdx_to_osv.SwhRelease

public class SwhRelease
extends Object
Result of a call to the Software Heritage API
Author:
Gary O'Neall
  • Constructor Details

  • Method Details

    • getAuthor

      public com.google.gson.JsonObject getAuthor()
      Returns:
      the author
    • setAuthor

      public void setAuthor​(com.google.gson.JsonObject author)
      Parameters:
      author - the author to set
    • getDate

      public String getDate()
      Returns:
      the date
    • setDate

      public void setDate​(String date)
      Parameters:
      date - the date to set
    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId​(String id)
      Parameters:
      id - the id to set
    • getMessage

      public String getMessage()
      Returns:
      the message
    • setMessage

      public void setMessage​(String message)
      Parameters:
      message - the message to set
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName​(String name)
      Parameters:
      name - the name to set
    • getTarget

      public String getTarget()
      Returns:
      the target
    • setTarget

      public void setTarget​(String target)
      Parameters:
      target - the target to set
    • getTarget_type

      public String getTarget_type()
      Returns:
      the target_type
    • setTarget_type

      public void setTarget_type​(String target_type)
      Parameters:
      target_type - the target_type to set
    • getTarget_url

      public String getTarget_url()
      Returns:
      the target_url
    • setTarget_url

      public void setTarget_url​(String target_url)
      Parameters:
      target_url - the target_url to set