Class Feedback

java.lang.Object
org.hihn.listenbrainz.Feedback

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class Feedback extends Object
Feedback
  • Field Details

  • Constructor Details

    • Feedback

      public Feedback()
  • Method Details

    • created

      public Feedback created(Integer created)
    • getCreated

      @Nullable public Integer getCreated()
      Get created
      Returns:
      created
    • setCreated

      public void setCreated(Integer created)
    • recordingMbid

      public Feedback recordingMbid(UUID recordingMbid)
    • getRecordingMbid

      @Nullable public UUID getRecordingMbid()
      Get recordingMbid
      Returns:
      recordingMbid
    • setRecordingMbid

      public void setRecordingMbid(UUID recordingMbid)
    • recordingMsid

      public Feedback recordingMsid(UUID recordingMsid)
    • getRecordingMsid

      @Nullable public UUID getRecordingMsid()
      Get recordingMsid
      Returns:
      recordingMsid
    • setRecordingMsid

      public void setRecordingMsid(UUID recordingMsid)
    • score

      public Feedback score(Integer score)
    • getScore

      @Nullable public Integer getScore()
      Get score
      Returns:
      score
    • setScore

      public void setScore(Integer score)
    • trackMetadata

      public Feedback trackMetadata(TrackMetadata trackMetadata)
    • getTrackMetadata

      @Nullable public TrackMetadata getTrackMetadata()
      Get trackMetadata
      Returns:
      trackMetadata
    • setTrackMetadata

      public void setTrackMetadata(TrackMetadata trackMetadata)
    • userId

      public Feedback userId(String userId)
    • getUserId

      @Nullable public String getUserId()
      Get userId
      Returns:
      userId
    • setUserId

      public void setUserId(String userId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to Feedback
    • fromJson

      public static Feedback fromJson(String jsonString) throws IOException
      Create an instance of Feedback given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of Feedback
      Throws:
      IOException - if the JSON string is invalid with respect to Feedback
    • toJson

      public String toJson()
      Convert an instance of Feedback to an JSON string
      Returns:
      JSON string