Package org.hihn.listenbrainz
Class PlayingNowForUserPayloadListensInner
java.lang.Object
org.hihn.listenbrainz.PlayingNowForUserPayloadListensInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class PlayingNowForUserPayloadListensInner
extends Object
PlayingNowForUserPayloadListensInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of PlayingNowForUserPayloadListensInner given an JSON stringGet playingNowGet trackMetadataint
hashCode()
playingNow
(Boolean playingNow) void
setPlayingNow
(Boolean playingNow) void
setTrackMetadata
(TrackMetadata trackMetadata) toJson()
Convert an instance of PlayingNowForUserPayloadListensInner 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_PLAYING_NOW
- See Also:
-
SERIALIZED_NAME_TRACK_METADATA
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PlayingNowForUserPayloadListensInner
public PlayingNowForUserPayloadListensInner()
-
-
Method Details
-
playingNow
-
getPlayingNow
Get playingNow- Returns:
- playingNow
-
setPlayingNow
-
trackMetadata
-
getTrackMetadata
Get trackMetadata- Returns:
- trackMetadata
-
setTrackMetadata
-
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 PlayingNowForUserPayloadListensInner
-
fromJson
Create an instance of PlayingNowForUserPayloadListensInner given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of PlayingNowForUserPayloadListensInner
- Throws:
IOException
- if the JSON string is invalid with respect to PlayingNowForUserPayloadListensInner
-
toJson
Convert an instance of PlayingNowForUserPayloadListensInner to an JSON string- Returns:
- JSON string
-