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