Skip to content

Commit

Permalink
Regenerate forms client (#5878)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Nov 20, 2024
1 parent 99ff071 commit 0da0923
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Forms/Question.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class Question extends \Google\Model
* @var string
*/
public $questionId;
protected $ratingQuestionType = RatingQuestion::class;
protected $ratingQuestionDataType = '';
/**
* @var bool
*/
Expand Down Expand Up @@ -114,6 +116,20 @@ public function getQuestionId()
{
return $this->questionId;
}
/**
* @param RatingQuestion
*/
public function setRatingQuestion(RatingQuestion $ratingQuestion)
{
$this->ratingQuestion = $ratingQuestion;
}
/**
* @return RatingQuestion
*/
public function getRatingQuestion()
{
return $this->ratingQuestion;
}
/**
* @param bool
*/
Expand Down
62 changes: 62 additions & 0 deletions src/Forms/RatingQuestion.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\Forms;

class RatingQuestion extends \Google\Model
{
/**
* @var string
*/
public $iconType;
/**
* @var int
*/
public $ratingScaleLevel;

/**
* @param string
*/
public function setIconType($iconType)
{
$this->iconType = $iconType;
}
/**
* @return string
*/
public function getIconType()
{
return $this->iconType;
}
/**
* @param int
*/
public function setRatingScaleLevel($ratingScaleLevel)
{
$this->ratingScaleLevel = $ratingScaleLevel;
}
/**
* @return int
*/
public function getRatingScaleLevel()
{
return $this->ratingScaleLevel;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RatingQuestion::class, 'Google_Service_Forms_RatingQuestion');

0 comments on commit 0da0923

Please sign in to comment.