Package org.hihn.listenbrainz
Class ArtistMapForUserPayloadArtistMapInner
java.lang.Object
org.hihn.listenbrainz.ArtistMapForUserPayloadArtistMapInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class ArtistMapForUserPayloadArtistMapInner
extends Object
ArtistMapForUserPayloadArtistMapInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArtistsItem
(TopArtistsForUserPayloadArtistsInner artistsItem) artistCount
(Integer artistCount) artists
(List<TopArtistsForUserPayloadArtistsInner> artists) boolean
Create an instance of ArtistMapForUserPayloadArtistMapInner given an JSON stringGet artistCountGet artistsGet countryGet listenCountint
hashCode()
listenCount
(Integer listenCount) void
setArtistCount
(Integer artistCount) void
void
setCountry
(String country) void
setListenCount
(Integer listenCount) toJson()
Convert an instance of ArtistMapForUserPayloadArtistMapInner 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_COUNT
- See Also:
-
SERIALIZED_NAME_ARTISTS
- See Also:
-
SERIALIZED_NAME_COUNTRY
- See Also:
-
SERIALIZED_NAME_LISTEN_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ArtistMapForUserPayloadArtistMapInner
public ArtistMapForUserPayloadArtistMapInner()
-
-
Method Details
-
artistCount
-
getArtistCount
Get artistCount- Returns:
- artistCount
-
setArtistCount
-
artists
public ArtistMapForUserPayloadArtistMapInner artists(List<TopArtistsForUserPayloadArtistsInner> artists) -
addArtistsItem
public ArtistMapForUserPayloadArtistMapInner addArtistsItem(TopArtistsForUserPayloadArtistsInner artistsItem) -
getArtists
Get artists- Returns:
- artists
-
setArtists
-
country
-
getCountry
Get country- Returns:
- country
-
setCountry
-
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 ArtistMapForUserPayloadArtistMapInner
-
fromJson
Create an instance of ArtistMapForUserPayloadArtistMapInner given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ArtistMapForUserPayloadArtistMapInner
- Throws:
IOException
- if the JSON string is invalid with respect to ArtistMapForUserPayloadArtistMapInner
-
toJson
Convert an instance of ArtistMapForUserPayloadArtistMapInner to an JSON string- Returns:
- JSON string
-