|
| 1 | +<?php |
| 2 | + |
| 3 | +/** |
| 4 | + * This file is part of the Tmdb PHP API created by Michael Roterman. |
| 5 | + * |
| 6 | + * For the full copyright and license information, please view the LICENSE |
| 7 | + * file that was distributed with this source code. |
| 8 | + * |
| 9 | + * @package Tmdb |
| 10 | + * @author Michael Roterman <michael@wtfz.net> |
| 11 | + * @copyright (c) 2013, Michael Roterman |
| 12 | + * @version 4.0.0 |
| 13 | + */ |
| 14 | + |
| 15 | +namespace Tmdb\Model\Watch; |
| 16 | + |
| 17 | +use Tmdb\Model\AbstractModel; |
| 18 | +use Tmdb\Model\Filter\CountryFilter; |
| 19 | + |
| 20 | +/** |
| 21 | + * Class Watch Provider |
| 22 | + * @package Tmdb\Model\Watch |
| 23 | + */ |
| 24 | +class Provider extends AbstractModel implements CountryFilter |
| 25 | +{ |
| 26 | + public static $properties = [ |
| 27 | + 'iso_3166_1', |
| 28 | + 'provider_id', |
| 29 | + 'provider_name', |
| 30 | + 'logo_path', |
| 31 | + 'display_priority', |
| 32 | + 'type' |
| 33 | + ]; |
| 34 | + private $iso31661; |
| 35 | + private $providerID; |
| 36 | + private $providerName; |
| 37 | + private $logoPath; |
| 38 | + private $displayPriority; |
| 39 | + private $type; |
| 40 | + |
| 41 | + /** |
| 42 | + * @return string |
| 43 | + */ |
| 44 | + public function getIso31661() |
| 45 | + { |
| 46 | + return $this->iso31661; |
| 47 | + } |
| 48 | + |
| 49 | + /** |
| 50 | + * @param string $iso31661 |
| 51 | + * @return $this |
| 52 | + */ |
| 53 | + public function setIso31661($iso31661) |
| 54 | + { |
| 55 | + $this->iso31661 = $iso31661; |
| 56 | + |
| 57 | + return $this; |
| 58 | + } |
| 59 | + |
| 60 | + /** |
| 61 | + * @return int|null |
| 62 | + */ |
| 63 | + public function getProviderID() |
| 64 | + { |
| 65 | + return $this->providerID; |
| 66 | + } |
| 67 | + |
| 68 | + /** |
| 69 | + * @param int|null $providerID |
| 70 | + * @return $this |
| 71 | + */ |
| 72 | + public function setProviderID($providerID) |
| 73 | + { |
| 74 | + $this->providerID = $providerID; |
| 75 | + |
| 76 | + return $this; |
| 77 | + } |
| 78 | + |
| 79 | + /** |
| 80 | + * @return string|null |
| 81 | + */ |
| 82 | + public function getProviderName() |
| 83 | + { |
| 84 | + return $this->providerName; |
| 85 | + } |
| 86 | + |
| 87 | + /** |
| 88 | + * @param string|null $providerName |
| 89 | + * @return $this |
| 90 | + */ |
| 91 | + public function setProviderName($providerName) |
| 92 | + { |
| 93 | + $this->providerName = $providerName; |
| 94 | + |
| 95 | + return $this; |
| 96 | + } |
| 97 | + |
| 98 | + /** |
| 99 | + * @return string|null |
| 100 | + */ |
| 101 | + public function getLogoPath() |
| 102 | + { |
| 103 | + return $this->logoPath; |
| 104 | + } |
| 105 | + |
| 106 | + /** |
| 107 | + * @param string|null $logoPath |
| 108 | + * @return $this |
| 109 | + */ |
| 110 | + public function setLogoPath($logoPath) |
| 111 | + { |
| 112 | + $this->logoPath = $logoPath; |
| 113 | + |
| 114 | + return $this; |
| 115 | + } |
| 116 | + |
| 117 | + /** |
| 118 | + * @return int|null |
| 119 | + */ |
| 120 | + public function getDisplayPriority() |
| 121 | + { |
| 122 | + return $this->displayPriority; |
| 123 | + } |
| 124 | + |
| 125 | + /** |
| 126 | + * @param int|null $displayPriority |
| 127 | + * @return $this |
| 128 | + */ |
| 129 | + public function setDisplayPriority($displayPriority) |
| 130 | + { |
| 131 | + $this->displayPriority = $displayPriority; |
| 132 | + |
| 133 | + return $this; |
| 134 | + } |
| 135 | + |
| 136 | + /** |
| 137 | + * @return string|null |
| 138 | + */ |
| 139 | + public function getType() |
| 140 | + { |
| 141 | + return $this->type; |
| 142 | + } |
| 143 | + |
| 144 | + /** |
| 145 | + * @param string|null $type |
| 146 | + * @return $this |
| 147 | + */ |
| 148 | + public function setType($type) |
| 149 | + { |
| 150 | + $this->type = $type; |
| 151 | + |
| 152 | + return $this; |
| 153 | + } |
| 154 | +} |
0 commit comments