io.github.kryszak.gwatlin.api.token.model.Token.kt Maven / Gradle / Ivy
The newest version!
package io.github.kryszak.gwatlin.api.token.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* Data model for api token
*/
@Serializable
data class Token(
val id: String,
val name: String,
val permissions: List,
val type: String? = null,
@SerialName("expires_at") val expiresAt: String? = null,
@SerialName("issued_at") val issuedAt: String? = null,
val urls: List = listOf()
)