Package org.hihn.listenbrainz
Class TopArtistsForUserPayload
java.lang.Object
org.hihn.listenbrainz.TopArtistsForUserPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class TopArtistsForUserPayload
extends Object
TopArtistsForUserPayload
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArtistsItem
(TopArtistsForUserPayloadArtistsInner artistsItem) artists
(List<TopArtistsForUserPayloadArtistsInner> artists) boolean
static TopArtistsForUserPayload
Create an instance of TopArtistsForUserPayload given an JSON stringGet artistsgetCount()
Get countGet fromTsGet lastUpdatedGet offsetgetRange()
Get rangeGet totalArtistCountgetToTs()
Get toTsGet userIdint
hashCode()
lastUpdated
(Integer lastUpdated) void
void
void
void
setLastUpdated
(Integer lastUpdated) void
void
void
setTotalArtistCount
(Integer totalArtistCount) void
void
toJson()
Convert an instance of TopArtistsForUserPayload to an JSON stringtoString()
totalArtistCount
(Integer totalArtistCount) static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ARTISTS
- See Also:
-
SERIALIZED_NAME_COUNT
- See Also:
-
SERIALIZED_NAME_FROM_TS
- See Also:
-
SERIALIZED_NAME_LAST_UPDATED
- See Also:
-
SERIALIZED_NAME_OFFSET
- See Also:
-
SERIALIZED_NAME_RANGE
- See Also:
-
SERIALIZED_NAME_TO_TS
- See Also:
-
SERIALIZED_NAME_TOTAL_ARTIST_COUNT
- See Also:
-
SERIALIZED_NAME_USER_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TopArtistsForUserPayload
public TopArtistsForUserPayload()
-
-
Method Details
-
artists
-
addArtistsItem
-
getArtists
Get artists- Returns:
- artists
-
setArtists
-
count
-
getCount
Get count- Returns:
- count
-
setCount
-
fromTs
-
getFromTs
Get fromTs- Returns:
- fromTs
-
setFromTs
-
lastUpdated
-
getLastUpdated
Get lastUpdated- Returns:
- lastUpdated
-
setLastUpdated
-
offset
-
getOffset
Get offset- Returns:
- offset
-
setOffset
-
range
-
getRange
Get range- Returns:
- range
-
setRange
-
toTs
-
getToTs
Get toTs- Returns:
- toTs
-
setToTs
-
totalArtistCount
-
getTotalArtistCount
Get totalArtistCount- Returns:
- totalArtistCount
-
setTotalArtistCount
-
userId
-
getUserId
Get userId- Returns:
- userId
-
setUserId
-
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 TopArtistsForUserPayload
-
fromJson
Create an instance of TopArtistsForUserPayload given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of TopArtistsForUserPayload
- Throws:
IOException
- if the JSON string is invalid with respect to TopArtistsForUserPayload
-
toJson
Convert an instance of TopArtistsForUserPayload to an JSON string- Returns:
- JSON string
-