Package org.hihn.listenbrainz
Class TopArtistsForUserPayloadArtistsInner
java.lang.Object
org.hihn.listenbrainz.TopArtistsForUserPayloadArtistsInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class TopArtistsForUserPayloadArtistsInner
extends Object
TopArtistsForUserPayloadArtistsInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartistMbid
(UUID artistMbid) artistName
(String artistName) boolean
Create an instance of TopArtistsForUserPayloadArtistsInner given an JSON stringGet artistMbidGet artistNameGet listenCountint
hashCode()
listenCount
(Integer listenCount) void
setArtistMbid
(UUID artistMbid) void
setArtistName
(String artistName) void
setListenCount
(Integer listenCount) toJson()
Convert an instance of TopArtistsForUserPayloadArtistsInner 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_ARTIST_MBID
- See Also:
-
SERIALIZED_NAME_ARTIST_NAME
- See Also:
-
SERIALIZED_NAME_LISTEN_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TopArtistsForUserPayloadArtistsInner
public TopArtistsForUserPayloadArtistsInner()
-
-
Method Details
-
artistMbid
-
getArtistMbid
Get artistMbid- Returns:
- artistMbid
-
setArtistMbid
-
artistName
-
getArtistName
Get artistName- Returns:
- artistName
-
setArtistName
-
listenCount
-
getListenCount
Get listenCount- Returns:
- listenCount
-
setListenCount
-
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 TopArtistsForUserPayloadArtistsInner
-
fromJson
Create an instance of TopArtistsForUserPayloadArtistsInner given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of TopArtistsForUserPayloadArtistsInner
- Throws:
IOException
- if the JSON string is invalid with respect to TopArtistsForUserPayloadArtistsInner
-
toJson
Convert an instance of TopArtistsForUserPayloadArtistsInner to an JSON string- Returns:
- JSON string
-