Package org.hihn.listenbrainz
Class FreshReleasesPayload
java.lang.Object
org.hihn.listenbrainz.FreshReleasesPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class FreshReleasesPayload
extends Object
FreshReleasesPayload
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddReleasesItem
(FreshReleasesPayloadReleasesInner releasesItem) boolean
static FreshReleasesPayload
Create an instance of FreshReleasesPayload given an JSON stringGet releasesGet totalCountint
hashCode()
releases
(List<FreshReleasesPayloadReleasesInner> releases) void
setReleases
(List<FreshReleasesPayloadReleasesInner> releases) void
setTotalCount
(Integer totalCount) toJson()
Convert an instance of FreshReleasesPayload to an JSON stringtoString()
totalCount
(Integer totalCount) static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_RELEASES
- See Also:
-
SERIALIZED_NAME_TOTAL_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FreshReleasesPayload
public FreshReleasesPayload()
-
-
Method Details
-
releases
-
addReleasesItem
-
getReleases
Get releases- Returns:
- releases
-
setReleases
-
totalCount
-
getTotalCount
Get totalCount- Returns:
- totalCount
-
setTotalCount
-
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 FreshReleasesPayload
-
fromJson
Create an instance of FreshReleasesPayload given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of FreshReleasesPayload
- Throws:
IOException
- if the JSON string is invalid with respect to FreshReleasesPayload
-
toJson
Convert an instance of FreshReleasesPayload to an JSON string- Returns:
- JSON string
-