-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
93 additions
and
96 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
src/main/kotlin/com/github/schaka/janitorr/servarr/data_structures/Image.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,7 @@ | ||
package com.github.schaka.janitorr.servarr.data_structures | ||
|
||
data class Image( | ||
val coverType: String, | ||
val remoteUrl: String, | ||
val url: String? | ||
) |
7 changes: 0 additions & 7 deletions
7
src/main/kotlin/com/github/schaka/janitorr/servarr/radarr/movie/Image.kt
This file was deleted.
Oops, something went wrong.
90 changes: 46 additions & 44 deletions
90
src/main/kotlin/com/github/schaka/janitorr/servarr/radarr/movie/MoviePayload.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 |
---|---|---|
@@ -1,48 +1,50 @@ | ||
package com.github.schaka.janitorr.servarr.radarr.movie | ||
|
||
import com.github.schaka.janitorr.servarr.data_structures.Image | ||
|
||
data class MoviePayload( | ||
val addOptions: AddOptions?, | ||
val added: String, | ||
val alternateTitles: List<AlternateTitle>, | ||
val certification: String?, | ||
val cleanTitle: String?, | ||
val collection: Collection?, | ||
val digitalRelease: String?, | ||
val folder: String?, | ||
val folderName: String?, | ||
val genres: List<String>, | ||
val hasFile: Boolean, | ||
val id: Int, | ||
val images: List<Image>, | ||
val imdbId: String?, | ||
val inCinemas: String?, | ||
val isAvailable: Boolean, | ||
val minimumAvailability: String, | ||
var monitored: Boolean, | ||
val movieFile: MovieFile?, | ||
val originalLanguage: OriginalLanguage, | ||
val originalTitle: String, | ||
val overview: String, | ||
val path: String, | ||
val physicalRelease: String?, | ||
val physicalReleaseNote: String?, | ||
val popularity: Int, | ||
val qualityProfileId: Int, | ||
val ratings: Ratings, | ||
val remotePoster: String?, | ||
val rootFolderPath: String?, | ||
val runtime: Int, | ||
val secondaryYear: Int, | ||
val secondaryYearSourceId: Int, | ||
val sizeOnDisk: Long, | ||
val sortTitle: String, | ||
val status: String, | ||
val studio: String, | ||
val tags: List<Int>, | ||
val title: String, | ||
val titleSlug: String, | ||
val tmdbId: Int, | ||
val website: String, | ||
val year: Int, | ||
val youTubeTrailerId: String? | ||
val addOptions: AddOptions?, | ||
val added: String, | ||
val alternateTitles: List<AlternateTitle>, | ||
val certification: String?, | ||
val cleanTitle: String?, | ||
val collection: Collection?, | ||
val digitalRelease: String?, | ||
val folder: String?, | ||
val folderName: String?, | ||
val genres: List<String>, | ||
val hasFile: Boolean, | ||
val id: Int, | ||
val images: List<Image>, | ||
val imdbId: String?, | ||
val inCinemas: String?, | ||
val isAvailable: Boolean, | ||
val minimumAvailability: String, | ||
var monitored: Boolean, | ||
val movieFile: MovieFile?, | ||
val originalLanguage: OriginalLanguage, | ||
val originalTitle: String, | ||
val overview: String, | ||
val path: String, | ||
val physicalRelease: String?, | ||
val physicalReleaseNote: String?, | ||
val popularity: Int, | ||
val qualityProfileId: Int, | ||
val ratings: Ratings, | ||
val remotePoster: String?, | ||
val rootFolderPath: String?, | ||
val runtime: Int, | ||
val secondaryYear: Int, | ||
val secondaryYearSourceId: Int, | ||
val sizeOnDisk: Long, | ||
val sortTitle: String, | ||
val status: String, | ||
val studio: String, | ||
val tags: List<Int>, | ||
val title: String, | ||
val titleSlug: String, | ||
val tmdbId: Int, | ||
val website: String, | ||
val year: Int, | ||
val youTubeTrailerId: String? | ||
) |
7 changes: 0 additions & 7 deletions
7
src/main/kotlin/com/github/schaka/janitorr/servarr/sonarr/series/Image.kt
This file was deleted.
Oops, something went wrong.
78 changes: 40 additions & 38 deletions
78
src/main/kotlin/com/github/schaka/janitorr/servarr/sonarr/series/SeriesPayload.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 |
---|---|---|
@@ -1,42 +1,44 @@ | ||
package com.github.schaka.janitorr.servarr.sonarr.series | ||
|
||
import com.github.schaka.janitorr.servarr.data_structures.Image | ||
|
||
data class SeriesPayload( | ||
val added: String, | ||
val airTime: String?, | ||
val alternateTitles: List<AlternateTitle>, | ||
val certification: String?, | ||
val cleanTitle: String, | ||
val ended: Boolean, | ||
val firstAired: String, | ||
val genres: List<String>, | ||
val id: Int, | ||
val images: List<Image>, | ||
val imdbId: String?, | ||
val languageProfileId: Int, | ||
val lastAired: String, | ||
val monitored: Boolean, | ||
val network: String?, | ||
val nextAiring: String?, | ||
val originalLanguage: OriginalLanguage, | ||
val overview: String, | ||
val path: String, | ||
val previousAiring: String?, | ||
val qualityProfileId: Int, | ||
val ratings: Ratings, | ||
val rootFolderPath: String, | ||
val runtime: Int, | ||
val seasonFolder: Boolean, | ||
val seasons: List<Season>, | ||
val seriesType: String, | ||
val sortTitle: String, | ||
val statistics: StatisticsX, | ||
val status: String, | ||
val tags: List<Any>, | ||
val title: String, | ||
val titleSlug: String, | ||
val tvMazeId: Int, | ||
val tvRageId: Int, | ||
val tvdbId: Int, | ||
val useSceneNumbering: Boolean, | ||
val year: Int | ||
val added: String, | ||
val airTime: String?, | ||
val alternateTitles: List<AlternateTitle>, | ||
val certification: String?, | ||
val cleanTitle: String, | ||
val ended: Boolean, | ||
val firstAired: String, | ||
val genres: List<String>, | ||
val id: Int, | ||
val images: List<Image>, | ||
val imdbId: String?, | ||
val languageProfileId: Int, | ||
val lastAired: String, | ||
val monitored: Boolean, | ||
val network: String?, | ||
val nextAiring: String?, | ||
val originalLanguage: OriginalLanguage, | ||
val overview: String, | ||
val path: String, | ||
val previousAiring: String?, | ||
val qualityProfileId: Int, | ||
val ratings: Ratings, | ||
val rootFolderPath: String, | ||
val runtime: Int, | ||
val seasonFolder: Boolean, | ||
val seasons: List<Season>, | ||
val seriesType: String, | ||
val sortTitle: String, | ||
val statistics: StatisticsX, | ||
val status: String, | ||
val tags: List<Any>, | ||
val title: String, | ||
val titleSlug: String, | ||
val tvMazeId: Int, | ||
val tvRageId: Int, | ||
val tvdbId: Int, | ||
val useSceneNumbering: Boolean, | ||
val year: Int | ||
) |