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) booleanevents(List<FeedEventsPayloadEventsInner> events) static FeedEventsPayloadCreate an instance of FeedEventsPayload given an JSON stringgetCount()Get countGet eventsGet userIdinthashCode()voidvoidsetEvents(List<FeedEventsPayloadEventsInner> events) voidtoJson()Convert an instance of FeedEventsPayload to an JSON stringtoString()static voidvalidateJsonElement(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
-