Package org.hihn.listenbrainz
Class Rels
java.lang.Object
org.hihn.listenbrainz.Rels
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class Rels
extends Object
Rels
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartistMbid
(UUID artistMbid) artistName
(String artistName) boolean
static Rels
Create an instance of Rels given an JSON stringGet artistMbidGet artistNameGet instrumentgetType()
Get typeint
hashCode()
instrument
(String instrument) void
setArtistMbid
(UUID artistMbid) void
setArtistName
(String artistName) void
setInstrument
(String instrument) void
toJson()
Convert an instance of Rels 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_MBID
- See Also:
-
SERIALIZED_NAME_ARTIST_NAME
- See Also:
-
SERIALIZED_NAME_INSTRUMENT
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Rels
public Rels()
-
-
Method Details
-
artistMbid
-
getArtistMbid
Get artistMbid- Returns:
- artistMbid
-
setArtistMbid
-
artistName
-
getArtistName
Get artistName- Returns:
- artistName
-
setArtistName
-
instrument
-
getInstrument
Get instrument- Returns:
- instrument
-
setInstrument
-
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 Rels
-
fromJson
Create an instance of Rels given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of Rels
- Throws:
IOException
- if the JSON string is invalid with respect to Rels
-
toJson
Convert an instance of Rels to an JSON string- Returns:
- JSON string
-