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.
*
* BrowserSharedCookieHistory 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;
/**
* BrowserSharedCookieHistory 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 BrowserSharedCookieHistory extends Entity
{
/**
* Gets the comment
* The comment for the shared cookie.
*
* @return string|null The comment
*/
public function getComment()
{
if (array_key_exists("comment", $this->_propDict)) {
return $this->_propDict["comment"];
} else {
return null;
}
}
/**
* Sets the comment
* The comment for the shared cookie.
*
* @param string $val The value of the comment
*
* @return BrowserSharedCookieHistory
*/
public function setComment($val)
{
$this->_propDict["comment"] = $val;
return $this;
}
/**
* Gets the displayName
* The name of the cookie.
*
* @return string|null The displayName
*/
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
}
/**
* Sets the displayName
* The name of the cookie.
*
* @param string $val The value of the displayName
*
* @return BrowserSharedCookieHistory
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the hostOnly
* Controls whether a cookie is a host-only or domain cookie.
*
* @return bool|null The hostOnly
*/
public function getHostOnly()
{
if (array_key_exists("hostOnly", $this->_propDict)) {
return $this->_propDict["hostOnly"];
} else {
return null;
}
}
/**
* Sets the hostOnly
* Controls whether a cookie is a host-only or domain cookie.
*
* @param bool $val The value of the hostOnly
*
* @return BrowserSharedCookieHistory
*/
public function setHostOnly($val)
{
$this->_propDict["hostOnly"] = $val;
return $this;
}
/**
* Gets the hostOrDomain
* The URL of the cookie.
*
* @return string|null The hostOrDomain
*/
public function getHostOrDomain()
{
if (array_key_exists("hostOrDomain", $this->_propDict)) {
return $this->_propDict["hostOrDomain"];
} else {
return null;
}
}
/**
* Sets the hostOrDomain
* The URL of the cookie.
*
* @param string $val The value of the hostOrDomain
*
* @return BrowserSharedCookieHistory
*/
public function setHostOrDomain($val)
{
$this->_propDict["hostOrDomain"] = $val;
return $this;
}
/**
* Gets the lastModifiedBy
* The user who last modified the cookie.
*
* @return IdentitySet|null The lastModifiedBy
*/
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) {
return $this->_propDict["lastModifiedBy"];
} else {
$this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]);
return $this->_propDict["lastModifiedBy"];
}
}
return null;
}
/**
* Sets the lastModifiedBy
* The user who last modified the cookie.
*
* @param IdentitySet $val The value to assign to the lastModifiedBy
*
* @return BrowserSharedCookieHistory The BrowserSharedCookieHistory
*/
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $val;
return $this;
}
/**
* Gets the path
* The path of the cookie.
*
* @return string|null The path
*/
public function getPath()
{
if (array_key_exists("path", $this->_propDict)) {
return $this->_propDict["path"];
} else {
return null;
}
}
/**
* Sets the path
* The path of the cookie.
*
* @param string $val The value of the path
*
* @return BrowserSharedCookieHistory
*/
public function setPath($val)
{
$this->_propDict["path"] = $val;
return $this;
}
/**
* Gets the publishedDateTime
* The date and time when the cookie was last published.
*
* @return \DateTime|null The publishedDateTime
*/
public function getPublishedDateTime()
{
if (array_key_exists("publishedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["publishedDateTime"], "\DateTime") || is_null($this->_propDict["publishedDateTime"])) {
return $this->_propDict["publishedDateTime"];
} else {
$this->_propDict["publishedDateTime"] = new \DateTime($this->_propDict["publishedDateTime"]);
return $this->_propDict["publishedDateTime"];
}
}
return null;
}
/**
* Sets the publishedDateTime
* The date and time when the cookie was last published.
*
* @param \DateTime $val The value to assign to the publishedDateTime
*
* @return BrowserSharedCookieHistory The BrowserSharedCookieHistory
*/
public function setPublishedDateTime($val)
{
$this->_propDict["publishedDateTime"] = $val;
return $this;
}
/**
* Gets the sourceEnvironment
* Specifies how the cookies are shared between Microsoft Edge and Internet Explorer. The possible values are: microsoftEdge, internetExplorer11, both, unknownFutureValue.
*
* @return BrowserSharedCookieSourceEnvironment|null The sourceEnvironment
*/
public function getSourceEnvironment()
{
if (array_key_exists("sourceEnvironment", $this->_propDict)) {
if (is_a($this->_propDict["sourceEnvironment"], "\Microsoft\Graph\Model\BrowserSharedCookieSourceEnvironment") || is_null($this->_propDict["sourceEnvironment"])) {
return $this->_propDict["sourceEnvironment"];
} else {
$this->_propDict["sourceEnvironment"] = new BrowserSharedCookieSourceEnvironment($this->_propDict["sourceEnvironment"]);
return $this->_propDict["sourceEnvironment"];
}
}
return null;
}
/**
* Sets the sourceEnvironment
* Specifies how the cookies are shared between Microsoft Edge and Internet Explorer. The possible values are: microsoftEdge, internetExplorer11, both, unknownFutureValue.
*
* @param BrowserSharedCookieSourceEnvironment $val The value to assign to the sourceEnvironment
*
* @return BrowserSharedCookieHistory The BrowserSharedCookieHistory
*/
public function setSourceEnvironment($val)
{
$this->_propDict["sourceEnvironment"] = $val;
return $this;
}
}