Package org.hihn.listenbrainz
Class Artist200ResponseInner
java.lang.Object
org.hihn.listenbrainz.Artist200ResponseInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class Artist200ResponseInner
extends Object
Artist200ResponseInner
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartistMbid
(UUID artistMbid) boolean
static Artist200ResponseInner
Create an instance of Artist200ResponseInner given an JSON stringGet artistMbidGet totalListenCountGet totalUserCountint
hashCode()
void
setArtistMbid
(UUID artistMbid) void
setTotalListenCount
(Integer totalListenCount) void
setTotalUserCount
(Integer totalUserCount) toJson()
Convert an instance of Artist200ResponseInner to an JSON stringtoString()
totalListenCount
(Integer totalListenCount) totalUserCount
(Integer totalUserCount) 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_TOTAL_LISTEN_COUNT
- See Also:
-
SERIALIZED_NAME_TOTAL_USER_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Artist200ResponseInner
public Artist200ResponseInner()
-
-
Method Details
-
artistMbid
-
getArtistMbid
Get artistMbid- Returns:
- artistMbid
-
setArtistMbid
-
totalListenCount
-
getTotalListenCount
Get totalListenCount- Returns:
- totalListenCount
-
setTotalListenCount
-
totalUserCount
-
getTotalUserCount
Get totalUserCount- Returns:
- totalUserCount
-
setTotalUserCount
-
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 Artist200ResponseInner
-
fromJson
Create an instance of Artist200ResponseInner given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of Artist200ResponseInner
- Throws:
IOException
- if the JSON string is invalid with respect to Artist200ResponseInner
-
toJson
Convert an instance of Artist200ResponseInner to an JSON string- Returns:
- JSON string
-