Package org.hihn.listenbrainz
Class PlaylistTrackInner
java.lang.Object
org.hihn.listenbrainz.PlaylistTrackInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class PlaylistTrackInner
extends Object
PlaylistTrackInner
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIdentifierItem
(String identifierItem) boolean
extension
(PlaylistTrackInnerExtension extension) static PlaylistTrackInner
Create an instance of PlaylistTrackInner given an JSON stringgetAlbum()
Get albumGet creatorGet durationGet extensionGet identifiergetTitle()
Get titleint
hashCode()
identifier
(List<String> identifier) void
void
setCreator
(String creator) void
setDuration
(Integer duration) void
setExtension
(PlaylistTrackInnerExtension extension) void
setIdentifier
(List<String> identifier) void
toJson()
Convert an instance of PlaylistTrackInner 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_ALBUM
- See Also:
-
SERIALIZED_NAME_CREATOR
- See Also:
-
SERIALIZED_NAME_DURATION
- See Also:
-
SERIALIZED_NAME_EXTENSION
- See Also:
-
SERIALIZED_NAME_IDENTIFIER
- See Also:
-
SERIALIZED_NAME_TITLE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PlaylistTrackInner
public PlaylistTrackInner()
-
-
Method Details
-
album
-
getAlbum
Get album- Returns:
- album
-
setAlbum
-
creator
-
getCreator
Get creator- Returns:
- creator
-
setCreator
-
duration
-
getDuration
Get duration- Returns:
- duration
-
setDuration
-
extension
-
getExtension
Get extension- Returns:
- extension
-
setExtension
-
identifier
-
addIdentifierItem
-
getIdentifier
Get identifier- Returns:
- identifier
-
setIdentifier
-
title
-
getTitle
Get title- Returns:
- title
-
setTitle
-
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 PlaylistTrackInner
-
fromJson
Create an instance of PlaylistTrackInner given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of PlaylistTrackInner
- Throws:
IOException
- if the JSON string is invalid with respect to PlaylistTrackInner
-
toJson
Convert an instance of PlaylistTrackInner to an JSON string- Returns:
- JSON string
-