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