2023-08-02 12:13:16 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace OCA\GPodderSync\Core\EpisodeAction;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @psalm-type EpisodeActionType = array{
|
|
|
|
* podcast: string,
|
|
|
|
* episode: string,
|
|
|
|
* action: string,
|
|
|
|
* timestamp: string,
|
|
|
|
* started: int,
|
|
|
|
* position: int,
|
|
|
|
* total: int,
|
|
|
|
* guid: ?string,
|
|
|
|
* id: int
|
|
|
|
* }
|
|
|
|
*/
|
2023-08-04 00:23:59 +02:00
|
|
|
class EpisodeAction
|
2023-08-02 12:13:16 +02:00
|
|
|
{
|
2023-08-04 00:23:59 +02:00
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getPodcast()
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
|
2023-08-04 00:23:59 +02:00
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getEpisode()
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
|
2023-08-04 00:23:59 +02:00
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getAction()
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
|
2023-08-04 00:23:59 +02:00
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getTimestamp()
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
|
2023-08-04 00:23:59 +02:00
|
|
|
/**
|
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getStarted()
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
|
2023-08-04 00:23:59 +02:00
|
|
|
/**
|
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getPosition()
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
|
2023-08-04 00:23:59 +02:00
|
|
|
/**
|
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getTotal()
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
|
2023-08-04 00:23:59 +02:00
|
|
|
/**
|
|
|
|
* @return ?string
|
|
|
|
*/
|
|
|
|
public function getGuid()
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
|
2023-08-04 00:23:59 +02:00
|
|
|
/**
|
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getId()
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return EpisodeActionType
|
|
|
|
*/
|
2023-08-04 00:23:59 +02:00
|
|
|
public function toArray()
|
|
|
|
{
|
|
|
|
}
|
2023-08-02 12:13:16 +02:00
|
|
|
}
|