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