readOnly = $readOnly; } public function getReadOnly() { return $this->readOnly; } public function setReason($reason) { $this->reason = $reason; } public function getReason() { return $this->reason; } /** * @param User */ public function setRestrictingUser(User $restrictingUser) { $this->restrictingUser = $restrictingUser; } /** * @return User */ public function getRestrictingUser() { return $this->restrictingUser; } public function setRestrictionTime($restrictionTime) { $this->restrictionTime = $restrictionTime; } public function getRestrictionTime() { return $this->restrictionTime; } public function setType($type) { $this->type = $type; } 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');