Package org.hihn.listenbrainz
Class FeedEvents
java.lang.Object
org.hihn.listenbrainz.FeedEvents
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class FeedEvents
extends Object
FeedEvents
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FeedEventsCreate an instance of FeedEvents given an JSON stringGet payloadinthashCode()payload(FeedEventsPayload payload) voidsetPayload(FeedEventsPayload payload) toJson()Convert an instance of FeedEvents 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_PAYLOAD
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FeedEvents
public FeedEvents()
-
-
Method Details
-
payload
-
getPayload
Get payload- Returns:
- payload
-
setPayload
-
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 FeedEvents
-
fromJson
Create an instance of FeedEvents given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FeedEvents
- Throws:
IOException- if the JSON string is invalid with respect to FeedEvents
-
toJson
Convert an instance of FeedEvents to an JSON string- Returns:
- JSON string
-