JikanKt / moe.ganen.jikankt.models.base.types / MalSubEntityWithRole

MalSubEntityWithRole

data class MalSubEntityWithRole : MalEntity

Sub item of MyAnimeList entity on API response.

Constructors

<init>

Sub item of MyAnimeList entity on API response.

MalSubEntityWithRole(malId: Int, name: String? = null, url: String? = null, imageUrl: String? = null, role: String? = null)

Properties

imageUrl

Image URL.

val imageUrl: String?

malId

ID associated with MyAnimeList.

val malId: Int

name

Name of the sub item.

val name: String?

role

Entity's role.

val role: String?

url

URL of the sub item's MyAnimeList page.

val url: String?