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.
*
* WorkingHours 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;
/**
* WorkingHours 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 WorkingHours extends Entity
{
/**
* Gets the daysOfWeek
* The days of the week on which the user works.
*
* @return DayOfWeek|null The daysOfWeek
*/
public function getDaysOfWeek()
{
if (array_key_exists("daysOfWeek", $this->_propDict)) {
if (is_a($this->_propDict["daysOfWeek"], "\Microsoft\Graph\Model\DayOfWeek") || is_null($this->_propDict["daysOfWeek"])) {
return $this->_propDict["daysOfWeek"];
} else {
$this->_propDict["daysOfWeek"] = new DayOfWeek($this->_propDict["daysOfWeek"]);
return $this->_propDict["daysOfWeek"];
}
}
return null;
}
/**
* Sets the daysOfWeek
* The days of the week on which the user works.
*
* @param DayOfWeek $val The value to assign to the daysOfWeek
*
* @return WorkingHours The WorkingHours
*/
public function setDaysOfWeek($val)
{
$this->_propDict["daysOfWeek"] = $val;
return $this;
}
/**
* Gets the endTime
* The time of the day that the user stops working.
*
* @return TimeOfDay|null The endTime
*/
public function getEndTime()
{
if (array_key_exists("endTime", $this->_propDict)) {
if (is_a($this->_propDict["endTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["endTime"])) {
return $this->_propDict["endTime"];
} else {
$this->_propDict["endTime"] = new TimeOfDay($this->_propDict["endTime"]);
return $this->_propDict["endTime"];
}
}
return null;
}
/**
* Sets the endTime
* The time of the day that the user stops working.
*
* @param TimeOfDay $val The value to assign to the endTime
*
* @return WorkingHours The WorkingHours
*/
public function setEndTime($val)
{
$this->_propDict["endTime"] = $val;
return $this;
}
/**
* Gets the startTime
* The time of the day that the user starts working.
*
* @return TimeOfDay|null The startTime
*/
public function getStartTime()
{
if (array_key_exists("startTime", $this->_propDict)) {
if (is_a($this->_propDict["startTime"], "\Microsoft\Graph\Model\TimeOfDay") || is_null($this->_propDict["startTime"])) {
return $this->_propDict["startTime"];
} else {
$this->_propDict["startTime"] = new TimeOfDay($this->_propDict["startTime"]);
return $this->_propDict["startTime"];
}
}
return null;
}
/**
* Sets the startTime
* The time of the day that the user starts working.
*
* @param TimeOfDay $val The value to assign to the startTime
*
* @return WorkingHours The WorkingHours
*/
public function setStartTime($val)
{
$this->_propDict["startTime"] = $val;
return $this;
}
/**
* Gets the timeZone
* The time zone to which the working hours apply.
*
* @return TimeZoneBase|null The timeZone
*/
public function getTimeZone()
{
if (array_key_exists("timeZone", $this->_propDict)) {
if (is_a($this->_propDict["timeZone"], "\Microsoft\Graph\Model\TimeZoneBase") || is_null($this->_propDict["timeZone"])) {
return $this->_propDict["timeZone"];
} else {
$this->_propDict["timeZone"] = new TimeZoneBase($this->_propDict["timeZone"]);
return $this->_propDict["timeZone"];
}
}
return null;
}
/**
* Sets the timeZone
* The time zone to which the working hours apply.
*
* @param TimeZoneBase $val The value to assign to the timeZone
*
* @return WorkingHours The WorkingHours
*/
public function setTimeZone($val)
{
$this->_propDict["timeZone"] = $val;
return $this;
}
}