Package org.hihn.listenbrainz
Class LookupMetadata
java.lang.Object
org.hihn.listenbrainz.LookupMetadata
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class LookupMetadata
extends Object
LookupMetadata
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartist
(RecordingMetadataArtist artist) boolean
static LookupMetadata
Create an instance of LookupMetadata given an JSON stringGet artistGet recordingGet releasegetTag()
Get tagint
hashCode()
recording
(LookupMetadataRecording recording) release
(LookupMetadataRelease release) void
setArtist
(RecordingMetadataArtist artist) void
setRecording
(LookupMetadataRecording recording) void
setRelease
(LookupMetadataRelease release) void
setTag
(LookupMetadataTag tag) tag
(LookupMetadataTag tag) toJson()
Convert an instance of LookupMetadata 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
- See Also:
-
SERIALIZED_NAME_RECORDING
- See Also:
-
SERIALIZED_NAME_RELEASE
- See Also:
-
SERIALIZED_NAME_TAG
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LookupMetadata
public LookupMetadata()
-
-
Method Details
-
artist
-
getArtist
Get artist- Returns:
- artist
-
setArtist
-
recording
-
getRecording
Get recording- Returns:
- recording
-
setRecording
-
release
-
getRelease
Get release- Returns:
- release
-
setRelease
-
tag
-
getTag
Get tag- Returns:
- tag
-
setTag
-
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 LookupMetadata
-
fromJson
Create an instance of LookupMetadata given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of LookupMetadata
- Throws:
IOException
- if the JSON string is invalid with respect to LookupMetadata
-
toJson
Convert an instance of LookupMetadata to an JSON string- Returns:
- JSON string
-