mirror of
https://github.com/InsanusMokrassar/SauceNaoAPI.git
synced 2024-06-28 19:47:34 +00:00
18 lines
382 B
Kotlin
18 lines
382 B
Kotlin
|
package dev.inmo.saucenaoapi
|
||
|
|
||
|
sealed class OutputType {
|
||
|
abstract val typeCode: Int
|
||
|
}
|
||
|
|
||
|
object HtmlOutputType : dev.inmo.saucenaoapi.OutputType() {
|
||
|
override val typeCode: Int = 0
|
||
|
}
|
||
|
|
||
|
object XmlOutputType : dev.inmo.saucenaoapi.OutputType() {
|
||
|
override val typeCode: Int = 1
|
||
|
}
|
||
|
|
||
|
object JsonOutputType : dev.inmo.saucenaoapi.OutputType() {
|
||
|
override val typeCode: Int = 2
|
||
|
}
|