Package org.hihn.listenbrainz
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
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static Feedback
Create an instance of Feedback given an JSON stringGet createdGet recordingMbidGet recordingMsidgetScore()
Get scoreGet trackMetadataGet userIdint
hashCode()
recordingMbid
(UUID recordingMbid) recordingMsid
(UUID recordingMsid) void
setCreated
(Integer created) void
setRecordingMbid
(UUID recordingMbid) void
setRecordingMsid
(UUID recordingMsid) void
void
setTrackMetadata
(TrackMetadata trackMetadata) void
toJson()
Convert an instance of Feedback to an JSON stringtoString()
trackMetadata
(TrackMetadata trackMetadata) static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_RECORDING_MBID
- See Also:
-
SERIALIZED_NAME_RECORDING_MSID
- See Also:
-
SERIALIZED_NAME_SCORE
- See Also:
-
SERIALIZED_NAME_TRACK_METADATA
- See Also:
-
SERIALIZED_NAME_USER_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Feedback
public Feedback()
-
-
Method Details
-
created
-
getCreated
Get created- Returns:
- created
-
setCreated
-
recordingMbid
-
getRecordingMbid
Get recordingMbid- Returns:
- recordingMbid
-
setRecordingMbid
-
recordingMsid
-
getRecordingMsid
Get recordingMsid- Returns:
- recordingMsid
-
setRecordingMsid
-
score
-
getScore
Get score- Returns:
- score
-
setScore
-
trackMetadata
-
getTrackMetadata
Get trackMetadata- Returns:
- trackMetadata
-
setTrackMetadata
-
userId
-
getUserId
Get userId- Returns:
- userId
-
setUserId
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of Feedback to an JSON string- Returns:
- JSON string
-