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.
*
* Schedule 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;
/**
* Schedule 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 Schedule extends Entity
{
/**
* Gets the enabled
* Indicates whether the schedule is enabled for the team. Required.
*
* @return bool|null The enabled
*/
public function getEnabled()
{
if (array_key_exists("enabled", $this->_propDict)) {
return $this->_propDict["enabled"];
} else {
return null;
}
}
/**
* Sets the enabled
* Indicates whether the schedule is enabled for the team. Required.
*
* @param bool $val The enabled
*
* @return Schedule
*/
public function setEnabled($val)
{
$this->_propDict["enabled"] = boolval($val);
return $this;
}
/**
* Gets the offerShiftRequestsEnabled
* Indicates whether offer shift requests are enabled for the schedule.
*
* @return bool|null The offerShiftRequestsEnabled
*/
public function getOfferShiftRequestsEnabled()
{
if (array_key_exists("offerShiftRequestsEnabled", $this->_propDict)) {
return $this->_propDict["offerShiftRequestsEnabled"];
} else {
return null;
}
}
/**
* Sets the offerShiftRequestsEnabled
* Indicates whether offer shift requests are enabled for the schedule.
*
* @param bool $val The offerShiftRequestsEnabled
*
* @return Schedule
*/
public function setOfferShiftRequestsEnabled($val)
{
$this->_propDict["offerShiftRequestsEnabled"] = boolval($val);
return $this;
}
/**
* Gets the openShiftsEnabled
* Indicates whether open shifts are enabled for the schedule.
*
* @return bool|null The openShiftsEnabled
*/
public function getOpenShiftsEnabled()
{
if (array_key_exists("openShiftsEnabled", $this->_propDict)) {
return $this->_propDict["openShiftsEnabled"];
} else {
return null;
}
}
/**
* Sets the openShiftsEnabled
* Indicates whether open shifts are enabled for the schedule.
*
* @param bool $val The openShiftsEnabled
*
* @return Schedule
*/
public function setOpenShiftsEnabled($val)
{
$this->_propDict["openShiftsEnabled"] = boolval($val);
return $this;
}
/**
* Gets the provisionStatus
* The status of the schedule provisioning. The possible values are notStarted, running, completed, failed.
*
* @return OperationStatus|null The provisionStatus
*/
public function getProvisionStatus()
{
if (array_key_exists("provisionStatus", $this->_propDict)) {
if (is_a($this->_propDict["provisionStatus"], "\Microsoft\Graph\Model\OperationStatus") || is_null($this->_propDict["provisionStatus"])) {
return $this->_propDict["provisionStatus"];
} else {
$this->_propDict["provisionStatus"] = new OperationStatus($this->_propDict["provisionStatus"]);
return $this->_propDict["provisionStatus"];
}
}
return null;
}
/**
* Sets the provisionStatus
* The status of the schedule provisioning. The possible values are notStarted, running, completed, failed.
*
* @param OperationStatus $val The provisionStatus
*
* @return Schedule
*/
public function setProvisionStatus($val)
{
$this->_propDict["provisionStatus"] = $val;
return $this;
}
/**
* Gets the provisionStatusCode
* Additional information about why schedule provisioning failed.
*
* @return string|null The provisionStatusCode
*/
public function getProvisionStatusCode()
{
if (array_key_exists("provisionStatusCode", $this->_propDict)) {
return $this->_propDict["provisionStatusCode"];
} else {
return null;
}
}
/**
* Sets the provisionStatusCode
* Additional information about why schedule provisioning failed.
*
* @param string $val The provisionStatusCode
*
* @return Schedule
*/
public function setProvisionStatusCode($val)
{
$this->_propDict["provisionStatusCode"] = $val;
return $this;
}
/**
* Gets the swapShiftsRequestsEnabled
* Indicates whether swap shifts requests are enabled for the schedule.
*
* @return bool|null The swapShiftsRequestsEnabled
*/
public function getSwapShiftsRequestsEnabled()
{
if (array_key_exists("swapShiftsRequestsEnabled", $this->_propDict)) {
return $this->_propDict["swapShiftsRequestsEnabled"];
} else {
return null;
}
}
/**
* Sets the swapShiftsRequestsEnabled
* Indicates whether swap shifts requests are enabled for the schedule.
*
* @param bool $val The swapShiftsRequestsEnabled
*
* @return Schedule
*/
public function setSwapShiftsRequestsEnabled($val)
{
$this->_propDict["swapShiftsRequestsEnabled"] = boolval($val);
return $this;
}
/**
* Gets the timeClockEnabled
* Indicates whether time clock is enabled for the schedule.
*
* @return bool|null The timeClockEnabled
*/
public function getTimeClockEnabled()
{
if (array_key_exists("timeClockEnabled", $this->_propDict)) {
return $this->_propDict["timeClockEnabled"];
} else {
return null;
}
}
/**
* Sets the timeClockEnabled
* Indicates whether time clock is enabled for the schedule.
*
* @param bool $val The timeClockEnabled
*
* @return Schedule
*/
public function setTimeClockEnabled($val)
{
$this->_propDict["timeClockEnabled"] = boolval($val);
return $this;
}
/**
* Gets the timeOffRequestsEnabled
* Indicates whether time off requests are enabled for the schedule.
*
* @return bool|null The timeOffRequestsEnabled
*/
public function getTimeOffRequestsEnabled()
{
if (array_key_exists("timeOffRequestsEnabled", $this->_propDict)) {
return $this->_propDict["timeOffRequestsEnabled"];
} else {
return null;
}
}
/**
* Sets the timeOffRequestsEnabled
* Indicates whether time off requests are enabled for the schedule.
*
* @param bool $val The timeOffRequestsEnabled
*
* @return Schedule
*/
public function setTimeOffRequestsEnabled($val)
{
$this->_propDict["timeOffRequestsEnabled"] = boolval($val);
return $this;
}
/**
* Gets the timeZone
* Indicates the time zone of the schedule team using tz database format. Required.
*
* @return string|null The timeZone
*/
public function getTimeZone()
{
if (array_key_exists("timeZone", $this->_propDict)) {
return $this->_propDict["timeZone"];
} else {
return null;
}
}
/**
* Sets the timeZone
* Indicates the time zone of the schedule team using tz database format. Required.
*
* @param string $val The timeZone
*
* @return Schedule
*/
public function setTimeZone($val)
{
$this->_propDict["timeZone"] = $val;
return $this;
}
/**
* Gets the workforceIntegrationIds
*
* @return array|null The workforceIntegrationIds
*/
public function getWorkforceIntegrationIds()
{
if (array_key_exists("workforceIntegrationIds", $this->_propDict)) {
return $this->_propDict["workforceIntegrationIds"];
} else {
return null;
}
}
/**
* Sets the workforceIntegrationIds
*
* @param string[] $val The workforceIntegrationIds
*
* @return Schedule
*/
public function setWorkforceIntegrationIds($val)
{
$this->_propDict["workforceIntegrationIds"] = $val;
return $this;
}
/**
* Gets the offerShiftRequests
* The offer requests for shifts in the schedule.
*
* @return array|null The offerShiftRequests
*/
public function getOfferShiftRequests()
{
if (array_key_exists("offerShiftRequests", $this->_propDict)) {
return $this->_propDict["offerShiftRequests"];
} else {
return null;
}
}
/**
* Sets the offerShiftRequests
* The offer requests for shifts in the schedule.
*
* @param OfferShiftRequest[] $val The offerShiftRequests
*
* @return Schedule
*/
public function setOfferShiftRequests($val)
{
$this->_propDict["offerShiftRequests"] = $val;
return $this;
}
/**
* Gets the openShiftChangeRequests
* The open shift requests in the schedule.
*
* @return array|null The openShiftChangeRequests
*/
public function getOpenShiftChangeRequests()
{
if (array_key_exists("openShiftChangeRequests", $this->_propDict)) {
return $this->_propDict["openShiftChangeRequests"];
} else {
return null;
}
}
/**
* Sets the openShiftChangeRequests
* The open shift requests in the schedule.
*
* @param OpenShiftChangeRequest[] $val The openShiftChangeRequests
*
* @return Schedule
*/
public function setOpenShiftChangeRequests($val)
{
$this->_propDict["openShiftChangeRequests"] = $val;
return $this;
}
/**
* Gets the openShifts
* The set of open shifts in a scheduling group in the schedule.
*
* @return array|null The openShifts
*/
public function getOpenShifts()
{
if (array_key_exists("openShifts", $this->_propDict)) {
return $this->_propDict["openShifts"];
} else {
return null;
}
}
/**
* Sets the openShifts
* The set of open shifts in a scheduling group in the schedule.
*
* @param OpenShift[] $val The openShifts
*
* @return Schedule
*/
public function setOpenShifts($val)
{
$this->_propDict["openShifts"] = $val;
return $this;
}
/**
* Gets the schedulingGroups
* The logical grouping of users in the schedule (usually by role).
*
* @return array|null The schedulingGroups
*/
public function getSchedulingGroups()
{
if (array_key_exists("schedulingGroups", $this->_propDict)) {
return $this->_propDict["schedulingGroups"];
} else {
return null;
}
}
/**
* Sets the schedulingGroups
* The logical grouping of users in the schedule (usually by role).
*
* @param SchedulingGroup[] $val The schedulingGroups
*
* @return Schedule
*/
public function setSchedulingGroups($val)
{
$this->_propDict["schedulingGroups"] = $val;
return $this;
}
/**
* Gets the shifts
* The shifts in the schedule.
*
* @return array|null The shifts
*/
public function getShifts()
{
if (array_key_exists("shifts", $this->_propDict)) {
return $this->_propDict["shifts"];
} else {
return null;
}
}
/**
* Sets the shifts
* The shifts in the schedule.
*
* @param Shift[] $val The shifts
*
* @return Schedule
*/
public function setShifts($val)
{
$this->_propDict["shifts"] = $val;
return $this;
}
/**
* Gets the swapShiftsChangeRequests
* The swap requests for shifts in the schedule.
*
* @return array|null The swapShiftsChangeRequests
*/
public function getSwapShiftsChangeRequests()
{
if (array_key_exists("swapShiftsChangeRequests", $this->_propDict)) {
return $this->_propDict["swapShiftsChangeRequests"];
} else {
return null;
}
}
/**
* Sets the swapShiftsChangeRequests
* The swap requests for shifts in the schedule.
*
* @param SwapShiftsChangeRequest[] $val The swapShiftsChangeRequests
*
* @return Schedule
*/
public function setSwapShiftsChangeRequests($val)
{
$this->_propDict["swapShiftsChangeRequests"] = $val;
return $this;
}
/**
* Gets the timeOffReasons
* The set of reasons for a time off in the schedule.
*
* @return array|null The timeOffReasons
*/
public function getTimeOffReasons()
{
if (array_key_exists("timeOffReasons", $this->_propDict)) {
return $this->_propDict["timeOffReasons"];
} else {
return null;
}
}
/**
* Sets the timeOffReasons
* The set of reasons for a time off in the schedule.
*
* @param TimeOffReason[] $val The timeOffReasons
*
* @return Schedule
*/
public function setTimeOffReasons($val)
{
$this->_propDict["timeOffReasons"] = $val;
return $this;
}
/**
* Gets the timeOffRequests
* The time off requests in the schedule.
*
* @return array|null The timeOffRequests
*/
public function getTimeOffRequests()
{
if (array_key_exists("timeOffRequests", $this->_propDict)) {
return $this->_propDict["timeOffRequests"];
} else {
return null;
}
}
/**
* Sets the timeOffRequests
* The time off requests in the schedule.
*
* @param TimeOffRequest[] $val The timeOffRequests
*
* @return Schedule
*/
public function setTimeOffRequests($val)
{
$this->_propDict["timeOffRequests"] = $val;
return $this;
}
/**
* Gets the timesOff
* The instances of times off in the schedule.
*
* @return array|null The timesOff
*/
public function getTimesOff()
{
if (array_key_exists("timesOff", $this->_propDict)) {
return $this->_propDict["timesOff"];
} else {
return null;
}
}
/**
* Sets the timesOff
* The instances of times off in the schedule.
*
* @param TimeOff[] $val The timesOff
*
* @return Schedule
*/
public function setTimesOff($val)
{
$this->_propDict["timesOff"] = $val;
return $this;
}
}