65 lines
954 B
PHP
65 lines
954 B
PHP
<?php
|
|
|
|
namespace App\Entity\Api;
|
|
|
|
use App\Entity\Api\Traits\HasLinks;
|
|
use OpenApi\Annotations as OA;
|
|
|
|
/**
|
|
* @OA\Schema(type="object", schema="Api_PodcastEpisode")
|
|
*/
|
|
class PodcastEpisode
|
|
{
|
|
use HasLinks;
|
|
|
|
/**
|
|
* @OA\Property()
|
|
*/
|
|
public ?string $id = null;
|
|
|
|
/**
|
|
* @OA\Property()
|
|
*/
|
|
public ?string $title = null;
|
|
|
|
/**
|
|
* @OA\Property()
|
|
*/
|
|
public ?string $description = null;
|
|
|
|
/**
|
|
* @OA\Property()
|
|
*/
|
|
public bool $explicit = false;
|
|
|
|
/**
|
|
* @OA\Property()
|
|
*/
|
|
public ?int $publish_at = null;
|
|
|
|
/**
|
|
* @OA\Property()
|
|
*/
|
|
public bool $has_media = false;
|
|
|
|
/**
|
|
* @OA\Property()
|
|
*/
|
|
public PodcastMedia $media;
|
|
|
|
/**
|
|
* @OA\Property()
|
|
*/
|
|
public bool $has_custom_art = false;
|
|
|
|
/**
|
|
* @OA\Property()
|
|
*/
|
|
public ?string $art = null;
|
|
|
|
/**
|
|
* @OA\Property()
|
|
*/
|
|
public int $art_updated_at = 0;
|
|
}
|