Package org.hihn.listenbrainz
Class ListenersForArtistPayload
java.lang.Object
org.hihn.listenbrainz.ListenersForArtistPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class ListenersForArtistPayload
extends Object
ListenersForArtistPayload
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddListenersItem
(ListenersForArtistPayloadListenersInner listenersItem) artistMbid
(UUID artistMbid) artistName
(String artistName) boolean
static ListenersForArtistPayload
Create an instance of ListenersForArtistPayload given an JSON stringGet artistMbidGet artistNameGet fromTsGet lastUpdatedGet listenersGet statsRangeGet totalListenCountGet totalUserCountgetToTs()
Get toTsint
hashCode()
lastUpdated
(Integer lastUpdated) listeners
(List<ListenersForArtistPayloadListenersInner> listeners) void
setArtistMbid
(UUID artistMbid) void
setArtistName
(String artistName) void
void
setLastUpdated
(Integer lastUpdated) void
setListeners
(List<ListenersForArtistPayloadListenersInner> listeners) void
setStatsRange
(String statsRange) void
setTotalListenCount
(Integer totalListenCount) void
setTotalUserCount
(Integer totalUserCount) void
statsRange
(String statsRange) toJson()
Convert an instance of ListenersForArtistPayload to an JSON stringtoString()
totalListenCount
(Integer totalListenCount) totalUserCount
(Integer totalUserCount) 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_FROM_TS
- See Also:
-
SERIALIZED_NAME_LAST_UPDATED
- See Also:
-
SERIALIZED_NAME_LISTENERS
- See Also:
-
SERIALIZED_NAME_STATS_RANGE
- See Also:
-
SERIALIZED_NAME_TO_TS
- See Also:
-
SERIALIZED_NAME_TOTAL_LISTEN_COUNT
- See Also:
-
SERIALIZED_NAME_TOTAL_USER_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListenersForArtistPayload
public ListenersForArtistPayload()
-
-
Method Details
-
artistMbid
-
getArtistMbid
Get artistMbid- Returns:
- artistMbid
-
setArtistMbid
-
artistName
-
getArtistName
Get artistName- Returns:
- artistName
-
setArtistName
-
fromTs
-
getFromTs
Get fromTs- Returns:
- fromTs
-
setFromTs
-
lastUpdated
-
getLastUpdated
Get lastUpdated- Returns:
- lastUpdated
-
setLastUpdated
-
listeners
-
addListenersItem
public ListenersForArtistPayload addListenersItem(ListenersForArtistPayloadListenersInner listenersItem) -
getListeners
Get listeners- Returns:
- listeners
-
setListeners
-
statsRange
-
getStatsRange
Get statsRange- Returns:
- statsRange
-
setStatsRange
-
toTs
-
getToTs
Get toTs- Returns:
- toTs
-
setToTs
-
totalListenCount
-
getTotalListenCount
Get totalListenCount- Returns:
- totalListenCount
-
setTotalListenCount
-
totalUserCount
-
getTotalUserCount
Get totalUserCount- Returns:
- totalUserCount
-
setTotalUserCount
-
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 ListenersForArtistPayload
-
fromJson
Create an instance of ListenersForArtistPayload given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ListenersForArtistPayload
- Throws:
IOException
- if the JSON string is invalid with respect to ListenersForArtistPayload
-
toJson
Convert an instance of ListenersForArtistPayload to an JSON string- Returns:
- JSON string
-