Package org.hihn.listenbrainz
Class ListensForUserPayloadListensInner
java.lang.Object
org.hihn.listenbrainz.ListensForUserPayloadListensInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class ListensForUserPayloadListensInner
extends Object
ListensForUserPayloadListensInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of ListensForUserPayloadListensInner given an JSON stringGet insertedAtGet listenedAtGet recordingMsidGet trackMetadataGet userNameint
hashCode()
insertedAt
(Integer insertedAt) listenedAt
(Integer listenedAt) recordingMsid
(String recordingMsid) void
setInsertedAt
(Integer insertedAt) void
setListenedAt
(Integer listenedAt) void
setRecordingMsid
(String recordingMsid) void
setTrackMetadata
(TrackMetadata trackMetadata) void
setUserName
(String userName) toJson()
Convert an instance of ListensForUserPayloadListensInner to an JSON stringtoString()
trackMetadata
(TrackMetadata trackMetadata) static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_INSERTED_AT
- See Also:
-
SERIALIZED_NAME_LISTENED_AT
- See Also:
-
SERIALIZED_NAME_RECORDING_MSID
- See Also:
-
SERIALIZED_NAME_TRACK_METADATA
- See Also:
-
SERIALIZED_NAME_USER_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListensForUserPayloadListensInner
public ListensForUserPayloadListensInner()
-
-
Method Details
-
insertedAt
-
getInsertedAt
Get insertedAt- Returns:
- insertedAt
-
setInsertedAt
-
listenedAt
-
getListenedAt
Get listenedAt- Returns:
- listenedAt
-
setListenedAt
-
recordingMsid
-
getRecordingMsid
Get recordingMsid- Returns:
- recordingMsid
-
setRecordingMsid
-
trackMetadata
-
getTrackMetadata
Get trackMetadata- Returns:
- trackMetadata
-
setTrackMetadata
-
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 ListensForUserPayloadListensInner
-
fromJson
Create an instance of ListensForUserPayloadListensInner given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ListensForUserPayloadListensInner
- Throws:
IOException
- if the JSON string is invalid with respect to ListensForUserPayloadListensInner
-
toJson
Convert an instance of ListensForUserPayloadListensInner to an JSON string- Returns:
- JSON string
-