Package org.hihn.listenbrainz
Class SubmitFeedbackRequest
java.lang.Object
org.hihn.listenbrainz.SubmitFeedbackRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class SubmitFeedbackRequest
extends Object
SubmitFeedbackRequest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SubmitFeedbackRequestCreate an instance of SubmitFeedbackRequest given an JSON stringGet ratingGet recordingMbidinthashCode()rating(AllowedRatings rating) recordingMbid(UUID recordingMbid) voidsetRating(AllowedRatings rating) voidsetRecordingMbid(UUID recordingMbid) toJson()Convert an instance of SubmitFeedbackRequest to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_RECORDING_MBID
- See Also:
-
SERIALIZED_NAME_RATING
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SubmitFeedbackRequest
public SubmitFeedbackRequest()
-
-
Method Details
-
recordingMbid
-
getRecordingMbid
Get recordingMbid- Returns:
- recordingMbid
-
setRecordingMbid
-
rating
-
getRating
Get rating- Returns:
- rating
-
setRating
-
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 SubmitFeedbackRequest
-
fromJson
Create an instance of SubmitFeedbackRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubmitFeedbackRequest
- Throws:
IOException- if the JSON string is invalid with respect to SubmitFeedbackRequest
-
toJson
Convert an instance of SubmitFeedbackRequest to an JSON string- Returns:
- JSON string
-