Package org.hihn.listenbrainz
Class CreatePlaylistRequest
java.lang.Object
org.hihn.listenbrainz.CreatePlaylistRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class CreatePlaylistRequest
extends Object
CreatePlaylistRequest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreatePlaylistRequestCreate an instance of CreatePlaylistRequest given an JSON stringGet playlistinthashCode()voidsetPlaylist(Playlist playlist) toJson()Convert an instance of CreatePlaylistRequest 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_PLAYLIST
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreatePlaylistRequest
public CreatePlaylistRequest()
-
-
Method Details
-
playlist
-
getPlaylist
Get playlist- Returns:
- playlist
-
setPlaylist
-
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 CreatePlaylistRequest
-
fromJson
Create an instance of CreatePlaylistRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreatePlaylistRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreatePlaylistRequest
-
toJson
Convert an instance of CreatePlaylistRequest to an JSON string- Returns:
- JSON string
-