28 lines
638 B
PHP
28 lines
638 B
PHP
<?php
|
|
|
|
namespace App\Dto\Input;
|
|
|
|
use ApiPlatform\Metadata\ApiProperty;
|
|
use App\Dto\Output\ClientOutput;
|
|
use Symfony\Component\Serializer\Annotation\Groups;
|
|
|
|
final class RemoveCacheImageInput
|
|
{
|
|
/**
|
|
* @var ClientOutput[]
|
|
*/
|
|
#[Groups(['client:write'])]
|
|
#[ApiProperty(
|
|
description: 'Los clientes a los que se les borrará la imagen de caché',
|
|
example: []
|
|
)]
|
|
public array $clients = [];
|
|
|
|
#[Groups(['client:write'])]
|
|
#[ApiProperty(
|
|
description: 'El nombre de la imagen a borrar de la caché',
|
|
example: 'windows10-ltsc_v1.img'
|
|
)]
|
|
public ?string $imageName = null;
|
|
}
|