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.
*
* EducationAssignmentDefaults 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;
/**
* EducationAssignmentDefaults 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 EducationAssignmentDefaults extends Entity
{
/**
* Gets the addedStudentAction
* Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen.
*
* @return EducationAddedStudentAction|null The addedStudentAction
*/
public function getAddedStudentAction()
{
if (array_key_exists("addedStudentAction", $this->_propDict)) {
if (is_a($this->_propDict["addedStudentAction"], "\Microsoft\Graph\Model\EducationAddedStudentAction") || is_null($this->_propDict["addedStudentAction"])) {
return $this->_propDict["addedStudentAction"];
} else {
$this->_propDict["addedStudentAction"] = new EducationAddedStudentAction($this->_propDict["addedStudentAction"]);
return $this->_propDict["addedStudentAction"];
}
}
return null;
}
/**
* Sets the addedStudentAction
* Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen.
*
* @param EducationAddedStudentAction $val The addedStudentAction
*
* @return EducationAssignmentDefaults
*/
public function setAddedStudentAction($val)
{
$this->_propDict["addedStudentAction"] = $val;
return $this;
}
/**
* Gets the addToCalendarAction
* Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none.
*
* @return EducationAddToCalendarOptions|null The addToCalendarAction
*/
public function getAddToCalendarAction()
{
if (array_key_exists("addToCalendarAction", $this->_propDict)) {
if (is_a($this->_propDict["addToCalendarAction"], "\Microsoft\Graph\Model\EducationAddToCalendarOptions") || is_null($this->_propDict["addToCalendarAction"])) {
return $this->_propDict["addToCalendarAction"];
} else {
$this->_propDict["addToCalendarAction"] = new EducationAddToCalendarOptions($this->_propDict["addToCalendarAction"]);
return $this->_propDict["addToCalendarAction"];
}
}
return null;
}
/**
* Sets the addToCalendarAction
* Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none.
*
* @param EducationAddToCalendarOptions $val The addToCalendarAction
*
* @return EducationAssignmentDefaults
*/
public function setAddToCalendarAction($val)
{
$this->_propDict["addToCalendarAction"] = $val;
return $this;
}
/**
* Gets the dueTime
* Class-level default value for due time field. Default value is 23:59:00.
*
* @return TimeOfDay|null The dueTime
*/
public function getDueTime()
{
if (array_key_exists("dueTime", $this->_propDict)) {
if (is_a($this->_propDict["dueTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["dueTime"])) {
return $this->_propDict["dueTime"];
} else {
$this->_propDict["dueTime"] = new TimeOfDay($this->_propDict["dueTime"]);
return $this->_propDict["dueTime"];
}
}
return null;
}
/**
* Sets the dueTime
* Class-level default value for due time field. Default value is 23:59:00.
*
* @param TimeOfDay $val The dueTime
*
* @return EducationAssignmentDefaults
*/
public function setDueTime($val)
{
$this->_propDict["dueTime"] = $val;
return $this;
}
/**
* Gets the notificationChannelUrl
* Default Teams channel to which notifications will be sent. Default value is null.
*
* @return string|null The notificationChannelUrl
*/
public function getNotificationChannelUrl()
{
if (array_key_exists("notificationChannelUrl", $this->_propDict)) {
return $this->_propDict["notificationChannelUrl"];
} else {
return null;
}
}
/**
* Sets the notificationChannelUrl
* Default Teams channel to which notifications will be sent. Default value is null.
*
* @param string $val The notificationChannelUrl
*
* @return EducationAssignmentDefaults
*/
public function setNotificationChannelUrl($val)
{
$this->_propDict["notificationChannelUrl"] = $val;
return $this;
}
}