Package org.hihn.listenbrainz
Class LbRadioPayload
java.lang.Object
org.hihn.listenbrainz.LbRadioPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class LbRadioPayload
extends Object
LbRadioPayload
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFeedbackItem
(String feedbackItem) boolean
static LbRadioPayload
Create an instance of LbRadioPayload given an JSON stringGet feedbackgetJspf()
Get jspfint
hashCode()
jspf
(CreatePlaylistRequest jspf) void
setFeedback
(List<String> feedback) void
setJspf
(CreatePlaylistRequest jspf) toJson()
Convert an instance of LbRadioPayload to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FEEDBACK
- See Also:
-
SERIALIZED_NAME_JSPF
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LbRadioPayload
public LbRadioPayload()
-
-
Method Details
-
feedback
-
addFeedbackItem
-
getFeedback
Get feedback- Returns:
- feedback
-
setFeedback
-
jspf
-
getJspf
Get jspf- Returns:
- jspf
-
setJspf
-
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 LbRadioPayload
-
fromJson
Create an instance of LbRadioPayload given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of LbRadioPayload
- Throws:
IOException
- if the JSON string is invalid with respect to LbRadioPayload
-
toJson
Convert an instance of LbRadioPayload to an JSON string- Returns:
- JSON string
-