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