Package org.hihn.listenbrainz
Class MbidMapping
java.lang.Object
org.hihn.listenbrainz.MbidMapping
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class MbidMapping
extends Object
MbidMapping
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArtistMbidsItem
(UUID artistMbidsItem) artistMbids
(List<UUID> artistMbids) caaReleaseMbid
(UUID caaReleaseMbid) boolean
static MbidMapping
Create an instance of MbidMapping given an JSON stringGet artistMbidsGet artistsgetCaaId()
Get caaIdGet caaReleaseMbidGet recordingMbidGet recordingNameGet releaseMbidint
hashCode()
recordingMbid
(UUID recordingMbid) recordingName
(String recordingName) releaseMbid
(UUID releaseMbid) void
setArtistMbids
(List<UUID> artistMbids) void
void
void
setCaaReleaseMbid
(UUID caaReleaseMbid) void
setRecordingMbid
(UUID recordingMbid) void
setRecordingName
(String recordingName) void
setReleaseMbid
(UUID releaseMbid) toJson()
Convert an instance of MbidMapping 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_ARTIST_MBIDS
- See Also:
-
SERIALIZED_NAME_ARTISTS
- See Also:
-
SERIALIZED_NAME_CAA_ID
- See Also:
-
SERIALIZED_NAME_CAA_RELEASE_MBID
- See Also:
-
SERIALIZED_NAME_RECORDING_MBID
- See Also:
-
SERIALIZED_NAME_RECORDING_NAME
- See Also:
-
SERIALIZED_NAME_RELEASE_MBID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MbidMapping
public MbidMapping()
-
-
Method Details
-
artistMbids
-
addArtistMbidsItem
-
getArtistMbids
Get artistMbids- Returns:
- artistMbids
-
setArtistMbids
-
artists
-
addArtistsItem
-
getArtists
Get artists- Returns:
- artists
-
setArtists
-
caaId
-
getCaaId
Get caaId- Returns:
- caaId
-
setCaaId
-
caaReleaseMbid
-
getCaaReleaseMbid
Get caaReleaseMbid- Returns:
- caaReleaseMbid
-
setCaaReleaseMbid
-
recordingMbid
-
getRecordingMbid
Get recordingMbid- Returns:
- recordingMbid
-
setRecordingMbid
-
recordingName
-
getRecordingName
Get recordingName- Returns:
- recordingName
-
setRecordingName
-
releaseMbid
-
getReleaseMbid
Get releaseMbid- Returns:
- releaseMbid
-
setReleaseMbid
-
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 MbidMapping
-
fromJson
Create an instance of MbidMapping given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of MbidMapping
- Throws:
IOException
- if the JSON string is invalid with respect to MbidMapping
-
toJson
Convert an instance of MbidMapping to an JSON string- Returns:
- JSON string
-