Package org.hihn.listenbrainz
Class LookupMetadataRelease
java.lang.Object
org.hihn.listenbrainz.LookupMetadataRelease
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class LookupMetadataRelease
extends Object
LookupMetadataRelease
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalbumArtistName
(String albumArtistName) caaReleaseMbid
(UUID caaReleaseMbid) boolean
static LookupMetadataRelease
Create an instance of LookupMetadataRelease given an JSON stringGet albumArtistNamegetCaaId()
Get caaIdGet caaReleaseMbidgetMbid()
Get mbidgetName()
Get nameGet releaseGroupMbidgetYear()
Get yearint
hashCode()
releaseGroupMbid
(UUID releaseGroupMbid) void
setAlbumArtistName
(String albumArtistName) void
void
setCaaReleaseMbid
(UUID caaReleaseMbid) void
void
void
setReleaseGroupMbid
(UUID releaseGroupMbid) void
toJson()
Convert an instance of LookupMetadataRelease 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_ALBUM_ARTIST_NAME
- See Also:
-
SERIALIZED_NAME_CAA_ID
- See Also:
-
SERIALIZED_NAME_CAA_RELEASE_MBID
- See Also:
-
SERIALIZED_NAME_MBID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_RELEASE_GROUP_MBID
- See Also:
-
SERIALIZED_NAME_YEAR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LookupMetadataRelease
public LookupMetadataRelease()
-
-
Method Details
-
albumArtistName
-
getAlbumArtistName
Get albumArtistName- Returns:
- albumArtistName
-
setAlbumArtistName
-
caaId
-
getCaaId
Get caaId- Returns:
- caaId
-
setCaaId
-
caaReleaseMbid
-
getCaaReleaseMbid
Get caaReleaseMbid- Returns:
- caaReleaseMbid
-
setCaaReleaseMbid
-
mbid
-
getMbid
Get mbid- Returns:
- mbid
-
setMbid
-
name
-
getName
Get name- Returns:
- name
-
setName
-
releaseGroupMbid
-
getReleaseGroupMbid
Get releaseGroupMbid- Returns:
- releaseGroupMbid
-
setReleaseGroupMbid
-
year
-
getYear
Get year- Returns:
- year
-
setYear
-
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 LookupMetadataRelease
-
fromJson
Create an instance of LookupMetadataRelease given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of LookupMetadataRelease
- Throws:
IOException
- if the JSON string is invalid with respect to LookupMetadataRelease
-
toJson
Convert an instance of LookupMetadataRelease to an JSON string- Returns:
- JSON string
-