Package org.hihn.listenbrainz
Class Playlists
java.lang.Object
org.hihn.listenbrainz.Playlists
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class Playlists
extends Object
Playlists
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPlaylistsItem
(CreatePlaylistRequest playlistsItem) boolean
static Playlists
Create an instance of Playlists given an JSON stringgetCount()
Get countGet offsetGet playlistCountGet playlistsint
hashCode()
playlistCount
(Integer playlistCount) playlists
(List<CreatePlaylistRequest> playlists) void
void
void
setPlaylistCount
(Integer playlistCount) void
setPlaylists
(List<CreatePlaylistRequest> playlists) toJson()
Convert an instance of Playlists 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_COUNT
- See Also:
-
SERIALIZED_NAME_OFFSET
- See Also:
-
SERIALIZED_NAME_PLAYLIST_COUNT
- See Also:
-
SERIALIZED_NAME_PLAYLISTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Playlists
public Playlists()
-
-
Method Details
-
count
-
getCount
Get count- Returns:
- count
-
setCount
-
offset
-
getOffset
Get offset- Returns:
- offset
-
setOffset
-
playlistCount
-
getPlaylistCount
Get playlistCount- Returns:
- playlistCount
-
setPlaylistCount
-
playlists
-
addPlaylistsItem
-
getPlaylists
Get playlists- Returns:
- playlists
-
setPlaylists
-
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 Playlists
-
fromJson
Create an instance of Playlists given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of Playlists
- Throws:
IOException
- if the JSON string is invalid with respect to Playlists
-
toJson
Convert an instance of Playlists to an JSON string- Returns:
- JSON string
-