deviceAllowed = $deviceAllowed; } /** * @return bool */ public function getDeviceAllowed() { return $this->deviceAllowed; } /** * @param int */ public function setDownloadsAcquired($downloadsAcquired) { $this->downloadsAcquired = $downloadsAcquired; } /** * @return int */ public function getDownloadsAcquired() { return $this->downloadsAcquired; } /** * @param bool */ public function setJustAcquired($justAcquired) { $this->justAcquired = $justAcquired; } /** * @return bool */ public function getJustAcquired() { return $this->justAcquired; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param int */ public function setMaxDownloadDevices($maxDownloadDevices) { $this->maxDownloadDevices = $maxDownloadDevices; } /** * @return int */ public function getMaxDownloadDevices() { return $this->maxDownloadDevices; } /** * @param string */ public function setMessage($message) { $this->message = $message; } /** * @return string */ public function getMessage() { return $this->message; } /** * @param string */ public function setNonce($nonce) { $this->nonce = $nonce; } /** * @return string */ public function getNonce() { return $this->nonce; } /** * @param string */ public function setReasonCode($reasonCode) { $this->reasonCode = $reasonCode; } /** * @return string */ public function getReasonCode() { return $this->reasonCode; } /** * @param bool */ public function setRestricted($restricted) { $this->restricted = $restricted; } /** * @return bool */ public function getRestricted() { return $this->restricted; } /** * @param string */ public function setSignature($signature) { $this->signature = $signature; } /** * @return string */ public function getSignature() { return $this->signature; } /** * @param string */ public function setSource($source) { $this->source = $source; } /** * @return string */ public function getSource() { return $this->source; } /** * @param string */ public function setVolumeId($volumeId) { $this->volumeId = $volumeId; } /** * @return string */ public function getVolumeId() { return $this->volumeId; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(DownloadAccessRestriction::class, 'Google_Service_Books_DownloadAccessRestriction');