generated from Kotlin/multiplatform-library-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: добавлен новый метод создания сессии для радио
- Loading branch information
Showing
4 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
yandex-music-api/src/commonMain/kotlin/model/rotor/DescriptionSeed.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package model.rotor | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class DescriptionSeed(val value: String, val tag: String, val type: String) |
12 changes: 12 additions & 0 deletions
12
yandex-music-api/src/commonMain/kotlin/model/rotor/Session.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package model.rotor | ||
|
||
import kotlinx.serialization.Serializable | ||
import model.Result | ||
|
||
@Serializable | ||
data class Session( | ||
val radioSessionId: String, | ||
val batchId: String, | ||
val pumpkin: Boolean, | ||
val descriptionSeed: DescriptionSeed | ||
) : Result() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters