| 1 | <?php |
||
| 4 | class Binary implements BinaryInterface |
||
| 5 | { |
||
| 6 | protected $label; |
||
| 7 | protected $version; |
||
| 8 | protected $downloadUrl; |
||
| 9 | protected $binName; |
||
| 10 | protected $os = null; |
||
| 11 | protected $osType = null; |
||
| 12 | |||
| 13 | public static function createFromObject(\stdClass $object) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return mixed |
||
| 28 | */ |
||
| 29 | public function getLabel() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param mixed $label |
||
| 36 | * @return Binary |
||
| 37 | */ |
||
| 38 | public function setLabel($label) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return mixed |
||
| 46 | */ |
||
| 47 | public function getVersion() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param mixed $version |
||
| 54 | * @return Binary |
||
| 55 | */ |
||
| 56 | public function setVersion($version) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return mixed |
||
| 64 | */ |
||
| 65 | public function getDownloadUrl() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @param mixed $downloadUrl |
||
| 72 | * @return Binary |
||
| 73 | */ |
||
| 74 | public function setDownloadUrl($downloadUrl) |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @return mixed |
||
| 82 | */ |
||
| 83 | public function getBinName() |
||
| 87 | |||
| 88 | /** |
||
| 89 | * @param mixed $binName |
||
| 90 | * @return Binary |
||
| 91 | */ |
||
| 92 | public function setBinName($binName) |
||
| 97 | |||
| 98 | /** |
||
| 99 | * @return null |
||
| 100 | */ |
||
| 101 | public function getOs() |
||
| 105 | |||
| 106 | /** |
||
| 107 | * @param null $os |
||
| 108 | * @return Binary |
||
| 109 | */ |
||
| 110 | public function setOs($os) |
||
| 115 | |||
| 116 | /** |
||
| 117 | * @return null |
||
| 118 | */ |
||
| 119 | public function getOsType() |
||
| 123 | |||
| 124 | /** |
||
| 125 | * @param null $osType |
||
| 126 | * @return Binary |
||
| 127 | */ |
||
| 128 | public function setOsType($osType) |
||
| 133 | |||
| 134 | public function toArray() |
||
| 138 | } |