Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/cwd/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BookingQuestionAnswer File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Microsoft\Graph\Model;
/**
* BookingQuestionAnswer class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class BookingQuestionAnswer extends Entity
{
/**
* Gets the answer
* The answer given by the user in case the answerInputType is text.
*
* @return string|null The answer
*/
public function getAnswer()
{
if (array_key_exists("answer", $this->_propDict)) {
return $this->_propDict["answer"];
} else {
return null;
}
}
/**
* Sets the answer
* The answer given by the user in case the answerInputType is text.
*
* @param string $val The value of the answer
*
* @return BookingQuestionAnswer
*/
public function setAnswer($val)
{
$this->_propDict["answer"] = $val;
return $this;
}
/**
* Gets the answerInputType
* The expected answer type. The possible values are: text, radioButton, unknownFutureValue.
*
* @return AnswerInputType|null The answerInputType
*/
public function getAnswerInputType()
{
if (array_key_exists("answerInputType", $this->_propDict)) {
if (is_a($this->_propDict["answerInputType"], "\Microsoft\Graph\Model\AnswerInputType") || is_null($this->_propDict["answerInputType"])) {
return $this->_propDict["answerInputType"];
} else {
$this->_propDict["answerInputType"] = new AnswerInputType($this->_propDict["answerInputType"]);
return $this->_propDict["answerInputType"];
}
}
return null;
}
/**
* Sets the answerInputType
* The expected answer type. The possible values are: text, radioButton, unknownFutureValue.
*
* @param AnswerInputType $val The value to assign to the answerInputType
*
* @return BookingQuestionAnswer The BookingQuestionAnswer
*/
public function setAnswerInputType($val)
{
$this->_propDict["answerInputType"] = $val;
return $this;
}
/**
* Gets the answerOptions
* In case the answerInputType is radioButton, this will consists of a list of possible answer values.
*
* @return string|null The answerOptions
*/
public function getAnswerOptions()
{
if (array_key_exists("answerOptions", $this->_propDict)) {
return $this->_propDict["answerOptions"];
} else {
return null;
}
}
/**
* Sets the answerOptions
* In case the answerInputType is radioButton, this will consists of a list of possible answer values.
*
* @param string $val The value of the answerOptions
*
* @return BookingQuestionAnswer
*/
public function setAnswerOptions($val)
{
$this->_propDict["answerOptions"] = $val;
return $this;
}
/**
* Gets the isRequired
* Indicates whether it is mandatory to answer the custom question.
*
* @return bool|null The isRequired
*/
public function getIsRequired()
{
if (array_key_exists("isRequired", $this->_propDict)) {
return $this->_propDict["isRequired"];
} else {
return null;
}
}
/**
* Sets the isRequired
* Indicates whether it is mandatory to answer the custom question.
*
* @param bool $val The value of the isRequired
*
* @return BookingQuestionAnswer
*/
public function setIsRequired($val)
{
$this->_propDict["isRequired"] = $val;
return $this;
}
/**
* Gets the question
* The question.
*
* @return string|null The question
*/
public function getQuestion()
{
if (array_key_exists("question", $this->_propDict)) {
return $this->_propDict["question"];
} else {
return null;
}
}
/**
* Sets the question
* The question.
*
* @param string $val The value of the question
*
* @return BookingQuestionAnswer
*/
public function setQuestion($val)
{
$this->_propDict["question"] = $val;
return $this;
}
/**
* Gets the questionId
* The ID of the custom question.
*
* @return string|null The questionId
*/
public function getQuestionId()
{
if (array_key_exists("questionId", $this->_propDict)) {
return $this->_propDict["questionId"];
} else {
return null;
}
}
/**
* Sets the questionId
* The ID of the custom question.
*
* @param string $val The value of the questionId
*
* @return BookingQuestionAnswer
*/
public function setQuestionId($val)
{
$this->_propDict["questionId"] = $val;
return $this;
}
/**
* Gets the selectedOptions
* The answers selected by the user.
*
* @return string|null The selectedOptions
*/
public function getSelectedOptions()
{
if (array_key_exists("selectedOptions", $this->_propDict)) {
return $this->_propDict["selectedOptions"];
} else {
return null;
}
}
/**
* Sets the selectedOptions
* The answers selected by the user.
*
* @param string $val The value of the selectedOptions
*
* @return BookingQuestionAnswer
*/
public function setSelectedOptions($val)
{
$this->_propDict["selectedOptions"] = $val;
return $this;
}
}