tmdb-api
common
tmdb-api
/
app.moviebase.tmdb.model
/
TmdbSeason
Tmdb
Season
@
Serializable
data
class
TmdbSeason
(
val
id
:
Int
,
val
airDate
:
LocalDate
?
=
null
,
val
episodeCount
:
Int
?
=
null
,
val
name
:
String
,
val
posterPath
:
String
?
,
val
seasonNumber
:
Int
,
val
overview
:
String
?
=
null
,
val
episodes
:
List
<
TmdbEpisode
>
?
=
null
)
:
TmdbAnyMedia
,
TmdbPosterMedia
Members
Constructors
Tmdb
Season
Link copied to clipboard
constructor
(
id
:
Int
,
airDate
:
LocalDate
?
=
null
,
episodeCount
:
Int
?
=
null
,
name
:
String
,
posterPath
:
String
?
,
seasonNumber
:
Int
,
overview
:
String
?
=
null
,
episodes
:
List
<
TmdbEpisode
>
?
=
null
)
Properties
air
Date
Link copied to clipboard
@
SerialName
(
value
=
"air_date"
)
@
Serializable
(
with
=
LocalDateSerializer::class
)
val
airDate
:
LocalDate
?
=
null
episode
Count
Link copied to clipboard
@
SerialName
(
value
=
"episode_count"
)
val
episodeCount
:
Int
?
=
null
episodes
Link copied to clipboard
val
episodes
:
List
<
TmdbEpisode
>
?
=
null
id
Link copied to clipboard
open
override
val
id
:
Int
name
Link copied to clipboard
val
name
:
String
number
Of
Episodes
Link copied to clipboard
val
numberOfEpisodes
:
Int
overview
Link copied to clipboard
@
SerialName
(
value
=
"overview"
)
val
overview
:
String
?
=
null
poster
Image
Link copied to clipboard
open
val
posterImage
:
TmdbImage
?
poster
Path
Link copied to clipboard
@
SerialName
(
value
=
"poster_path"
)
open
override
val
posterPath
:
String
?
season
Number
Link copied to clipboard
@
SerialName
(
value
=
"season_number"
)
val
seasonNumber
:
Int