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.
*
* Shift 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;
/**
* Shift 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 Shift extends ChangeTrackedEntity
{
/**
* Gets the draftShift
* The draft version of this shift that is viewable by managers. Required.
*
* @return ShiftItem|null The draftShift
*/
public function getDraftShift()
{
if (array_key_exists("draftShift", $this->_propDict)) {
if (is_a($this->_propDict["draftShift"], "\Microsoft\Graph\Model\ShiftItem") || is_null($this->_propDict["draftShift"])) {
return $this->_propDict["draftShift"];
} else {
$this->_propDict["draftShift"] = new ShiftItem($this->_propDict["draftShift"]);
return $this->_propDict["draftShift"];
}
}
return null;
}
/**
* Sets the draftShift
* The draft version of this shift that is viewable by managers. Required.
*
* @param ShiftItem $val The draftShift
*
* @return Shift
*/
public function setDraftShift($val)
{
$this->_propDict["draftShift"] = $val;
return $this;
}
/**
* Gets the schedulingGroupId
* ID of the scheduling group the shift is part of. Required.
*
* @return string|null The schedulingGroupId
*/
public function getSchedulingGroupId()
{
if (array_key_exists("schedulingGroupId", $this->_propDict)) {
return $this->_propDict["schedulingGroupId"];
} else {
return null;
}
}
/**
* Sets the schedulingGroupId
* ID of the scheduling group the shift is part of. Required.
*
* @param string $val The schedulingGroupId
*
* @return Shift
*/
public function setSchedulingGroupId($val)
{
$this->_propDict["schedulingGroupId"] = $val;
return $this;
}
/**
* Gets the sharedShift
* The shared version of this shift that is viewable by both employees and managers. Required.
*
* @return ShiftItem|null The sharedShift
*/
public function getSharedShift()
{
if (array_key_exists("sharedShift", $this->_propDict)) {
if (is_a($this->_propDict["sharedShift"], "\Microsoft\Graph\Model\ShiftItem") || is_null($this->_propDict["sharedShift"])) {
return $this->_propDict["sharedShift"];
} else {
$this->_propDict["sharedShift"] = new ShiftItem($this->_propDict["sharedShift"]);
return $this->_propDict["sharedShift"];
}
}
return null;
}
/**
* Sets the sharedShift
* The shared version of this shift that is viewable by both employees and managers. Required.
*
* @param ShiftItem $val The sharedShift
*
* @return Shift
*/
public function setSharedShift($val)
{
$this->_propDict["sharedShift"] = $val;
return $this;
}
/**
* Gets the userId
* ID of the user assigned to the shift. Required.
*
* @return string|null The userId
*/
public function getUserId()
{
if (array_key_exists("userId", $this->_propDict)) {
return $this->_propDict["userId"];
} else {
return null;
}
}
/**
* Sets the userId
* ID of the user assigned to the shift. Required.
*
* @param string $val The userId
*
* @return Shift
*/
public function setUserId($val)
{
$this->_propDict["userId"] = $val;
return $this;
}
}