/* * 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 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() )