readOnly = $readOnly; } /** * @return bool */ public function getReadOnly() { return $this->readOnly; } /** * @param string */ public function setReason($reason) { $this->reason = $reason; } /** * @return string */ public function getReason() { return $this->reason; } /** * @param User */ public function setRestrictingUser(User $restrictingUser) { $this->restrictingUser = $restrictingUser; } /** * @return User */ public function getRestrictingUser() { return $this->restrictingUser; } /** * @param string */ public function setRestrictionTime($restrictionTime) { $this->restrictionTime = $restrictionTime; } /** * @return string */ public function getRestrictionTime() { return $this->restrictionTime; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ContentRestriction::class, 'Google_Service_Drive_ContentRestriction');