mirror of
https://github.com/InsanusMokrassar/SauceNaoAPI.git
synced 2024-06-03 00:15:13 +00:00
18 lines
338 B
Kotlin
18 lines
338 B
Kotlin
|
package com.github.insanusmokrassar.SauceNaoAPI
|
||
|
|
||
|
sealed class OutputType {
|
||
|
abstract val typeCode: Int
|
||
|
}
|
||
|
|
||
|
object HtmlOutputType : OutputType() {
|
||
|
override val typeCode: Int = 0
|
||
|
}
|
||
|
|
||
|
object XmlOutputType : OutputType() {
|
||
|
override val typeCode: Int = 1
|
||
|
}
|
||
|
|
||
|
object JsonOutputType : OutputType() {
|
||
|
override val typeCode: Int = 2
|
||
|
}
|