Package org.hihn.listenbrainz
Class PlayingNowForUser
java.lang.Object
org.hihn.listenbrainz.PlayingNowForUser
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class PlayingNowForUser
extends Object
PlayingNowForUser
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static PlayingNowForUser
Create an instance of PlayingNowForUser given an JSON stringGet payloadint
hashCode()
payload
(PlayingNowForUserPayload payload) void
setPayload
(PlayingNowForUserPayload payload) toJson()
Convert an instance of PlayingNowForUser 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_PAYLOAD
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PlayingNowForUser
public PlayingNowForUser()
-
-
Method Details
-
payload
-
getPayload
Get payload- Returns:
- payload
-
setPayload
-
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 PlayingNowForUser
-
fromJson
Create an instance of PlayingNowForUser given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of PlayingNowForUser
- Throws:
IOException
- if the JSON string is invalid with respect to PlayingNowForUser
-
toJson
Convert an instance of PlayingNowForUser to an JSON string- Returns:
- JSON string
-