Package org.hihn.listenbrainz
Class ArtistMetadata
java.lang.Object
org.hihn.listenbrainz.ArtistMetadata
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class ArtistMetadata
extends Object
ArtistMetadata
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartistMbid(UUID artistMbid) booleanstatic ArtistMetadataCreate an instance of ArtistMetadata given an JSON stringgetArea()Get areaGet artistMbidGet beginYearGet gendergetMbid()Get mbidgetName()Get namegetRels()Get relsgetTag()Get taggetType()Get typeinthashCode()voidvoidsetArtistMbid(UUID artistMbid) voidsetBeginYear(Integer beginYear) voidvoidvoidvoidvoidsetTag(ArtistMetadataTag tag) voidtag(ArtistMetadataTag tag) toJson()Convert an instance of ArtistMetadata 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_AREA
- See Also:
-
SERIALIZED_NAME_ARTIST_MBID
- See Also:
-
SERIALIZED_NAME_BEGIN_YEAR
- See Also:
-
SERIALIZED_NAME_GENDER
- See Also:
-
SERIALIZED_NAME_MBID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_RELS
- See Also:
-
SERIALIZED_NAME_TAG
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ArtistMetadata
public ArtistMetadata()
-
-
Method Details
-
area
-
getArea
Get area- Returns:
- area
-
setArea
-
artistMbid
-
getArtistMbid
Get artistMbid- Returns:
- artistMbid
-
setArtistMbid
-
beginYear
-
getBeginYear
Get beginYear- Returns:
- beginYear
-
setBeginYear
-
gender
-
getGender
Get gender- Returns:
- gender
-
setGender
-
mbid
-
getMbid
Get mbid- Returns:
- mbid
-
setMbid
-
name
-
getName
Get name- Returns:
- name
-
setName
-
rels
-
getRels
Get rels- Returns:
- rels
-
setRels
-
tag
-
getTag
Get tag- Returns:
- tag
-
setTag
-
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 ArtistMetadata
-
fromJson
Create an instance of ArtistMetadata given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ArtistMetadata
- Throws:
IOException- if the JSON string is invalid with respect to ArtistMetadata
-
toJson
Convert an instance of ArtistMetadata to an JSON string- Returns:
- JSON string
-