yam-api
Toggle table of contents
1.0.0-dev
common
Target filter
common
Switch theme
Search in API
Skip to content
yam-api
core
/
su.pank.yamapi.playlist
/
Playlist
Playlist
class
Playlist
(
client
:
YamApiClient
,
playlistData
:
PlaylistData
)
:
Likable
Members
Constructors
Playlist
Link copied to clipboard
constructor
(
client
:
YamApiClient
,
playlistData
:
PlaylistData
)
Properties
collective
Link copied to clipboard
val
collective
:
Boolean
created
Link copied to clipboard
val
created
:
Instant
description
Link copied to clipboard
val
description
:
String
duration
Ms
Link copied to clipboard
val
durationMs
:
Int
?
ever
Played
Link copied to clipboard
val
everPlayed
:
Boolean
?
id
Link copied to clipboard
val
id
:
String
Id плейлиста
is
Banner
Link copied to clipboard
val
isBanner
:
Boolean
is
Premiere
Link copied to clipboard
val
isPremiere
:
Boolean
kind
Link copied to clipboard
val
kind
:
Int
ID плейлиста у пользователя
modified
Link copied to clipboard
val
modified
:
Instant
owner
Id
Link copied to clipboard
val
ownerId
:
Int
ID владельца плейлиста
revision
Link copied to clipboard
val
revision
:
Int
snapshot
Link copied to clipboard
val
snapshot
:
Int
tags
Link copied to clipboard
val
tags
:
List
<
String
>
title
Link copied to clipboard
val
title
:
String
track
Count
Link copied to clipboard
val
trackCount
:
Int
track
Shorts
Link copied to clipboard
val
trackShorts
:
List
<
TrackShort
>
visibility
Link copied to clipboard
val
visibility
:
Visibility
Functions
get
Url
Background
Image
Link copied to clipboard
fun
getUrlBackgroundImage
(
size
:
CoverSize
)
:
String
get
Url
Og
Image
Link copied to clipboard
fun
getUrlOgImage
(
size
:
CoverSize
)
:
String
like
Link copied to clipboard
open
suspend override
fun
like
(
)
:
Boolean
Лайкнуть трек
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
tracks
Link copied to clipboard
suspend
fun
tracks
(
)
:
List
<
Track
>
unlike
Link copied to clipboard
open
suspend override
fun
unlike
(
)
:
Boolean
Убрать лайк