Package org.hihn.listenbrainz
Class ListenersForArtistPayloadListenersInner
java.lang.Object
org.hihn.listenbrainz.ListenersForArtistPayloadListenersInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class ListenersForArtistPayloadListenersInner
extends Object
ListenersForArtistPayloadListenersInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of ListenersForArtistPayloadListenersInner given an JSON stringGet listenCountGet userNameint
hashCode()
listenCount
(Integer listenCount) void
setListenCount
(Integer listenCount) void
setUserName
(String userName) toJson()
Convert an instance of ListenersForArtistPayloadListenersInner 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_LISTEN_COUNT
- See Also:
-
SERIALIZED_NAME_USER_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListenersForArtistPayloadListenersInner
public ListenersForArtistPayloadListenersInner()
-
-
Method Details
-
listenCount
-
getListenCount
Get listenCount- Returns:
- listenCount
-
setListenCount
-
userName
-
getUserName
Get userName- Returns:
- userName
-
setUserName
-
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 ListenersForArtistPayloadListenersInner
-
fromJson
public static ListenersForArtistPayloadListenersInner fromJson(String jsonString) throws IOException Create an instance of ListenersForArtistPayloadListenersInner given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ListenersForArtistPayloadListenersInner
- Throws:
IOException
- if the JSON string is invalid with respect to ListenersForArtistPayloadListenersInner
-
toJson
Convert an instance of ListenersForArtistPayloadListenersInner to an JSON string- Returns:
- JSON string
-