Package org.hihn.listenbrainz
Class SitewideTopArtistsPayload
java.lang.Object
org.hihn.listenbrainz.SitewideTopArtistsPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class SitewideTopArtistsPayload
extends Object
SitewideTopArtistsPayload
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArtistsItem
(TopArtistsForUserPayloadArtistsInner artistsItem) artists
(List<TopArtistsForUserPayloadArtistsInner> artists) boolean
static SitewideTopArtistsPayload
Create an instance of SitewideTopArtistsPayload given an JSON stringGet artistsgetCount()
Get countGet fromTsGet lastUpdatedGet offsetgetRange()
Get rangegetToTs()
Get toTsint
hashCode()
lastUpdated
(Integer lastUpdated) void
void
void
void
setLastUpdated
(Integer lastUpdated) void
void
void
toJson()
Convert an instance of SitewideTopArtistsPayload 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_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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SitewideTopArtistsPayload
public SitewideTopArtistsPayload()
-
-
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
-
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 SitewideTopArtistsPayload
-
fromJson
Create an instance of SitewideTopArtistsPayload given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of SitewideTopArtistsPayload
- Throws:
IOException
- if the JSON string is invalid with respect to SitewideTopArtistsPayload
-
toJson
Convert an instance of SitewideTopArtistsPayload to an JSON string- Returns:
- JSON string
-