Package org.hihn.listenbrainz
Class Lookup
java.lang.Object
org.hihn.listenbrainz.Lookup
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class Lookup
extends Object
Lookup
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArtistMbidsItem(UUID artistMbidsItem) artistCreditName(String artistCreditName) artistMbids(List<UUID> artistMbids) booleanstatic LookupCreate an instance of Lookup given an JSON stringGet artistCreditNameGet artistMbidsGet metadataGet recordingMbidGet recordingNameGet releaseMbidGet releaseNameinthashCode()metadata(LookupMetadata metadata) recordingMbid(UUID recordingMbid) recordingName(String recordingName) releaseMbid(UUID releaseMbid) releaseName(String releaseName) voidsetArtistCreditName(String artistCreditName) voidsetArtistMbids(List<UUID> artistMbids) voidsetMetadata(LookupMetadata metadata) voidsetRecordingMbid(UUID recordingMbid) voidsetRecordingName(String recordingName) voidsetReleaseMbid(UUID releaseMbid) voidsetReleaseName(String releaseName) toJson()Convert an instance of Lookup 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_ARTIST_CREDIT_NAME
- See Also:
-
SERIALIZED_NAME_ARTIST_MBIDS
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
SERIALIZED_NAME_RECORDING_MBID
- See Also:
-
SERIALIZED_NAME_RECORDING_NAME
- See Also:
-
SERIALIZED_NAME_RELEASE_MBID
- See Also:
-
SERIALIZED_NAME_RELEASE_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Lookup
public Lookup()
-
-
Method Details
-
artistCreditName
-
getArtistCreditName
Get artistCreditName- Returns:
- artistCreditName
-
setArtistCreditName
-
artistMbids
-
addArtistMbidsItem
-
getArtistMbids
Get artistMbids- Returns:
- artistMbids
-
setArtistMbids
-
metadata
-
getMetadata
Get metadata- Returns:
- metadata
-
setMetadata
-
recordingMbid
-
getRecordingMbid
Get recordingMbid- Returns:
- recordingMbid
-
setRecordingMbid
-
recordingName
-
getRecordingName
Get recordingName- Returns:
- recordingName
-
setRecordingName
-
releaseMbid
-
getReleaseMbid
Get releaseMbid- Returns:
- releaseMbid
-
setReleaseMbid
-
releaseName
-
getReleaseName
Get releaseName- Returns:
- releaseName
-
setReleaseName
-
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 Lookup
-
fromJson
Create an instance of Lookup given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Lookup
- Throws:
IOException- if the JSON string is invalid with respect to Lookup
-
toJson
Convert an instance of Lookup to an JSON string- Returns:
- JSON string
-