Package org.hihn.listenbrainz
Class FeedEventsPayloadEventsInner
java.lang.Object
org.hihn.listenbrainz.FeedEventsPayloadEventsInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class FeedEventsPayloadEventsInner
extends Object
FeedEventsPayloadEventsInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static FeedEventsPayloadEventsInner
Create an instance of FeedEventsPayloadEventsInner given an JSON stringGet createdGet eventTypeGet hiddengetId()
Get idGet messageGet metadataGet userNameint
hashCode()
void
setCreated
(Integer created) void
setEventType
(String eventType) void
void
void
setMessage
(String message) void
setMetadata
(Metadata metadata) void
setUserName
(String userName) toJson()
Convert an instance of FeedEventsPayloadEventsInner 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_CREATED
- See Also:
-
SERIALIZED_NAME_EVENT_TYPE
- See Also:
-
SERIALIZED_NAME_HIDDEN
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
SERIALIZED_NAME_USER_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FeedEventsPayloadEventsInner
public FeedEventsPayloadEventsInner()
-
-
Method Details
-
created
-
getCreated
Get created- Returns:
- created
-
setCreated
-
eventType
-
getEventType
Get eventType- Returns:
- eventType
-
setEventType
-
getHidden
Get hidden- Returns:
- hidden
-
setHidden
-
id
-
getId
Get id- Returns:
- id
-
setId
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
metadata
-
getMetadata
Get metadata- Returns:
- metadata
-
setMetadata
-
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 FeedEventsPayloadEventsInner
-
fromJson
Create an instance of FeedEventsPayloadEventsInner given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of FeedEventsPayloadEventsInner
- Throws:
IOException
- if the JSON string is invalid with respect to FeedEventsPayloadEventsInner
-
toJson
Convert an instance of FeedEventsPayloadEventsInner to an JSON string- Returns:
- JSON string
-