AzuraCast/src/Entity/Api/Podcast.php

70 lines
1.0 KiB
PHP

<?php
namespace App\Entity\Api;
use App\Entity\Api\Traits\HasLinks;
use OpenApi\Annotations as OA;
/**
* @OA\Schema(type="object", schema="Api_Podcast")
*/
class Podcast
{
use HasLinks;
/**
* @OA\Property()
*/
public ?string $id = null;
/**
* @OA\Property()
*/
public ?int $storage_location_id = null;
/**
* @OA\Property()
*/
public ?string $title = null;
/**
* @OA\Property()
*/
public ?string $link = null;
/**
* @OA\Property()
*/
public ?string $description = null;
/**
* @OA\Property()
*/
public ?string $language = null;
/**
* @OA\Property()
*/
public bool $has_custom_art = false;
/**
* @OA\Property()
*/
public ?string $art = null;
/**
* @OA\Property()
*/
public int $art_updated_at = 0;
/**
* @OA\Property(@OA\Items(type="string"))
*/
public array $categories = [];
/**
* @OA\Property(@OA\Items(type="string"))
*/
public array $episodes = [];
}