commonMain.org.jellyfin.sdk.model.api.UserDto.kt Maven / Gradle / Ivy
// !! WARNING
// !! DO NOT EDIT THIS FILE
//
// This file is generated by the openapi-generator module and is not meant for manual changes.
// Please read the README.md file in the openapi-generator module for additional information.
@file:UseSerializers(
UUIDSerializer::class,
DateTimeSerializer::class,
)
package org.jellyfin.sdk.model.api
import kotlin.Boolean
import kotlin.Deprecated
import kotlin.Double
import kotlin.String
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.UseSerializers
import org.jellyfin.sdk.model.DateTime
import org.jellyfin.sdk.model.UUID
import org.jellyfin.sdk.model.serializer.DateTimeSerializer
import org.jellyfin.sdk.model.serializer.UUIDSerializer
/**
* Class UserDto.
*/
@Serializable
public data class UserDto(
/**
* The name.
*/
@SerialName("Name")
public val name: String? = null,
/**
* The server identifier.
*/
@SerialName("ServerId")
public val serverId: String? = null,
/**
* Gets or sets the name of the server.
* This is not used by the server and is for client-side usage only.
*/
@SerialName("ServerName")
public val serverName: String? = null,
/**
* The id.
*/
@SerialName("Id")
public val id: UUID,
/**
* The primary image tag.
*/
@SerialName("PrimaryImageTag")
public val primaryImageTag: String? = null,
/**
* A value indicating whether this instance has password.
*/
@SerialName("HasPassword")
public val hasPassword: Boolean,
/**
* A value indicating whether this instance has configured password.
*/
@SerialName("HasConfiguredPassword")
public val hasConfiguredPassword: Boolean,
/**
* A value indicating whether this instance has configured easy password.
*/
@Deprecated("This member is deprecated and may be removed in the future")
@SerialName("HasConfiguredEasyPassword")
public val hasConfiguredEasyPassword: Boolean,
/**
* Whether async login is enabled or not.
*/
@SerialName("EnableAutoLogin")
public val enableAutoLogin: Boolean? = null,
/**
* The last login date.
*/
@SerialName("LastLoginDate")
public val lastLoginDate: DateTime? = null,
/**
* The last activity date.
*/
@SerialName("LastActivityDate")
public val lastActivityDate: DateTime? = null,
/**
* The configuration.
*/
@SerialName("Configuration")
public val configuration: UserConfiguration? = null,
/**
* The policy.
*/
@SerialName("Policy")
public val policy: UserPolicy? = null,
/**
* The primary image aspect ratio.
*/
@SerialName("PrimaryImageAspectRatio")
public val primaryImageAspectRatio: Double? = null,
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy