Package org.hihn.listenbrainz
Class FeedEventsPayload
java.lang.Object
org.hihn.listenbrainz.FeedEventsPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class FeedEventsPayload
extends Object
FeedEventsPayload
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEventsItem
(FeedEventsPayloadEventsInner eventsItem) boolean
events
(List<FeedEventsPayloadEventsInner> events) static FeedEventsPayload
Create an instance of FeedEventsPayload given an JSON stringgetCount()
Get countGet eventsGet userIdint
hashCode()
void
void
setEvents
(List<FeedEventsPayloadEventsInner> events) void
toJson()
Convert an instance of FeedEventsPayload 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:
-
SERIALIZED_NAME_EVENTS
- See Also:
-
SERIALIZED_NAME_USER_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FeedEventsPayload
public FeedEventsPayload()
-
-
Method Details
-
count
-
getCount
Get count- Returns:
- count
-
setCount
-
events
-
addEventsItem
-
getEvents
Get events- Returns:
- events
-
setEvents
-
userId
-
getUserId
Get userId- Returns:
- userId
-
setUserId
-
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 FeedEventsPayload
-
fromJson
Create an instance of FeedEventsPayload given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of FeedEventsPayload
- Throws:
IOException
- if the JSON string is invalid with respect to FeedEventsPayload
-
toJson
Convert an instance of FeedEventsPayload to an JSON string- Returns:
- JSON string
-