commonMain.com.bselzer.gw2.v2.model.account.token.ApiKeyInfo.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model Show documentation
Show all versions of v2-model Show documentation
Guild Wars 2 API models for v2-client.
The newest version!
package com.bselzer.gw2.v2.model.account.token
import com.bselzer.gw2.v2.scope.core.Permission
import com.bselzer.gw2.v2.scope.core.Requirement
import com.bselzer.gw2.v2.scope.core.Scope
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* The information associated with an API key.
*
* @see the wiki
*/
@Scope(Requirement.REQUIRED, Permission.ACCOUNT)
@Serializable
@SerialName("APIKey")
data class ApiKeyInfo(
/**
* The requested token id.
*/
@SerialName("id")
override val id: ApiKey = ApiKey()
) : TokenInfo()