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 TypeMethodDescriptionbooleanstatic CreateNotificationRequestCreate an instance of CreateNotificationRequest given an JSON stringGet metadatainthashCode()metadata(CreateNotificationRequestMetadata metadata) voidsetMetadata(CreateNotificationRequestMetadata metadata) toJson()Convert an instance of CreateNotificationRequest 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_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
-