From 5c7dae69f4c0b425983e630a29ed6acce8828c9d Mon Sep 17 00:00:00 2001 From: alphayax Date: Fri, 27 May 2016 10:32:38 +0200 Subject: [PATCH] Add Download BT BlackList Model --- .../api/v3/models/Download/BlackListEntry.php | 54 +++++++++++++++++++ .../Download/BlackListEntry/Reason.php | 21 ++++++++ 2 files changed, 75 insertions(+) create mode 100644 freebox/api/v3/models/Download/BlackListEntry.php create mode 100644 freebox/api/v3/symbols/Download/BlackListEntry/Reason.php diff --git a/freebox/api/v3/models/Download/BlackListEntry.php b/freebox/api/v3/models/Download/BlackListEntry.php new file mode 100644 index 0000000..f38c833 --- /dev/null +++ b/freebox/api/v3/models/Download/BlackListEntry.php @@ -0,0 +1,54 @@ +host; + } + + /** + * @return string + */ + public function getReason() { + return $this->reason; + } + + /** + * @return int + */ + public function getExpire() { + return $this->expire; + } + + /** + * @return boolean + */ + public function isGlobal() { + return $this->global; + } + +} diff --git a/freebox/api/v3/symbols/Download/BlackListEntry/Reason.php b/freebox/api/v3/symbols/Download/BlackListEntry/Reason.php new file mode 100644 index 0000000..75617fb --- /dev/null +++ b/freebox/api/v3/symbols/Download/BlackListEntry/Reason.php @@ -0,0 +1,21 @@ +