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) booleanextension(PlaylistTrackInnerExtension extension) static PlaylistTrackInnerCreate an instance of PlaylistTrackInner given an JSON stringgetAlbum()Get albumGet creatorGet durationGet extensionGet identifiergetTitle()Get titleinthashCode()identifier(List<String> identifier) voidvoidsetCreator(String creator) voidsetDuration(Integer duration) voidsetExtension(PlaylistTrackInnerExtension extension) voidsetIdentifier(List<String> identifier) voidtoJson()Convert an instance of PlaylistTrackInner 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_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
-