commonMain.org.jellyfin.sdk.model.api.AccessSchedule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jellyfin-model-jvm Show documentation
Show all versions of jellyfin-model-jvm Show documentation
Official Kotlin/Java SDK for Jellyfin. org.jellyfin.sdk:jellyfin-model-jvm
// !! 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)
package org.jellyfin.sdk.model.api
import kotlin.Double
import kotlin.Int
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.UseSerializers
import org.jellyfin.sdk.model.UUID
import org.jellyfin.sdk.model.serializer.UUIDSerializer
/**
* An entity representing a user's access schedule.
*/
@Serializable
public data class AccessSchedule(
/**
* The id of this instance.
*/
@SerialName("Id")
public val id: Int,
/**
* The id of the associated user.
*/
@SerialName("UserId")
public val userId: UUID,
/**
* The day of week.
*/
@SerialName("DayOfWeek")
public val dayOfWeek: DynamicDayOfWeek,
/**
* The start hour.
*/
@SerialName("StartHour")
public val startHour: Double,
/**
* The end hour.
*/
@SerialName("EndHour")
public val endHour: Double,
)