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) booleanstatic FreshReleasesPayloadCreate an instance of FreshReleasesPayload given an JSON stringGet releasesGet totalCountinthashCode()releases(List<FreshReleasesPayloadReleasesInner> releases) voidsetReleases(List<FreshReleasesPayloadReleasesInner> releases) voidsetTotalCount(Integer totalCount) toJson()Convert an instance of FreshReleasesPayload to an JSON stringtoString()totalCount(Integer totalCount) static voidvalidateJsonElement(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
-