Package org.hihn.listenbrainz
Class ReleaseGroupMetadata
java.lang.Object
org.hihn.listenbrainz.ReleaseGroupMetadata
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class ReleaseGroupMetadata
extends Object
ReleaseGroupMetadata
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartist(ReleaseGroupMetadataArtist artist) booleanstatic ReleaseGroupMetadataCreate an instance of ReleaseGroupMetadata given an JSON stringGet artistGet releaseGet releaseGroupgetTag()Get taginthashCode()release(ReleaseGroupMetadataReleaseGroup release) releaseGroup(ReleaseGroupMetadataReleaseGroup releaseGroup) voidsetArtist(ReleaseGroupMetadataArtist artist) voidvoidsetReleaseGroup(ReleaseGroupMetadataReleaseGroup releaseGroup) voidtoJson()Convert an instance of ReleaseGroupMetadata to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_RELEASE_GROUP
- See Also:
-
SERIALIZED_NAME_TAG
- See Also:
-
SERIALIZED_NAME_ARTIST
- See Also:
-
SERIALIZED_NAME_RELEASE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ReleaseGroupMetadata
public ReleaseGroupMetadata()
-
-
Method Details
-
releaseGroup
-
getReleaseGroup
Get releaseGroup- Returns:
- releaseGroup
-
setReleaseGroup
-
tag
-
getTag
Get tag- Returns:
- tag
-
setTag
-
artist
-
getArtist
Get artist- Returns:
- artist
-
setArtist
-
release
-
getRelease
Get release- Returns:
- release
-
setRelease
-
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 ReleaseGroupMetadata
-
fromJson
Create an instance of ReleaseGroupMetadata given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReleaseGroupMetadata
- Throws:
IOException- if the JSON string is invalid with respect to ReleaseGroupMetadata
-
toJson
Convert an instance of ReleaseGroupMetadata to an JSON string- Returns:
- JSON string
-