Package org.hihn.listenbrainz
Class SitewideTopReleaseGroupsPayload
java.lang.Object
org.hihn.listenbrainz.SitewideTopReleaseGroupsPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class SitewideTopReleaseGroupsPayload
extends Object
SitewideTopReleaseGroupsPayload
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddReleaseGroupsItem
(ReleaseGroupsInner releaseGroupsItem) boolean
Create an instance of SitewideTopReleaseGroupsPayload given an JSON stringgetCount()
Get countGet fromTsGet lastUpdatedGet offsetgetRange()
Get rangeGet releaseGroupsgetToTs()
Get toTsint
hashCode()
lastUpdated
(Integer lastUpdated) releaseGroups
(List<ReleaseGroupsInner> releaseGroups) void
void
void
setLastUpdated
(Integer lastUpdated) void
void
void
setReleaseGroups
(List<ReleaseGroupsInner> releaseGroups) void
toJson()
Convert an instance of SitewideTopReleaseGroupsPayload 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_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_RELEASE_GROUPS
- See Also:
-
SERIALIZED_NAME_TO_TS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SitewideTopReleaseGroupsPayload
public SitewideTopReleaseGroupsPayload()
-
-
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
-
releaseGroups
-
addReleaseGroupsItem
-
getReleaseGroups
Get releaseGroups- Returns:
- releaseGroups
-
setReleaseGroups
-
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 SitewideTopReleaseGroupsPayload
-
fromJson
Create an instance of SitewideTopReleaseGroupsPayload given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of SitewideTopReleaseGroupsPayload
- Throws:
IOException
- if the JSON string is invalid with respect to SitewideTopReleaseGroupsPayload
-
toJson
Convert an instance of SitewideTopReleaseGroupsPayload to an JSON string- Returns:
- JSON string
-