Package org.hihn.listenbrainz
Class MusicBrainzArtist
java.lang.Object
org.hihn.listenbrainz.MusicBrainzArtist
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class MusicBrainzArtist
extends Object
MusicBrainzArtist
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartistMbid
(UUID artistMbid) boolean
static MusicBrainzArtist
Create an instance of MusicBrainzArtist given an JSON stringgetArea()
Get areaGet artistMbidGet beginYearGet endYearGet genderGet joinPhrasegetName()
Get namegetRels()
Get relsgetType()
Get typeint
hashCode()
joinPhrase
(String joinPhrase) void
void
setArtistMbid
(UUID artistMbid) void
setBeginYear
(Integer beginYear) void
setEndYear
(Integer endYear) void
void
setJoinPhrase
(String joinPhrase) void
void
void
toJson()
Convert an instance of MusicBrainzArtist 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_AREA
- See Also:
-
SERIALIZED_NAME_ARTIST_MBID
- See Also:
-
SERIALIZED_NAME_BEGIN_YEAR
- See Also:
-
SERIALIZED_NAME_END_YEAR
- See Also:
-
SERIALIZED_NAME_GENDER
- See Also:
-
SERIALIZED_NAME_JOIN_PHRASE
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_RELS
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MusicBrainzArtist
public MusicBrainzArtist()
-
-
Method Details
-
area
-
getArea
Get area- Returns:
- area
-
setArea
-
artistMbid
-
getArtistMbid
Get artistMbid- Returns:
- artistMbid
-
setArtistMbid
-
beginYear
-
getBeginYear
Get beginYear- Returns:
- beginYear
-
setBeginYear
-
endYear
-
getEndYear
Get endYear- Returns:
- endYear
-
setEndYear
-
gender
-
getGender
Get gender- Returns:
- gender
-
setGender
-
joinPhrase
-
getJoinPhrase
Get joinPhrase- Returns:
- joinPhrase
-
setJoinPhrase
-
name
-
getName
Get name- Returns:
- name
-
setName
-
rels
-
getRels
Get rels- Returns:
- rels
-
setRels
-
type
-
getType
Get type- Returns:
- type
-
setType
-
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 MusicBrainzArtist
-
fromJson
Create an instance of MusicBrainzArtist given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of MusicBrainzArtist
- Throws:
IOException
- if the JSON string is invalid with respect to MusicBrainzArtist
-
toJson
Convert an instance of MusicBrainzArtist to an JSON string- Returns:
- JSON string
-