/* * Copyright (c) 2023. yo-saito. All Rights Reserved. */ package net.piedpiper.bremer.model.api import com.fasterxml.jackson.annotation.JsonProperty import jakarta.validation.constraints.NotBlank data class AudioRequest( val name: String? = null, val artist: String? = null, val album: String? = null ) data class PlaylistRequest( @field:NotBlank val name: String = "", ) data class PlaylistAudioRequest( @field:JsonProperty("audio_slugs") val audioSlugs: List<String> = emptyList() ) data class TagRequest( @field:NotBlank val name: String = "" ) data class TagAudioRequest( @field:JsonProperty("audio_slugs") val audioSlugs: List<String> = emptyList() )