Package org.hihn.listenbrainz
Class FeedEventsListensSimilarPayload
java.lang.Object
org.hihn.listenbrainz.FeedEventsListensSimilarPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class FeedEventsListensSimilarPayload
extends Object
FeedEventsListensSimilarPayload
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of FeedEventsListensSimilarPayload given an JSON stringgetCount()Get countGet eventsGet userIdinthashCode()voidvoidvoidtoJson()Convert an instance of FeedEventsListensSimilarPayload 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
-
FeedEventsListensSimilarPayload
public FeedEventsListensSimilarPayload()
-
-
Method Details
-
count
-
getCount
Get count- Returns:
- count
-
setCount
-
events
public FeedEventsListensSimilarPayload events(List<FeedEventsListensSimilarPayloadEventsInner> events) -
addEventsItem
public FeedEventsListensSimilarPayload addEventsItem(FeedEventsListensSimilarPayloadEventsInner eventsItem) -
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 FeedEventsListensSimilarPayload
-
fromJson
Create an instance of FeedEventsListensSimilarPayload given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FeedEventsListensSimilarPayload
- Throws:
IOException- if the JSON string is invalid with respect to FeedEventsListensSimilarPayload
-
toJson
Convert an instance of FeedEventsListensSimilarPayload to an JSON string- Returns:
- JSON string
-