grid = $grid; } /** * @return Grid */ public function getGrid() { return $this->grid; } /** * The image displayed within the question group above the specific questions. * * @param Image $image */ public function setImage(Image $image) { $this->image = $image; } /** * @return Image */ public function getImage() { return $this->image; } /** * Required. A list of questions that belong in this question group. A * question must only belong to one group. The `kind` of the group may affect * what types of questions are allowed. * * @param Question[] $questions */ public function setQuestions($questions) { $this->questions = $questions; } /** * @return Question[] */ public function getQuestions() { return $this->questions; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(QuestionGroupItem::class, 'Google_Service_Forms_QuestionGroupItem');