Package org.hihn.listenbrainz
Class TopReleasesForUserPayload
java.lang.Object
org.hihn.listenbrainz.TopReleasesForUserPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class TopReleasesForUserPayload
extends Object
TopReleasesForUserPayload
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddReleasesItem
(TopReleasesForUserPayloadReleasesInner releasesItem) boolean
static TopReleasesForUserPayload
Create an instance of TopReleasesForUserPayload given an JSON stringgetCount()
Get countGet fromTsGet lastUpdatedGet offsetgetRange()
Get rangeGet releasesGet totalReleaseCountgetToTs()
Get toTsGet userIdint
hashCode()
lastUpdated
(Integer lastUpdated) releases
(List<TopReleasesForUserPayloadReleasesInner> releases) void
void
void
setLastUpdated
(Integer lastUpdated) void
void
void
void
setTotalReleaseCount
(Integer totalReleaseCount) void
void
toJson()
Convert an instance of TopReleasesForUserPayload to an JSON stringtoString()
totalReleaseCount
(Integer totalReleaseCount) static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
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_RELEASES
- See Also:
-
SERIALIZED_NAME_TO_TS
- See Also:
-
SERIALIZED_NAME_TOTAL_RELEASE_COUNT
- See Also:
-
SERIALIZED_NAME_USER_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TopReleasesForUserPayload
public TopReleasesForUserPayload()
-
-
Method Details
-
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
-
releases
-
addReleasesItem
public TopReleasesForUserPayload addReleasesItem(TopReleasesForUserPayloadReleasesInner releasesItem) -
getReleases
Get releases- Returns:
- releases
-
setReleases
-
toTs
-
getToTs
Get toTs- Returns:
- toTs
-
setToTs
-
totalReleaseCount
-
getTotalReleaseCount
Get totalReleaseCount- Returns:
- totalReleaseCount
-
setTotalReleaseCount
-
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 TopReleasesForUserPayload
-
fromJson
Create an instance of TopReleasesForUserPayload given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of TopReleasesForUserPayload
- Throws:
IOException
- if the JSON string is invalid with respect to TopReleasesForUserPayload
-
toJson
Convert an instance of TopReleasesForUserPayload to an JSON string- Returns:
- JSON string
-