Package org.hihn.listenbrainz
Class ListenCountForUserPayload
java.lang.Object
org.hihn.listenbrainz.ListenCountForUserPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class ListenCountForUserPayload
extends Object
ListenCountForUserPayload
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static ListenCountForUserPayload
Create an instance of ListenCountForUserPayload given an JSON stringgetCount()
Get countint
hashCode()
void
toJson()
Convert an instance of ListenCountForUserPayload 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_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListenCountForUserPayload
public ListenCountForUserPayload()
-
-
Method Details
-
count
-
getCount
Get count- Returns:
- count
-
setCount
-
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 ListenCountForUserPayload
-
fromJson
Create an instance of ListenCountForUserPayload given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ListenCountForUserPayload
- Throws:
IOException
- if the JSON string is invalid with respect to ListenCountForUserPayload
-
toJson
Convert an instance of ListenCountForUserPayload to an JSON string- Returns:
- JSON string
-