Package org.hihn.listenbrainz
Class ReleaseGroupMetadataArtist
java.lang.Object
org.hihn.listenbrainz.ReleaseGroupMetadataArtist
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class ReleaseGroupMetadataArtist
extends Object
ReleaseGroupMetadataArtist
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArtistsItem
(ReleaseGroupMetadataArtistArtistsInner artistsItem) artistCreditId
(Integer artistCreditId) boolean
static ReleaseGroupMetadataArtist
Create an instance of ReleaseGroupMetadataArtist given an JSON stringGet artistCreditIdGet artistsgetName()
Get nameint
hashCode()
void
setArtistCreditId
(Integer artistCreditId) void
void
toJson()
Convert an instance of ReleaseGroupMetadataArtist 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_CREDIT_ID
- See Also:
-
SERIALIZED_NAME_ARTISTS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ReleaseGroupMetadataArtist
public ReleaseGroupMetadataArtist()
-
-
Method Details
-
artistCreditId
-
getArtistCreditId
Get artistCreditId- Returns:
- artistCreditId
-
setArtistCreditId
-
artists
-
addArtistsItem
public ReleaseGroupMetadataArtist addArtistsItem(ReleaseGroupMetadataArtistArtistsInner artistsItem) -
getArtists
Get artists- Returns:
- artists
-
setArtists
-
name
-
getName
Get name- Returns:
- name
-
setName
-
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 ReleaseGroupMetadataArtist
-
fromJson
Create an instance of ReleaseGroupMetadataArtist given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ReleaseGroupMetadataArtist
- Throws:
IOException
- if the JSON string is invalid with respect to ReleaseGroupMetadataArtist
-
toJson
Convert an instance of ReleaseGroupMetadataArtist to an JSON string- Returns:
- JSON string
-