Package org.hihn.listenbrainz
Class CreateNotificationRequestMetadata
java.lang.Object
org.hihn.listenbrainz.CreateNotificationRequestMetadata
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class CreateNotificationRequestMetadata
extends Object
CreateNotificationRequestMetadata
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of CreateNotificationRequestMetadata given an JSON stringGet messageint
hashCode()
void
setMessage
(String message) toJson()
Convert an instance of CreateNotificationRequestMetadata 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_MESSAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateNotificationRequestMetadata
public CreateNotificationRequestMetadata()
-
-
Method Details
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
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 CreateNotificationRequestMetadata
-
fromJson
Create an instance of CreateNotificationRequestMetadata given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of CreateNotificationRequestMetadata
- Throws:
IOException
- if the JSON string is invalid with respect to CreateNotificationRequestMetadata
-
toJson
Convert an instance of CreateNotificationRequestMetadata to an JSON string- Returns:
- JSON string
-