1
0
Fork 0
m365-php/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobRestartCr...

60 lines
2.1 KiB
PHP

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* SynchronizationJobRestartCriteria 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 Beta\Microsoft\Graph\Model;
/**
* SynchronizationJobRestartCriteria 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 SynchronizationJobRestartCriteria extends Entity
{
/**
* Gets the resetScope
* Comma-separated combination of the following values: Full, QuarantineState, Watermark, Escrows, ConnectorDataStore. Use Full if you want all of the options.
*
* @return SynchronizationJobRestartScope|null The resetScope
*/
public function getResetScope()
{
if (array_key_exists("resetScope", $this->_propDict)) {
if (is_a($this->_propDict["resetScope"], "\Beta\Microsoft\Graph\Model\SynchronizationJobRestartScope") || is_null($this->_propDict["resetScope"])) {
return $this->_propDict["resetScope"];
} else {
$this->_propDict["resetScope"] = new SynchronizationJobRestartScope($this->_propDict["resetScope"]);
return $this->_propDict["resetScope"];
}
}
return null;
}
/**
* Sets the resetScope
* Comma-separated combination of the following values: Full, QuarantineState, Watermark, Escrows, ConnectorDataStore. Use Full if you want all of the options.
*
* @param SynchronizationJobRestartScope $val The value to assign to the resetScope
*
* @return SynchronizationJobRestartCriteria The SynchronizationJobRestartCriteria
*/
public function setResetScope($val)
{
$this->_propDict["resetScope"] = $val;
return $this;
}
}