Package org.hihn.listenbrainz
Class ArtistRequest
java.lang.Object
org.hihn.listenbrainz.ArtistRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class ArtistRequest
extends Object
ArtistRequest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArtistMbidsItem
(UUID artistMbidsItem) artistMbids
(List<UUID> artistMbids) boolean
static ArtistRequest
Create an instance of ArtistRequest given an JSON stringGet artistMbidsint
hashCode()
void
setArtistMbids
(List<UUID> artistMbids) toJson()
Convert an instance of ArtistRequest 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_MBIDS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ArtistRequest
public ArtistRequest()
-
-
Method Details
-
artistMbids
-
addArtistMbidsItem
-
getArtistMbids
Get artistMbids- Returns:
- artistMbids
-
setArtistMbids
-
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 ArtistRequest
-
fromJson
Create an instance of ArtistRequest given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ArtistRequest
- Throws:
IOException
- if the JSON string is invalid with respect to ArtistRequest
-
toJson
Convert an instance of ArtistRequest to an JSON string- Returns:
- JSON string
-