contexts = $contexts; } /** * @return ServingContext[] */ public function getContexts() { return $this->contexts; } /** * @param Disapproval */ public function setDisapproval(Disapproval $disapproval) { $this->disapproval = $disapproval; } /** * @return Disapproval */ public function getDisapproval() { return $this->disapproval; } /** * @param Disapproval[] */ public function setDisapprovalReasons($disapprovalReasons) { $this->disapprovalReasons = $disapprovalReasons; } /** * @return Disapproval[] */ public function getDisapprovalReasons() { return $this->disapprovalReasons; } /** * @param string */ public function setStatus($status) { $this->status = $status; } /** * @return string */ public function getStatus() { return $this->status; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ServingRestriction::class, 'Google_Service_AdExchangeBuyerII_ServingRestriction');