1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 18:29:40 +02:00
ampache/modules/Tmdb/Model/Review.php
Afterster d842ebbb00 Add art on Videos
Add videos support to Subsonic and UPnP APIs
Update Tmdb module
2014-07-06 20:46:46 +02:00

192 lines
3.1 KiB
PHP

<?php
/**
* This file is part of the Tmdb PHP API created by Michael Roterman.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @package Tmdb
* @author Michael Roterman <michael@wtfz.net>
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
namespace Tmdb\Model;
/**
* Class Review
* @package Tmdb\Model
*/
class Review extends AbstractModel
{
private $id;
private $author;
private $content;
private $iso6391;
private $mediaId;
private $mediaTitle;
private $mediaType;
private $url;
public static $properties = array(
'id',
'author',
'content',
'iso_639_1',
'media_id',
'media_title',
'media_type',
'url'
);
/**
* @param mixed $author
* @return $this
*/
public function setAuthor($author)
{
$this->author = $author;
return $this;
}
/**
* @return mixed
*/
public function getAuthor()
{
return $this->author;
}
/**
* @param mixed $content
* @return $this
*/
public function setContent($content)
{
$this->content = $content;
return $this;
}
/**
* @return mixed
*/
public function getContent()
{
return $this->content;
}
/**
* @param mixed $id
* @return $this
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
/**
* @param mixed $iso6391
* @return $this
*/
public function setIso6391($iso6391)
{
$this->iso6391 = $iso6391;
return $this;
}
/**
* @return mixed
*/
public function getIso6391()
{
return $this->iso6391;
}
/**
* @param mixed $mediaId
* @return $this
*/
public function setMediaId($mediaId)
{
$this->mediaId = $mediaId;
return $this;
}
/**
* @return mixed
*/
public function getMediaId()
{
return $this->mediaId;
}
/**
* @param mixed $mediaTitle
* @return $this
*/
public function setMediaTitle($mediaTitle)
{
$this->mediaTitle = $mediaTitle;
return $this;
}
/**
* @return mixed
*/
public function getMediaTitle()
{
return $this->mediaTitle;
}
/**
* @param mixed $mediaType
* @return $this
*/
public function setMediaType($mediaType)
{
$this->mediaType = $mediaType;
return $this;
}
/**
* @return mixed
*/
public function getMediaType()
{
return $this->mediaType;
}
/**
* @param mixed $url
* @return $this
*/
public function setUrl($url)
{
$this->url = $url;
return $this;
}
/**
* @return mixed
*/
public function getUrl()
{
return $this->url;
}
}