mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
feat: add get tags endpoint
This commit is contained in:
parent
d69629c319
commit
a0f044786f
5 changed files with 41 additions and 0 deletions
23
model/src/main/kotlin/dev/msfjarvis/claw/model/Tag.kt
Normal file
23
model/src/main/kotlin/dev/msfjarvis/claw/model/Tag.kt
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Copyright © Harsh Shandilya.
|
||||
* Use of this source code is governed by an MIT-style
|
||||
* license that can be found in the LICENSE file or at
|
||||
* https://opensource.org/licenses/MIT.
|
||||
*/
|
||||
package dev.msfjarvis.claw.model
|
||||
|
||||
import dev.drewhamilton.poko.Poko
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
@Poko
|
||||
class Tag(
|
||||
val tag: String,
|
||||
val description: String,
|
||||
val privileged: Boolean,
|
||||
val active: Boolean,
|
||||
val category: String,
|
||||
@SerialName("is_media") val isMedia: Boolean,
|
||||
@SerialName("hotness_mod") val hotnessMod: Double,
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue